[CSGO/CSS] Freeze grenades
Posted: Thu Jan 23, 2020 4:38 pm
Description:
When a grenade explodes, everybody who gets hit freezes for a while.
This is just a little fun gameplay plugin, I don't know what it can be used for really.
This has only been tested in CS:GO, but I suppose it should work for CSS too.
CVAR list:
fn_damage - Whether or not grenades do damage along with freezing. 1 = damage, 0 = no damage
fn_freezemultiplier - How much you multiply with the expected damage to find the freeze time. 50 damage * 0.15 = 7.5 seconds of freeze time. 0.0 = fn_freezetime is used instead.
fn_freezetime - For how long grenades freeze players. 0.0 = fn_freezemultiplier is used instead.
fn_freezetimemax - The maximum amount of time a player can be frozen.
fn_showmessage - Whether or not a message will be displayed in chat when you hit or get hit by someone with a grenade. 1 = message, 0 = no message
Command list:
No commands.
Installation:
Download freezenades.smx and put it into your addons/sourcemod/plugins folder.
Note:
I'm not that experienced with Sourcemod coding, so if anythings looks bad or something, you are welcome to inform me.
Plugin / Source
When a grenade explodes, everybody who gets hit freezes for a while.
This is just a little fun gameplay plugin, I don't know what it can be used for really.
This has only been tested in CS:GO, but I suppose it should work for CSS too.
CVAR list:
fn_damage - Whether or not grenades do damage along with freezing. 1 = damage, 0 = no damage
fn_freezemultiplier - How much you multiply with the expected damage to find the freeze time. 50 damage * 0.15 = 7.5 seconds of freeze time. 0.0 = fn_freezetime is used instead.
fn_freezetime - For how long grenades freeze players. 0.0 = fn_freezemultiplier is used instead.
fn_freezetimemax - The maximum amount of time a player can be frozen.
fn_showmessage - Whether or not a message will be displayed in chat when you hit or get hit by someone with a grenade. 1 = message, 0 = no message
Command list:
No commands.
Installation:
Download freezenades.smx and put it into your addons/sourcemod/plugins folder.
Note:
I'm not that experienced with Sourcemod coding, so if anythings looks bad or something, you are welcome to inform me.
Plugin / Source