RSSy MYGO.pl Opublikowano Maj 1, 2021 o 15:29 RSSy Udostępnij Opublikowano Maj 1, 2021 o 15:29 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. 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 l4d_zombie_limits_boomer "7" // Maximum number of hunters allowed on the map simultaneously l4d_zombie_limits_hunter "7" // Maximum number of smokers allowed on the map simultaneously l4d_zombie_limits_smoker "7" // Maximum number of jockey allowed on the map simultaneously l4d_zombie_limits_jockey "7" // Maximum number of spitters allowed on the map simultaneously l4d_zombie_limits_spitter "7" // Maximum number of chargers allowed on the map simultaneously l4d_zombie_limits_charger "7" // Maximum number of tanks allowed on the map simultaneously l4d_zombie_limits_tank "10" // Maximum number of all special infected allowed on the map simultaneously l4d_zombie_limits_si "12" // Maximum number of common zombies allowed on the map simultaneously l4d_zombie_limits_common "40" Commands: PHP Code: // Show the current number of each zombie type sm_zcount Compatiblity:- L4D1. - L4D2. Requirements:- SourceMod v1.10+ ChangeLog Spoiler 1.0 (01-May-2021) - First release DonateDonates 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 Get Plugin or Get Source (l4d_zombie_limits.sp - 9.3 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi