Raised This Month: $ Target: $400
 0% 

[CS:GO] Combat Surf Custom Grenades


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Aes
Junior Member
Join Date: Nov 2018
Plugin ID:
6376
Plugin Version:
1.0
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Customize grenades trajectory, airtime, bounce before explode, knockback to make them fun to play with in combat surf
    Old 12-19-2018 , 11:39   [CS:GO] Combat Surf Custom Grenades
    Reply With Quote #1

    Description

    This plugin customizes grenades trajectories, airtime, bounces before explode, knockback to make them fun to play with in combat surf.
    It is best used with this plugin that unlocks grenade velocity limit : https://forums.alliedmods.net/showth...27#post2629927


    Demo

    https://www.youtube.com/watch?v=jeSgakrPYjY


    Installation

    Upload the smx to the plugins folder. A config file named csurfnade.cfg will be created on first start in /csgo/cfg/sourcemod/


    CVars

    Code:
    // How much bounces before exploding
    // -
    // Default: "1"
    sm_csn_bounces "1"
    
    // Enable this plugin
    // -
    // Default: "1"
    sm_csn_enable "1"
    
    // How long will the flash stays in air before exploding
    // -
    // Default: "10"
    sm_csn_flash_airtime "10"
    
    // Disable the white screen from the flashbang
    // -
    // Default: "1"
    sm_csn_flash_disable_blind "1"
    
    // The speed given by the flashbang
    // -
    // Default: "750"
    sm_csn_flash_kb_pushspeed "750"
    
    // The Flashbang knockback radius
    // -
    // Default: "250"
    sm_csn_flash_kb_radius "250"
    
    // How long will the HE stays in air before exploding
    // -
    // Default: "10"
    sm_csn_he_airtime "10"
    
    // The speed given by the HE knockback
    // -
    // Default: "1500"
    sm_csn_he_kb_pushspeed "1500"
    
    // The HE grenade knockback radius
    // -
    // Default: "384"
    sm_csn_he_kb_radius "384"
    
    // Enable the grenades knockback
    // -
    // Default: "1"
    sm_csn_kb_enable "1"
    
    // Turn noblock on for players but allows grenade hitting
    // -
    // Default: "1"
    sm_csn_player_collision "1"
    
    // Add damages to the snowball
    // -
    // Default: "30"
    sm_csn_snowball_damage "30"
    
    // Enable unlimited freezing snowballs
    // -
    // Default: "1"
    sm_csn_snowball_enable "1"
    
    // Enable Grenade tails
    // -
    // Default: "1"
    sm_csn_tails_enable "1"
    
    // Enable the alternate trajectory system
    // -
    // Default: "1"
    sm_csn_trajectory_enable "1"
    
    // The base speed given to the grenade
    // -
    // Default: "1250"
    sm_csn_trajectory_speed "1250"
    Developper

    Code:
    /*
    * Event on player hit by knockback
    *
    * @param int				Player who got hit by the knockback
    * @param int				Entity which triggered the knockback
    */
    forward int CSurfNades_OnPlayerHit(int client,int entity);
    This forward is getting triggered when a Player is hit by a knockback (I use it to make the player drop the flag when it's hit by a flashbang.

    Notes

    Hey, Its my third plugin, and I think a lot of combat surf server owner would be pleased to use it. If you have any suggestions, bug, feeback, feel free to leave a comment below! Have fun
    Attached Files
    File Type: inc csurfnades.inc (289 Bytes, 405 views)
    File Type: smx csurfnades.smx (17.6 KB, 416 views)
    File Type: sp Get Plugin or Get Source (csurfnades.sp - 418 views - 14.5 KB)

    Last edited by asherkin; 05-15-2020 at 12:30.
    Aes is offline
     


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 13:19.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode