What are the cheat codes for Left 4 Dead 2? Many friends don’t know that Left 4 Dead 2 is a game that can be played online or alone. Players can escape through different game levels and cities. So what are the cheat codes for this game? Here are I believe the detailed guide content will definitely help you, so let’s take a look together!
Left 4 Dead 2 Cheats Code Collection
Common commands
sb_give grenade_launcher Give all computer grenade launchers
give pistol_magnum Magnum pistol
give shotgun_spas tactical shotgun
give grenade_launcher grenade launcher
upgrade_add laser_sight Get the upgrade effect of laser sighting
give gascan gasoline red barrel
give health restore full blood
give first_aid_kit medical kit
give adrenaline adrenaline shot
give pain_pills pills
give defibrillator electroshock instrument
give pipe_bomb homemade bomb
give molotov Molotov Molotov cocktail
give vomitjar bile bottle
give sniper_military 2nd generation continuous sniper
give katana katana
give chainsaw chainsaw
command instructions
No need for sv_cheats to have a value of 1:
cl_showfps 1 Display the frame number (1=display the frame number and map name 2=display the frame number and smoothing rate 3=server information 4=display the frame number and log file)
cl_showpos 1 displays player name, position and current speed
thirdpersonshoulder third person over-the-shoulder perspective
cl_drawhud 0 closes the UI (1 means open, the console is not affected)
net_graph 1 displays the current network status (FPS PING, etc.)
changelevel map switch map (local or server has permission)
openserververbrowser opens the community server browser
connect ip connects to the server of this ip (a port number may also be required, if the server is not the default port)
disconnect Disconnect from the server
quit quit the game
The value of sv_cheats is required to be 1:
kill suicide
kick * kick player
explode self-destruct (generates an explosion under your feet that can kill you)
god 1 invincible(0 closed)
buddha 1 will be hurt but will not die (0 closed)
noclip flight (enter again to close)
sv_infinite_ammo 1 unlimited ammunition (the effects of burning and high-explosive bullets will still be consumed)
sv_infinite_primary_ammo 1 Only unlimited ammunition for the main weapon (the effects of burning and high-explosive bullets will still be consumed)
give health restore full blood
give ammo get ammunition
fire generates a Molotov flame circle under your feet (equivalent to throwing a Molotov cocktail at your feet, you will be hurt)
melee_range 70 Melee weapon attack range (default is 70, the higher the value, the farther it can be cut)
host_timescale game running speed (default is 1, normal speed. Set to 2 to double the speed, 0.5 to slow down by half)
director_stop stops spawning any items or mobs
director_start continues spawning any items and mobs
vs_max_team_switches 1 Number of times teams can be switched (default value is 1)
other
warp_all_survivors_here Teleport all survivors to the current crosshair position
warp_to_start_area Teleport yourself to the starting location
mat_fullbright 1 enables "full-bright" mode (where all areas of the map are at maximum lighting level)
nb_delete_all kicks out all computer teammates and nearby zombies and all special zombies (but all zombies will still be refreshed)
nb_blind 1 All computer zombies cannot see you (but they will still attack you if you bump into them)
sb_takecontrol * Switch control between 4 characters in the game (* represents four characters, no suffix means random switching)
sb_move 0 All computer teammates stop moving
sb_escort 1 forces all computer teammates to protect you and follow you closely
sb_open_fire 1 forces all computer teammates to fire continuously
sb_dont_shoot 1 forces computer teammates not to fire
sb_crouch 1 forces all computer teammates to crouch
sb_flashlight 1 forces all computer teammates to use flashlights (-1 means not to use them)
sb_dont_bash 1 forces computer teammates not to push by hand (default is to push away by right-clicking)
sb_give * Give all computers a prop or weapon (* represents the item name)
sb_give_random_weapon randomly assigns a weapon to each computer
weapons instructions
main weapon
give pumpshotgun pump shotgun (single spray, nothing to say)
give shotgun_chrome chrome shotgun (single spray, nothing to say)
give weapon_smg_mp5 MP5 submachine gun
give smg UZI submachine gun
give smg_silenced MAC submachine gun with silencer
give rifle_ak47 AK47 rifle
give rifle_desert SCAR rifle
give rifle M16 rifle
give rifle_sg552 SG552 rifle
give autoshotgun tactical shotgun (XM1014)
give shotgun_spas combat shotgun (SPAS-12)
give sniper_awp AWP sniper rifle
give hunting_rifle hunting rifle (shotgun)
give sniper_scout Scout sniper rifle
give sniper_military sniper rifle (modern sniper rifle)
give grenade_launcher grenade launcher
give rifle_m60 M60 machine gun
secondary weapon
give pistol (there are three types in total: M1911, P220, Glock)
give pistol_magnum Magnum pistol
give fireaxe fire ax
give baseball_bat baseball bat
give cricket_bat cricket bat
give crowbar crowbar
give frying_pan pan
- Golf Club (only available through map generation)
give electric_guitar electric guitar
give katana katana
give knife seal knife
give machete machete
give tonfa baton
give pitchfork pitchfork
give shovel shovel
give chainsaw chainsaw(weapon_chainsaw)
Throwing objects
give vomitjar bile bottle
give molotov Molotov Molotov cocktail
give pipe_bomb pipe bomb (homemade bomb)
Upgrade
give upgradepack_explosive explosive bullet upgrade box
give upgradepack_incendiary Incendiary Bullet Upgrade Box
Get the effects of upgrades directly
upgrade_add Incendiary_ammo Incendiary bullet upgrade
upgrade_add explosive_ammo Explosive bullet upgrade
upgrade_add laser_sight laser sight upgrade
Fixed weapons
- Heavy machine gun (map fixed weapon)
- Mini Gun (map fixed weapon)
Props
- Cylindrical gasoline barrel (usually a white barrel with a red mark on it, it will burn and explode when hit, and the map will be generated)
give fireworkcrate firework box
give gascan gasoline barrel (red barrel for refueling)
give oxygentank oxygen tank
give propanetank gas tank
special props
give cola_bottles cola
give gnome dwarf doll (weapon_gnome)
drug
give adrenaline adrenaline shot
give defibrillator defibrillator
give first_aid_kit medicine kit
give pain_pills pills
other
give ammo get ammunition
give melee Hunter Claws
- Explosion shield (generated by weapon_melee_spawn entity)
Infected Person Instructions
When the value of sv_cheats is 1
Available:
z_add generates ordinary infected people at the crosshair position
z_spawn boomer spawns a Boomer at the crosshair position
z_spawn hunter Spawns Hunter at the crosshair position
z_spawn smoker spawns Smoker at the crosshair position
z_spawn tank spawns a Tank at the crosshair position
z_spawn charger generates a Charger at the crosshair position
z_spawn jockey spawns Jockey at the crosshair position
z_spawn spitter spawns a Spitter at the crosshair position
z_spawn witch spawns a Witch at the crosshair position
Can be set:
z_speed 250 The movement speed of ordinary infected people
z_health 50 Health value of ordinary infected people
z_exploding_health 50 Boomer’s health
z_exploding_speed 175 Boomer’s movement speed
z_hunter_health 250 Hunter’s health
z_hunter_speed 300 Hunter’s movement speed
z_gas_health 250 Smoker's health
z_gas_speed 210 Smoker’s movement speed
z_tank_health 4000 Tank’s health
z_tank_speed 210 Tank’s movement speed
z_charger_health 600 Charger’s health
z_charge_max_speed 500 Charger’s movement speed
z_charge_max_damage 10 Charger's fall damage
z_jockey_health 325 Jockey’s health
z_jockey_speed 250 Jockey’s movement speed
z_jockey_ride_damage 4 Jockey’s damage per second
z_spitter_health 100 Spitter’s health
z_spitter_speed 210 Spitter’s movement speed
z_witch_speed 300 Witch’s movement speed
z_witch_health 1000 Witch’s health
z_witch_damage 100 Witch’s damage value
z_special_spawn_interval 45 The time interval for refreshing special zombies
If you are special and waiting to enter rebirth mode or enter this command during rebirth mode, you will directly become the special infected person you entered. For example, entering z_spawn tank will directly change to tank.
Other uncommon special infections:
CEDA Worker Infected
Jimmy Gibbs Junior
Fallen Survivor
Clown Infected
Mud Men
Worker Infected
Riot Infected
So the above is the complete content of the guide, I hope you all like it.