Left 4 dead 2 (L4D2) Console Commands

Originally released in 2009, Left 4 Dead 2 has been around for over a decade now. Considering the game is getting old now, you can use cheat codes via console command to spice things up a little bit. Console command really opens up a whole new world of possibilities and you can use it to access features not available by default in the game, get upgrades like God Mode, enable/disable Buddha Mode, Get access to infinite ammo and much more. In addition to that, you can load specific maps using the map commands. 

How to Access console command? 

In order to access console command, you first need to enable it. 

To enable the console, you need to go into options, then keyboard/mouse and enable the developer console. 

Once enabled, you can access console command by pressing the ~key located just below the Esc key on your keyboard. If ~ doesn’t work try ` (grave) key 

When the console opens, just type in your desired command and press ENTER to send it 

If the console doesn’t open, you can try the following:

  • If the game is running, close it
  • Launch steam
  • Go to library
  • Click Left 4 Dead 2 and Click properties
  • Now click Set Launch Options

When the launch options box opens, add “-console” in the box and click ok 

The console will now open automatically the next time you launch the game 

You can then use the console to assign a key to open it by using the command 

bind F12 toggleconsole (You can replace F12 with any key you want

After typing the above command and pressing ENTER, pressing F12 will open and close the console

Left 4 Dead 2 Cheats

NameSyntaxDescription
godgod [0 / 1]The god cheat is used to enable or disable the god mode in the game. Write 1 to enable and 0 to disable in the syntax.
noclipnoclipThis console command will enable noclip.
upgrade_addupgrade_add [upgrade id]If you want to upgrade your character by giving him weapon ir items, then you can use this command. Must specify the upgrade id in the syntax.
sv_infinite_ammosv_infinite_ammo [0 / 1]This console command is used to enable the unlimited ammunition. You can specify in the syntax to enable or disable it.
sv_infinite_primary_ammosv_infinite_primary_ammo [0 / 1]You can enable or disable the infinite ammo for your primary weapon.
givegive [item id]The give console command will give you the specified weapon or item. You have to specify the id of required item in the syntax.
impulseimpulse [number]The impulse command helps you to refill ammo for primary weapon.
z_spawnz_spawn [npc id]If you want to summon any particular NPC in the game, you can use this console command. Must specify the npc id in the syntax.
mapmap [map id]The map console command is used to load the specified map from the start menu.
changelevelchangelevel [map id]This command is used to change your current game level.
buddhabuddha [0 / 1]By enabling this mode, you can protect yur character from being dying. He will take damage but no death.
burnburnYou can set the your character on fire using this console command. You will not die this way but will be able to spread the fire on enemies.
hidehudhidehud [setting #]The hidehud command is used to hide the all or any particular hide up displays.
sb_friendlyfiresb_friendlyfire [0 / 1]This console command helps you to enable or disable the bot friendly fire.
sb_takecontrolsb_takecontrol [character name]This command would make you start to play as the character under your crosshair
z_pounce_damagez_pounce_damage [amount]You can deal amount of damage you want to do to survivors by specifying the amount in the syntax.
sv_noclipspeedsv_noclipspeed [speed]This console command is used to set the speed in noclipping mode. Give the desired speed in the syntax.
sb_open_firesb_open_fire [0 / 1]By executing this console command, you can make your bot teammates to shoot nonstop.
z_healthz_health [amount]The z_health command is used to change the zombie's health.
z_speedz_speed [speed]The z_speed console command helps you to change the zombie's speed.
tongue_rangetongue_range [distance]This command is used to set the maximum range of the smoker's tongue attack.
bot_mimicbot_mimic [0 / 1]The bot_mimic command will enable bot mimicking that makes your actions be relayed to all bots. You can also disable it.
nb_stopnb_stop [0 / 1]This console command is used to freeze or unfreeze the bots in the game.
host_timescalehost_timescale [timescale]You can change the time scale of the game with the help of this commad, that can be faster or sloser from the actual time scale.
director_force_panic_eventdirector_force_panic_eventThis console command is used to force the panic events within the game.
director_panic_foreverdirector_panic_forever [0 / 1]The director_force_panic_event console command is used to enabe or disable the infinite panic event time.
ent_createent_create [entity id]This command helps you to spawn a particular entity at your crosshair location. You can specify the required entity id in the syntax.
ent_setnameent_setname [entity name]You can set the name of entity by executing this console command.
ent_removeent_remove [entity / class name]The ent_remove command is used to remove all the bots.
ent_remove_allent_remove_all [entity / class name]The ent_remove_all helps you to remove all the current entities.
z_common_limitz_common_limit [amount]The z_common_limit command is used to set the maximum amount of regular zombies.
z_frustration_lifetimez_frustration_lifetime [seconds]This command willl set the number of seconds until the player loses control of the tank from not attacking survivors.
sv_infected_ceda_vomitjar_probabilitysv_infected_ceda_vomitjar_probability [chance]This console command is used to set the number of seconds until the player loses control of the tank from not attacking survivors.
director_stopdirector_stopThe director_stop command shuts all the wanderers, mobs, specials, and bosses.
director_startdirector_startThis console command is used to start summoning the zombies again.
thirdpersonthirdpersonYou can set the camera to be in third person mode by running this console command.
crosshaircrosshair [0 / 1]This is a toggle command which is used to enable or disable the crosshair.
thirdpersonshoulderthirdpersonshoulderThe thirdpersonshoulder command will set the camera to over the shoulder third person mode
thirdperson_mayamodethirdperson_mayamodeThis command is used to set the camera to be fixed in place whle in either third person or third person shoulder mode.
firstpersonfirstpersonThis command will shift the game to first person prespective.
sv_cheatssv_cheats [0 / 1]The sv_cheats command is used to enable or disable the cheat commands on your console server.
killkillIf you are stich in the game, you can use the kill command to let your charatcer commit the suicide.
explodeexplodeThe explode console command create an explosion under your character.
quitquitYou can quit the game with the quit console commnad.
jointeamjointeam [team # / team name / character]You can join any particular team in the game by running the jointeam console command.
spectatespectateThe spectate command will put you in spectator mode on servers
kickkick [name]With the help of kick command, you can kick any particular player out of the game.
bindbind [key] [command(s)]The bind command is use to bind up the particular keys with the specified commands. Must specify the key and command in syntax to binid.
firefireThe fire console command will set the fire to the ground around your character.
boomboomThis command is used to spawn a active pipe bomb under your character.
sb_all_bot_gamesb_all_bot_game [0 / 1]This command allow for your game to continue on with just bots. Or you can continue game with players by disabling it.
sb_stopsb_stop [0 / 1]The sb_stop command is used to freeze or unfreeze all the survivor bots, but not zombie bots.
sb_unsticksb_unstick [0 / 1]This command helps you to enable or disable the the bot unsticking feature. Specify 1 to enable and 0 to disable.
vs_max_team_switchesvs_max_team_switches [amount]You can switch the team up to the maximum number using the vs_max_team_switches console command.
warp_all_survivors_herewarp_all_survivors_hereThe warp_all_survivors_here console command helps you to teleport all the survivors to your current location.
warp_all_survivors_to_battlefieldwarp_all_survivors_to_battlefieldThis command is used to command helps you to teleport all the survivors to the battlefield location.
warp_all_survivors_to_checkpointwarp_all_survivors_to_checkpointThis console command will teleport all survivors to the current checkpoint that you are at in your map.
warp_all_survivors_to_finalewarp_all_survivors_to_finaleThe warp_all_survivors_to_finale command teleports all survivors to the map's "finale".
warp_far_survivor_herewarp_far_survivor_hereThis command teleports the survivor that is furthest away from you to the location your crosshair is over.
warp_to_start_areawarp_to_start_areaThe warp_to_start_area command is used to teleport you to the start location for your current map.
mat_fullbrightmat_fullbright [0 / 1 / 2]The mat_fullbright is used to enable or disable the full brightness mode.
fog_overridefog_override [0 / 1]The fog_override console command let you alter the FOG settings of the game.
fog_enablefog_enable [0 / 1]This is a toggle command which is used to enable or disable the FOG effetcs.
connectconnect [ip address]This command will make you connect to the server with a particular IP address.
chooseteamchooseteamThis console command will open up the menu to allow you to choose a team depending on your current game server.
rescue_distancerescue_distance [distance]This command will ste how much your teammates need to travelt before you can be rescued.
rescue_min_dead_timerescue_min_dead_time [seconds]This command sets the time in seconds that after how much time the players can be rescued after being dead.
hunter_pz_claw_dmghunter_pz_claw_dmg [damage]Thhunter_pz_claw_dmg console command is used to set how much damage a PZ hunter's melee attack will deal.
tongue_choke_damage_amounttongue_choke_damage_amount [damage]The tongue_choke_damage_amount command helps you to set how much damage a Smoker's tongue choke attack will deal.
z_hit_from_behind_factorz_hit_from_behind_factor [multiplier]This console command will set how much more damage a hit from a zombie from behind will deal to you
inferno_damageinferno_damage [damage]The inferno_damage console command is used to set the amount of damage dealt per second by flames and molotovs.
z_gun_damagez_gun_damage [damage]This console command will set the amount of damage dealt to doors, boxes, walls, and other breakable objects by melee attacks.
sv_lansv_lan [0 / 1]The sv_lan is used to enable or disable the LAN mode on your server.
sv_allow_lobby_connect_onlysv_allow_lobby_connect_only [0 / 1]This console command allows connections to your server at any time and by any means. You can also disable that by specifying 0 in the syntax.
z_witch_burn_timez_witch_burn_time [seconds]This command sets the amount of time it takes for a witch to die from burning. This time would be in seconds.
z_witch_allow_change_victimz_witch_allow_change_victim [0 / 1]This command allows zombies to change their target after they have selected at a target to attack. If already enabled, you can disable it.
z_witch_damagez_witch_damage [amount]The z_witch_damage command sets the amount of damage a witch attack deals.
z_witch_anger_ratez_witch_anger_rate [rate]The z_witch_anger_rate console command is used to set the witch anger rate.
cl_precacheinfocl_precacheinfoIf you want to print the console information about the client's cache, you can use the cl_precacheinfo command.
director_force_versus_startdirector_force_versus_startThe director_force_versus_start console command will forcefully start your current versus game.
z_tank_healthz_tank_health [health]This console command command helps you to set the maximum health of the tank.
z_tank_rock_debugz_tank_rock_debug [0 / 1]This command is used to enable or disables the tank debug information.
z_tank_throw_intervalz_tank_throw_interval [seconds]The z_tank_throw_interval console command sets the minimum amount of time between each tank throw attack
z_vomit_debugz_vomit_debug [0 / 1]This command is used to enable or disable the puker vomit debug information. If already enabled, you can disable it by specifying 0 in the syntax.
z_vomit_intervalz_vomit_interval [seconds]The z_vomit_interval command sets the minimum wait time between each of a Puker's puke attacks. The time will be in seconds.
r_flashlightconstantr_flashlightconstant [constant]This command helps you to set the flashlight's constant, which allows you to see at further distances.
r_flashlightfovr_flashlightfov [fov]The r_flashlightfov console command sets your flashlight's field of view. that means the reach area of your flashlight.\
r_flashlightfarr_flashlightfar [distance]You can set the distance of the light of your flashlight. The distance cn be set in units.
setinfosetinfo [key] [value]The setinfo console command is used to set the info value for your particular client key. You have to specify the value and the key in syntax.
director_no_survivor_botsdirector_no_survivor_bots [0 / 1]The director_no_survivor_bots console command is used to enable or disable the survivor bots.
director_no_mobsdirector_no_mobs [0 / 1]The director_no_mobs is used to enable or disable the mob rushes.
director_no_bossesdirector_no_bosses [0 / 1]This command helps you to disable or enable the spawning of bosses.
director_no_specialsdirector_no_specials [0 / 1]The director_no_specials command is used to enable or disable the spawning of PZ zombies.
director_debug_scavenge_itemsdirector_debug_scavenge_items [0 / 1]This console command helps you to enable or disable the item spawn debug information
director_debugdirector_debug [0 / 1]The director_debug console command is used to enable or disable the director debug.
upgrade_explosive_bullet_forceupgrade_explosive_bullet_force [amount]You can set the explosive force of bullets from weapons with the explosive ammo upgrade, usig this command
upgrade_explosive_slug_forceupgrade_explosive_slug_force [amount]This command makes explosive bullets from shotguns with the explosive ammo upgrade have an explosive force
upgrade_show_explosive_ammo_radiusupgrade_show_explosive_ammo_radius [0 / 1]The console command is used to enable or disable the explosive ammo debug information
z_forcezombiemodelnamez_forcezombiemodelname [model name]This console command helps you to alter the zombies mode for all the zombies in the game.
z_forcezombiemodelz_forcezombiemodel [0 / 1]The command is used to enable or disable the force zombie model command.
z_fallen_max_countz_fallen_max_count [amount]The z_fallen_max_count command will set the maximum amount of fallen survivors that can be present at any given time.
z_mob_spawn_min_interval_expertz_mob_spawn_min_interval_expert [seconds]This console command is used to set the minimum interval between each expert zombie mob spawn. The time will be given in seconds.
z_mob_spawn_max_interval_expertz_mob_spawn_max_interval_expert [seconds]This command sets the maximum interva between each expert zombie mob spawn. The time will be given in seconds.
z_mob_spawn_min_sizez_mob_spawn_min_size [amount]The z_mob_spawn_min_size command is used to set the minimum amount of zombies that will be summoned in a mob.
z_mob_spawn_max_sizez_mob_spawn_max_size [amount]This console command helps you to set the maximum amount of zombies that will be summoned in a mob.
z_mega_mob_spawn_min_intervalz_mega_mob_spawn_min_interval [seconds]The z_mega_mob_spawn_min_interval command will set the minimum spawn interval between each mega mob spawn. Time will be in seconds.
z_mega_mob_spawn_max_intervalz_mega_mob_spawn_max_interval [seconds]This command sets the maximum spawn interval between each mega mob spawn. You can specify the time in seconds.
z_mega_mob_sizez_mega_mob_size [amount]The z_mega_mob_size command is used to set the amount of zombies that summon in a mega mob spawn.
z_must_wanderz_must_wander [-1 / 0 / 1]This console command will set whether zombies always wander sit or lie down, or they can be asked do the both.
z_acquire_far_rangez_acquire_far_range [range]The z_acquire_far_range command is used to set the distant range at which a zombie can lock on or locate a survivor -
z_acquire_far_timez_acquire_far_time [seconds]This command sets the time that it takes for a zombie to notice a survivor within the z_acquire_far_range
z_acquire_near_rangez_acquire_near_range [range]The z_acquire_near_range command set the range where zombies will attack survivors rapidly.
z_acquire_near_timez_acquire_near_time [seconds]This console command is used to set the amount of time it takes for a zombie to notice a survivor within the range.
z_special_spawn_intervalz_special_spawn_interval [seconds]This command sets the spawn interval between each special or boss mob spawn
z_hunter_limitz_hunter_limit [amount]This console command will set the maximum amount of zombies that can be present in the game at any given time -
z_minion_limitz_minion_limit [amount]The z_minion_limit console command is used to set the special infected minion limit.

More Cheats:

Doom 2016 Cheat Codes
Dragon Age Inquisition Console Commands (Cheat Codes)
Dynasty Warriors Unleashed: Tips, Tricks & Cheats Guide
Europa Universalis IV Console Commands (Cheat Codes)
Factorio Console Commands (Cheat Codes)
Gunblood Cheat Codes
Hearts of Iron 4 (Hoi4): Cheats & Console Commands
Imperator: Rome Console Commands (Cheat Codes)
Kingdom Come Deliverance Console Commands (Cheat Codes)
Kotor 1 & 2 Console Commands (Cheat Codes) & Item ID List
Leave a Reply

Your email address will not be published.