Raised This Month: $32 Target: $400
 8% 

[L4D2] Relentless Witch


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Machine
Senior Member
Join Date: Apr 2010
Plugin ID:
2742
Plugin Version:
1.2.0
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Startled Witches will relentlessly attack survivors until all are dead.
    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, 3074 views)
    File Type: sp Get Plugin or Get Source (relentless_witch.sp - 1534 views - 17.7 KB)
    File Type: cfg relentlesswitch_checkpoints.cfg (23.3 KB, 2672 views)
    File Type: smx relentless_witch.smx (11.8 KB, 2488 views)

    Last edited by Machine; 11-01-2014 at 15:13. Reason: Updated to v1.2.0
    Machine is offline
    disawar1
    AlliedModders Donor
    Join Date: Aug 2011
    Location: Russian
    Old 12-29-2011 , 07:23   Re: [L4D2] Relentless Witch
    Reply With Quote #2

    uhmm what is the difference Evil Witch
    __________________
    disawar1 is offline
    Machine
    Senior Member
    Join Date: Apr 2010
    Old 12-29-2011 , 18:26   Re: [L4D2] Relentless Witch
    Reply With Quote #3

    See for yourself.
    Machine is offline
    Danny_l4d
    Senior Member
    Join Date: Feb 2010
    Old 12-31-2011 , 10:48   Re: [L4D2] Relentless Witch
    Reply With Quote #4

    Possible for l4d1 also?
    Danny_l4d is offline
    Machine
    Senior Member
    Join Date: Apr 2010
    Old 01-01-2012 , 03:15   Re: [L4D2] Relentless Witch
    Reply With Quote #5

    No, sorry. I don't own L4D1. I couldn't say whether or not it works.

    Updated to 1.1
    Machine is offline
    asto
    Member
    Join Date: Aug 2010
    Old 01-11-2012 , 15:19   Re: [L4D2] Relentless Witch
    Reply With Quote #6

    Error messages in L4D1

    L 01/03/2012 - 21:57:49: [SM] Displaying call stack trace for plugin "relentless_witch.smx":
    L 01/03/2012 - 21:57:49: [SM] [0] Line 93, relentless_witch.sp::WitchAttackHook()
    L 01/03/2012 - 21:57:49: [SM] Native "GetEntPropFloat" reported: Property "m_wanderrage" not found (entity 274/witch)
    asto is offline
    paul92
    Senior Member
    Join Date: Sep 2010
    Old 02-20-2012 , 08:36   Re: [L4D2] Relentless Witch
    Reply With Quote #7

    Could you add a .cfg file please?
    paul92 is offline
    dcx2
    Senior Member
    Join Date: Sep 2011
    Old 02-21-2012 , 19:59   Re: [L4D2] Relentless Witch
    Reply With Quote #8

    I'm just curious, what is the purpose for using OnHitByVomitJar?
    dcx2 is offline
    Machine
    Senior Member
    Join Date: Apr 2010
    Old 02-21-2012 , 21:06   Re: [L4D2] Relentless Witch
    Reply With Quote #9

    It is there to force the witch to attack a survivor. Using a point_hurt just didn't work as I remember.

    @Paul, Open up the .sp and change //AutoExecConfig(true,"Relentless_Witch"); to AutoExecConfig(true,"Relentless_Witch"); and recompile.

    Last edited by Machine; 02-21-2012 at 21:09.
    Machine is offline
    kpaxian
    Junior Member
    Join Date: Nov 2010
    Old 02-22-2012 , 13:40   Re: [L4D2] Relentless Witch
    Reply With Quote #10

    we love this mod on our server - we had to lower her health from 8000 to 4000 though because she would frequently take us all down - was kinda funny though Good job machine.
    kpaxian is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 01:39.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode