Author
|
|
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:
|
|
| |
Plugin Description:
|
Limits the number of common zombies & infected bots allowed to spawn simultaneously
|
|
|
05-01-2021
, 11:29
[L4D1 & L4D2] Zombie limits
|
#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
DonateDonates are very appreciated and welcomed for further inspiration, make me happy, and make next updates came out more often:
- Patreon (Paypal)
- BitCoin
- Ю.Money
__________________
Last edited by Dragokas; 10-01-2022 at 09:26.
|
|
|
|