Impulse (command line)
From Wikipedia, the free encyclopedia
Impulse is an in-game console command that is present in the first-generation Quake engine and games based on it (such as Half-Life). Impulse, followed by an integer from 0 to 255, enables special modes or changes the current weapon.
In Quake it does the following:
- 1-8: Select weapon 1-8
- 9: Give the player all weapons and keys (Cheat)
- 10: Selects next weapon
- 11: Gives the player a Rune (Cheat)
- 12: Selects previous weapon
- 255: Gives the player Quad Damage (Cheat)
Mod programmers can add extra impulse commands.
id Tech 2 and later removed the impulse variable in favor of the more streamlined "give" command, although configuration files may internally use impulse, such as key binding in Doom 3. Half-Life 2 continues to use impulse commands along with give commands.