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
God mode. Toggles on and off. Use this to become invincible to pretty much
everything.
noclip
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.
notarget
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
nasty consequences!
impulse 101
All weapons. Per use. Gives you all weapons with full ammo, useful for those
situations where you would rather not go 'eco'.
ai_disable
Disables AI. Toggles on and off. Disables all AI, this means that all enemies
will stop attacking you and each other.
impulse 82
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.
impulse 83
Spawn the air boat. Per use. Spawns the air boat in a very similar fashion as
the previous cheat.
sv_unlockedchapters x
Use values 1-15. Setting game variable. Unlocks the game up to the specified
chapter number, handy after re-installs.
sv_infinite_aux_power x
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.
sv_gravity x
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.
map x
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.
give x
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'
Ammunition
item_box_srounds
item_ammo_pistol
item_large_box_srounds
item_ammo_pistol_large
item_box_mrounds
item_ammo_smg1
item_large_box_mrounds
item_ammo_smg1_large
item_box_lrounds
item_ammo_ar2
item_large_box_lrounds
item_ammo_ar2_large
item_ammo_357
item_ammo_357_large
item_ammo_crossbow
item_ml_grenade
item_rpg_round
item_ammo_smg1_grenade
item_box_sniper_rounds
item_box_buckshot
item_ammo_ar2_altfire
item_ammo_crate
item_battery
item_dynamic_resupply
item_healthkit
item_healthvial
item_suit
npc_create x
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: