In order to use the cheats, you must have the console enabled in the game, "C:\Half Life 2\hl2.exe -console"
When you are in the game, you need to activate the console by pressing "`" (The key to the left of 1) and type the following:
| Code: |
Description: |
| god |
Turns god mode on (server side only). |
| buddha |
Reduces your health, but wont let you die. |
| mpulse 101 |
Gives you weapons available in the current map. |
| noclip |
Allows you to walk through walls |
| give item_suit |
Gives HEV suit. |
| give item_battery |
Gives the HEV suit and flashlight batteries. |
| impulse 82 |
Spawns jeep. |
| hurtme xx |
Hurts the player. xx represents any number between 1 and 100 to specify damage amount. |
| notarget |
Player becomes |
| npc_create |
Creates an NPC. Only works in a world that already has an NPC entity. |
| npc_create_aimed |
Creates an NPC aiming away from the player. |
| sv_gravity xxx |
World gravity. xxx represents the amount. |
| sv_stopspeed xxx |
Minimum stopping speed when on ground. xxx represents the amount. |
| sv_friction x |
World friction. x represents the amount. |
| sv_bounce x |
Bounce multiplier for when physically simulated objects collide with other objects. x represents the amount. (1 is normal) |
| sv_maxvelocity 3500 |
Specifies the maximum velocity of any moving object. (edit figure) |
| air_density xx |
Changes the density of air. xx represents the amount. |
| dsp_explosion_effect_duration x - Specifies length of confusion/ear |
ringing effect. x represents the amount. |
| physcannon_tracelength # |
Changes the length that objects can be pulled from |
| physcannon_cone # |
Changes the radius of the cone used to pick up objects |
| physcannon_maxmass # |
Changes how large pulled objects can be |
| physcannon_pullforce # |
Changes how quickly objects are pulled |
| physcannon_maxforce # |
Changes how hard you propel objects |
| sv_soundemitter_filecheck |
Toggle reporting missing .wav files for sounds |
| mat_numtextureunits # |
Limit the number of texture units. (Add number in place of #) (0=Default) |
| sv_maxvelocity # |
Sets Maximum Velocity of any moving object (Add number in place of #) |
| sv_waterdist # |
Set Vertical View when eyes are near water plane. |
| air_density # |
Change the density of air. (Add number in place of #) |
| dsp_explosion_effect_duration # |
Set length of confusion/ear-ringing effect(Add number in place of #) |
| prop_debug |
Toggle bounding-boxes debug mode on/off red - ignore damage, white - respond to damage, green - health) |
| picker |
Toggles Picker mode on |
| setpos |
Move player to specified origin |
| sv_bounce # |
Sets bounce multiplier for physically simulated object collisions |
| npc_create |
Creates an NPC |
| npc_create_aimed |
Creates an NPC (Aiming away from player) |
| cl_showfps 1 |
Shows FPS Rate |
| sv_friction # |
Set World Friction (Add number in place of #) |
| sv_stopspeed # |
Set Minimum Stopping Speed on ground (Add number in place of #) |
| sv_gravity # |
Set Gravity (Add number in place of #) |
| setang |
Snap players eyes to a specified pitch yaw |
| cl_drawhud 1 |
Toggle HUD display On |
| cl_enablehud 1 |
Toggle HUD display On |
| Map # |
Load Map (Input title in place of #) |
| Developer # |
Sets developer mode to on/off/verbose (0-off, 1-on, 2-verbose) |
| +mlook |
Enables mouse look |
| exec # |
Execute a script file (Input filename in place of #) |
| viewmodel_fov # |
Adjusts size of the weapon you're carrying (54 = default) |
| give # |
Give weapon (Input weapon name in place of #) |
| hud_quickhelp/text? 1 |
Shows Crosshairs |
| maps |
Displays Map listing |
| noclip |
Ability to walk through walls (Server Side Only) |
| notarget |
Invisible to NPC's |
| impulse 82 |
Spawn a Jeep |
| impulse 101 |
All Weapons |
| Hurtme # |
Damages player by whatever variable you input as # |
| buddha |
Health never goes below 1 |
| impulse 76 |
Grunt-O-Matic |
| give weapon_shotgun |
Recieve a Shotgun |
| thirdperson |
Third Person View |
| firstperson |
First Person View |
| sv_cheats 1 |
Activates Cheats |
| crosshair 0 |
Disables Crosshair |
| sk_npc_dmg_shotgun # |
NPC's do # damage with shotgun |
| sk_npc_dmg_smg1 # |
NPC's do # damage with the smg |
| sk_npc_dmg_ar2 # |
NPC's do # damage with the pulse rifle |
| mat_depthbias_normal 1 |
See through walls |
| give weapon_annabelle |
gives you Father Gregori's modified shotgun |
| ai_disable |
toggles enemy AI on/off |
| sv_infinite_aux_power 1 |
gives infinite power for sprinting, etc. |
| impulse 203 |
removes the item or NPC pointed at |
| mat_fullbright 1 |
removes all shadows (a 0 restores them) |
| skill # |
change skill level (# = 1, 2, or 3) |
| status |
shows some game info, incl. current map |
| help $ |
replace $ with a command to get a brief description of it |
| sk_max_357 # |
# is new max ammo for .357 Magnum |
| sk_max_ar2 # |
# is new max ammo for Pulse Rifle |
| sk_max_ar2_altfire # |
# is new max ammo for Pulse Rifle energy orbs |
| sk_max_buckshot # |
Raises your max number of shells to that number. |
| sk_max_crossbow # |
# is new max ammo for crossbow |
| sk_max_grenade # |
# is new max ammo for hand grenades |
| sk_max_pistol # |
# is new max ammo for pistol |
| sk_max_rpg_round # |
# is new max ammo for RPG |
| sk_max_smg1 # |
# is new max ammo for submachine gun |
| sk_max_smg1_grenade # |
# is new max ammo for SMG grenades |
| sv_unlockedchapters # |
unlocks chapters 1 thru # (15 is end credits) |
| sk_plr_dmg_pistol # |
# is new damage value for pistol |
| sk_plr_dmg_357 # |
# is new damage value for .357 Magnum |
| sk_plr_dmg_ar2 # |
# is new damage value for Pulse Rifle |
| mat_fullbright 1 |
removes all shadows (a 0 restores them) |
| sv_infinite_aux_power 1 |
gives infinite power for sprinting, etc. |
| cl_showpos 1 |
brings up position display in top right of screen (0 removes it) |
| getpos |
can be used to get current coords for use with setpos |
| sk_plr_dmg_smg1_grenade # |
# is new damage value for SMG grenades |
| sk_plr_dmg_smg1 # |
# is new damage value for submachine gun |
| sk_plr_dmg_rpg_round # |
# is new damage value for RPG rockets |
| sk_plr_dmg_grenade # |
# is new damage value for grenades |
| sk_plr_dmg_crowbar # |
# is new damage value for crowbar |
| sk_plr_dmg_crossbow # |
# is new damage value for crossbow |
| sk_plr_dmg_buckshot # |
Raises damage done by each pellet. |
| net_graph 1 |
a more thorough fps display |
| impulse 83 |
Spawn an Air Boat |
| cl_ragdoll_collide 1 |
Enables ragdolls that don't clip through each other, but stack realistically on one another. |
| weapon_smg1 |
MP7 with grenade launcher |
| weapon_shotgun |
Shotgun |
| weapon_rpg |
Rocket Launcher |
| weapon_pistol |
Pistol |
| weapon_physcannon |
The Manipulator |
| weapon_crowbar |
Gordon's classic |
| weapon_frag |
Fragmentation Grenade |
| weapon_crossbow |
Crossbow |
| weapon_ar2 |
Overwatch Standard Issue Pusle-Rifle |
| weapon_bugbait |
Bug Bait (from Antlion Guards) |
| weapon_357 |
357 Magnum Revolver |
| sk_plr_num_shotgun_pellets # |
Increases pellets fired from each shotgun shell. 100 works well. 1000+ and it lags. |
| give item_battery |
Increases suit charge by 15 points. |
| give item_box_mrounds |
Spawns primary fire ammo for the submachinegun |
| give item_ammo_crossbow |
Spawns ammo for the crossbow |
| give item_ammo_357 |
Spawns ammo for the .357 magnum |
| give item_box_srounds |
Spawns ammo for the 9mm pistol |
| give item_rpg_round OR give item_ml_grenade |
Spawns grenades for the RPG |
| give item_ar2_grenade |
Spawns grenades for the submachinegun, oddly enough.......... |
| give item_ammo_ar2 |
Spawns primary fire ammo for the Overwatch Pulse Rifle |
| give item_box_buckshot |
Spawns shells for the 12-gauge shotgun |
| give item_ammo_ar2_altfire |
Spawns energy grenade for the Overwatch Pulse Rifle |
| mat_yuv 1 |
black-and-white mode |
| host_timescale # |
Changes the speed of the game (for slow-mo/fast-mo) (# < 1 = slower, # > 1 = faster). |
| ch_createairboat |
Makes an airboat |
| ch_createjeep |
Make a jeep |
| give item_suit |
Gives you the HEV Suit |
| Kill |
You die. |
| shake |
Creates an earthquake. |
| r_screenoverlay effects/combine_binocoverlay.vmt |
Gives you combine vision during gameplay. |
| r_screenoverlay effects/tp_eyefx/tp_eyefx.vmt |
Gives you weird vision during gameplay. |
| cl_drawhud 0 |
Toggles HUD off. |
| cl_enablehud 0 |
Toggles HUD off. |
| mat_yuv 0 |
Enables Color Mode |
| item_healthkit |
Gives you the large health kit (25HP) |
| item_healthvial |
Gives you the small health vial (10HP) |
| sv_unlockedchapters # (Note: 15 is end credits) |
Unlock chapters 1 thru # |
| physcannon_cone # |
Changes the radius of the cone used to pick up objects |
| physcannon_tracelength # |
Changes the length that objects can be pulled from |
| physcannon_maxmass # |
Changes how large pulled objects can be |
| physcannon_pullforce # |
Changes how quickly objects are pulled |
| physcannon_maxforce # |
Changes how hard you propel objects |
| bind X "Impulse 101" |
Creates a hot key for instant stock of weapnos and ammunition using the "x" key |
| d1_canals_01 |
Spawns you in the canals. |
| d1_town_01 |
Spawns you in Ravenholm |
| d1_trainstation_01 |
Spawns you in train station |
| d1_under_01 |
Spawns you in lab |
| d2_coast_01 |
Spawns you on the coast (Vehicle) |
| d2_prison_01 |
Spawns you in Nova Prospekt |
| d3_c17_01 |
Spawns you in the city 17 rebellion |
| d1_canals_02 |
Spawns you deeper in the canals. |
| d1_under_02 |
Spawns you in the lab chapter after the second load point. |
| d1_trainstation_05 |
Spawns in the train station after the third load point. |
| d1_trainstation_03 |
Spawns in the train station after the second load point. |
| d1_trainstation_02 |
Spawns you in train station after the first load point. |
| d1_town_05 |
Spawns you near the end of Ravenholm. |
| d1_town_04 |
Spawns you in Ravenholm after the third load point area. |
| d1_town_03 |
Spawns you in Ravenholm after the second load point area. |
| d1_town_02 |
Spawns you in Ravenholm after the first load point area. |
| d1_canals_end |
Spawns you near the end of the canals. |
| d1_under_03 |
Spawns you in the lab chapter after the third load point. |
| d1_under_04 |
Spawn the lab chapter near the end. |
| d2_coast_02 |
Spawns you in the coast area after the first load point. |
| d2_coast_03 |
Spawns you in the coast area after the second load point. |
| d2_coast_04 |
Spawns you in the coast area after the third load point. |
| d2_coast_05 |
Spawns you in the coast area after the fourth load point. |
| d2_coast_06 |
Spawns you in the coast area after the fifth load point. |
| d2_coast_07 |
Spawns you in the coast area after the sixth load point. |
| d2_coast_08 |
Spawns you in the coast area near the end of it. |
| d2_prison_02 |
Spawns you in Nova Prospekt after the first load point. |
| d2_prison_03 |
Spawns you in Nova Prospekt after the second load point. |
| d2_prison_05 |
Spawns you in Nova Prospekt near the end of the level. |
| d2_prison_04 |
Spawns you in Nova Prospekt after the third load point. |
| d2_coast_09 |
Spawns you in the coast area after the eighth load point. |
| d2_coast_10 |
Spawns you in the coast area after the ninth load point. |
| d2_coast_11 |
Spawns you in the coast area after the tenth load point. |
| d2_coast_12 |
Spawns you near the end of the coast area. |
| d1_canals_03 |
Spawns in you in the canals after the second load point. |
| d1_canals_04 |
Spawns in you in the canals after the third load point. |
| d1_canals_05 |
Spawns in you in the canals after the fourth load point. |
| d1_canals_06 |
Spawns in you in the canals after the fifth load point. |
| d1_canals_07 |
Spawns in you in the canals after the sixth load point. |
| d1_canal_08 |
Spawns in you in the canals after the seventh load point. |
| d1_canal_09 |
Spawns in you in the canals after the eighth load point. |
| d1_canal_10 |
Spawns in you in the canals after the ninth load point. |
| d1_canals_11 |
Spawns in you in the canals after the tenth load point. |
| d1_canals_12 |
Spawns in you in the canals after the eleventh load point. |
| d1_canals_13 |
Spawns in you in the canals close to the end. |
| d3_c17_04 |
Spawns you in City 17 after the third load point. |
| d3_c17_03 |
Spawns you in City 17 after the second load point. |
| d3_c17_02 |
Spawns you in City 17 after the first load point. |
| d3_citadel_05 |
Spawns you at the end of the Citadel. |
| d3_citadel_04 |
Spawns you after the third load point in the Citadel. |
| d3_citadel_03 |
Spawns you after the second load point in the Citadel. |
| d3_citadel_02 |
Spawns you after the first load point in the Citadel. |
| d3_citadel_01 |
Spawns you near the beginning of the Citadel. |
| d2_prison_08 |
Spawns you near the end of Nova Prospekt. |
| d2_prison_07 |
Spawns you in Nova Prospekt after the sixth load point. |
| d2_prison_06 |
Spawns you in Nova Prospekt after the fifth load point. |
| d1_trainstation_06 |
Spawns you near the end of the train station. |
| d1_eli_02 |
Spawns you in Eli's Lab. |
| d1_eli_01 |
Spawns you after the canal, outside of Eli's Lab. |
| d3_c17_05 |
Spawns you in City 17 after the fourth load point. |
| d3_c17_06 |
Spawns you in City 17 after the fifth load point. |
| d3_c17_07 |
Spawns you in City 17 after the sixth load point. |
| d3_c17_08 |
Spawns you in City 17 after the seventh load point. |
| d3_c17_09 |
Spawns you in City 17 after the eighth load point. |
| d3_c17_10 |
Spawns you in City 17 after the ninth load point. |
| d3_c18_11 |
Spawns you in City 17 after the tenth load point. |
| credits |
Starts you at the credits |
| intro |
Starts you at the games Intro. |
| d1_breen_01 |
Spawns you at the beginning of Chapter 13. |
| d3_c17_13 |
Spawns you near the end of City 17. |
| d3_c17_12 |
Spawns you in City 17 after the eleventh load point. |
| item_dynamic_resupply |
Fragmentation Grenade |
| weapon_annabelle |
Father Annabelle Grigori's shotgun, uses 357 magnum ammo |
| 0.05 |
slow |
| 0.5 |
mid-slow |
| 0.1 |
super-slow |
| 0.0 |
stop time |
| map d3_citadel_04 |
Changes you to a level where you start with the super gravity gun |
| changelevel d1_trainstation_01 |
Switches you to the first level, replace d1_trainstation_01 with other map names if you want |
| give weapon_physcannon |
Gives you the gravity gun again |
| stop |
Stops recording the current demo. |
| record demo_name |
Records a demo of all the user's actions within the game until the "stop" command is issued. |
| play demo_name |
Plays demo.(change demo_name to the demo you want to be played) |
| give weapon_alyxgun |
Gives you the 'Alyx Gun' |
| sk_plr_dmg_alyxgun # |
# is new damage for Alyx Gun (default 150 |
| sk_max_alyxgun # |
# is new max ammo for Alyx Gun (default 0) |
| physcannon_megacannon 1 |
Makes your Gravity Gun a Super Gravity Gun |