impulse
Jump to navigation
Jump to search



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 precached 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 bodygroup) 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 crosshair. ![]() |
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 ![]() 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 ![]() |