Half-Life PC Cheat Codes

Adjust gravity, enable God Mode, and more

POV character shooting aliens in Half-Life


Half-Life is a first-person shooter game developed and published by Valve. It came out in 1998 and tells the story of Gordon Freeman, a scientist at the Black Mesa Research Facility, who must survive an alien invasion when an experiment goes horribly wrong. If you want some help tackling the aliens of Xen, we have some cheat codes that could help.

This guide is specifically for the PC version of Half-Life.

How to Use Half-Life PC Cheat Codes

To enable the cheat console in Half-Life, you need to open the game via the command prompt or a special desktop shortcut you create. Here's how to do that:

  1. Locate the Half-Life shortcut on your desktop.

  2. Right-click it and select Properties. You will see the file's location in the target field. It might look similar to this:

     C:\Program Files\Sierra\Half-Life\hl.exe
  3. Add -console after the file. It should now look like this:

    C:\Program Files\Sierra\Half-Life\hl.exe" -console
  4. If you own a Game of the Year version of Half-Life, you'll need to enter one extra command parameter called -dev. So, your shortcut or path will look like this:

    C:\Program Files\Sierra\Half-Life\hl.exe" -dev -console
  5. Press OK to save the changes and close the window.

How to Enable the Console Via Command Prompt:

As mentioned, there's an alternate way to enable the Half-Life cheat console using the Command Prompt program. Here's how:

  1. Go to Start > All Programs > Accessories > Command Prompt.

  2. Type in C:\Program Files\Sierra\Half-Life\hl.exe -console.

  3. Press Enter.

Some versions of Half-Life enable the console by default.

How to Enable PC Cheats in Half-Life

Once you enable the console, you'll need to do the following to start using cheats in Half-Life:

  1. Start Half-Life with the console enabled.

  2. Open the console by pressing the tilde key "~".

  3. Enter sv_cheats 1 into the console and press Enter.

If this is the first time you are enabling cheats, they won't activate until you load a game, start a new game, or move to another level.

Half-Life PC Cheat Codes

Cheat Code Effect
/sv_gravity <-999 - 999999> Adjusts gravity by the desired amount.
/impulse 195; /impulse 196; /impulse 197; /impulse 199 Gives AI Node information.
/impulse 101 All weapons and ammo.
/-reload Disables auto-reload.
/+reload Enables auto-reload.
/impulse 109 Control on-screen monsters.
/impulse 203 Delete monsters/NPCs.
/developer 0 Turns off Developer Mode.
/developer 1 Turns on Developer Mode.
/god Enables God Mode.
/impulse 101 HEV suit, weapons, and ammo.
/impulse 104 Lists global entities.
/map <map name> Map selection.
/impulse 106 Model/sprite stats while looking at target.
/impulse 103 Monster stats while looking at monster.
/noclip Enables No Clipping Mode.
/give <item name> Obtain the specified item.
/notarget Opponents ignore the player.
/firstperson Returns you to first-person view.
/lambert -1.0001 See things brightly without the flashlight.
/rate <0-3500> Set reload speed (0 is fastest, 3500 is default).
/impulse 105 Silent player.
 /impulse 202 Spawns blood.
/impulse 76 Spawns a human grunt.
/impulse 102 Spawns gibs and blood.
/speak <word.word2.word3> Speak the specified sentence.
/speak <word> Speak the specified word.
/r_fullbright 9 Enables strange colors and wireframes.
/kill Commit suicide.
/impulse 107 Texture name while looking at object.
/thirdperson Enables third-person view.
/host_framerate <0,1> Toggles game speed.
/r_fullbright <0,1> Toggles the light amplifier.
/developer 2 Enables Verbose Developer Mode.

Half-Life PC Items List

The following is a list of items you can spawn using the /give <item name> cheat:

  • item_airtank
  • item_antidote
  • item_battery
  • item_healthkit
  • item_longjump
  • item_security
  • item_sodacan
  • item_suit
  • ammo_357
  • ammo_9mmAR
  • ammo_9mmbox
  • ammo_9mmclip
  • ammo_ARgrenades
  • ammo_buckshot
  • ammo_crossbow
  • ammo_egonclip
  • ammo_gaussclip
  • ammo_glockclip
  • ammo_mp5clip
  • ammo_mp5grenades
  • ammo_rpgclip
  • weapon_357
  • weapon_9mmAR
  • weapon_9mmhandgun
  • weapon_crossbow
  • weapon_crowbar
  • weapon_egon
  • weapon_gauss
  • weapon_glock
  • weapon_handgrenade
  • weapon_hornetgun
  • weapon_mp5
  • weapon_python
  • weapon_rpg
  • weapon_satchel
  • weapon_shotgun
  • weapon_snark
  • weapon_tripmine
  • weapon_quantumdestabilizer