Select "Options" at the main menu. Select the "Keyboard/Mouse" option. Enable the "Allow Developers Console" option. Press ~ during game play to display the console window. Enter Sv_Cheats 1 to enable cheat mode for everyone on your hosted server. Enter one of the following codes at the console window to activate the cheat function. sv_lan 0 - Enable Internet LAN (*) map [map name] - Start LAN server (*) changelevel [map name] - Quick change map noclip - No clipping mode god - 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 1 - Unlimited ammunition openserverbrowser - Display available servers z_spawn [NPC name] - Spawn indicated NPC type impulse 10 - All weapons and ammunition buddha - 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 civilians 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 give [item name]..................Spawn indicated item z_spawn [NPC name]................Spawn indicated NPC type changelevel [map name]............Quick change map
(*) Enable while in "Campaign Lobby" screen.
Item names: NPC names: Use one of the following Use one of the following entries entries with the give code. with the "z_spawn" code. autoshotgun mob rifle witch hunting_rifle tank moltov boomer pipe_bomb smoker first_aid_kit hunter pain_pills gascan oxygen_tank propane_tank
Use one of the following values with the "changelevel [map name]" or "map [map name]" code:
Level Code Campaign mode 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
Versus mode No Mercy: The Apartments - changelevel l4d_vs_hospital01_apartment No Mercy: The Subway - changelevel l4d_vs_hospital02_subway No Mercy: The Sewer - changelevel l4d_vs_hospital03_sewers No Mercy: The Hospital - changelevel l4d_vs_hospital04_interior No Mercy: Rooftop Finale - changelevel l4d_vs_hospital05_rooftop Blood Harvest: The Woods - changelevel l4d_vs_farm01_hilltop Blood Harvest: The Tunnel - changelevel l4d_vs_farm02_traintunnel Blood Harvest: The Bridge - changelevel l4d_vs_farm03_bridge Blood Harvest: The Train Station - changelevel l4d_vs_farm04_barn Blood Harvest: Farmhouse Finale - changelevel l4d_vs_farm05_cornfield