Half-Life Cheats: Console Commands for PC

Published by

Enable cheats

CheatCommandEffect
Enable cheatsPCsv_cheats 1Turns on the cheat commands; reload a save or change map afterwards

God mode and health

CheatCommandEffect
God modePCgodToggles god mode on and off
God mode offPCgod 0Turns god mode off
Health kitPCgive item_healthkitGives a health kit
HEV batteryPCgive item_batteryGives a suit battery

Weapons and ammo

CheatCommandEffect
All weaponsPCimpulse 101Gives all weapons and ammo
CrowbarPCgive weapon_crowbarGives the crowbar
ShotgunPCgive weapon_shotgunGives the shotgun
Gauss gunPCgive weapon_gaussGives the gauss gun
Gluon gunPCgive weapon_egonGives the gluon gun (egon)
Rocket launcherPCgive weapon_rpgGives the RPG
CrossbowPCgive weapon_crossbowGives the crossbow

Items and suit

CheatCommandEffect
HEV suitPCgive item_suitGives the HEV suit
Long jump modulePCgive item_longjumpGives the long jump module

Movement and camera

CheatCommandEffect
NoclipPCnoclipWalk through walls and fly
NotargetPCnotargetEnemies ignore you
Third-person viewPCthirdpersonSwitches to a third-person view
First-person viewPCfirstpersonSwitches back to first-person view

Levels and debug

CheatCommandEffect
Load a mapPCmap c1a1Loads a map by its code; c1a1 is an early Black Mesa map, and the chapter codes run from c0a0 to c5a1
Remove targetPCimpulse 203Deletes the monster or NPC you are aiming at
Developer modePCdeveloper 1Turns developer mode on

A code here did not work? Tell us and it gets rechecked. Report a code

How to enter cheats in Half-Life

PC

  1. Add -console (or -dev) to the launch options, or start hl.exe with it.
  2. Press ~ to open the console, type sv_cheats 1 and press Enter.
  3. Reload a save or load a map so cheats take effect.
  4. Type a command, such as impulse 101, and press Enter.

How to enable developer mode in Half-Life

  1. In your Steam library, open Half-Life's Properties.
  2. In Launch Options, add -dev.
  3. Start a new game or load a save, then press ~ to open the console.
  4. Type sv_cheats 1, reload the save and enter your commands.

Steam Community: Half-Life cheats not working thread

Compatibility notes

Which releases these codes apply to, and where one behaves differently. Each note links to the source that documents it.

FAQ

How do you turn on cheats in Half-Life?

Launch with -console or -dev, press ~, type sv_cheats 1, then reload a save or load a map.

What is the god mode command in Half-Life?

Type god in the console after turning on sv_cheats. Type god 0 to turn it off.

How do you get all weapons in Half-Life?

Type impulse 101 in the console. It gives all weapons and ammo.

Why do Half-Life cheats not work?

They usually need a reload after sv_cheats 1. Quicksave, quickload and type the command again, without a slash.

Part of

References: GameRevolution: Half-Life PC cheats; Sierra Help: Half-Life cheats; Steam Community: Half-Life cheats not working thread; Steam Community: Half-Life god mode thread.