AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO] Combat Surf Custom Grenades (https://forums.alliedmods.net/showthread.php?t=312893)

Aes 12-19-2018 11:39

[CS:GO] Combat Surf Custom Grenades
 
3 Attachment(s)
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

Cruze 12-19-2018 12:26

Re: [CS:GO] Combat Surf Custom Grenades
 
Good Job ��

Aes 12-19-2018 14:08

Re: [CS:GO] Combat Surf Custom Grenades
 
I had an error which could cause the client to crash, If you happened to download the first version, I reuploaded a fixed version.

FroGeX 12-23-2022 21:13

Re: [CS:GO] Combat Surf Custom Grenades
 
Setting airtimes on grenades didnt work... Grnades explode ever in same time


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

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