Cheating provides the mapper with some useful tools to test and debug levels. To enable cheats, you must run the Half-Life executable with the -dev parameter.
If you're at all confused about how to use the parameters or enable the Half-Life console, refer to the following link:
VERC: Accessing the Half-Life ConsoleOnce in Half-Life, you will be in developers mode. There are 3 settings for Developers mode:
- 0 - off
- 1 - on (normal, default)
- 2 - on (verbose)
You can change developer mode value by typing
developer n
in the console, where
n
is 0 - 2. When in
mode 2 , a message will be displayed for each even that gets activated - this is quite handy when you are setting up complex sequences of events.
The following cheats can be used (by typing them at the console):
- god - invulnerability
- notarget - monsters do not attack you
- noclip - allows you to move in all directions, even through walls
As well, the following impulse commands are available to you. Type impulse n at the console, where n is equal to one of the following impulse values:
101
- gives you the HEV suit, weapons, and ammo102
- spawns gibs and blood103
- (while looking at monster) gives you stats of monster104
- list global entities105
- makes player silent106
- (while looking at model/sprite) gives model/sprite info107
- (while looking at a textured object) gives texture name195
, 196
, 197
, 199
- ai node information203
- deletes a monster or NPC from the world