THIS IS COPIED FROM A SITE.
 Spawn Infected These commands can be used to drop in additional enemies.
z_spawn common also z_spawn (Unknown) e.g. z_spawn aj will spawn one infected
z_spawn mob (NOTE: these "mobs" last a ''lot'' longer than the usual horde)
 Guns R' Us Press: "give[space]" in the console, and then the item names will appear.
 Drops Need to drop a pipe bomb or molotov instantly, damn the consequences? This will throw an armed pipebomb or molotov at your feet. You might want to be running when you try these.
fire // will drop a molotov in the center of the character lighting you on fire
boom // will drop a pipebomb in the center of the character ready to explode
 How many zombies would you like, sir? By default, the game limits how many zombies are drawn at any given time. You can bypass this limit to get truly outrageous numbers of zombies and also make you crash.
z_common_limit 30Now how can we get the director to give us more mobs of zombies at random times?
Still not hard enough... perhaps you need a MEGA MOB!
All good and fine, but what about those spaced out zombies that are just standing still waiting for you to shoot them? Would it not be more awesome if they were always moving and instantly targeted you?
Okay, if you got this far, you're going to need more boss zombies. This controls time in seconds between boss spawns and the max number of bosses that can be spawned at any given time:
z_minion_limit 3 // This limits the number of 1 type of special infected
allowed at one time, In certain cases you would get
3 hunters this will make sure you do not get 4 so in
places like Versus you will not be overrun by smokers
/ hunters / boomers.
That's still not enough zombies? Well then, time to panic (AKA: mega mob on demand)!
director_force_panic_eventOh no, you're still alive? Okay try this:
director_panic_forever 1But if you like beating the crap out of every single one, try this:
STEP 1: z_common_limit 400z_special_spawn_interval 45
z_spawn tank (you will be overrun with lots of infected if you try this)
 No more rescues Don't like the fact that dead isn't dead? Fix it! The variable "rescue_distance" controls how far your teammates must get beyond your dead corpse before you can be rescued. Set to 1 light-year to preclude that ever happening. The second variable, "rescue_min_dead_time", controls how many seconds must elapse after death before you come up for reincarnation. Set to a few centuries (that would be 6294240000 seconds) to preclude that possibility.
 Bite me What if infected could kill you with one bite?
z_pounce_damage 5 // There's a delay of 1 second where a teammate
can knock it off and you don't take this damage
z_hit_from_behind_factor 0.5 // If a zombie hits you in the back,
multiplies the damage done
Environmental and unknown damage modifiers:
inferno_damage 40 // Damage per second when getting flamed
survivor_extra_damage_ammo_factor 1.25 // Appears to multiply the overall amount of
friendly fire damage. At zero it does no
damage even on expert though a decimal with
many places will still do a good chunk with
the autoshotgun. Does not appear to change
damage on infected at all. TODO: test this
z_gun_damage 10 // Melee damage done to doors, boxes, and the like, but not infected
 Walk or sprint? Don't like the fact that you have a walk key instead of a sprint key? Set this variable to something ludicrous like 5,000...
survivor_walk_speed 85 // For reference base movement speed is 210 and base zombie speed is 250
Still not fast enough? Use the following to get in and out of the action at faster than light speeds. REQUIRED: you must be game host
warp_all_survivors_here // Warp all survivors to the player's cursor
warp_all_survivors_to_battlefield // Warp all Survivors to the battlefield
warp_all_survivors_to_checkpoint // Warp all Survivors to the exit checkpoint
warp_all_survivors_to_finale // Warp all Survivors to the finale radio
warp_far_survivor_here // Teleport the farthest away Survivor to your cursor position
warp_to_start_area // Warp yourself to a survivor spawn area
 Versus Mode for the Man With No Friends Well, maybe "no friends" is a bit drastic, but this will help you when you NEED some versus and have no one to play with.
sb_unstick 0 (stops bots teleporting)
chooseteam (or use "M" or whatever key you have assigned to team change)
Do note that the computer A.I. players will walk through the stage well enough, but may get hung up when it comes to pushing certain buttons or leaving certain areas. Simply switch teams again, accomplish the goal, and switch back.
 Pitch Black Mode Disable the white background fog, to play the game without the unrealistic lighting effect. This was the original way the game was designed per the dev team: "Left 4 Dead takes place in a variety of dimly lit nighttime environments. Because of this, playtesters weren't able to see zombie silhouettes in the midground and background. Because of this, they were repeatedly getting mobbed. While sudden zombie attacks were inarguably scary, they were also frustrating—players weren't being given the information they needed to react. They wanted that "Here they come!" moment, and we weren't giving it to them. The solution? Light-colored fog. While not as realistic-looking as actual fog in some settings, it meant playtesters could see attackers in the distance. Once they were able to anticipate attacks, playtesters started to have a much better time."
 Change Player Name This allows a player to change their game name from their steam name.
name [name you want]
 God Mode After enabling cheats, God Mode can be set by entering "God 1". It can be turned off by entering "God 0" into the console. Once set to "God 1" God Mode allows your player to take no damage from infected, falling, etc..
 Kill Do you want to end your cruel life? Just type "kill" in the console and you will die instantly. Is there a player thats being a pain in the ass? Then type "kill [player's name]". But it has to match the player's/NPC's name's case so to kill Bill type kill Bill. A side note is that you do not need to type the whole name, to kill bill just type kill B and your work is done. This won't work if someone else has Bi at the beginning of their name, so just keep going until the name string is unique. (I suggest 2 letters, as in testing I have killed myself just by typing B, and B isn't even the beginning of my name, I theorize players take priority)
 Respawn Type "respawn" if you want to live again.