Impulse (GoldSrc): Difference between revisions
Jump to navigation
Jump to search

Mycatismycat (talk | contribs) m (add more details on 76) |
Le Glaconus (talk | contribs) (It works, tested on the version on Steam) |
||
Line 55: | Line 55: | ||
|- | |- | ||
!195, 196, 197 | !195, 196, 197 | ||
| | | | ||
| | | Shows the shortest path to the nearest air, large, and human nodes respectively. | ||
|- | |- | ||
!199 | !199 | ||
Line 64: | Line 64: | ||
!201 | !201 | ||
| Not a cheat | | Not a cheat | ||
| Creates a player [[CSprayCan (GoldSrc)|spray]] on the brush under the crosshair. Use '''Options, Multiplayer''' to set a spray. Default key is | | Creates a player [[CSprayCan (GoldSrc)|spray]] on the brush under the crosshair. Use '''Options, Multiplayer''' to set a spray. Default key is {{key|T}}. | ||
|- | |- | ||
!202 | !202 |
Revision as of 07:10, 22 June 2025


impulse
is a console command available in all GoldSrc games.
It is a generic client-side console command that is used to send commands to the server without modifying the usercmd.
The advantage is that new commands can be added without compatibility-breaking networking changes; the disadvantage is that only one impulse can be sent at a time, and that the commands themselves are non-descriptive.
Syntax:
impulse NUMBER
Impulse commands are generally used for development functions and/or cheats, and almost all require sv_cheats. See CBasePlayer::ImpulseCommands()
, CBasePlayer::CheatImpulseCommands()
Impulses
General
# | Notes | Description |
---|---|---|
76 | Firsts sets monster_human_grunt to be cached upon next map load, and after cached, spawns a monster_human_grunt under the crosshair. | |
100 | Not a cheat | Toggle the player flashlight. Requires item_suit. Bound to F by default. |
101 | ![]() | |
102 | Spawns 1 random human gib (model "models/hgibs.mdl" with randomly set body) at player's location. [1] | |
103 | Prints AI state of the CBaseMonster entity the player is looking at to the console. Requires developer 1. | |
104 | Dumps global states to console (in ![]() | |
105 | Toggles between player being silent/audible. Npcs won't hear silent player. | |
106 | Prints the classname, targetname, model and also globalname if non-empty of the entity under the crosshairs to the console. | |
107 | Prints the material that player is looking at to console. | |
195, 196, 197 | Shows the shortest path to the nearest air, large, and human nodes respectively. | |
199 | show nearest node and all connections | |
201 | Not a cheat | Creates a player spray on the brush under the crosshair. Use Options, Multiplayer to set a spray. Default key is T. |
202 | Spray blood over the brush under the crosshair. | |
203 | Removes the entity under the crosshairs only if it can take damage. (seems to be usable only on npcs) |
Half-Life
# | Notes | Description |
---|---|---|
99 | Not a cheat | If this command was submitted to the console at least three times, this will show the Valve, Sierra Studios and Half-Life logo rotating on the upper right-hand corner of the screen. Works on WON, Steam versions. This command does not work with 1280x720/1280x960 or higher resolutions after 25th Anniversary Update, because the game would fail to find the "sprites/1280_logo.spr" file. This command was used during E3 1998, as seen on the small television screens showcasing gameplay videos of Half-Life. |