At the Steam control panel, Right Click the "Left 4 Dead 2 Demo" option,
and select "Properties" under the "My Games" tab. In the General tab,
select "Set Launch Options", enter "-console" in that field, and accept it. Start the game, and the console window should appear at the main menu. Enter "bind p toggleconsole"
as a console command. Close the console window, and start a single
player game. While playing the game, press P to display the console
window, then enter "sv_cheats 1"
to enable cheat mode. If the message "Can't use cheats now; please exit
to main menu and start your own server with "map mapname" so that you
can enable cheats." appears, enable the "map c5m1_waterfront" or "map c5m2_park" code. You will return to the main menu. Enable either "map" code again, then enable the "sv_cheats 1" code again. Then, type one of the following codes and press [Enter] to activate the corresponding cheat function:
| Result | Cheat Code |
| Toggle God mode for entire team | god [0 or 1] |
| Gain health | give health |
| Defibrillator | give defibrilator |
| Adrenaline | give adrenaline |
| First aid kit | give first_aid_kit |
| Pain Pills | give pain_pills |
| Toggle no clipping mode | noclip |
| Toggle Incendiary Ammo upgrade | upgrade_add incendiary_ammo |
| Toggle Explosive Ammo upgrade | upgrade_add explosive_ammo |
| Toggle Laser Sight upgrade | upgrade_add laser_sight |
| Toggle infinite ammunition | sv_infinite_ammo [0 or 1] |
| Refill ammunition | give ammo |
| Double pistol | give pistol |
| Magnum | give pistol_magnum |
| Auto shotgun | give autoshotgun |
| Chrome shotgun | give shotgun_chrome |
| Pump shotgun | give pumpshotgun |
| SPAS shotgun | give shotgun_spas |
| SMG | give smg |
| Silenced SMG | give smg_silenced |
| AK-47 | give rifle_ak47 |
| M16 | give rifle |
| Combat rifle | give rifle_desert |
| Hunting rifle | give hunting_rifle |
| Sniper rifle | give sniper_military |
| Grenade launcher | give weapon_grenade_launcher |
| Hunter claws | give melee |
| Boomer Bile | give vomitjar |
| Frying pan | give frying_pan |
| Guitar | give electric_guitar |
| Machete | give machete |
| Nightstick | give tonfa |
| Molotov cocktail | give molotov |
| Pipe bomb | give pipe_bomb |
| Propane tank | give propanetank |
| Gas can | give gascan |
| Oxygen tank | give oxygentank |
| Spawn Spitter | z_spawn spitter |
| Spawn Jockey | z_spawn jockey |
| Spawn Charger | z_spawn charger |
| Spawn common zombie | z_spawn zombie |
| Spawn zombie mob | z_spawn mob |
| Spawn Boomer | z_spawn boomer |
| Spawn Hunter | z_spawn hunter |
| Spawn Witch | z_spawn witch |
| Spawn Smoker | z_spawn smoker |
| Spawn Tank | z_spawn tank |
| Commit suicide | kill |
| Quit game | quit |
Use an adrenaline shot, then use your medikit to heal. This takes a much
less time, especially when you are dealing with a horde.
Find a corner, and have a melee weapon equipped. Hold [Melee] while aiming at the approaching zombies. Note: You may get hit a few times.
Use the following tactics to kill special Infected:
Boomer: Shoot at the stomach while staying as far back as possible.
Charger: Get close to it. This will prevent it from charging, and then
it can only inflict melee damage. This makes it easier to kill it with
any weapon (melee or gun).

