Half-Life 2 Cheats

To activate these codes, press [~] to bring up the console and then enter the codes:

Code

Result

ai_disable

Toggles enemy AI on/off

air_density #

Change air density to #

buddha

Reduce health

cl_drawhud 1

Show HUD

cl_enablehud 1

Hide HUD

cl_ragdoll_collide 1

Corpses stack

cl_showfps 1

Show FPS rate

cl_showpos 1

Show position

Developer #

Sets developer mode to on/off/verbose (0-off, 1-on, 2-verbose)

dsp_explosion_effect_duration #

Set length of confusion/ear-ringing effect to #

firstperson

First person view

getpos

Get current position

give #

Get weapon #

give weapon_shotgun

Get a shotgun

God

God mode

help command

Get help on command

hud_quickhelp/text? 1

Show aiming reticule

Hurtme #

Hurts player #

impulse 76

Grunt-O-Matic

impulse 82

Get a Jeep

impulse 83

Get an airboat

impulse 101

Get all weapons

impulse 203

Removes the person or item under reticule

maps

Displays map

+mlook

Enables mouse look

mat_depthbias_normal 1

Glass walls

mat_fullbright 1

Removes shadows

Map #

Load map #

noclip

Ghost mode

npc_create

Creates an NPC

npc_create_aimed

Creates an NPC

notarget

Invisibility mode

physcannon_maxforce #

Changes how hard you propel objects

physcannon_maxmass #

Changes how large pulled objects can be

physcannon_pullforce #

Changes how quickly objects are pulled

physcannon_tracelength #

Changes the length that objects can be pulled from

physcannon_cone #

Changes the radius of the cone used to pick up objects

picker

Picker mode

prop_debug

Toggle bounding-boxes debug mode on/off red - ignore damage, white - respond to damage, green - health)

setpos X

Move to X

sk_plr_dmg_357 #

# is new damage value for .357 Magnum

sk_plr_dmg_crossbow #

# is new damage value for crossbow

sk_plr_dmg_crowbar #

# is new damage value for crowbar

sk_plr_dmg_grenade #

# is new damage value for grenades

sk_plr_dmg_pistol #

# is new damage value for pistol

sk_plr_dmg_ar2 #

# is new damage value for Pulse Rifle

sk_plr_dmg_rpg_round #

# is new damage value for RPG rockets

sk_plr_dmg_buckshot #

# is new damage value for shotgun

sk_plr_dmg_smg1_grenade #

# is new damage value for SMG grenades

sk_plr_dmg_smg1 #

# is new damage value for submachine gun

sk_max_357 #

# is new max ammo for .357 Magnum

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_ar2 #

# is new max ammo for Pulse Rifle

sk_max_ar2_altfire #

# is new max ammo for Pulse Rifle energy orbs

sk_max_rpg_round #

# is new max ammo for RPG

sk_max_buckshot #

# is new max ammo for shotgun

sk_max_smg1_grenade #

# is new max ammo for SMG grenades

sk_max_smg1 #

# is new max ammo for submachine gun

sk_max_smg1 #

# is new max ammo for submachine gun

skill #

Change skill level (# = 1, 2, or 3)

status

Display game information

sv_bounce #

Sets bounce multiplier for physically simulated object collisions

sv_cheats 1

Activate cheats

sv_friction #

Set friction to #

sv_gravity #

Set gravity to #

sv_infinite_aux_power 1

Infinite power

sv_stopspeed #

Set stopping speed

sv_waterdist #

Set water draw distance

sv_maxvelocity #

Sets max velocity

sv_unlockedchapters #

unlocks chapters 1 thru # (15 is end credits)

thirdperson

Third person view

viewmodel_fov #

Change weapon size