The cult classic from Valve – Half Life 2, still has players around the world coming back to it even after 13+ years. The game has many commands, cheats, tips, tricks and possibilities that you can explore and make the title of Half Life 2 stick in your head even more and make you want to get back to the game even more often. So, without further ado, let’s get started on the cheats.
A prototype pistol called the ‘Alyx Gun’ can be gained by using cheat codes. Magazine is 30 rounds, no extra ammunition amount and it looks kind of weird to be honest with you. But it’s still fun to use.
To enter these cheat codes simply bring up the console screen with (~) and input the codes.
Cheat code for Alyx gun |
result |
sk_plr_dmg_alyxgun * |
*- whatever number you enter in here will be the default damage for Alyx gun (default is set to 150). |
sk_max_alyxgun * |
*- the new number of maximum available ammunition for Alyx gun (default is set to 0). |
give weapon_alyxgun |
Your character gains the Alyx gun. |
Spawn AI NPC’s
Open the console, type the commands and enjoy your spawned AI characters.
Code |
Result |
"npc_create npc_antilionguard” |
Spawns NPC |
"npc_create npc_mossman” |
Spawns NPC |
"npc_create npc_monk |
Spawns NPC |
"npc_create npc_metropolice |
Spawns NPC |
"npc_create npc_manhack |
Spawns NPC |
"npc_create npc_launcher |
Spawns NPC |
"npc_create npc_kleiner |
Spawns NPC |
"npc_create npc_itchyosaur |
Spawns NPC |
"npc_create npc_headcrab_poison |
Spawns NPC |
"npc_create npc_poisonzombie |
Spawns NPC |
"npc_create npc_rollermine |
Spawns NPC |
"npc_create npc_turret_floor |
Spawns NPC |
"npc_create npc_turret_ceiling |
Spawns NPC |
"npc_create npc_zombie_torso |
Spawns NPC |
"npc_create npc_zombie |
Spawns NPC |
"npc_create npc_vortigaunt |
Spawns NPC |
"npc_create npc_strider |
Spawns NPC |
"npc_create npc_stalker |
Spawns NPC |
"npc_create npc_cscanner |
Spawns NPC |
"npc_create npc_headcrab_black |
Spawns NPC |
"npc_create npc_headcrab_fast |
Spawns NPC |
"npc_create npc_combinegunship |
Spawns NPC |
"npc_create npc_combinedropship |
Spawns NPC |
"npc_create npc_citizen |
Spawns NPC |
"npc_create npc_breen |
Spawns NPC |
"npc_create npc_barney |
Spawns NPC |
"npc_create npc_barnacle |
Spawns NPC |
"npc_create npc_antlion |
Spawns NPC |
"npc_create npc_alyx |
Spawns NPC |
"npc_create npc_combine_s |
Spawns NPC |
"npc_create npc_crow |
Spawns NPC |
"npc_create npc_headcrab |
Spawns NPC |
"npc_create npc_helicopter |
Spawns NPC |
"npc_create npc_gman |
Spawns NPC |
Map and game point cheats & codes
Open the console and enter the code to get the desired result.
Code |
result |
Intro |
Starts the intro |
Credits |
Starts the credits scene |
d2_coast_01 |
Spawn on the coast area (vehicle) |
d2_coast_* (02-11) |
Spawn in the coast area after a certain loading point |
d2_coast_12 |
Spawn close to the end of the coast area. |
d1_under_01 |
Spawn inside the laboratory |
d1_under_* (02-03) |
Spawn in the lab area after the second or the third loading point |
d1_under_01 |
Spawn in the laboratory chapter close to the end |
d1_trainstation_01 |
Spawn in the train station area |
d1_trainstation_* (02-03; 05) |
Spawn in the train station area after the first, second or the third loading point |
d1_trainstation_06 |
Spawn close to the end of the trainstation |
d1_canals_01 |
Spawn in the canals |
d1_canals_* (02-12) |
Get spawned deeper in the canals with 02 or pass certain loading points with numbers 03-12 |
d1_canals_13 or d1_canals_end |
Spawn in the canals area close to the end |
d1_eli_01 |
Spawn in the area outside of Eli’s laboratory, after the canal |
d1_eli_02 |
Get spawned inside of Eli’s laboratory |
d3_citadel_01 |
Spawn in the Citadel, close to the starting point |
d3_citadel_* (02-04) |
Get spawned to positions after the first, the second or the third loading point |
d3_citadel_05 |
Spawn close to the end of the Citadel stage. |
d1_breen_01 |
Spawn in the beginning of Chapter 13 |
d3_c17_01 |
Spawns your character in the rebellion of city 17 |
d3_c17_* (02-12) |
Spawn in positions after a certain loading point of this chapter |
d3_c17_13 |
Spawn close to the end of City 17 |
d2_prison_01 |
Get spawned in the Nova Prospekt area |
d2_prison_* (02-07) |
Spawns your character in the Nova Prospekt after a certain loading point |
d2_prison_08 |
Spawn close to the end of Nova Prospekt |
d1_town_01 |
Spawn in the beginning of Ravenholm stage |
d1_town_* (02-04) |
Spawn in the Ravenholm area after a certain loading point |
d1_town_05 |
Spawn close to the end of Ravenholm. |
Time commands:
Open the command tab (console) and enter cl_phys_timescale *, with * being the desired time effect. 1 is the default and normal setting. Slowing things up allows for more fun and way cooler deaths.
Command |
Effect |
cl_phys_timescale 0.5 |
Slow |
cl_phys_timescale 0.05 |
Super slow |
cl_phys_timescale 0.0 |
Freeze |
Console cheat codes
Bring up the console with ~ and enter these cheats to get certain effects.
|
|
sk_plr_dmg_357 * |
* is the new damage amount for the .357 Magnum |
sk_plr_dmg_crossbow * |
* is the new damage amount for the crossbow |
sk_plr_dmg_crowbar * |
* is the new damage amount for the crowbar |
sk_plr_dmg_grenade * |
* is the new damage amount for the grenades |
sk_plr_dmg_pistol * |
* is the new damage amount for the pistol |
sk_plr_dmg_ar2 * |
* is the new damage amount for the Pulse Rifle |
sk_plr_dmg_rpg_round * |
* is the new damage amount for RPG rockets |
sk_plr_dmg_buckshot * |
* is the new damage amount for the shotgun |
sk_plr_dmg_smg1_grenade * |
* is the new damage amount for SMG grenades |
sk_plr_dmg_smg1 * |
* is the new damage amount for the submachine gun |
sk_max_357 * |
* is the new max ammunition amount for the .357 Magnum |
sk_max_crossbow * |
* is the new max ammunition amount for the crossbow |
sk_max_grenade * |
* is the new max ammunition amount for hand grenades |
sk_max_pistol * |
* is the new max ammunition amount for the pistol |
sk_max_ar2 * |
* is the new max ammunition for the Pulse Rifle |
sk_max_ar2_altfire * |
* is the new max ammunition amount for the Pulse Rifle energy orbs |
sk_max_rpg_round * |
* is the new max ammunition amount for the RPG |
sk_max_buckshot * |
* is the new max ammunition amount for the shotgun |
sk_max_smg1_grenade * |
* is the new max ammunition amount for SMG grenades |
sk_max_smg1 * |
* is the new max ammunition amount for the submachine gun |
sk_max_smg1 * |
* is the new max ammunition amount for the submachine gun |
weapon_357 |
Gives you the .357 Magnum |
weapon_shotgun |
Gives you the 12-Gauge Shotgun |
weapon_pistol |
Gives you the 9mm Pistol |
net_graph 1 |
A better and more in-detail fps display |
noclip |
Grants you the ability to walk through walls, fly and roam around (Server Side Only) |
sv_cheats 1 |
Activates Cheat codes |
viewmodel_fov * |
*marks the size of the weapon you're carrying (54 is the default setting) |
impulse 101 |
Gives you all weapons |
mat_yuv 1 |
black-and-white mode |
cl_showpos 1 |
brings up position display in top right of screen (0 removes it) |
getpos |
Know your current coordinates and use them with setpos |
skill * |
change the skill level (* = 1, 2, or 3) |
air_density * |
Change the density of air. (Write a number instead of*) |
physcannon_maxforce * |
Changes how hard you thrust other objects |
physcannon_maxmass * |
Changes how large of an object can be pulled |
physcannon_pullforce * |
Change the quickness of objects being pulled |
physcannon_tracelength * |
Change the length of the objects that can be pulled |
physcannon_cone * |
Changes the cone radius used to pick up objects |
host_timescale * |
You can adjust the speed of Half Life 2 (slow motion/speeding up (* < 1 = slower, 1=default, * > 1 = faster). |
shake |
Starts an earthquake. |
npc_create |
Creates and spawns an NPC |
npc_create_aimed |
Creates and spawns an NPC (Aiming away from player) |
weapon_crossbow |
Get a crossbow |
weapon_crowbar |
Get a crowbar |
Hurtme * |
Get the damage that you write as * |
crosshair 0 |
Disable the Crosshair |
maps |
Display Map listings |
mat_yuv 0 |
Enable Color Mode |
+mlook |
Enable mouse look |
cl_ragdoll_collide 1 |
Enable ragdolls that don't pass through one another like no clip, but stack like real objects on top of one another. |
exec * |
Initiate a script file (Input name of the file instead of *) |
firstperson |
First Person View |
weapon_frag |
Get the fragmentation Grenade |
give * |
Gives weapon (Input weapon name instead of*) |
sv_infinite_aux_power 1 |
Gives your player the infinite power for sprinting, etc. |
r_screenoverlay effects/combine_binocoverlay.vmt |
Gives you combined vision during your in-game. |
give weapon_annabelle |
Gives your character Father Gregori's modified shotgun |
give weapon_physcannon |
Gives you the Gravity Gun |
give item_suit |
Gives you the HEV Suit |
item_healthkit |
Gives your player a large health kit (25HP) |
item_healthvial |
Gives your player a small health vial (10HP) |
r_screenoverlay effects/tp_eyefx/tp_eyefx.vmt |
Gives your character weird vision during gameplay. |
God |
God Mode, grants powers (Server side only) |
impulse 76 |
Grunt-O-Matic |
buddha |
Health never goes below 1, you can‘t die |
sk_plr_num_shotgun_pellets * |
Increases pellets fired from each shotgun shell. Enter a number. A ~100 works great, but you should avoid increasing these numbers a lot, because after 1000, it starts to lag. |
give item_battery |
Increases suit charge by 15 points. |
notarget |
You become invisible NPC's |
mat_numtextureunits * |
Limit the number of avaliable texture units. (Add a number instead of *) (0 is the Default) |
Map * |
Load a Map (Input title instead of *) |
ch_createjeep |
Get a jeep |
ch_createairboat |
Get an airboat |
physcannon_mega_enabled 1 |
Turns your Gravity Gun in to a Super Gravity Gun |
setpos |
Moves your player to a specified position |
npc_create_equipment weapon_crowbar |
NPC equipped with a crowbar is spawned. |
npc_create_equipment weapon_ar2 |
NPC equipped with a Pulse Rigle is spawned |
npc_create_equipment weapon_RPG |
NPC equipped with a RPG is spawned |
npc_create_equipment weapon_shotgun |
NPC equipped with a shotgun is spawned |
npc_create_equipment weapon_smg1 |
NPC equipped with a SMG crowbar is spawned |
sk_npc_dmg_shotgun * |
NPC's start doing * damage with the shotgun |
sk_npc_dmg_ar2 * |
NPC's start doing * damage with the pulse rifle |
sk_npc_dmg_smg1 * |
NPC's start doing * damage with the smg |
weapon_ar2 |
Get Overwatch Standard Issue Pulse Rifle |
weapon_bugbait |
Get Pherapods |
sk_plr_dmg_buckshot * |
Increases the damage done by each pellet. |
sk_max_buckshot * |
Raises your max number of shells to the * number you enter |
give weapon_shotgun |
Get a Shotgun |
mat_fullbright 1 |
removes all shadows (mat_fullbright 0 brings them back) |
impulse 203 |
removes the item or NPC pointed at |
help * |
replace * with a command line to get short information about it |
weapon_rpg |
Get a rocket-powered Grenade Launcher |
mat_depthbias_normal 1 |
See through walls |
sv_gravity * |
Set Gravity (Write a number instead of *) |
dsp_explosion_effect_duration * |
Set the desired length of confusion/ear-ringing effect( Add number instead of *) |
sv_stopspeed * |
Set a Minimum Stopping Speed on the ground (Write a number instead of *) |
sv_waterdist * |
Set a setting for Vertical View when the player‘s eyes are near the water plane. |
sv_friction * |
Set the setting of World Friction (write a number instead of *) |
sv_bounce * |
Set the setting of a bounce multiplier for physics based object collisions |
Developer * |
Sets developer mode to on/off/bombastic (0-off, 1-on, 2-bombastic) |
sv_maxvelocity * |
Sets the Maximum Velocity of any in-game moving object (Write a number instead of *) |
hud_quickhelp/text? 1 |
Shows Crosshairs |
cl_showfps 1 |
Shows your in-game FPS rate |
status |
Shows some in-game info, including the current map |
setang |
Snaps players eyes to a specified pitch yaw |
impulse 82 |
Spawns a Jeep |
impulse 83 |
Spawns an Air Boat |
give item_ammunition amount_357 |
Spawns ammunition supply for the .357 magnum |
give item_box_srounds |
Spawns ammunition supply for the 9mm pistol |
give item_ammunition amount_crossbow |
Spawns ammunition supply for the crossbow |
give item_ammunition amount_ar2_altfire |
Spawns an energy grenade for the Overwatch Pulse Rifle |
give item_rpg_round OR give item_ml_grenade |
Spawns ammo supply for the RPG |
give item_ar2_grenade |
Spawns grenades for the submachinegun, that seems quite strange |
give item_ammunition amount_ar2 |
Spawns a primary firing ammunition amount for the Overwatch Pulse Rifle |
give item_box_mrounds |
Spawns a primary fire ammunition amount for the submachinegun |
give item_box_buckshot |
Spawns a supply of shells for the 12-gauge shotgun |
weapon_smg1 |
Get a submachine Gun |
thirdperson |
Puts you in third Person View |
prop_debug |
Toggle on/off the bounding-boxes debug mode. red - ignore damage, white - respond to damage, green - health) |
cl_enablehud 1 |
Toggle the HUD display On |
cl_drawhud 1 |
Change the HUD‘s draw |
sv_soundemitter_filecheck |
Toggle reporting missing .wav files for sounds |
ai_disable |
toggle enemy AI on/off |
cl_enablehud 0 |
Toggles the HUD off. |
cl_drawhud 0 |
Toggles the HUD off. |
picker |
Toggles Picker mode on in-game. |
violence_ablood 0 |
Turns off alien blood. |
violence_agibs 0 |
Turns off alien gibs. |
violence_hblood 0 |
Turns off human blood. |
violence_hgibs 0 |
Turns off human gibs. |
sv_unlockedchapters * (Note: 15 is end credits) |
Unlock chapters 1 through * - whatever the number you insert |
sv_unlockedchapters * |
unlocks chapters 1 through * whatever number you write (15 is end credits) |
Kill |
You die. Fun! |
weapon_physcannon |
Get the zero Point Energy Field Manipulator Gun |