Monthly Target: $400 Donations: $334
 83% 

[L4D2] Mutant Zombies (1.3) [10-May-2012]


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Silvers
Veteran Member
Join Date: Aug 2010
Location: Space
Plugin ID:
2754
Plugin Version:
1.3
Plugin Category:
Gameplay
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Approver:
    Plugin Description:
    New uncommon infected, mutant zombies.
    Servers with this Plugin:
    59 
    Old 01-01-2012 , 16:11   [L4D2] Mutant Zombies (1.3) [10-May-2012]
    Reply With Quote #1


    (Bomb 1, Bomb 2, Fire, Ghost, Mind, Smoke, Spit, Tesla)



    Mind type effects: (Pic1, Pic2, Pic3, Pic4, Pic5, Pic6, Pic7, Pic8)


    Thanks:
    • Mr. Man - Naming the plugin, ideas and testing.
    • januto - Testing on their server.
    • Jay_ombie - Ideas and testing.
    • raziEiL - Ideas and testing.
    • [Resistance] Yoshi - Testing.
    • JoBarfCreepy - Testing.
    • xioSlayer - Testing.
    • Recon-1 - Testing.
    • iRogue - Testing.


    Types:

    Bomb:
    There are random chances for Bomb mutants to explode when attacking, being hurt (defending) or shot in the head.

    Fire:
    Common which walk through molotov fires or firework crate explosions have a random chance to mutate into Fire mutants. These zombies are fireproof and have chances to drop fires when attacking or defending.

    Ghost:
    Semi transparent zombie.

    Mind:
    Getting near to these zombies will change your screen color.

    Smoke:
    Players near to these zombies receive damage.

    Spit:
    Common which walk through Spitter acid have a random chance to mutate into to Spit mutants. When hit by these zombies, players take damage for a few seconds.

    Tesla:
    Nikola Tesla mutant, flings players away from the Mutant.



    Admin Commands: (requires "z" flag)

    PHP Code:
    sm_mutantsrefresh   // Refreshes the plugin and reloads the data config.
    sm_mutantbomb       // Spawns a Mutant Bomb Zombie.
    sm_mutantfire       // Spawns a Mutant Fire Zombie.
    sm_mutantghost      // Spawns a Mutant Ghost Zombie.
    sm_mutantmind       // Spawns a Mutant Mind Zombie.
    sm_mutantsmoke      // Spawns a Mutant Smoke Zombie.
    sm_mutantspit       // Spawns a Mutant Spit Zombie.
    sm_mutanttesla      // Spawns a Mutant Tesla Zombie.
    sm_mutants          // Spawns all Mutant Zombies 


    CVars:

    Saved to l4d2_mutants_.cfg in your servers \cfg\sourcemod\ folder.

    PHP Code:
    // 0=Plugin off, 1=Plugin on.
    l4d2_mutants_allow "1"

    // Turn on the plugin in these game modes, separate by commas (no spaces). (Empty = all).
    l4d2_mutants_modes ""

    // Turn off the plugin in these game modes, separate by commas (no spaces). (Empty = none).
    l4d2_mutants_modes_off ""

    // Turn on the plugin in these game modes. 0=All, 1=Coop, 2=Survival, 4=Versus, 8=Scavenge. Add numbers together.
    l4d2_mutants_modes_tog "0"

    // Mutant Zombies plugin version.
    l4d2_mutants_version 


    Config:

    Saved to l4d2_mutants.cfg in your servers \addons\sourcemod\data\ folder.

    For changes to take affect, you must either:
    A) Use this command sm_mutantsrefresh
    B) Reload the plugin.
    C) Change map.


    The "Settings" section:
    "check" - Prevents affecting zombies from the Variable Size Of Infected and Witch plugin.

    "random" - If set to "0", zombies will spawn when their individual "random" values are met. This is best for Versus so each team receives identical zombies after the same amount of infected spawn. Setting the number above 0 will spawn a random mutant when that many infected have spawned.

    "types" - You can limit which Mutants are allowed by adding together these type values:
    1=Bomb, 2=Fire, 4=Ghost, 8=Mind, 16=Smoke, 32=Spit, 64=Tesla, 127=All.

    Custom "types" on maps:
    "types" - You can limit which Mutants spawn on certain maps, by adding a new section with the map name to the config. Use the same type values from above.


    Example Config:

    PHP Code:
    "Mutants"
    {
        
    "c1m1_hotel"
        
    {
            
    "types" "2"        // This allows Fire mutants on the first chapter of Dead Center.
        
    }

        
    "c1m2_streets"
        
    {
            
    "types" "35"    // 1+2+32 This allows Bomb, Fire and Spit types on the second chapter.
        
    }

        
    "Settings"
        
    {
            
    // 0=Off, 1=Check for other plugin's uncommon infected to stop Mutant Zombies affecting them.
            // Default:    "0"
            
    "check"    "0"

            
    // 0=Off. Limit the number of Mutants at any one time to this amount.
            // Minimum: "0"
            // Maximum: "70"
            // Default:    "14"
            
    "limit"    "14"

            
    // 0=Mutants spawn when their individual "random" values are met (this is fair in Versus). Otherwise a random Mutant type is selected after this many common infected spawn.
            // Default:    "50"
            
    "random"    "50"

            
    // 1=Bomb, 2=Fire, 4=Ghost, 8=Mind, 16=Smoke, 32=Spit, 64=Tesla, 127=All.
            // Minimum: "0"
            // Maximum: "127"
            // Default:    "127"
            
    "types"    "127"
        
    }

        
    "Bomb"
        
    {
            
    // 0=Default game damage. How much damage each hit does to a survivor.
            // Default:    "0"
            
    "damage"    "0"

            
    // How much damage does the explosion cause at the center.
            // Default:    "25"
            
    "damage_bomb"    "25"

            
    // Range at which explosions can damage.
            // Default:    "250"
            
    "distance"    "250"

            
    // Chance out of 100 to detonate the bomb when hitting survivors.
            // Default:    "50"
            
    "explode_attack"    "50"

            
    // Chance out of 100 to detonate the bomb when taking damage from survivors.
            // Default:    "15"
            
    "explode_defend"    "15"

            
    // Chance out of 100 to detonate the bomb when dieing from a headshot.
            // Default:    "75"
            
    "explode_headshot"    "75"

            
    // 0=Off. Range at which Bomb mutants glow.
            // Default:    "0"
            
    "glow"    "0"

            
    // R,G,B color values for the glow. 3 values between 0 and 255.
            // Default:    "255 255 0"
            
    "glow_color"    "255 255 0"

            
    // 0=Default. How much health the zombie has.
            // Default:    "150"
            
    "health"    "150"

            
    // How many Bomb mutants are allowed on the map at once.
            // Minimum: "0"
            // Maximum: "10"
            // Default:    "2"
            
    "limit"    "2"

            
    // 0=Off. Spawn a Bomb mutant after this many common spawn.
            // Minimum: "10"
            // Maximum: "1000"
            // Default:    "105"
            
    "random"    "105"

            
    // 0=Off. 1=Create a camera shake when the bomb explodes.
            // Default:    "1"
            
    "shake"    "1"
        
    }

        
    "Fire"
        
    {
            
    // 0=Default game damage. How much damage each hit does to a survivor.
            // Default:    "0"
            
    "damage"    "0"

            
    // 0=Off, Chance of dropping fires when hurting players, between 1 and 100.
            // Default:    "10"
            
    "drop_attack"    "10"

            
    // 0=Off, Chance of dropping fires when receiving damage, between 1 and 100.
            // Default:    "5"
            
    "drop_defend"    "5"

            
    // 0=Off. Range at which Fire mutants glow.
            // Default:    "0"
            
    "glow"    "0"

            
    // R,G,B color values for the glow. 3 values between 0 and 255.
            // Default:    "255 0 0"
            
    "glow_color"    "255 0 0"

            
    // 0=Default. How much health the zombie has.
            // Default:    "0"
            
    "health"    "0"

            
    // How many Fire mutants are allowed on the map at once.
            // Minimum: "0"
            // Maximum: "10"
            // Default:    "2"
            
    "limit"    "2"

            
    // 0=Off. Spawn a Fire mutant after this many common spawn.
            // Minimum: "10"
            // Maximum: "1000"
            // Default:    "133"
            
    "random"    "133"

            
    // How long do dropped fires last for.
            // Default:    "10.0"
            
    "time"        "10.0"

            
    // 0=Off, 100=All. The chance to turn common infected into Fire mutants when they walk through molotov fires or firework explosions.
            // Default:    "20"
            
    "walk"    "20"
        
    }

        
    "Ghost"
        
    {
            
    // 0=Default game damage. How much damage each hit does to a survivor.
            // Default:    "0"
            
    "damage"    "0"

            
    // 0=Off. Range at which Ghost mutants glow.
            // Default:    "0"
            
    "glow"    "0"

            
    // R,G,B color values for the glow. 3 values between 0 and 255.
            // Default:    "100 100 100"
            
    "glow_color"    "100 100 100"

            
    // 0=Default. How much health the zombie has.
            // Default:    "0"
            
    "health"    "0"

            
    // How many Ghost mutants are allowed on the map at once.
            // Minimum: "0"
            // Maximum: "10"
            // Default:    "2"
            
    "limit"    "2"

            
    // 0=Transparent, 255=Opaque. How solid do you want ghosts to appear?
            // Default:    "75"
            
    "opacity"    "75"

            
    // 0=Off. Spawn a Ghost mutant after this many common spawn.
            // Minimum: "10"
            // Maximum: "1000"
            // Default:    "49"
            
    "random"    "49"
        
    }

        
    "Mind"
        
    {
            
    // 0=Default game damage. How much damage each hit does to a survivor.
            // Default:    "0"
            
    "damage"    "0"

            
    // How far does the effect range.
            // Default:    "300"
            
    "distance"    "300"

            
    // 1=Ghost, 2=Red, 4=Lightning, 8=Yellow, 16=Infected, 32=Thirdstrike, 64=Blue, 128=Sunrise, 255=All. Effects to randomly select from. Add the numbers together.
            // Minimum: "1"
            // Maximum: "255"
            // Default:    "255"
            
    "effects"    "255"

            
    // 0=Off. Range at which Mind mutants glow.
            // Default:    "0"
            
    "glow"    "0"

            
    // R,G,B color values for the glow. 3 values between 0 and 255.
            // Default:    "100 50 100"
            
    "glow_color"    "100 50 100"

            
    // 0=Default. How much health the zombie has.
            // Default:    "0"
            
    "health"    "0"

            
    // How many Mind mutants are allowed on the map at once.
            // Minimum: "0"
            // Maximum: "10"
            // Default:    "2"
            
    "limit"    "2"

            
    // 0=Off. Spawn a Mind mutant after this many common spawn.
            // Minimum: "10"
            // Maximum: "1000"
            // Default:    "63"
            
    "random"    "63"
        
    }

        
    "Smoke"
        
    {
            
    // 0=Default game damage. How much damage each hit does to a survivor.
            // Default:    "0"
            
    "damage"    "0"

            
    // How much damage does the smoke cloud do?
            // Default:    "1"
            
    "damage_smoke"    "1"

            
    // How far does the smoke cloud damage?
            // Default:    "100"
            
    "distance"    "100"

            
    // Color of the smoke
            // Default:    "20 20 30"
            
    "color"    "20 20 30"

            
    // 0=Off. Range at which Smoke mutants glow.
            // Default:    "250"
            
    "glow"    "0"

            
    // R,G,B color values for the glow. 3 values between 0 and 255.
            // Default:    "0 100 100"
            
    "glow_color"    "0 100 100"

            
    // 0=Default. How much health the zombie has.
            // Default:    "0"
            
    "health"    "0"

            
    // How many Smoke mutants are allowed on the map at once.
            // Minimum: "0"
            // Maximum: "10"
            // Default:    "2"
            
    "limit"    "2"

            
    // 0=Off. Spawn a Smoke mutant after this many common spawn.
            // Minimum: "10"
            // Maximum: "1000"
            // Default:    "91"
            
    "random"    "91"
        
    }

        
    "Spit"
        
    {
            
    // 0=Default game damage. How much damage each hit does to a survivor.
            // Default:    "1"
            
    "damage"    "1"

            
    // How many times the player gets hurt after being hit by Spit mutants.
            // Default:    "3"
            
    "damage_multiple"    "3"

            
    // 0=Off, 1=Goo Dribble, 2=Smoke Trail, 3=Goo Dribble + Smoke Trail.
            // Minimum:    "0"
            // Maximum:    "6"
            // Default:    "3"
            
    "effects"    "3"

            
    // 0=Off. Range at which Spit mutants glow.
            // Default:    "0"
            
    "glow"    "0"

            
    // R,G,B color values for the glow. 3 values between 0 and 255.
            // Default:    "0 255 0"
            
    "glow_color"    "0 255 0"

            
    // 0=Default. How much health the zombie has.
            // Default:    "0"
            
    "health"    "0"

            
    // How many Spit mutants are allowed on the map at once.
            // Minimum: "0"
            // Maximum: "10"
            // Default:    "2"
            
    "limit"    "2"

            
    // 0=Off. Spawn a Spit mutant after this many common spawn.
            // Minimum: "10"
            // Maximum: "1000"
            // Default:    "119"
            
    "random"    "119"

            
    // The interval to hurt players after being hit by Spit mutants.
            // Default:    "0.5"
            
    "time"    "0.5"

            
    // 0=Off, The chance to turn common infected into Spit mutants when they walk through spitter acid.
            // Default:    "20"
            
    "walk"    "20"
        
    }

        
    "Tesla"
        
    {
            
    // 0=Default game damage. How much damage each hit does to a survivor.
            // Default:    "5"
            
    "damage"    "5"

            
    // 1=Electrical Arc, 2=Electrical Arc B, 4=St Elmos Fire, 8=Lightning, 16=Lightning B, 31=All.
            // Minimum:    "1"
            // Maximum: "31"
            // Default:    "31"
            
    "effects"    "31"

            
    // Use this much force to push away players
            // Default:    "400.0"
            
    "force"        "400.0"

            
    // Add this much vertical velocity. Must be above 250.0 or players will not be pushed at all.
            // Default:    "300.0"
            
    "force_z"    "300.0"

            
    // 0=Off. Range at which Tesla mutants glow.
            // Default:    "250"
            
    "glow"    "0"

            
    // R,G,B color values for the glow. 3 values between 0 and 255.
            // Default:    "0 100 255"
            
    "glow_color"    "0 100 255"

            
    // 0=Default. How much health the zombie has.
            // Default:    "0"
            
    "health"    "0"

            
    // How many Tesla mutants are allowed on the map at once.
            // Minimum: "0"
            // Maximum: "10"
            // Default:    "2"
            
    "limit"    "2"

            
    // 0=Off. Spawn a Tesla mutant after this many common spawn.
            // Minimum: "10"
            // Maximum: "1000"
            // Default:    "77"
            
    "random"    "77"
        
    }



    Changes:
    Code:
    1.3 (10-May-2012)
        - Added cvar "l4d2_mutants_modes_off" to control which game modes the plugin works in.
        - Added cvar "l4d2_mutants_modes_tog" same as above, but only works for L4D2.
        - Fixed a bug when gascans etc exploded, which prevented common from being ignited.
        - Fixed a bug with the "random" option in the config not working as expected.
    
    1.2 (15-Jan-2012)
        - Fixed "effects" not setting correctly on "Mind" type.
    
    1.1 (14-Jan-2012)
        - Added command "sm_mutantsrefresh" to refresh the plugin and reload the data config.
        - Fixed "types" config not setting when "random" was set to 0.
    
    1.0 (01-Jan-2012)
        - Initial release.


    Compiling:
    1. Put the SDKHooks include into your \addons\sourcemod\scripting\include\ folder.
    2. Put the plugins .sp file into your scripting folder and compile the plugin.


    Requirements:
    • This plugin requires the SDKHooks extension, which is now part of SourceMod 1.5+ and not required as a separate download.


    Installation:
    1. Download the .zip and extract the files to their respective folders in your servers \addons\sourcemod\ folder.

    Updating from 1.2 or older:
    • New cvars have been added: use the Cvar Configs Updater, or delete the old cvars config or manually add them.
    Attached Files
    File Type: zip l4d2_mutant_zombies.zip (50.2 KB, 2965 views)
    __________________

    Last edited by Silvers; 06-12-2015 at 15:48.
    Silvers is offline
    Silvers
    Veteran Member
    Join Date: Aug 2010
    Location: Space
    Old 01-01-2012 , 17:58   Re: [L4D2] Mutant Zombies (1.0) [01-Jan-2012]
    Reply With Quote #2

    Reserved.
    __________________

    Last edited by Silvers; 01-06-2012 at 14:01.
    Silvers is offline
    alexip121093
    Senior Member
    Join Date: Dec 2009
    Location: Hong Kong
    Old 01-01-2012 , 18:31   Re: [L4D2] Mutant Zombies (1.0) [01-Jan-2012]
    Reply With Quote #3

    best plugin ever 5 stars definitely
    __________________
    alexip121093 is offline
    Send a message via MSN to alexip121093
    disawar1
    Senior Member
    Join Date: Aug 2011
    Location: Russian
    Old 01-01-2012 , 23:06   Re: [L4D2] Mutant Zombies (1.0) [01-Jan-2012]
    Reply With Quote #4

    of course and my 9999 stars, if they were here. I think this is really the best and original l4d plugin on SM, +5!
    __________________
    My plugins on: Sourcemod, GitHub, Bitbucket, Google
    Wanna private plugin? I'm ready to get to work, contact me
    disawar1 is offline
    januto
    Member
    Join Date: Mar 2011
    Old 01-02-2012 , 06:18   Re: [L4D2] Mutant Zombies (1.0) [01-Jan-2012]
    Reply With Quote #5

    All I can say is.. +5 A lot of testing in my server, bug free.
    __________________
    You are welcome!

    januto is offline
    Zombienator
    Junior Member
    Join Date: Feb 2011
    Location: Italy
    Old 01-02-2012 , 18:00   Re: [L4D2] Mutant Zombies (1.0) [01-Jan-2012]
    Reply With Quote #6

    This plugin is beautiful awesome work!
    BTW I tested it for 5+ hours with SDKHooks 2.1 on a Linux dedicated and it didn't crashed
    Zombienator is offline
    Silvers
    Veteran Member
    Join Date: Aug 2010
    Location: Space
    Old 01-03-2012 , 05:29   Re: [L4D2] Mutant Zombies (1.0) [01-Jan-2012]
    Reply With Quote #7

    Thanks for the comments

    I think the problem is on Windows servers with 2.1, at least in my experience: http://forums.alliedmods.net/showpos...postcount=1765

    I should also note, the OnTakeDamage hook which causes the crash only happens when the "walk" for Fire mutants is enabled. So normal common infected can mutate into Fire zombies.
    __________________

    Last edited by Silvers; 01-03-2012 at 05:31.
    Silvers is offline
    AtomicStryker
    Veteran Member
    Join Date: Apr 2009
    Location: Teutonia!!
    Old 01-03-2012 , 06:11   Re: [L4D2] Mutant Zombies (1.0) [01-Jan-2012]
    Reply With Quote #8

    Nice! Here's some ideas


    - meleeing Spitter Zombies hurts
    - mind Zombies distort players hearing (Adrenaline effects)
    - mind Zombies can cause fake Zombie sounds to be heard where there is no Zombies (eg behind player)
    - same principle, fake Survivor sounds like "im being pounced" etc
    - same idea still, muting actual Survivor sounds
    AtomicStryker is offline
    Silvers
    Veteran Member
    Join Date: Aug 2010
    Location: Space
    Old 01-03-2012 , 06:19   Re: [L4D2] Mutant Zombies (1.0) [01-Jan-2012]
    Reply With Quote #9

    Thanks Atomic, Jay_ombie had suggested a "Mimic" type but I never added because I wasn't sure what I should do, create a Jockey that stands somewhere on the map making sounds? Maybe I should use the "Mind" type to do this.

    I like your idea of meleeing Spit Zombies and being hurt and the adrenaline effect sound! I'll add those at some point, thanks.
    __________________
    Silvers is offline
    JackieChan
    SourceMod Donor
    Join Date: Nov 2009
    Old 01-03-2012 , 22:32   Re: [L4D2] Mutant Zombies (1.0) [01-Jan-2012]
    Reply With Quote #10

    Fantastic idea for a plugin. I love seeing unique plugins like this for L4D2.
    __________________
    JackieChan 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 11:48.


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