[L4D2] Witch Self Ignition Fix (Version 1.0, 2012 Feb 19)

When a witch is ignited, she changes targets to whoever lit her on fire.



If a non-player lit herself on fire (for instance, the witch claws open a gas can), she would lose her target and wander around until she died.



On 2012 Feb 17, Valve released an update for L4D2. Now the witch will continue to chase her target if she claws open a gas can.



This plugin restores the previous behavior. Thanks to panxiaohai for Evil Witch which gave me the idea for how to fix this.



There are two versions; the first version does not require SDKHooks but it's less efficient. The second version, _sdkh, uses SDKHooks so download the smx, but it's much more efficient than the first version. Please download only one.



CVARS:



sm_witchfirefix_enable - Enables the plugin (default 1)

sm_witchfirefix_debug - Enables debugging output (default 0)















Attached Files











File Type: sp


Get Plugin or
Get Source (l4d2_witch_fire_fix.sp - 5.3 KB)


File Type: sp


Get Plugin or
Get Source (l4d2_witch_fire_fix_sdkh.sp - 4.5 KB)


File Type: smx


l4d2_witch_fire_fix_sdkh.smx (4.7 KB)








Orignal From: [L4D2] Witch Self Ignition Fix (Version 1.0, 2012 Feb 19)

No comments

Not a single link is allowed to submit in comment :o