View Single Post
Author Message
Machine
Senior Member
Join Date: Apr 2010
Old 12-29-2011 , 05:57   [L4D2] Relentless Witch
Reply With Quote #1

Description:

As the description suggests, the startled witches will continue to incapacitate survivors one by one until there are none left. They will then continue their rampage on the incapacitated. (They will ignore players in the saferoom)

Cvars:

relentless_witch_on "Is Relentless Witch enabled?" Default is 1
relentless_witch_incap "Allow witch to kill Incapacitated survivor before moving on?" Default is 0
relentless_witch_range "This controls the range for witch to reacquire another target." Default is 1200

Changelog:

Version 1.0
- Release
Version 1.1
- Improved Code, Bugfixes
- New cvar relentless_witch_range
Version 1.1.1
- Performance
Version 1.2.0
-Better saferoom detection using (Tabbernauts saferoom detection)
-Witches set on fire will also be relentless

Requirements:

relentless_witch.txt goes in sourcemod/gamedata
relentlesswitch_checkpoints.cfg goes in sourcemod/data

Bugs

Better saferoom detection comes at a price. It needs information about the map stored to get the bounds of the saferoom. There is support for some custom campaigns, so if the witches act strangely on a custom map, chances are that map is not supported yet.

For witches being set ablaze. I ran into problems when trying to assign fire damage to the cloned witch from the survivor that actually caused the damage. What this means is the witch will re-set herself on fire. The only thing this will affect is the score.
Attached Files
File Type: txt relentless_witch.txt (670 Bytes, 3080 views)
File Type: sp Get Plugin or Get Source (relentless_witch.sp - 1537 views - 17.7 KB)
File Type: cfg relentlesswitch_checkpoints.cfg (23.3 KB, 2677 views)
File Type: smx relentless_witch.smx (11.8 KB, 2494 views)

Last edited by Machine; 11-01-2014 at 15:13. Reason: Updated to v1.2.0
Machine is offline