Cheat mode Load a game using the
hl.exe -dev -console -game gearbox
command line. Then press ~
while playing and type in one of the console commands below to
activate the desired cheat.
Code
Effect
impulse
101
All
weapons and ammunition
/god
God mode
/noclip
No
clipping and flight modes
/map <map
name>
Level
select
/give
<item name>
Spawn
indicated item
/give
weapon_<weapon name>
Spawn
indicated weapon
/give
ammo_<ammo name>
Spawn
indicated ammo
+reload
Auto-reload enabled
-reload
Auto-reload disabled
sv_gravity <-999 - 999999>
Adjust
gravity
Weapon names Use one of the weapon names
below with the /give weapon_
code above.
Weapon
name
Weapon
357
.357
Magnum
9mmar
9mm
Assault Rifle
9mmhandgun
9mm
Handgun
crossbow
Crossbow
crowbar
Crowbar
eagle
Desert
Eagle
displacer
Displacer
egon
Egon Gun
gauss
Gauss Gun
grapple
Grapple
handgrenade
Hand
Granate
hornetgun
Hornet
Gun
knife
Knife
tripmine
Laser
Tripmine
m249
M249 SAW
sniperrifle
M40A
Sniper Rifle
penguin
Penguin
Bomb
pipewrench
Pipewrench
rpg
Rocket
Thrower
satchel
Satchel
Charge
shockrifle
Shock
Rifle
shotgun
Shotgun
snark
Snark
sporelauncher
Spore
Launcher
Ammo names Use one of the ammo names below
with the /give ammo_
code above.
Ammo name
Ammo type
357
.357
Magnum
9mm
9mm
Assault Rifle
9mm
9mm
Handgun
crossbow
Crossbow
egonclip
Egon Gun
gaussclip
Gauss Gun
556
M249 SAW
762
M40A
Sniper Rifle
rpgclip
Rocket
Thrower
buckshot
Shotgun
spore
Spore
Launcher
Ally names Use one of the entries below
with the /give
code above to spawn allies specific to the game. They will
appear with their own weapons.
monster_otis (Otis)
monster_human_torch_ally (Engineer)
monster_human_medic_ally (Medic)
monster_human_grunt_ally (Grunt with no weapons)
Map names Use one of the map names below
with the /map
code above.
Original levels You can play every Half-Life
level that Gordon Freeman went through as Adrion Shepard, but in
the lab no scientists will talk to you.
Hidden audio Come close to the Boss of
Opposing Force to hear backwards audio composed of the phrase
"To win the game you must kill me Randy Pitchford" when played
right.
Spawn Grunts First enable cheat mode, then
use the impulse 76
code to enable the Grunt-O-Matic. A message to start a new game
in order for it to work will be shown. If you want to continue
where you are, quicksave, then quickload your game. When you
have quickloaded, type in the code again to spawn a Grunt.
Note:
You need to have the /noclip
code on before you spawn the grunt because he will be spawned
near you. If this is not done, a message stating that the
monster spawned is stuck in a wall may appear and the game will
end. Do not spawn the Grunt in a closed position or the same
message will be shown. The Grunt you spawn will see you as a
enemy. To have more fun, use the
/notarget code and spawn several
grunts to do your hunting. The Grunts you spawn will look like
the Grunts from the original Half-Life.
Fun with spawning First enable cheat mode, then
use the entities
code to get a list of the creatures in the area you are in.
Normally, when you try to spawn a creature, you have to use the
noclip
code to levitate in the air and spawn the creature not near an
object. If a part of a spawned creature is spawned within a
wall, ceiling, or another creature, the game will crash. But if
you enable the developer 0
code, the game goes on even if a spawned creature is stuck, but
the creature has yellow dots around it. Also, bind the spawn
commands to unused keyboard keys; for example
bind X "impulse 76"
or bind y "give monster_scientist".
The impluse 76
code will work everywhere, and the hostile grunts created with
it are easy to place where you want; as they appear in front of
you, instead of above. Then enable the
noclip code
and fly around by pressing the bound keys. Now watch as Barney's
Aliens and Grunts battle it out while Scientists run around
being killed.
Get a gun at the beginning of the
level When your at the beginning of
the level where you get to the security guard, locate a chair.
It is easily moved. Now move it to the door that he will open
for you, and have him to open it. Slide the chair in between the
doors, and it will stay open. This could take a few tries. Go
out, take the crowbar, charge it up until you get to the same
security guard, and hit him until he explodes. Then, grab his
pistol with the laser sight and continue.
Hidden health When you are ready to finish
the "package" and are close to going into "Worlds Collide", use
the Trans Locator's secondary trigger. You will end up in a cave
overlooking a healing pool with two Bullsquids also wanting to
go in it. To kill them faster, shoot them with the Desert Eagle.
To resume playing, run through the cave until you find a
Teleporter Ball.
Set health or damage values of
player weapons and enemies in single player mode Just type
sk_ at the
console window and press [Tab]
to cycle through the values. The
sk_plr_ values are for the player's
weapons, while other values are for the enemies and
health/shield chargers. The 1, 2, and 3 at the end of the syntax
matches the difficulty settings easy, normal, and hard. So set
their values in view of that. Enter a number, a space after the
syntax, then type restart
to verify the changes. For example,
sk_plr_rpg1 99999
will make the rocket launcher in easy mode cause 99999 damage
with a blast radius that wipes out everything in the level.
Redo the sniper course When your in boot camp, shoot the trainer and you will start
again at the beginning of the course.
Give any gun the magnification of a
sniper rifle Save with the gun you want to
be magnified. Now switch to the sniper rifle and turn on the
scope. When the scope is on, load your previous saved game.
Vortigaunts on the Hazard Course After you get the Displacer on
Xen, use the secondary fire before you pass through the portal
to Earth. You will be warped to the Crouch-Jump section of the
Hazard Course, where one Vortigaunt will attack the holographic
instructor. On the other side of the room is a second Vortigaunt
and a shotgun. The exit is in a corner of the observation room.
Killing Gordon Freeman Go to the map named "of3a1".
This is a map where you see Freeman running into the teleporter.
Now follow him into that teleporter. After the map is loaded,
you will see yourself falling. Usually if you let yourself fall
the game will restart at map "of3a1". But if you enable the
/noclip
and go to the closest platform in front of you, Gordon Freeman
will show up. Gordon will stand there with no weapons, and wears
silver sunglasses. It takes time to kill him with bullets so try
grenades or a powerful weapon. Also you can go to this spot by
enabling the map of3a1b
code.
See Shepard Finish the game and wait until the credits are done. After
the screen turns black, enable the
brightness 9999999999999 code to
see Shepard.