Cheat L4D

Code                               Result
-----------------------------------------
sv_lan 0                         - Enable Internet LAN (1)
map [map name]                   - Start LAN server (1)
changelevel [map name]           - Quick change map

noclip                           - No clipping mode
god [0 or 1]                     - Invincibility
give [item name]                 - Spawn indicated item
ent_fire !self setteam 1         - Be spectator
ent_fire !self setteam 2         - Be survivor
ent_fire !self setteam 3         - Be infected
sv_infinite_ammo [0 or 1]        - Unlimited ammunition
openserverbrowser                - Display available servers
z_spawn [NPC name]               - Spawn indicated NPC type
impulse 10                       - All weapons and ammunition
impulse 101                      - Add ammunition to primary weapon
buddha [0 or 1]                  - Receive damage, but will cannot die
give health                      - Full health
nb_blind 1                       - Infected cannot see you
warp_all_survivors_here          - Teleports all survivors to your position
warp_all_survivors_to_checkpoint - Teleports all survivors to nearest checkpoint
warp_all_survivors_to_finale     - Teleports all survivors to the finale
warp_to_start_area               - Teleport yourself to the next chapter
z_common_limit [number]          - Set number of normal zombies
z_mega_mob_size [number]         - Set number of panic zombies
Director_force_panic_infinite 1  - Force a panic
director_panic_forever 1         - Panic never stops
z_spawn zombie                   - Spawn single zombie
boom                             - Spawn active pipebomb under you
fire                             - Spawn lit Molotov cocktail under you
z_health [number]                - Set zombie health
z_speed [number]                 - Set zombie speed
director_force_panic             - Force a panic event
thirdpersonshoulder              - Set camera behind the shoulder in third person view
thirdperson_mayamode             - Toggle set fixed camera in third person
thirdperson                      - Set camera in third person view
director_no_mobs [0 or 1]        - Toggle mob rushes
tongue_range [number]            - Set maximum range of Smoker's tongue attack; default is 750
z_witch_burn_time                - Set time before a burning Witch dies from fire
z_witch_damage [number]          - Set amount of damage Witch's attack does
z_witch_allow_change_victim 1    - Toggle allowing witch to change targets instead (0 or 1)
z_tank_health [number]           - Set maximum health of Tank
z_frustration_lifetime [number]  - Set number of seconds until the player loses control of Tank
director_stop                    - Disable all wanderers, mobs, specials, and Bosses
sb_friendlyfire [0 or 1]         - Toggle if bots can do friendly fire damage.
director_no_human_zombies 1      - Toggle controllable Boss Infected  (0 or 1)
ent_create weapon_[item name]    - Spawn indicated item for NPCs
ent_remove                       - Remove a teammate; repeat for more
kill                             - Suicide
retry                            - Restart game with cheats active;
                                   allows achievements to be earned with cheats.
quit                             - Quit game
record [filename]                - Start recording game play;
                                   new file created for each level automatically
playdemo [filename]              - Play recorded game play file
stop                             - Stop recording game play
sb_give [item name]              - Spawn item for bot teammates
z_pounce_damage [number]         - Set amount of damage zombies do to survivors
z_pounce_door_damage [number]    - Set amount of damage for zombies to pounce through doors
tongue_fly_speed [number]        - Set speed of Smoker's tongue to fly
vocalize [phrase]                - Make the player say phrase


(1) Enable while in "Campaign Lobby" screen.


Item names:
-----------
Use one of the following entries with the "give" or "ent_create weapon_" codes.
For example, use "give pistol" or "ent_create weapon_pistol" as a code.

ammo
autoshotgun
first_aid_kit
gascan
hunting_rifle
moltov
oxygen_tank
pain_pills
pipe_bomb
pistol
propane_tank
pumpshotgun
rifle
smg


NPC names:
----------
Use one of the following entries with the "z_spawn" code.

mob
witch
tank
boomer
smoker
hunter
zombie


Map names for Campaign mode:
----------------------------
Use one of the following entries with the changelevel or map codes.

Level                                   Code
--------------------------------------------
No Mercy     : The Apartments         - changelevel l4d_hospital01_apartment
No Mercy     : The Subway             - changelevel l4d_hospital02_subway
No Mercy     : The Sewer              - changelevel l4d_hospital03_sewers
No Mercy     : The Hospital           - changelevel l4d_hospital04_interior
No Mercy     : Rooftop Finale         - changelevel l4d_hospital05_rooftop
Death Toll   : The Turnpike           - changelevel l4d_smalltown01_caves
Death Toll   : The Drains             - changelevel l4d_smalltown02_drainage
Death Toll   : The Church             - changelevel l4d_smalltown03_ranchhouse
Death Toll   : The Town               - changelevel l4d_smalltown04_mainstreet
Death Toll   : Boathouse Finale       - changelevel l4d_smalltown05_houseboat
Dead Air     : The Greenhouse         - changelevel l4d_airport01_greenhouse
Dead Air     : The Crane              - changelevel l4d_airport02_offices
Dead Air     : The Construction Site  - changelevel l4d_airport03_garage
Dead Air     : The Terminal           - changelevel l4d_airport04_terminal
Dead Air     : Runway Finale          - changelevel l4d_airport05_runway
Blood Harvest: The Woods              - changelevel l4d_farm01_hilltop
Blood Harvest: The Tunnel             - changelevel l4d_farm02_traintunnel
Blood Harvest: The Bridge             - changelevel l4d_farm03_bridge
Blood Harvest: The Train Station      - changelevel l4d_farm04_barn
Blood Harvest: Farmhouse Finale       - changelevel l4d_farm05_cornfield