THIS PLUGIN IS OBSOLETE. USE THIS INSTEAD: [L4D & L4D2] Target Override
Related Plugins:
About:- Blocks specified Special Infected from targeting incapacitated players.
- Does not account for line of sight which would need constant inefficient trace rays.
- Trace rays could be fired every half a second or so. Only request if really needed.
Cvars:
Saved to
l4d_target_patch.cfg in your servers
\cfg\sourcemod\ folder.
PHP Code:
// 0=Plugin off, 1=Plugin on.
l4d_target_patch_allow "1"
// Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
l4d_target_patch_modes ""
// Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
l4d_target_patch_modes_off ""
// Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
l4d_target_patch_modes_tog "0"
// Block these Special Infected from targeting incapped players: 1=Smoker, 2=Boomer, 4=Hunter, 8=Tank, 15=All. Add numbers together.
l4d_target_patch_targets "12"
// Target Patch plugin version.
l4d_target_patch_version
Changes:
Code:
1.1 (14-Jan-2020)
- Fixed invalid entity. Thanks to "Venom1777" for reporting.
1.0 (13-Jan-2020)
- Initial release.
Requirements:
Installation:DO NOT click 'Get Plugin' or it will fail to compile because this plugin requires DHooks!
- Download the .smx file and put into your servers \addons\sourcemod\plugins folder.
- Download the .txt gamedata file and put into your servers \addons\sourcemod\gamedata\ folder.
__________________