About:- The cvar l4d_witch_trigger_type "1": Makes bots startle the Wandering Witch when shooting her.
- By default game only does this for Witches that are sitting.
- This is not required for L4D1.
- The cvar l4d_witch_trigger_type "0": Blocks bots from startling any Witch they shoot.
- Bots can still startle the Witch by standing too near and shooting.
Thanks:
Cvars:
Saved to
l4d_witch_trigger.cfg in your servers
\cfg\sourcemod\ folder.
PHP Code:
// 0=Plugin off, 1=Plugin on.
l4d_witch_trigger_allow "1"
// Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
l4d_witch_trigger_modes ""
// Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
l4d_witch_trigger_modes_off ""
// Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
l4d_witch_trigger_modes_tog "0"
// 0=Prevent bots from startling any Witches when shot. 1=Startle all Witches when bots shoot them.
l4d_witch_trigger_type "1" // Value of "0" in L4D1.
// Witch - Bots Trigger plugin version.
l4d_witch_trigger_version
Changes:
Code:
1.2 (10-May-2020)
- Extra checks to prevent "IsAllowedGameMode" throwing errors.
1.1 (01-Apr-2020)
- Fixed "IsAllowedGameMode" from throwing errors when the "_tog" cvar was changed before MapStart.
1.0 (27-Nov-2019)
- Initial release.
Installation:- Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.