Left 4 Dead Steam Console Commands
Left 4 Dead
Topics, Discussions and Screenshots for the popular Left 4 Dead series of games.
Left 4 Dead Steam Console Commands
by Sabre » September 11th, 2011, 4:50 pm
To enable console, set the developer console to enabled in game menu.
Commands can be chained using ";".
Example: bind x "sv_cheats 1; z_spawn boomer; z_spawn hunter; z_spawn smoker; z_spawn mob; sv_cheats 0; vocalize playerhurrah;"
will toggle cheats on/off and drops you a pretty surprise when X key is pressed.
You can store your commands in a "autoexec.cfg" or "myCommands.cfg" file you create in a text editor like Notepad and put it in C:\Program Files\Steam\steamapps\common\left 4 dead\left4dead\cfg. It will get executed when your server runs. You can also execute a particular config file, e.g., "die.cfg", by using "exec die.cfg" in the console.
thirdpersonshoulder - toggles character view mode (bugged shotgun sounds)bind <key> "<action>" - binds an action / multiple actions to a key example: bind x "vocalize smartlook" (very handy in game)kick <character> - kicks the selected character from the game
example: kick Zoey (getting rid of the bots)sb_add - fills empty bot slots with fresh bots (spawns kicked bots)
crosshair - toggles crosshair visibility - 1337 mode (boolean 0/1)
net_graph <number> - shows connection, fps and other info overlay in game ( no overlay 0 - full info 4)
map <name> - loads selected map while in game menu (start with "l4d" to get console hint on map name)
changelevel <name> - loads selected map while in-game (start with "l4d" to get console hint on map name)
mm_dedicated_search_maxping <value> - as a Lobby Leader, you can specify the max ping values for server search (default 250)
spectate - moves you to the spectator mode (also handy in VS to change autoswitched players back)
cl_playerspraydisable - toggles player spray texture visibility (boolean 0/1) - thx to ZENTRiERER <hVn>
voice_recordtofile - starts/stops recording microphone inputs to voice_micdata.wav in game dir (boolean 0/1)
startmovie <parameters> - starts recording the gameplay (explore the parameters in console)
example: startmovie testmovie jpg wav jpeg_quality 75
endmovie - stops the recording
record <demoname> - records a demo (.dem file)
stop - (stops demo recording)
playdemo <demoname> - replays a saved demo file
demoui / demoui2 - opens up demo playback control interface
disconnect - disconnects you from the server
retry - retries connection to the last server used (bugged atm)
status - shows user and other information in console (only usable in-game)
example: team_desired "Survivor Bill"
openserverbrowser - opens up the classical server browser
report - opens up an overlay with info about the current game
hide_message_panel - hides the report overlay
find <string> - searches the console commands for the specified string
_restart - reboots the engine
mm_dedicated_force_servers "ip1[img]v4_images/smilies/tongue.gif[/img]ort1" - forces a specific server connection from a lobby leader
noclip - fly modethirdperson - Tomb Raider camera viewgod - IDDQD mode (boolean - 0/1)kill - kill yourself with generic damageexplode - kill yourself with explosive damage (same effect as kill)z_spawn <character> - spawns a desired character or mob at your cursor (or parameter "auto" to spawn it out of view, see ex. 2) example1: z_spawn witch / z_spawn mob
example2: z_spawn "tank" autoz_common_limit <number> - changes the limit of zombies drawn at one timegive <item> - equips your character with item or effect desired
example1: give molotov / give ammo / give health (anti-knockdown) example2: give oxygen_tank / give propane_tank / give gas_cangivecurrentammo - refills your current main weapon ammunitionsv_infinite_ammo - current weapon gets infinite ammunition (boolean 0/1)nb_delete_all - clears all infected, bosses and bots in the areadirector_force_panic_event - calls a hordedirector_panic_forever - neverending panic event trigger (boolean 0/1)nb_blind - infected become blind (boolean 0/1)cl_drawhud - removes HUD elements from screen (boolean 0/1)boom - spawns an active pipebomb at your feetfire - spawns an active molotov at your feetwarp_all_survivors_here - instantly ports everyone to cursor position (handy when the bots are a bit away)sb_takecontrol - you take control of the bot desired
example: sb_takecontrol Billz_tank_has_special_blood - changes tank's blood to a darker sample (boolean 0/1)
z_gun_kick <value> - adds a kick effect to all the guns
sv_crash - if an admin ever screws with you on a sv_cheats 1 server, use this to crash him
host_timescale <value> - changes the game flow speed (useful for video editing)
cl_glow_blur_scale <value> - controls the halo size around characters/objects, use 0 to disable the glow entirely
sb_dont_shoot - survivor bots will no longer be able to fire (boolean 0/1)
sb_dont_bash - survivor bots will no longer be able to melee (boolean 0/1)
ent_setname <name> - sets a name for the targetted entity (even a player)
ent_fire <entity> <commands> - executes commands on specified entity (thx to AbyssMaker)
example: ent_fire griefer ignite will set the "griefer" on fire
z_gun_swing_vs_amt_penalty - toggles the melee fatigue VS functionality (boolean 0/1)
hidehud <parameter> - hides parts of the HUD
example: hidehud 4 - hides the whole HUD
r_drawviewmodel - toggles visibility of your 1st person view model - eg. arms, guns... (boolean 0/1)
vs_max_team_switches <value> - sets the maximum allowable team switches during a round
Commands can be chained using ";".
Example: bind x "sv_cheats 1; z_spawn boomer; z_spawn hunter; z_spawn smoker; z_spawn mob; sv_cheats 0; vocalize playerhurrah;"
will toggle cheats on/off and drops you a pretty surprise when X key is pressed.
You can store your commands in a "autoexec.cfg" or "myCommands.cfg" file you create in a text editor like Notepad and put it in C:\Program Files\Steam\steamapps\common\left 4 dead\left4dead\cfg. It will get executed when your server runs. You can also execute a particular config file, e.g., "die.cfg", by using "exec die.cfg" in the console.
sv_cheats 0
thirdpersonshoulder - toggles character view mode (bugged shotgun sounds)bind <key> "<action>" - binds an action / multiple actions to a key example: bind x "vocalize smartlook" (very handy in game)kick <character> - kicks the selected character from the game
example: kick Zoey (getting rid of the bots)sb_add - fills empty bot slots with fresh bots (spawns kicked bots)
crosshair - toggles crosshair visibility - 1337 mode (boolean 0/1)
net_graph <number> - shows connection, fps and other info overlay in game ( no overlay 0 - full info 4)
map <name> - loads selected map while in game menu (start with "l4d" to get console hint on map name)
changelevel <name> - loads selected map while in-game (start with "l4d" to get console hint on map name)
mm_dedicated_search_maxping <value> - as a Lobby Leader, you can specify the max ping values for server search (default 250)
spectate - moves you to the spectator mode (also handy in VS to change autoswitched players back)
cl_playerspraydisable - toggles player spray texture visibility (boolean 0/1) - thx to ZENTRiERER <hVn>
voice_recordtofile - starts/stops recording microphone inputs to voice_micdata.wav in game dir (boolean 0/1)
startmovie <parameters> - starts recording the gameplay (explore the parameters in console)
example: startmovie testmovie jpg wav jpeg_quality 75
endmovie - stops the recording
record <demoname> - records a demo (.dem file)
stop - (stops demo recording)
playdemo <demoname> - replays a saved demo file
demoui / demoui2 - opens up demo playback control interface
disconnect - disconnects you from the server
retry - retries connection to the last server used (bugged atm)
status - shows user and other information in console (only usable in-game)
example: team_desired "Survivor Bill"
openserverbrowser - opens up the classical server browser
report - opens up an overlay with info about the current game
hide_message_panel - hides the report overlay
find <string> - searches the console commands for the specified string
_restart - reboots the engine
mm_dedicated_force_servers "ip1[img]v4_images/smilies/tongue.gif[/img]ort1" - forces a specific server connection from a lobby leader
sv_cheats 1
noclip - fly modethirdperson - Tomb Raider camera viewgod - IDDQD mode (boolean - 0/1)kill - kill yourself with generic damageexplode - kill yourself with explosive damage (same effect as kill)z_spawn <character> - spawns a desired character or mob at your cursor (or parameter "auto" to spawn it out of view, see ex. 2) example1: z_spawn witch / z_spawn mob
example2: z_spawn "tank" autoz_common_limit <number> - changes the limit of zombies drawn at one timegive <item> - equips your character with item or effect desired
example1: give molotov / give ammo / give health (anti-knockdown) example2: give oxygen_tank / give propane_tank / give gas_cangivecurrentammo - refills your current main weapon ammunitionsv_infinite_ammo - current weapon gets infinite ammunition (boolean 0/1)nb_delete_all - clears all infected, bosses and bots in the areadirector_force_panic_event - calls a hordedirector_panic_forever - neverending panic event trigger (boolean 0/1)nb_blind - infected become blind (boolean 0/1)cl_drawhud - removes HUD elements from screen (boolean 0/1)boom - spawns an active pipebomb at your feetfire - spawns an active molotov at your feetwarp_all_survivors_here - instantly ports everyone to cursor position (handy when the bots are a bit away)sb_takecontrol - you take control of the bot desired
example: sb_takecontrol Billz_tank_has_special_blood - changes tank's blood to a darker sample (boolean 0/1)
z_gun_kick <value> - adds a kick effect to all the guns
sv_crash - if an admin ever screws with you on a sv_cheats 1 server, use this to crash him
host_timescale <value> - changes the game flow speed (useful for video editing)
cl_glow_blur_scale <value> - controls the halo size around characters/objects, use 0 to disable the glow entirely
sb_dont_shoot - survivor bots will no longer be able to fire (boolean 0/1)
sb_dont_bash - survivor bots will no longer be able to melee (boolean 0/1)
ent_setname <name> - sets a name for the targetted entity (even a player)
ent_fire <entity> <commands> - executes commands on specified entity (thx to AbyssMaker)
example: ent_fire griefer ignite will set the "griefer" on fire
z_gun_swing_vs_amt_penalty - toggles the melee fatigue VS functionality (boolean 0/1)
hidehud <parameter> - hides parts of the HUD
example: hidehud 4 - hides the whole HUD
r_drawviewmodel - toggles visibility of your 1st person view model - eg. arms, guns... (boolean 0/1)
vs_max_team_switches <value> - sets the maximum allowable team switches during a round

Sabre- 0.7

- Posts: 75
- Uploads: 65
- Kudos: 5
- Related topics
- Replies
- Views
- Last post
- E3: Left 4 Dead 2 Trailer
by Dark Mayu » June 6th, 2009, 4:21 pm - 3 Replies
- 176 Views
- Last post by Strange Angel

June 19th, 2009, 10:33 am
- E3: Left 4 Dead 2 Trailer
- EA responds to Left 4 Dead 2 AU banning
by Webslug » September 23rd, 2009, 6:47 pm - 2 Replies
- 174 Views
- Last post by usernamesux

September 25th, 2009, 11:57 am
- EA responds to Left 4 Dead 2 AU banning
- Left 4 Dead Beta SDK Released
by Webslug » May 16th, 2009, 1:02 pm - 2 Replies
- 232 Views
- Last post by Dark Mayu

May 16th, 2009, 4:49 pm
- Left 4 Dead Beta SDK Released
- Left 4 Dead 1 and 2 mods and maps brief list of links
by Darwin Machiavelli » August 6th, 2011, 12:14 am - 1 Replies
- 420 Views
- Last post by loder

August 6th, 2011, 11:30 am
- Left 4 Dead 1 and 2 mods and maps brief list of links
- Greetings
- The Elder Scrolls Online - Gathering and Exploration Trailer
- Should Mods Reloaded Have A Minecraft Server Again?
- Hey
- Skyrim Hints & Tips
- Witcher 2 Dev-tools released for free
- Settlers IV - Maps on request
- Settlers IV - Editing Config files, bugfixing and language
- Company of Heroes 2 - Release Date announced!
- Settlers III Remake for Android, Linux, Mac and Windows
