How to spawn a Tank in L4D2
With sv_cheats 1 set on the server, type z_spawn tank in your own game console; the Tank appears where you aim.
z_spawn
Spawns the infected you name where you aim, or somewhere the game picks with auto.
z_spawn <infected> [auto] Examples
z_spawn tank A Tank where you aim.
z_spawn mob A horde.
z_spawn charger auto A Charger somewhere the game picks.
Arguments
infectedRequired- tank, witch, boomer, smoker, hunter, spitter, jockey, charger, mob or common.
autoOptional- Let the game pick a spot in the world.
What it does
Handy for practicing against a Tank or a Witch.
Good to know
- A player types it in their own game console while on the server, with
sv_cheats 1set there. It acts on whoever types it, so it does nothing from the Console tab.
Run it on your server
On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to left4dead2/cfg/server.cfg. New to this? Start a L4D2 server first.
Your own
L4D2 server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.