Cheat mode First open Steam, go to your "Play Games" menu, and select
Half-Life 2. Then right click on it and select "Properties".
Now click
the Launch Options button then type
-console.
Then click "Ok",
then close. Now double click Half-Life 2 to start your game.
When it
is loaded and you are playing, press the
~ key to
display the console. Then, enter sv_cheats 1 press
[Enter]. You can now
type the codes below in at the
console window. Also, any code can be used as a command line parameter by
placing the "-" character in front of it.
Note: For
the games that are downloaded from Steam, to use cheats in a
single player mode, start a game using the
-applaunch -dev -tconsole command line parameter.
Code
Effect
god
God mode (server only)
give <item name>
Spawn indicated item
buddha
Reduce your health
hurtme <amount>
Damage player
impulse 101
All weapons
impulse 102
Skulls
impulse 82
Spawn a jeep
impulse 83
Spawn an air boat
ch_createjeep
Spawn a scout car
ch_createairboat
Spawn an airboat
notarget
Ignored by NPCs
noclip
Walk through objects (server only)
maps
List maps
map <map name>
Load indicated map
developer <0-2>
Toggle developer mode; 2 is verbose
+mlook
Enable mouse look
hud_quickhelp/text? 1
Show crosshairs
viewmodel_fov <number>
Sets the size of carried weapon; 54 is
default
exec <filename>
Execute script file
cl_drawhud <0 or 1>
Toggle HUD display
cl_enablehud <0 or 1>
Toggle HUD display
cl_showfps <0 or 1>
Toggle frame rate display
npc_create <name>
Creates an NPC; only where NPC are allowed
npc_create_aimed
Create an NPC aiming away from player
picker
Toggle picker mode.
sv_gravity <number>
Set gravity value
sv_stopspeed <number>
Set minimum stopping speed when on ground
sv_friction <number>
Set world friction
sv_bounce <number>
Set bounce multiplier for physically
simulated objects collision
sv_maxvelocity <number>
Set maximum velocity of any moving object
sv_waterdist <number>
Set vertical view fixup when eyes are near
water plane
sv_unlocked chapters 15
All chapters unlocked next time game is
played
cl_phys_timescale <0.00-1.00>
Slow time; 1 is default
air_density <number>
Change air density
dsp_explosion_effect_duration
<number>
Set length of explosion confusion
mat_depthbias_normal 1
See through walls
cl_ragdoll_collide 1
Disable dead bodies going through each other
prop_debug
Toggle bounding-boxes debug mode; red:
ignore damage, white: respond to damage, green: health
sv_soundemitter_filecheck
Toggle reporting missing .WAV files
mat_numtextureunits <number>
Limits the number of texture units; 0 lets
the game decide
impulse 203
Deleted targeted object or person
mat_yuv 1
Black and white screen
mat_yuv 0
Color screen
record <demo name>
Record demo
stop
Stop recording demo
play <demo name>
Play recorded demo
sk_max_357 <number>
Set max ammo for .357 Magnum
sk_max_ar2 <number>
Set max ammo for Pulse Rifle
sk_max_ar2_altfire <number>
Set max ammo for Pulse Rifle energy orbs
sk_max_buckshot <number>
Set max ammo for shotgun
sk_max_crossbow <number>
Set max ammo for crossbow
sk_max_grenade <number>
Set max ammo for hand grenades
sk_max_pistol <number>
Set max ammo for pistol
sk_max_rpg_round <number>
Set max ammo for RPG
sk_max_smg1 <number>
Set max ammo for submachine gun
sk_max_smg1_grenade <number>
Set max ammo for SMG grenades
sk_plr_dmg_pistol <number>
Set damage value for pistol
sk_plr_dmg_357 <number>
Set damage value for .357 Magnum
sk_plr_dmg_ar2 <number>
Set damage value for Pulse Rifle
sk_plr_dmg_buckshot <number>
Set damage value for shotgun
sk_plr_dmg_crossbow <number>
Set damage value for crossbow
sk_plr_dmg_crowbar <number>
Set damage value for crowbar
sk_plr_dmg_grenade <number>
Set damage value for grenades
sk_plr_dmg_rpg_round <number>
Set damage value for RPG rockets
sk_plr_dmg_smg1 <number>
Set damage value for submachine gun
sk_plr_dmg_smg1_grenade <number>
Set damage value for SMG grenades
Developer mode After you have enabled the cheat mode, enter
sv_cheats 1
when your
at the console window. The codes below can now be enabled at
the console window.
Code
Effect
setpos <coordinates>
Move player to indicated location
Setang <value>
Set view to indicated pitch yaw
mat_wireframe1
Wire frame models
vcollide_wireframe 1
Only wireframe objects effected by physics
showtriggers_toggle
Show game triggers
mat_normalmaps 1
Show normal maps
mat_normals 1
Show surface materials
mat_fastnobump <0 or 1>
Toggle bump mapping
impulse 200
No weapon model onscreen
Debug mode After you have enabled cheat mode, press
[Shift] +
[F1] to
display a menu. Now you can access codes like
god,
noclip,
notarget, and
several others. You
can exit by pressing [Shift] +
[F1].
Map names Use one of the entries below with the
map
code.
Weapon names Use one of the entries below with the
give
code.
weapon_357 (.357 Magnum)
weapon_alyxgun (may not work at certain times, and may
cause undesired effects)
weapon_ar2 (pulse gun)
weapon_bugbait (Pheropod)
weapon_cguard (may not work at certain times, and may
cause undesired effects)
weapon_crowbar (crowbar)
weapon_crossbow (crossbow)
weapon_frag (grenade)
weapon_physcannon (Gravity gun; may not work at certain
times, and may cause undesired effects)
weapon_pistol (9mm pistol)
weapon_rpg (RPG)
weapon_shotgun (shotgun)
weapon_smg1 (submachine gun)
weapon_cubemap (may not work at certain times, and may
cause undesired effects)
weapon_annabelle (Father Annabelle Grigori's shotgun,
uses 357 magnum ammo)
Weapon names (beta version) Use one of the entries below with the
give
code.
Additional command-line parameters Start a game using one of the command line
parameters below to activate the desired effect.
Command line
parameter
Effect
-fullscreen
Full screen mode
-heapsize 80000
Set heap size
-width 1024 -height 768
Set window size
-netgraph <0-3>
Graph connection throughput in multi-player;
0 is off, 3 is most detailed
-dxlevel <number>0
Force DirectX <version> compatibility; less
than 8 not advised
-shaderdll <filename>
Use indicated filename for shader library
-mouselook
Look around by using mouse
-condebug
Add debug messages to ingame console
-sw
Software mode for rendering
-startwindowed
Run in window
-window
Run in window
-windowed
Run in window
-r_anamorphic <0 or 1>
Toggle anamorphic widescreen mode
-preload
Load all level data at start of level
-mat_preloadshaders
Unknown
Please
submit any information
about the unknown code above.
Every
chapter Note:
This cheat involves editing a game file so make a backup copy of
the file before going on. Now use a text editor to edit the
"config.cfg" file in the "\hl2\cfg" directory. Find the
"sv_unlockedchapters" line and change its value to "15".
Get super gravity gun in any level First enable the
map d3_citadel_03.bsp code.
When
you get the super gravity gun, enable the
changelevel
<map name> code to go to the level you want. Then, enable the
give weapon_physcannon code.
sk_max_357 <number>
Set max ammo for .357 Magnum
sk_max_ar2 <number>
Set max ammo for Pulse Rifle
sk_max_ar2_altfire <number>
Set max ammo for Pulse Rifle energy orbs
sk_max_buckshot <number>
Set max ammo for shotgun
sk_max_crossbow <number>
Set max ammo for crossbow
sk_max_grenade <number>
Set max ammo for hand grenades
sk_max_pistol <number>
Set max ammo for pistol
sk_max_rpg_round <number>
Set max ammo for RPG
sk_max_smg1 <number>
Set max ammo for submachine gun
sk_max_smg1_grenade <number>
Set max ammo for SMG grenades
sk_plr_dmg_pistol <number>
Set damage value for pistol
sk_plr_dmg_357 <number>
Set damage value for .357 Magnum
sk_plr_dmg_ar2 <number>
Set damage value for Pulse Rifle
sk_plr_dmg_buckshot <number>
Set damage value for shotgun
sk_plr_dmg_crossbow <number>
Set damage value for crossbow
sk_plr_dmg_crowbar <number>
Set damage value for crowbar
sk_plr_dmg_grenade <number>
Set damage value for grenades
sk_plr_dmg_rpg_round <number>
Set damage value for RPG rockets
sk_plr_dmg_smg1 <number>
Set damage value for submachine gun
sk_plr_dmg_smg1_grenade <number>
Set damage value for SMG grenades
Hints & Tips
G-Man sightings G-Man keeps a watch over your movements
during your adventure in and
around City 17. His locations are listed below.
1. Chapter 1: At the beginning.
2. Chapter 2: On a monitor screen in
Dr. Kleiner's lab after Barney finishes at the terminal.
3. Chapter 3: On the TV that the
Vortigaunt is watching inside the red train carriage.
4. Chapter 4: Standing on the pier in
front of Station 7 at the beginning of the chapter.
5. Chapter 4: Flickering on a giant
monitor attached to the high-rise building. It is quick,
but if you look carefully you can see the skeletal form of
G-Man on the screen.
6. Chapter 6: On a gantry near
the second covered bridge.
7. Chapter 6: In the final part of the
chapter you will come across a pier beside a dam. Get onto
the pier by driving up the ramp in your speedboat and turn
left by the red warehouse. You can see G-Man staring at you at
the bottom of the pier.
8. Walking into a train tunnel beyond
the railcar blocking the railroad. See the "Hidden G-Man" hint
for a detailed description.
9. Chapter 9: Looking through a
window by a pair of double doors on a monitor screen at the
beginning.
10. Chapter 11: On a TV at the ruined
foyer at the tenement block after you and Dog get separated.
11. Chapter 14: At the end.
12: Chapter 7: Highway 17. After you
cross the beach with the boat ramp, go into the house where
the two Combine soldiers are at. Then use the binoculars to
see new little Odessa. The G-man will be talking to an allied
soldier in the loft of a farmhouse.
Note: He is
hard to see, but you can see his briefcase.
Hidden G-Man After you get out of
Ravenholm, you will pass through a tunnel-type area with several Headcrabs, past the mine cart with the spinning deathtrap,
and see a light at the end of the tunnel. You will exit
into a train station. Usually you would go down
until a few crashed trains block you from going on, forcing
you to go left into a fenced area full of combine. Now enable the
noclip code and walk through the crashed trains. You
will come out in an open area with tracks. In the center of the
tracks is G-Man with his briefcase. You cannot talk
to him or do anything else in this area.
Beating Barnicals In order to kill the Barnicals,
let them pull you up, than hit them with a crowbar from a safe
distance.
Beating Striders If you find it hard to hit the
Striders with the RPG from a distance, fire a rocket and press
[Zoom].
You will automatically zoom in like normal, but will have
control of the rocket. This will help in the levels further on
when you do not want to get close to the Striders, or other
enemies like the Combines.
Defend yourself by using the
Zero-Point Energy gun Take something like a barrel,
chair, or another object with the Zero-Point Energy gun. The
enemies cannot hurt you when they are shooting you. For even
better results, crouch when you are defending yourself.
Easy kills To kill an enemy faster and
easier, take the shotgun and hit an enemy like headcrap,
zombies, and City 17 guards. Now aim and hit it in the head to kill
it.
You can also use Dog's ball to kill or
distract and attract enemies to the ball for easier kills. When
you get the anti-gravity gun while you play fetch with
"Dog", be sure to keep the ball. The ball is really a
"rollermine". You can keep the ball up until you go to
Dr. Kliener's fortified graveyard. The rollermine will follow
you everywhere and is harmless to you, but it really
kills both types of Head Crabs. Other enemies like zombies
will ignore you and swing violently at the ball, giving you
time to kill them, even with the crowbar. This will
save you ammunition in the zombie levels. You
need to be careful not to explode the ball, or it will disappear. If
this happens, re-load from where you had it last. The ball
will follow you up stairs usually, but you need to carry it with the
gravity gun up ladders.
Faster reloads In order to reload faster with the
shotgun, .357 magnum, or other weapons with a slow reload
time, tap Q twice
swiftly. You should then have a full clip.
Note: You
have to fire with your other weapon. You can then fire and
reload at the same time.
Hang up combine or zombies This cheat will let you to
"hang up" combine or zombies. You will need the crossbow and
plenty of ammunition. Now enable the
notarget code to be
undetected and locate a combine or zombie. Position them against a
wall. Then by shooting the designated spot
they will stick to the wall, if your close enough. Also, if you shoot
a weird part, like the bone in the leg, they will might
spasm.
Sand Trap: Avoid losing health When you start the Sands Trap
map, you will find a few rocks. Someone will tell you not to
step on the sand because a creature will attack. You need to
jump on the rocks. When the rock ends and only sand is left, use
your gravity gun. Now use it to place a door or wooden piece in
the sand and stand on it. Then, place another object in front
that one. Jump on it, remove the first object, and place it in
front. Keep doing this until you reach rock again and the
creature will not show.
Crazy lab The "all-knowing-Vortiguant"
can be found in another area. Now enable the
map d1_eli_01
code. After the map is loaded, find your way inside the airlock.
After the scanning sequence is done, you should see the right
doors opening. In front of you will be a fence, and
past it a blue pick-up. Ignore Dr. Mossman, who is talking to
you, now enable the
noclip code. Go through the truck and
you will see a man in a blue shirt with no eyes. Just ignore him and
go down the ramp down. On the left side of the space will
be a Vortigaunt. Now turn off the
noclip code and talk to him
as possible to see that he is crazy.
Hidden area When Alyx goes into the room
left of the elevator, follow her in or open the door. In
there you can hear Alyx say a few things or watch the chefs
prepare lunch in the kitchen.
Mini teleporter At the beginning of the "Red
Letter Day" chapter, when you go into Dr. Kleiner's lab, to the
left of the entrance is a mini teleporter with a cactus on it.
If you press the
E when in front of it, you can
teleport an object to the other teleporter, or receive an object
from the other teleporter. Try using different objects from
the lab.
Cycle previous weapon Press
Q while playing
to cycle back to the weapon that you had out before.
Bonus sequence After the credits, wait to see
the headcrab, Lamar, being chased by the scientist. Then, he
will pounce on your head.
After you have finished the game, watch
the credits.
Note:
You can not skip them. When you get to the end of the credits,
you will see Lamar jump onscreen. You will now hear Dr. Kliener
say, "Lamar? Blast that little… Where did she get to?" This is
the same thing that he says when you first see him searching for
her. Lamar will then lash out at you and supposedly "couple with
your head".
Being disruptive When you go into Dr. Kliener's
lab, there is a lot of items that you can pick up
and toss around: books, boxes, computer monitors, a mini cactus,
and Dr. Kliener's clip board with the information for your
Hazard Suit on it. If you toss things around the lab too long
Dr. Kliener, Barney or Alyx will say something to you:
Dr. Kliener: "Oh, do be careful.";
"Careful."; and "Oh dear."
Barney: "Whoa, careful." and "You're
pushing it, Gordon."
Alyx: "Careful." and "Take it easy,
Gordon. "
Note: It
will takeseveral attempts to make Alyx, Barney or Dr. Kliener
say something so be patient.
Armed NPCs Use this trick to
create an NPC with a weapon. You can use entries from the NPC
list and weapon list. Here is an example: type
npc_create_equipment weapon_shotgun will create a shotgun.
Now type
npc_create npc_combine_s for a Combine Solder
that will have a shotgun. Then type
npc_create_equipment
weapon_smg1 then
npc_create_barney
in order to have Barney
with a SMG. You will have to type
npc_create_equipment
weapon_<weapon name> each time you
want to
create an armed NPC.
Private torture When your on the first level
when the combine guard tells you to follow him do it. While you
are walking down the corridor, look through the gap in the first
door you come to. You will see a man sitting in a chair, that
has blood splattered on the floor underneath it that says,
"There has to be some sort of mistake. I got a standard
relocation coupon juts like everybody else." A combine guard who
is in there will walk up to the door and close the
shutter.
Strange squad comments When you are in City 17 on
your second visit, attempt to talk to a few of your squad members.
They will say something like, "I can't believe this day has
come", or "If I ever get my hands on Dr. Breen...".
But at they will say strange and funny
things like, "When this is all over, I'm gonna mate.", "Have I
ever told you that I sometimes dream of cheese?", and other
things. A few
of your squad members reply to what they have said. If you talk
to a squad member that is standing close to another squad
member, they will interact with each other. For example, If one
of them says, "If I ever get my hands on Dr. Breen....", the
other will reply, "That's more information that I require."
Here is a list of all the things they say and the
replies: Note that the replies are not always the same.
I don't feel anything anymore.
You talking to me?
I can't remember the last time I had a shower.
Don't be so sure of that.
I don't think this war's ever going to end.
You're talking to yourself again.
To think, I all I wanted to do was to sell insurance.
I'm with you.
I'm not a betting man, but the odds are not good.
Can we talk about this later?
Someday, this'll all be a bad memory.
I'm not even gonna tell you to shut up.
When this is all over, I'm gonna mate.
Wouldn't be the first time.
Whoa…. Déjà vu!
Doesn't bear thinking about it.
They're never going to make a Stalker out of me.
There's always a first time. Or, Ill put it on your Tomb
Stone.
God I'm hungry.
Lets concentrate on the task at hand.
If I ever get my hands on Dr. Breen….
That's more information than I require.
I think I ate something bad.
Yeah, you and me both.
Sometimes, I dream about cheese.
You should nip that kind of talk in the bud.
Finally, change is in the air!
Keep your mind on your work.
You feel it? I feel it!
I wish I had a dime every time somebody said that.
I can't remember I the last time I had, well, anything.
I won't hold it against you.
When this is all over, I'm…. aw, who am I kidding?
Try not to let it bother you.
I'm pretty sure this isn't part of the plan.
Same here.
Doesn't anyone care what I think?
Hey, that's enough out of you.
I just knew it was gonna be one of those days.
I wouldn't say that too loud.
Looks to me like things are getting worse, not better.
What am I supposed to do about it?
This is bullshit!
Try not to dwell on it.
I don't dream anymore.
That's you all over.
I'm glad there are no kids around to see this.
I'm not even gonna tell you to shut up.
If I could live my life over again.
Figures.
I'm not even gonna tell you what that reminds me of.
Your mind is in the gutter.
I can't get this tune out of my head….Woo, woo woo, woo woo
woo-woo woo.
Wanna bet?
I can't believe this day has finally come!
No argument there.
I could eat a horse, hooves and all!
Have you ever had an original thought?
You smell that? It's freedom.
Why are you telling me?