Description
Survivors can miss shots/shove while grabbed by a tongue.
I did this to turn Smoker into a more challenging enemy.
In vanilla game you can shoot/shove the Smoker for a while after being grabbed by it's tongue, sometimes that shot kills the Smoker.
With this plugin the Smoker will become invunerable from the victim shots/shove after being grabbed by tongue.
Features
- Allow configuring a chance to miss the shots.
- Allow configuring a chance to miss the shove.
Cvars
A configuration file named "
l4d_miss_tongue_grab.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_miss_tongue_grab_enable "1"
// Chance to miss hits when the survivor is grabbed by tongue.
// 0 = OFF.
// -
// Default: "100.0"
// Minimum: "0.000000"
// Maximum: "100.000000"
l4d_miss_tongue_grab_shot_miss_chance "100.0"
// Chance to miss the shove when the survivor is grabbed by tongue.
// 0 = OFF.
// -
// Default: "100.0"
// Minimum: "0.000000"
// Maximum: "100.000000"
l4d_miss_tongue_grab_shove_miss_chance "100.0"
Related Game Cvars
- tongue_victim_accuracy_penalty => How much someone's accuracy suffers while being dragged by a tongue. (default: 0.133)
Admin Commands
- sm_print_cvars_l4d_miss_tongue_grab => Print the plugin related cvars and their respective values to the console. (z flag required)
Change Log
Notes
- The damage block only applies to damage from firearms.
- The damage/shove block is also applied to other SI, commons and witches.
Post Reply
- Any feedback, bug reports, fixes, improvements, translations or suggestions for the plugin are welcome.
Installation
- Put the "l4d_miss_tongue_grab.smx" file (click Get Plugin) in your "\addons\sourcemod\plugins\" folder.