This plugin will spawn tanks and/or a hordes and/or a witch in scavenge mode.
A tank/horde/witch will spawn if
- a specific gas count is reached
- there is an overtime (only once a round)
- the second team tied the score
(or by using a server command)
CVars:
l4d2_scavengetank_version "1.0.11"
l4d2_scavengetank_spawn_horde_after_overtime "1"
l4d2_scavengetank_spawn_horde_after_score_tie d" "1"
l4d2_scavengetank_spawn_horde_after_cans_coun t" "0"
l4d2_scavengetank_spawn_tank_after_overtime" "0"
l4d2_scavengetank_spawn_tank_after_score_tied " "0"
l4d2_scavengetank_spawn_tank_after_cans_count " "5"
l4d2_scavengetank_spawn_witch_after_overtime" "0"
l4d2_scavengetank_spawn_witch_after_score_tie d" "0"
l4d2_scavengetank_spawn_witch_after_cans_coun t" "5"
Server Commands:
l4d2_scavengetank_force_horde_spawn
l4d2_scavengetank_force_tank_spawn
l4d2_scavengetank_force_witch_spawn
History:
v1.0.11:
- rewrote tank logic
- little revision
v1.0.10:
- fixed bug that prevents the lottery from working
v1.0.9:
- added witch spawning (command, cvar, logic)
if there are standing gascans without survivors and witches => spawn sitting witch
else spawn a wandering witch at a autospawn position
- added notfication cvar
- fixed multiple count of one gas can
v1.0.8:
- fixed bugging can count on new map
v1.0.7:
- fixed possible error log for unhooking events if the gamemode changed
- (maybe) fixed tank sound
v1.0.6:
- fixed bug, where infected switched class on tank spawn without a reason
v1.0.5:
- changed logic
if score tied tank is enabled a tank will spawn for the second team at 15 gas cans poured in
- changed name of tank spawn command
- added horde cvars, commands etc pp
- fixed bot tank
v1.0.4:
- fixed tank spawn
- added tank music on spawn
- added chat notification on spawn
- changed convar descriptions
- changed convar flags
- added gamecheck
- added version cvar
All credits of the idea goes to thejuice027 and the first version of this plugin to Mrs. Campanula ;)