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
Name | Syntax | Description |
---|---|---|
god | god [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. |
noclip | noclip | This console command will enable noclip. |
upgrade_add | upgrade_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_ammo | sv_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_ammo | sv_infinite_primary_ammo [0 / 1] | You can enable or disable the infinite ammo for your primary weapon. |
give | give [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. |
impulse | impulse [number] | The impulse command helps you to refill ammo for primary weapon. |
z_spawn | z_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. |
map | map [map id] | The map console command is used to load the specified map from the start menu. |
changelevel | changelevel [map id] | This command is used to change your current game level. |
buddha | buddha [0 / 1] | By enabling this mode, you can protect yur character from being dying. He will take damage but no death. |
burn | burn | You 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. |
hidehud | hidehud [setting #] | The hidehud command is used to hide the all or any particular hide up displays. |
sb_friendlyfire | sb_friendlyfire [0 / 1] | This console command helps you to enable or disable the bot friendly fire. |
sb_takecontrol | sb_takecontrol [character name] | This command would make you start to play as the character under your crosshair |
z_pounce_damage | z_pounce_damage [amount] | You can deal amount of damage you want to do to survivors by specifying the amount in the syntax. |
sv_noclipspeed | sv_noclipspeed [speed] | This console command is used to set the speed in noclipping mode. Give the desired speed in the syntax. |
sb_open_fire | sb_open_fire [0 / 1] | By executing this console command, you can make your bot teammates to shoot nonstop. |
z_health | z_health [amount] | The z_health command is used to change the zombie's health. |
z_speed | z_speed [speed] | The z_speed console command helps you to change the zombie's speed. |
tongue_range | tongue_range [distance] | This command is used to set the maximum range of the smoker's tongue attack. |
bot_mimic | bot_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_stop | nb_stop [0 / 1] | This console command is used to freeze or unfreeze the bots in the game. |
host_timescale | host_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_event | director_force_panic_event | This console command is used to force the panic events within the game. |
director_panic_forever | director_panic_forever [0 / 1] | The director_force_panic_event console command is used to enabe or disable the infinite panic event time. |
ent_create | ent_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_setname | ent_setname [entity name] | You can set the name of entity by executing this console command. |
ent_remove | ent_remove [entity / class name] | The ent_remove command is used to remove all the bots. |
ent_remove_all | ent_remove_all [entity / class name] | The ent_remove_all helps you to remove all the current entities. |
z_common_limit | z_common_limit [amount] | The z_common_limit command is used to set the maximum amount of regular zombies. |
z_frustration_lifetime | z_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_probability | sv_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_stop | director_stop | The director_stop command shuts all the wanderers, mobs, specials, and bosses. |
director_start | director_start | This console command is used to start summoning the zombies again. |
thirdperson | thirdperson | You can set the camera to be in third person mode by running this console command. |
crosshair | crosshair [0 / 1] | This is a toggle command which is used to enable or disable the crosshair. |
thirdpersonshoulder | thirdpersonshoulder | The thirdpersonshoulder command will set the camera to over the shoulder third person mode |
thirdperson_mayamode | thirdperson_mayamode | This command is used to set the camera to be fixed in place whle in either third person or third person shoulder mode. |
firstperson | firstperson | This command will shift the game to first person prespective. |
sv_cheats | sv_cheats [0 / 1] | The sv_cheats command is used to enable or disable the cheat commands on your console server. |
kill | kill | If you are stich in the game, you can use the kill command to let your charatcer commit the suicide. |
explode | explode | The explode console command create an explosion under your character. |
quit | quit | You can quit the game with the quit console commnad. |
jointeam | jointeam [team # / team name / character] | You can join any particular team in the game by running the jointeam console command. |
spectate | spectate | The spectate command will put you in spectator mode on servers |
kick | kick [name] | With the help of kick command, you can kick any particular player out of the game. |
bind | bind [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. |
fire | fire | The fire console command will set the fire to the ground around your character. |
boom | boom | This command is used to spawn a active pipe bomb under your character. |
sb_all_bot_game | sb_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_stop | sb_stop [0 / 1] | The sb_stop command is used to freeze or unfreeze all the survivor bots, but not zombie bots. |
sb_unstick | sb_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_switches | vs_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_here | warp_all_survivors_here | The warp_all_survivors_here console command helps you to teleport all the survivors to your current location. |
warp_all_survivors_to_battlefield | warp_all_survivors_to_battlefield | This command is used to command helps you to teleport all the survivors to the battlefield location. |
warp_all_survivors_to_checkpoint | warp_all_survivors_to_checkpoint | This console command will teleport all survivors to the current checkpoint that you are at in your map. |
warp_all_survivors_to_finale | warp_all_survivors_to_finale | The warp_all_survivors_to_finale command teleports all survivors to the map's "finale". |
warp_far_survivor_here | warp_far_survivor_here | This command teleports the survivor that is furthest away from you to the location your crosshair is over. |
warp_to_start_area | warp_to_start_area | The warp_to_start_area command is used to teleport you to the start location for your current map. |
mat_fullbright | mat_fullbright [0 / 1 / 2] | The mat_fullbright is used to enable or disable the full brightness mode. |
fog_override | fog_override [0 / 1] | The fog_override console command let you alter the FOG settings of the game. |
fog_enable | fog_enable [0 / 1] | This is a toggle command which is used to enable or disable the FOG effetcs. |
connect | connect [ip address] | This command will make you connect to the server with a particular IP address. |
chooseteam | chooseteam | This console command will open up the menu to allow you to choose a team depending on your current game server. |
rescue_distance | rescue_distance [distance] | This command will ste how much your teammates need to travelt before you can be rescued. |
rescue_min_dead_time | rescue_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_dmg | hunter_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_amount | tongue_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_factor | z_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_damage | inferno_damage [damage] | The inferno_damage console command is used to set the amount of damage dealt per second by flames and molotovs. |
z_gun_damage | z_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_lan | sv_lan [0 / 1] | The sv_lan is used to enable or disable the LAN mode on your server. |
sv_allow_lobby_connect_only | sv_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_time | z_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_victim | z_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_damage | z_witch_damage [amount] | The z_witch_damage command sets the amount of damage a witch attack deals. |
z_witch_anger_rate | z_witch_anger_rate [rate] | The z_witch_anger_rate console command is used to set the witch anger rate. |
cl_precacheinfo | cl_precacheinfo | If you want to print the console information about the client's cache, you can use the cl_precacheinfo command. |
director_force_versus_start | director_force_versus_start | The director_force_versus_start console command will forcefully start your current versus game. |
z_tank_health | z_tank_health [health] | This console command command helps you to set the maximum health of the tank. |
z_tank_rock_debug | z_tank_rock_debug [0 / 1] | This command is used to enable or disables the tank debug information. |
z_tank_throw_interval | z_tank_throw_interval [seconds] | The z_tank_throw_interval console command sets the minimum amount of time between each tank throw attack |
z_vomit_debug | z_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_interval | z_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_flashlightconstant | r_flashlightconstant [constant] | This command helps you to set the flashlight's constant, which allows you to see at further distances. |
r_flashlightfov | r_flashlightfov [fov] | The r_flashlightfov console command sets your flashlight's field of view. that means the reach area of your flashlight.\ |
r_flashlightfar | r_flashlightfar [distance] | You can set the distance of the light of your flashlight. The distance cn be set in units. |
setinfo | setinfo [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_bots | director_no_survivor_bots [0 / 1] | The director_no_survivor_bots console command is used to enable or disable the survivor bots. |
director_no_mobs | director_no_mobs [0 / 1] | The director_no_mobs is used to enable or disable the mob rushes. |
director_no_bosses | director_no_bosses [0 / 1] | This command helps you to disable or enable the spawning of bosses. |
director_no_specials | director_no_specials [0 / 1] | The director_no_specials command is used to enable or disable the spawning of PZ zombies. |
director_debug_scavenge_items | director_debug_scavenge_items [0 / 1] | This console command helps you to enable or disable the item spawn debug information |
director_debug | director_debug [0 / 1] | The director_debug console command is used to enable or disable the director debug. |
upgrade_explosive_bullet_force | upgrade_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_force | upgrade_explosive_slug_force [amount] | This command makes explosive bullets from shotguns with the explosive ammo upgrade have an explosive force |
upgrade_show_explosive_ammo_radius | upgrade_show_explosive_ammo_radius [0 / 1] | The console command is used to enable or disable the explosive ammo debug information |
z_forcezombiemodelname | z_forcezombiemodelname [model name] | This console command helps you to alter the zombies mode for all the zombies in the game. |
z_forcezombiemodel | z_forcezombiemodel [0 / 1] | The command is used to enable or disable the force zombie model command. |
z_fallen_max_count | z_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_expert | z_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_expert | z_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_size | z_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_size | z_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_interval | z_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_interval | z_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_size | z_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_wander | z_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_range | z_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_time | z_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_range | z_acquire_near_range [range] | The z_acquire_near_range command set the range where zombies will attack survivors rapidly. |
z_acquire_near_time | z_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_interval | z_special_spawn_interval [seconds] | This command sets the spawn interval between each special or boss mob spawn |
z_hunter_limit | z_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_limit | z_minion_limit [amount] | The z_minion_limit console command is used to set the special infected minion limit. |
More Cheats: