Left 4 Dead 2

Left 4 Dead 2

1,373 évaluations
Console Commands, Third Person View, Splitscreen and Eastereggs
De Ov3RT4K3R
Console Commands, Third Person View, Splitscreen and Eastereggs
2
5
   
Récompenser
Ajouter aux favoris
Favoris
Retirer des favoris
Console
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.

Console Commands
Access the console, then input the command.

Effect
Code
(Default 750) Sets the maximum range of the smoker's tongue attack
tongue_range <#>
amount of damage you want to do to survivors
z_pounce_damage X
Amount of time before a burning Witch dies from fire (does not effect caused by fire)
z_witch_burn_time
Change zombie health
z_health
Change Zombie speed
z_speed
commits suicide
explode
commits suicide
kill
Disables/enables controllable Boss Infected on any map
director_no_human_zombies 0/1
Enables/Disables never ending panics
director_panic_forever 0/1
Forces a panic event
director_force_panic
Full Ammunition
give ammo
Get pistol
give pistol
Give Ammo to your primary weapon
impulse 101
Give auto shotgun
give autoshotgun
give first aid kit
give first_aid_kit
give full health
give health
give gascan
give gascan
give hunting rifle
give hunting_rifle
give molotov
give molotov
give oxygentank
give oxygentank
give pain pills
give_pain_pills
give pipe bomb
give pipe_bomb
give propanetank
give propanetank
give you an MK 47
give rifle
give you the SMG
z_spawn weapon_SMG
gives bile bomb
give vomitjar
gives chainsaw
give chainsaw
invincibility
god
just like god but you receive damage
buddha 1
makes your bot teammates shoot nonstop
sb_openfire or open_fire
No mob rushes
director_no_mobs <1/0>
Play in first person
firstperson
Removes all bots
Ent_Remove
sets probability of infected ceda agents carrying bile jars
sv_infected_ceda_vomitjar_probability 0.1
sets speed in noclipping mode (default is 5)
sv_noclipspeed #
Sets the amount of damage a Witch's attack does
z_witch_damage <#>
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
thirdperson_mayamode
sets the camera to be in third person mode
thirdperson
sets the camera to over the shoulder third person mode
thirdpersonshoulder
sets the maximum amount of regular zombies
z_common_limit
sets the maximum health of the tank
z_tank_health <#>
sets the number of seconds until the player loses control of the tank from not attacking survivors
z_frustration_lifetime <#>
sets whether or not bots (and only bots) are allowed to do friendly fire damage
sb_friendlyfire <1/0>
Shuts off all wanderers, mobs, specials, and bosses
director_stop
spawn 1 zombie
z_spawn zombie
spawn a active pipebomb under you
boom
spawns a special infected (infected names:hunter,boomer,smoker,witch,tank)
z_spawn <bossname>
spawn a zombie horde
z_spawn mob
Toggles no clipping mode
noclip
True/false setting that allows the witch to change targets instead or focus on the one survivor that alerted her first
z_witch_allow_change_victim <1/0>
unlimited ammunition
sv_infinite_ammo 1
enable/disable cheats
Sv_Cheats <1/0>
will restart the game
retry
Scout (CSS weapon)
give sniper_scout
Awp (CSS weapon)
give sniper_awp
MP5 (CSS weapon)
give smg_mp5
SG552 (CSS weapon)
give rifle_sg552
Knife (CSS weapon)
give hunting_knife

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.

Example:

Bind "KEY" thirdpersonshoulder
c_thirdpersonshoulderoffset 0
c_thirdpersonshoulderaimdist 720
c_thirdpersonshoulderdist 40
c_thirdpersonshoulderheight 5
cam_ideallag 0

Press the KEY you have added for thirdperson and press the KEY again for firstperson.

Splitscreen
  • Plug XBOX360 controller in
  • Open 360controller.cfg file located in your \left4dead\cfg folder
  • Copy and paste the following and overwrite other information in your 360controller.cfg
unbindall // Prevent mouse/keyboard control when gamepad is in use (to prevent autoaim exploit) joystick 1 joy_advanced "1" // use advanced joystick options (allows for multiple axes) joy_name "L4D Xbox360 Joystick Configuration" joy_advaxisx 3 // x-axis controls GAME_AXIS_SIDE (strafing left and right) joy_advaxisy 1 // y-axis controls GAME_AXIS_FORWARD (move forward and back) joy_advaxisz 0 // z-axis is treated like a button joy_advaxisr 2 // r-axis controls GAME_AXIS_PITCH (look up and down) joy_advaxisu 4 // u-axis controls GAME_AXIS_YAW (look left and right) joy_advaxisv 0 // v-axis is unused joy_forwardsensitivity -1.0 // movement sensitivity joy_sidesensitivity 1.0 joy_forwardthreshold 0.1 // movement dead zone settings joy_sidethreshold 0.1 joy_pitchsensitivity 1.0 // look sensitivity joy_yawsensitivity -1.5 joy_pitchthreshold 0.1 // look dead zone settings joy_yawthreshold 0.0 joy_variable_frametime 1 joy_autoaimdampenrange 0.85 joy_autoaimdampen 0.5 joy_lowend 0.65 joy_lowmap 0.15 joy_accelscale 3.0 joy_accelmax 4.0 joy_response_move 5 joy_response_look 1 joy_autoaimdampen 0.3 joy_autoaimdampenrange 0.85 joyadvancedupdate // advanced joystick update allows for analog control of move and look // Alternate control 1 bind "0" "slot10" bind "1" "slot1" bind "2" "slot2" bind "3" "slot3" bind "4" "slot4" bind "5" "slot5" bind "6" "slot6" bind "7" "slot7" bind "8" "slot8" bind "9" "slot9" bind "a" "+moveleft" bind "c" "+voicerecord" bind "d" "+moveright" bind "e" "+use" bind "f" "impulse 100" bind "h" "motd" bind "m" "chooseteam" bind "q" "lastinv" bind "r" "+reload" bind "s" "+back" bind "t" "impulse 201" bind "u" "messagemode2" bind "w" "+forward" bind "x" "+mouse_menu QA" bind "y" "messagemode" bind "z" "+mouse_menu Orders" bind "`" "toggleconsole" bind "SPACE" "+jump" bind "TAB" "+showscores" bind "ESCAPE" "cancelselect" bind "SHIFT" "+speed" bind "CTRL" "+duck" bind "F1" "Vote Yes" bind "F2" "Vote No" bind "F5" "jpeg" bind "MOUSE1" "+attack" bind "MOUSE2" "+attack2" bind "MOUSE3" "+zoom" bind "MWHEELUP" "invprev" bind "MWHEELDOWN" "invnext" // 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.
Eastereggs
Dead Center:

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.



The Passing:

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.



Dark Carnival:

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.



Swamp Fever:

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.


Reviews, more Guides and YouTube Channel
To see my reviews, please feel free to follow me and/or my curator group:
http://steamcommunity.com/id/Ov3RT4K3R/myworkshopfiles/?section=guides
http://steamcommunity.com/groups/orcollective#curation

Also feel free to check out my YouTube Channel:
https://www.youtube.com/channel/UC83DYCmrWfl9ttrhX54jmWA
169 commentaires
I need a command to set a selfcamera to see the front of the character (like un Racing games when u can look back and see what Is coming from behind) pls I need it, I apologize for my english
generic username 20 janv. à 14h50 
another interesting easter egg: in swamp fever, in plank country, past the area with the ferry, theres a sign on the docks that says "do not feed the gators". If you go into the small patch of water infront of that sign and walk around for a bit you can hear alligators, but they wont attack you. I thought that was cool.
googas 28 sept. 2023 à 11h08 
A real one
WHO 14 juin 2022 à 15h52 
hi olds:csgo_banana:
Kush 18 mars 2022 à 8h37 
My Menu has a way to configure Spilt-Screen: https://steamcommunity.com/sharedfiles/filedetails/?id=2780549026
marz 11 mars 2022 à 13h47 
THANK U THANK U THANK U THANK U THANK U THANK U THANK U THANK U THANK U THANK U IVE BEEN LOOKING 4 A WAY TO GO THIRD PERSON THANK U THANK U THANK U THANK U THANK U THANK U THANK U
Cheshire 26 janv. 2022 à 8h02 
The shotgun doesn't make a sound when shot in 3rd person :(
Eery Jan 9 mai 2021 à 8h34 
Is there a command to offset the camera or freeze it in place, anything to that effect? I wanna position or pose the survivor with a stationary camera to take a screenshot
FYNE;> 29 sept. 2020 à 5h21 
retry doesnt work for me I get following error message in the console:

Bad server address public("localhost:27015")

anyone knows whats wrong? couldnt find smth on google
Potato 25 sept. 2020 à 15h14 
Hi, I don't have autoexec.cfg in cfg folder only autoexec.360.cfg. Do I just create a new one?