Go to your steam library, right click on Left 4 Dead 2 and open properties -> "Set launch options". Type in "-console" (without quotes). If you now start the game you should see the console, I would advice to bind the console to a key, like F11. Type in the console "bind F11 toggleconsole" If the console does not open up for you then you need to enable the option. Go to options then Keyboard/Mouse then make sure Allow Developer Console is set to Enabled.
Access the console, then input the command.
(Default 750) Sets the maximum range of the smoker's tongue attack
amount of damage you want to do to survivors
Amount of time before a burning Witch dies from fire (does not effect caused by fire)
Change zombie health
Change Zombie speed
Disables/enables controllable Boss Infected on any map
Enables/Disables never ending panics
Forces a panic event
Give Ammo to your primary weapon
Give auto shotgun
give first aid kit
give full health
give hunting rifle
give pain pills
give pipe bomb
give you an MK 47
give you the SMG
gives bile bomb
just like god but you receive damage
makes your bot teammates shoot nonstop
sb_openfire or open_fire
No mob rushes
Play in first person
Removes all bots
sets probability of infected ceda agents carrying bile jars
sets speed in noclipping mode (default is 5)
Sets the amount of damage a Witch's attack does
sets the camera to be fixed in place whle in either third person or third person shoulder mode. Enter once to turn on and enter again to turn off
sets the camera to be in third person mode
sets the camera to over the shoulder third person mode
sets the maximum amount of regular zombies
sets the maximum health of the tank
sets the number of seconds until the player loses control of the tank from not attacking survivors
sets whether or not bots (and only bots) are allowed to do friendly fire damage
Shuts off all wanderers, mobs, specials, and bosses
spawn 1 zombie
spawn a active pipebomb under you
spawns a special infected (infected names:hunter,boomer,smoker,witch,tank)
spawn a zombie horde
Toggles no clipping mode
True/false setting that allows the witch to change targets instead or focus on the one survivor that alerted her first
will restart the game
Scout (CSS weapon)
Awp (CSS weapon)
MP5 (CSS weapon)
SG552 (CSS weapon)
Knife (CSS weapon)
You can unlock achievements while using cheats. After entering "sv_cheats 1", enter "retry" so that it will restart the game with the cheats on.
Third Person View
To enable third person shoulder mode you just open up console (see above) and type Thirdpersonshoulder then press enter.
Here are a few advanced commands to tweak Third Person mode. Just replace # with the number you desire.
cam_idealpitch # (Leave at 0 or the crosshair won't match the shooting direction) cam_idealyaw # (Same as above) cam_collision # (Whether the camera collides with walls so as not to see through them.) cam_ideallag # (How much the camera waits before moving after the mouse is moved. Best leave it at 0.) cam_idealdelta # c_thirdpersonshoulderdist # c_thirdpersonshoulderaimdist # (Which distance the crosshair will be aligned at to shoot.) c_thirdpersonshoulderoffset # (How much to the left or to the right the camera is.) c_thirdpersonshoulderheight # (Similar to above only it controls height instead.) c_thirdpersonshouldersnapto # (Best is 1.)
You can put the script code in steam/SteamApps/common/left4dead/left4dead/cfg/autoexec.cfg and bind it to a KEY.
// controller2 bindings cmd2 +jlook // enable joystick look cmd2 bind "A_BUTTON" "+jump;+menuAccept" // (A) button - Jump -menuAccpt allows us to make selections on hud menus cmd2 bind "B_BUTTON" "+reload" // (B) button - Reload cmd2 bind "X_BUTTON" "+use" // (X) Use cmd2 bind "Y_BUTTON" "lastinv" // (Y) button - swap pistol/rifle or z_abort -used to respawn as a ghost. cmd2 bind "R_TRIGGER" "+attack" // RT - Main weapon - Primary trigger cmd2 bind "L_TRIGGER" "+attack2" // LT - Melee cmd2 bind "R_SHOULDER" "+lookspin" // RB - Fast 180 spin cmd2 bind "L_SHOULDER" "toggle_duck" // LB - Duck - is also used to give objects to people. cmd2 bind "STICK1" "vocalize smartlook" // LS - vocalize cmd2 bind "STICK2" "+zoom" // RS click - Rifle Zoom
// Fixed bindings, do not change these across joystick presets cmd2 bind "BACK" "togglescores" // (back) button - scores cmd2 bind "START" "pause" // (start) button - pause cmd2 bind "S1_UP" "+menuUp" // Hud menu Up cmd2 bind "S1_DOWN" "+menuDown" // Hud menu Down cmd2 bind "UP" "impulse 100" // DPad Up - Toggle flashlight cmd2 bind "LEFT" "slot3" // DPad Left - grenade cmd2 bind "RIGHT" "slot4" // DPad Right - health cmd2 bind "DOWN" "slot5" // DPad Down - Pills
IT IS NECESSARY THAT YOU SET THE 360 CONTROLLER SET TO PLAYER 2, THIS MEANS THE LIGHT INDICATOR ON THE CONTROLLER MUST BE ON THE NUMBER 2!
start the game
open console and type "Exec 360controller.cfg" without the quotations
Set your split screen mode to either Horizontal-Cut (ss_splitmode 1) or Vertical-Cut (ss_splitmode 2) through the console, vertical cut is meant for widescreen monitors and dual monitor setups while the horizontal for standard monitors
Open the console and enter ss_enable 1 once this is enabled you can simply start a single player game through the menu and splitscreen will already be enabled.
ATTENTION; IF SECOND PLAYER JOINS GAME AND DOES NOT AUTOMATICLY JOIN A TEAM USE THE COMMAND "cmd2 jointeam 2" FOR 2nd PLAYER TO JOIN SURVIVORS AND "cmd2 jointeam 3" FOR 2nd PLAYER TO JOIN INFECTED
People with controllers other than Xbox 360 controllers will have to create their own controller configurations, simply edit the above CFG to match your controller. Lines that start with "cmd2 bind" are the controls you will need to set.
There is a Jimmy Gibbs Jr. Zombie on Dead Center 4 (hes very rarely)
On a CEDA truck in the campaign, it reads Disease Emergency Assessment Dispatch, which, ironically, spells DEAD, when using the first letter of each word.
It is possible to find milkshake cups with the words 'HEAVY GULP' and a picture of the TF2 Heavy.
It is also possible to find Burger boxes with a picture of the TF2 Pyro.
There is a shop named 'Save 4 less' in the 2nd map of this campaign.
In the first room of the hotel there is a poster of a Boomer captured and studied by CEDA.
Bill can be found in the room on the right as soon as you exit the elevator on "The Port".
On The Passing 2 in the building after the street under constuction there is a suitcase full of Pistols and Money, there is a room with a pool table in it. There is writing on the wall that Frank West (Dead Rising, Dead Rising 2: Case West, Dead Rising 2: Off The Record, & other various games) and Crazy Dave wrote on.
Gnome Chompksi' is a play on the spelling of the philosopher Noam Chomsky. Gnome Chompski is also a reference to another Garden Gnome who stars in Half-Life 2: Episode Two. In L4D 2, you have to take Gnome Chompski through the campaign. This is like EP2, in which you have to carry the gnome nearly through the whole game.
A Charger can be seen hung up by his extremities in the first chapter, Plank Country. This is to take the shape of the "Lambda" easter egg, found in all Valve games.