This article was recovered from an archive and needs to be reviewed
- The formatting may be incorrect as it was automatically converted to WikiCode from HTML, it needs to be revised and reformatted
- Some information may be out of date as it was written before Half-Life was available on Steam
- After the article is re-formatted and updated for Steam HL, remove this notice
- Please do not remove the archive notice from the bottom of the article.
- Some archive articles are no longer useful, or they duplicate information from other tutorials and entity guides. In this case, delete the page after merging any relevant information into other pages. Contact an admin to delete a page.
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:
Once 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 ammo
- 102 - spawns gibs and blood
- 103 - (while looking at monster) gives you stats of monster
- 104 - list global entities
- 105 - makes player silent
- 106 - (while looking at model/sprite) gives model/sprite info
- 107 - (while looking at a textured object) gives texture name
- 195, 196, 197, 199 - ai node information
- 203 - deletes a monster or NPC from the world
This article was originally published on the
Valve Editing Resource Collective (VERC).
TWHL only archives articles from defunct websites. For more information on TWHL's archiving efforts, please visit the
TWHL Archiving Project page.