All cheats in the game require the console to be enabled, and sv_cheats 1 to be
set. To do this, open the options menu, select the "Keyboard" tab and press the
button labeled "Advanced...". Make sure that the "Enable developer console (~)"
check box is ticked and press OK. Close the options window and load up your game
of Half-Life 2. Once you have begun playing your game, press the tilde (~) key
to bring up the developer console (press it again to make it go away), it's
usually located to the left of the number 1, and above the Tab key on the left
hand side of your keyboard. To enable cheats, type in "sv_cheats 1" without the
quotes and press enter, once you've done this you are now ready to mix and match
from the following cheats:
God mode. Toggles on and off. Use this to become invincible to pretty much
Ghosting. Toggles on and off. Just like when you are dead in Counter-Strike,
noclip will allow you to zoom about where ever you please on the map.
Invisibility to enemies. Toggles on and off. Enemies will ignore you while this
cheat is enabled, feel free to bash them about with the crowbar and receive no
All weapons. Per use. Gives you all weapons with full ammo, useful for those
situations where you would rather not go 'eco'.
Disables AI. Toggles on and off. Disables all AI, this means that all enemies
will stop attacking you and each other.
Spawn the jeep. Per use. Spawns the jeep (or buggy, whatever you like to call
it) so you can use it in situations that it obviously was not meant for.
Spawn the air boat. Per use. Spawns the air boat in a very similar fashion as
the previous cheat.
Use values 1-15. Setting game variable. Unlocks the game up to the specified
chapter number, handy after re-installs.
Use values 1/0. Setting game variable. Setting this to 1 will enable infinite
auxiliary suit power, return this to 0 to live a cheat-free life.
Use any complete numeric value, 600 is default. Setting game variable. This
changes the gravity strength in the game, lower numbers will make everything
lighter and higher numbers will make everything heavier. Remember that 600 is
the default value.
Use any valid map name. Loading map. This will change the current map to one
that you specify, get the full list of maps available by entering maps *
in the console.
Use listed values. Per use. Use this to give yourself any one of these items. To
spawn this item without picking it up, use in conjunction with noclip enabled.
List of item names follows: Weapons
weapon_357 - the revolver
weapon_pistol - the usp
weapon_ar2 - the disruptor rifle
weapon_bugbait - antlion pheromones
weapon_crossbow - the new & improved crossbow
weapon_crowbar - your trusty pal
weapon_frag - frag grenade
weapon_physcannon - the gravity gun
weapon_rpg - rocket launcher
weapon_shotgun - packs a powerful punch
weapon_smg1 - renamed from 'the peashooter'
Use listed values. Per use. Ths spawns an NPC on the level ground where you are
aiming. Use npc_create_aimed x to
create an NPC aiming in your current direction. To set the weapon for freshly
created NPC's use npc_create_equipment x
where x is any of the listed weapons for the give cheat — only certain
weapons will work with certain npc_ types, so you may have to experiment with
this. The list of npc_ names follows: