Raised This Month: $51 Target: $400
 12% 

[L4D2] Psychotic Witch (Updated: 2/10/17)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Mortiegama
Senior Member
Join Date: Feb 2010
Plugin ID:
4120
Plugin Version:
1.2
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    12 
    Plugin Description:
    Brining a new meaning of fear to the most dangerous infected.
    Old 03-05-2014 , 14:53   [L4D2] Psychotic Witch (Updated: 2/10/17)
    Reply With Quote #1

    L4D2 - Psychotic Witch

    General

    This plugin requires Sourcemod 1.7 or higher
    This plugin requires the attached Gamedata file


    Description

    I'm working on new ideas for my Vicious Infected plugin. Rather than edit the entire plugin I've started to make smaller projects to assess just that particular set of abilities. I figured I'd release the small portions as I come up with them. Maybe even incorporate just the abilities for that particular class to ease the overall plugin.

    Psychotic Witch is a plugin designed to reintroduce the most fearsome of the infected as a being of pure malevolence. It was important to crown or avoid the Witch at all costs, now that has become even more important. With nine special abilities, the Witch can take reduced damage to the head or body, become invisible, send Survivors in the path to her target flying, send survivors stumbling when she incaps her prey, insta-kill or B&W her incapped target, heal herself by feeding off a Survivor's life, drop a defib and medkit on death, and randomly changer her HP and Speed. Be ready to take fear to a new level...

    • Assimilation: When a Survivor is killed by the Witch, she raises them in her image, creating another Witch.
    • Death Helmet: The Witch places a hollowed out propane tank on her head to reduce damage to her brain.
    • Leeching Claw: When the Witch incaps a Survivor, she heals herself with some of their stolen life force.
    • Mood Swing: With her mood changes, the Witch also has a varied health and speed factor.
    • Nightmare Claw: When incapped by an enraged Witch the Survivor is either set to B&W or killed.
    • Psychotic Charge: The Witch will knock back any Survivors in her path while pursuing her victim.
    • Shameful Cloak: Distraught by what she has become, the Witch will try to hide her form from the world.
    • Sorrowful Remorse: When a Witch is killed, she leaves behind a Medkit and Defib as repetance for her actions.
    • Support Group: When the Witch is angered, her hateful shriek calls down a panic event.
    • Unrelenting Spirit: The Witch's spirit allows her to keep attacking despite damage.


    Cvars

    <*>To change these values edit the plugin.L4D2.PsychoticWitch.cfg in the CFG/Sourcemod folder.


    PHP Code:
    // Enables Assimilation Ability: When a Survivor is killed by the Witch, she raises them in her image, creating another Witch. (Def 1)
    // -
    // Default: "1"
    l4d_pwm_assimilation "1"

    // Enables Death Helmet Ability: The Witch places a hollowed out propane tank on her head to reduce damage to her brain. (Def 1)
    // -
    // Default: "1"
    l4d_pwm_deathhelmet "1"

    // Percentage that damage to Witch's head is reduced. (Def 0.3)
    // -
    // Default: "0.3"
    l4d_pwm_deathhelmetamount "0.3"

    // Enables Leeching Claw ability: When the Witch incaps a Survivor, she heals herself with some of their stolen life force. (Def 1)
    // -
    // Default: "1"
    l4d_pwm_leechingclaw "1"

    // Amount of health to restore to the Witch after Leeching Claw. (Def 500)
    // -
    // Default: "500"
    l4d_pwm_leechingclawamount "500"

    // Enables Mood Swing ability: With her mood changes, the Witch also has a varied health and speed factor. (Def 1)
    // -
    // Default: "1"
    l4d_pwm_moodswing "1"

    // Maximum HP for the Witch. (Def 2000)
    // -
    // Default: "2000"
    l4d_pwm_moodswinghpmax "2000"

    // Minimum HP for the Witch. (Def 1000)
    // -
    // Default: "1000"
    l4d_pwm_moodswinghpmin "1000"

    // Maximum speed adjustment for the Witch. (Def 1.6)
    // -
    // Default: "1.6"
    l4d_pwm_moodswingspeedmax "1.6"

    // Minimum speed adjustment for the Witch. (Def 0.8)
    // -
    // Default: "0.8"
    l4d_pwm_moodswingspeedmin "0.8"

    // Enables Nightmare Claw ability: When incapped by an enraged Witch the Survivor is either set to B&W or killed. (Def 1)
    // -
    // Default: "1"
    l4d_pwm_nightmareclaw "1"

    // Type of Nightmare Claw: 1 = Survivor is set to B&W, 2 = Survivor is killed.
    // -
    // Default: "1"
    // Minimum: "1.000000"
    // Maximum: "2.000000"
    l4d_pwm_nightmareclawtype "1"

    // Enables Psychotic Charge ability: The Witch will knock back any Survivors in her path while pursuing her victim. (Def 1)
    // -
    // Default: "1"
    l4d_pwm_psychoticcharge "1"

    // Amount of damage the Witch causes when she hits a Survivor. (Def 10)
    // -
    // Default: "10"
    l4d_pwm_psychoticchargedamage "10"

    // Power a Survivor is hit with during Psychotic Charge. (Def 300)
    // -
    // Default: "300"
    l4d_pwm_psychoticchargepower "300"

    // How close a Survivor has to be to be hit by the Psychotic Charge. (Def 200)
    // -
    // Default: "200"
    l4d_pwm_psychoticchargerange "200"

    // Enables Shameful Cloak ability: Distraught by what she has become, the Witch will try to hide her form from the world. (Def 1)
    // -
    // Default: "1"
    l4d_pwm_shamefulcloak "1"

    // Chance the Witch will use Shameful Cloak when spawned. (Def 20)
    // -
    // Default: "20"
    l4d_pwm_shamefulcloakchance "20"

    // Modifies the visibility of the Witch while using Shameful Cloak. (0-255) (Def 0)
    // -
    // Default: "0"
    // Minimum: "0.000000"
    // Maximum: "255.000000"
    l4d_pwm_shamefulcloakvisibility "0"

    // Enables Slashing Wind ability: When the Witch incaps a Survivor it sends out a shockwave damaging and knocking back all Survivors. (Def 1)
    // -
    // Default: "1"
    l4d_pwm_slashingwind "1"

    // Amount of damage the Witch caused to Survivors within Slashing Wind range. (Def 5)
    // -
    // Default: "5"
    l4d_pwm_slashingwinddamage "5"

    // How close a Survivor has to be to be hit by the Slashing Wind. (Def 600)
    // -
    // Default: "500"
    l4d_pwm_slashingwindrange "500"

    // Enables Sorrowful Remorse ability: When a Witch is killed, she leaves behind a Medkit and Defib as repetance for her actions. (Def 0)
    // -
    // Default: "0"
    l4d_pwm_sorrowfulremorse "0"

    // Enables Support Group ability: When the Witch is angered, her hateful shriek calls down a panic event. (Def 1)
    // -
    // Default: "1"
    l4d_pwm_supportgroup "1"

    // Enables Unrelenting Spirit ability: The Witch's spirit allows her to keep attacking despite damage. (Def 1)
    // -
    // Default: "1"
    l4d_pwm_unrelentingspirit "1"

    // Percent of damage to the Witch reduced by Unrelenting Spirit. (Def 0.7)
    // -
    // Default: "0.7"
    l4d_pwm_unrelentingspiritamount "0.7" 



    Installation
    • Download and copy L4D2 Psychotic Witch.smx to Addons/Sourcemod/Plugins
    • Download and copy l4d2_viciousplugins.txt to Addons/Sourcemod/Gamedata
    • Delete plugin.L4D2.PsychoticWitch.cfg from the CFG/Sourcemod folder.



    Version History

    Code:
    Version 1.2 - (2/8/17)
    
    - Edited significant amount of code - Added new ability: Assimilation
    Version 1.15 - (4/28/14) - 675 Views
    - Fixed some errors from not checking entity correctly
    Version 1.14 - (4/22/14) - 11 Views
    - Added checks to make sure plugin stops when the server is loading
    Version 1.13 - (3/26/14) - 31 Views
    - Attempted to fix a problem with servers hard crashing
    Version 1.12 - (3/14/14) - 32 Views
    - Attempted to fix problems with Boomer B**** Slap
    Version 1.11 - (3/12/14) - 10 Views
    - Fixed a few more bugs - Added extra check for valid clients in Psychotic Charge
    Version 1.1 - (3/6/14) - 36 Views
    - Fixed a bug caused by terror_player_manager
    Version 1.0 - (3/5/14) - 10 Views
    - Original launch of the plugin
    Special Thanks

    AtomicStryker - Boomer Bit** Slap:
    https://forums.alliedmods.net/showthread.php?t=97952

    AtomicStryker - Damage Mod (SDK Hooks):
    https://forums.alliedmods.net/showthread.php?p=1184761



    Known Issues

    <*>None


    Attached Files
    File Type: sp Get Plugin or Get Source (L4D2 Psychotic Witch.sp - 3556 views - 33.4 KB)
    File Type: txt l4d2_viciousplugins.txt (23.9 KB, 1791 views)
    __________________

    Last edited by Mortiegama; 02-10-2017 at 17:09. Reason: Updated to Version 1.2, added new Gamedata file.
    Mortiegama is offline
     



    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 18:28.


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