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

[L4D1 & L4D2] Zombie limits


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Plugin ID:
7623
Plugin Version:
1.7
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
    24 
    Plugin Description:
    Limits the number of common zombies & infected bots allowed to spawn simultaneously
    Old 05-01-2021 , 11:29   [L4D1 & L4D2] Zombie limits
    Reply With Quote #1

    Purpose:
    - Prevents server lags / low sv, when map/director decides to spawn too many zombies.
    Description:
    - Plugin instantly kills common zombies / special infected when their total number exceeds the limit specified by you.

    Useful in cases with some (custom) maps where ConVars like "z_common_limit" e.t.c. doesn't help / or get overridden by some functions like this one / VScripts and so.

    Plugin is not intended to limit the number of human-controlled infected in versus.

    Conflicts:
    This plugin does NOT affect any game ConVars, so it must be compatible with any other common/SI limits regulator plugins.

    It counts the quantity manually and manually kills the leftovers over the limit.
    Settings (ConVars):
    Located at cfg/sourcemod/l4d_zombie_limits.cfg
    PHP Code:
    // Enable plugin (1 - On / 0 - Off)
    l4d_zombie_limits_enabled "1"

    // Maximum number of boomers allowed on the map simultaneously, 999 - to disable
    l4d_zombie_limits_boomer "7"

    // Maximum number of hunters allowed on the map simultaneously, 999 - to disable
    l4d_zombie_limits_hunter "7"

    // Maximum number of smokers allowed on the map simultaneously, 999 - to disable
    l4d_zombie_limits_smoker "7"

    // Maximum number of jockey allowed on the map simultaneously, 999 - to disable
    l4d_zombie_limits_jockey "7"

    // Maximum number of spitters allowed on the map simultaneously, 999 - to disable
    l4d_zombie_limits_spitter "7"

    // Maximum number of chargers allowed on the map simultaneously, 999 - to disable
    l4d_zombie_limits_charger "7"

    // Maximum number of tanks allowed on the map simultaneously, 999 - to disable
    l4d_zombie_limits_tank "10"

    // Maximum number of all special infected allowed on the map simultaneously (tank is not counting), 999 - to disable
    l4d_zombie_limits_si "12"

    // Maximum number of common zombies allowed on the map simultaneously, 999 - to disable
    l4d_zombie_limits_common "40"

    // Maximum number of witches allowed on the map simultaneously, 999 - to disable
    l4d_zombie_limits_witch "10"

    // Print debug messages? 1 - Yes, 0 - No
    l4d_zombie_limits_print_debug "0" 
    Commands:
    PHP Code:
    // Show the current number of each zombie type
    sm_zcount 
    Compatiblity:
    - L4D1.
    - L4D2.
    Requirements:
    - SourceMod v1.10+
    Related plugins:
    - [L4D1 & L4D2] Multi witches
    - [DEV] Entity Limits Logger
    Donate
    Donates are very appreciated and welcomed for further inspiration, make me happy, and make next updates came out more often:
    - Patreon (Paypal)
    - BitCoin
    - Ю.Money
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_zombie_limits.sp - 673 views - 13.3 KB)
    __________________
    Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
    [My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

    Last edited by Dragokas; 10-01-2022 at 09:26.
    Dragokas 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 11:03.


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