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

[L4D2] Spawn uncommon Infected


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
AtomicStryker
Veteran Member
Join Date: Apr 2009
Location: Teutonia!!
Plugin ID:
1281
Plugin Version:
1.0.9
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    73 
    Plugin Description:
    Spawn uncommon infected, single or hordes!
    Old 11-19-2009 , 13:47   [L4D2] Spawn uncommon Infected
    Reply With Quote #1

    Spawn uncommon Infected at will, anytime

    No Campaign or Censorship limits


    Load a map or restart the server once before using!


    Convars:

    • l4d2_spawn_uncommons_hordecount (default 25, how many zombies from horde spawning shall be made uncommon)
    • l4d2_spawn_uncommons_autoshuffle (default 1, do you want the plugin to randomize Zombies into any Uncommon on all maps)
    • l4d2_spawn_uncommons_autochance (default 15, Every 'THIS' zombie spawning will be statistically turned uncommon if autoshuffle is active)
    • l4d2_spawn_uncommons_autotypes (default 19, binary flag of allowed autoshuffle zombies. 1 = riot, 2 = ceda, 4 = clown, 8 = mudman, 16 = roadcrew, 32 = jimmy, 64 = fallen); riot + ceda + roadcrew = 19
    • l4d2_spawn_uncommons_healthoverride (default -1, set to health value if you want something nonstandard)


    Commands:

    sm_spawnuncommon <riot|ceda|clown|mud|roadcrew|jimmy|fallen|ra ndom>
    sm_spawnuncommonhorde <riot|ceda|clown|mud|roadcrew|jimmy|fallen|ra ndom>



    Changelog:

    1.0.0 - release
    1.0.1 - fixed models not being precached properly, added 'random'
    1.0.2 - added 'fallen Survivor', changed 'random' to only spawn the first 5 uncommons
    1.0.3 - rewritten horde functionality to use SDKHooks
    1.0.4 - Added small mapchange bugfix
    1.0.5 - sm_spawnuncommonhorde does not require to be run ingame anymore, added auto shuffle convars
    1.0.6 - added auto shuffle allowed UCI convar
    1.0.7 - fixes, random zombies/hordes now obey allowed zombie convar
    1.0.8 - protection against model precache errors
    1.0.9 - added uncommon health override convar


    Requires Metamod 1.8 and SM version capable of L4D2 aswell as SDKHooks



    Optional:
    If you want these Commands in your Admin Menu, add something like this to your adminmenu_custom.cfg in sourcemod/configs/

    PHP Code:
    "Commands"
    {
        
    "Spawn Uncommons"
        
    {
            
    "Spawn Uncommon Zombie"
            
    {
                
    "cmd"            "sm_spawnuncommon @1"
                "admin"            "sm_spawnuncommon"
                "execute"        "player"
                "1"
                
    {
                    
    "1"            "riot"
                    "1."        "Riot Cop (Parish)"
                    "2"            "ceda"
                    "2."        "CEDA Agent (Center)"
                    "3"            "clown"
                    "3."        "Clown (Carnival)"
                    "4"            "mud"
                    "4."        "Mudman (Swamp)"
                    "5"            "roadcrew"
                    "5."        "Road Worker (Rain)"
                    "6"            "jimmy"
                    "6."        "Jimmy Gibbs Jr. (Extra)"
                    "7"            "fallen"
                    "7."        "Fallen Survivor (Extra)"
                    "8"            "random"
                    "8."        "Randomized"
                
    }
            }
            
    "Spawn Uncommon Horde"
            
    {
                
    "cmd"            "sm_spawnuncommonhorde @1"
                "admin"            "sm_spawnuncommonhorde"
                "execute"        "player"
                "1"
                
    {
                    
    "1"            "riot"
                    "1."        "Riot Cop (Parish)"
                    "2"            "ceda"
                    "2."        "CEDA Agent (Center)"
                    "3"            "clown"
                    "3."        "Clown (Carnival)"
                    "4"            "mud"
                    "4."        "Mudman (Swamp)"
                    "5"            "roadcrew"
                    "5."        "Road Worker (Rain)"
                    "6"            "jimmy"
                    "6."        "Jimmy Gibbs Jr. (Extra)"
                    "7"            "fallen"
                    "7."        "Fallen Survivor (Extra)"
                    "8"            "random"
                    "8."        "Randomized"
                
    }
            }
        }

    Attached Files
    File Type: sp Get Plugin or Get Source (l4d2_spawnuncommons.sp - 5267 views - 9.6 KB)
    File Type: smx l4d2_spawnuncommons.smx (6.9 KB, 7567 views)

    Last edited by AtomicStryker; 08-15-2011 at 08:43.
    AtomicStryker 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 13:37.


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