- Supported Games
- CS: Source (v34), CS: Source (Steam/Orange Box), CS: GO
This plugin creates shake screen effect, when a player gets damage from a grenade. The amplitude of effect is determined by the amount of damage taken. The effect can also be colorized in desired color.
Requirements :
CVARs :
Credits :
Requirements :
- Sourcemod v1.8 or Higher
- Download Nade_Shake.zip from this post.
- Extract the contents of zip file and put it into cstrike folder of your server.
- Configure colors and other settings in cstrike/cfg/sourcemod/sm_nadeshake.cfg.
- Restart the server or change the map.
Code:
!nadeshake - Turn on/off shake effect.
// Enable NadeShake fade damage color.
// -
// Default: "0"
sm_nadeshake_color "1"
// NadeShake color ALPHA.
// -
// Default: "180"
// Minimum: "0.000000"
// Maximum: "255.000000"
sm_nadeshake_color_a "180"
// NadeShake color BLUE.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "255.000000"
sm_nadeshake_color_b "0"
// NadeShake color fade duration multiplier.
// -
// Default: "10"
// Minimum: "1.000000"
// Maximum: "100.000000"
sm_nadeshake_color_duration "10"
// NadeShake color GREEN.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "255.000000"
sm_nadeshake_color_g "0"
// NadeShake color RED.
// -
// Default: "255"
// Minimum: "0.000000"
// Maximum: "255.000000"
sm_nadeshake_color_r "255"
// Enable NadeShake
// -
// Default: "1"
sm_nadeshake_enable "1"
// Enable NadeShake by damage inflicted.
// -
// Default: "1"
sm_nadeshake_nadedmg "1"
// -
// Default: "0"
sm_nadeshake_color "1"
// NadeShake color ALPHA.
// -
// Default: "180"
// Minimum: "0.000000"
// Maximum: "255.000000"
sm_nadeshake_color_a "180"
// NadeShake color BLUE.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "255.000000"
sm_nadeshake_color_b "0"
// NadeShake color fade duration multiplier.
// -
// Default: "10"
// Minimum: "1.000000"
// Maximum: "100.000000"
sm_nadeshake_color_duration "10"
// NadeShake color GREEN.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "255.000000"
sm_nadeshake_color_g "0"
// NadeShake color RED.
// -
// Default: "255"
// Minimum: "0.000000"
// Maximum: "255.000000"
sm_nadeshake_color_r "255"
// Enable NadeShake
// -
// Default: "1"
sm_nadeshake_enable "1"
// Enable NadeShake by damage inflicted.
// -
// Default: "1"
sm_nadeshake_nadedmg "1"
Credits :
- Vogon
- Bacardi