Impulse: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(description of the impulse 200 command)
(researched from player.cpp:4911)
Line 1: Line 1:
{{stub}}
A [[console command]] which can do lots of different stuff depending on its numeric parameter.
A [[console command]] which can do lots of different stuff depending on its numeric parameter.


Line 8: Line 6:
:Default key: c
:Default key: c


;impulse 81:Replaces the current weapon with a set of spheres (''models/shadertest/envballs.mdl''), each with different reflective surfaces. Useful for checking cubemaps.
;impulse 71:Cheat. Spawns [[npc_human_grunt]].
 
;impulse 81:Cheat. Replaces the current weapon with a set of spheres (''models/shadertest/envballs.mdl''), each with different reflective surfaces. Useful for checking cubemaps.


;impulse 82:Cheat. Spawns the buggy (and possibly something more, as the messages also talk about skulls and seagulls).
;impulse 82:Cheat. Spawns the buggy (and possibly something more, as the messages also talk about skulls and seagulls).
Line 17: Line 17:
;impulse 101:Commonly used cheat. Gives the player all weapons, extra ammo, extra health and extra energy.
;impulse 101:Commonly used cheat. Gives the player all weapons, extra ammo, extra health and extra energy.


;impulse 200:Removes the weapon from the hud, useful for taking screenshots.
;impulse 102:Cheat. Spawns random human gibs.
 
;impulse 103:Cheat. Reports status of the AI under the crosshairs.
 
;impulse 106:Cheat. Prints the classname and targetname of the item under the crosshairs.
 
;impulse 107:Cheat. Prints what texture the crosshairs are pointing at.
 
;impulse 108:Cheat. Debugs the NPC under the crosshairs.
 
;impulse 195:Cheat. Shows the shortest path in the level to the nearest air node.
 
;impulse 196:Cheat. Shows the shortest path in the level to the nearest large node.
 
;impulse 197:Cheat. Shows the shortest path in the level to the nearest human node.
 
;impulse 200:Removes the weapon from the HUD, useful for taking screenshots.
 
;impulse 201:Paints decal.
:Default key: t


;impulse 202:Plays 'player jingle'.


This link leads to a longer list that could need some confirmation. (''Do not copy without permission.'' Just see if they work and write the results here.)
;impulse 202:Cheat. Spatters blood decal.


http://www.editlife.net/tutorial.php?id=40
;impulse 102:Cheat. Remove the entity under the crosshairs.

Revision as of 14:50, 8 March 2006

A console command which can do lots of different stuff depending on its numeric parameter.

Here is a list. All those marked as a cheat will require the sv_cheats ConVar being set to 1.

impulse 50
Makes player command (call/send) a squad.
Default key: c
impulse 71
Cheat. Spawns npc_human_grunt.
impulse 81
Cheat. Replaces the current weapon with a set of spheres (models/shadertest/envballs.mdl), each with different reflective surfaces. Useful for checking cubemaps.
impulse 82
Cheat. Spawns the buggy (and possibly something more, as the messages also talk about skulls and seagulls).
impulse 100
Toggles the flashlight on/off for the player.
Default key: f
impulse 101
Commonly used cheat. Gives the player all weapons, extra ammo, extra health and extra energy.
impulse 102
Cheat. Spawns random human gibs.
impulse 103
Cheat. Reports status of the AI under the crosshairs.
impulse 106
Cheat. Prints the classname and targetname of the item under the crosshairs.
impulse 107
Cheat. Prints what texture the crosshairs are pointing at.
impulse 108
Cheat. Debugs the NPC under the crosshairs.
impulse 195
Cheat. Shows the shortest path in the level to the nearest air node.
impulse 196
Cheat. Shows the shortest path in the level to the nearest large node.
impulse 197
Cheat. Shows the shortest path in the level to the nearest human node.
impulse 200
Removes the weapon from the HUD, useful for taking screenshots.
impulse 201
Paints decal.
Default key: t
impulse 202
Plays 'player jingle'.
impulse 202
Cheat. Spatters blood decal.
impulse 102
Cheat. Remove the entity under the crosshairs.