Description
This plugin turns special infected immune to survivors shove, preventing them to be staggered by survivor's shove.
Features- Allow configuring which SI should be immune to survivor's shove.
Cvars
A configuration file named "
l4d_si_shove_immunity.cfg" will automatically be created for you upon the first run in the "
\cfg\sourcemod\" folder.
PHP Code:
// Enable/Disable the plugin.
// 0 = Disable, 1 = Enable.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
l4d_si_shove_immunity_enable "1"
// Which special infected should be immune to survivors shove.
// 1 = SMOKER, 2 = BOOMER, 4 = HUNTER, 8 = SPITTER, 16 = JOCKEY, 32 = CHARGER, 64 = TANK.
// Add numbers greater than 0 for multiple options.
// Example: "127", turns all SI immune to survivors shove.
// -
// Default: "127"
// Minimum: "0.000000"
// Maximum: "127.000000"
l4d_si_shove_immunity_si "127"
Related Game Cvars
- z_charger_allow_shove => L4D2 only. Allow charger to be shoved? 0 = No, 1 = Yes. (default: 0)
Admin Commands
- sm_print_cvars_l4d_si_shove_immunity => Print the plugin related cvars and their respective values to the console. (z flag required)
Change Log
Notes
- Tanks are already immune by game design.
- L4D2 only. To enable Charger to be shoved set the z_charger_allow_shove game cvar to 1.
Thank you!
Related Plugins
Post Reply
- Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome.
Requirements
Installation
- Put the "l4d_si_shove_immunity.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder.