View Single Post
Author Message
dcx2
Senior Member
Join Date: Sep 2011
Old 02-19-2012 , 17:08   [L4D2] Witch Self Ignition Fix (Version 1.0, 2012 Feb 19)
Reply With Quote #1

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 - 2055 views - 5.3 KB)
File Type: sp Get Plugin or Get Source (l4d2_witch_fire_fix_sdkh.sp - 1912 views - 4.5 KB)
File Type: smx l4d2_witch_fire_fix_sdkh.smx (4.7 KB, 888 views)
dcx2 is offline