Difference between revisions of "Impulse"

From Valve Developer Community
Jump to: navigation, search
m (Section & syntax)
m (Explanation on discussion page.)
Line 15: Line 15:
  
 
===Spawn Commands===
 
===Spawn Commands===
;impulse 82:Cheat. Spawns an armed [[prop_vehicle_jeep|buggy]] (and possibly something more, as the messages also talk about the crow, pigeon and seagull model).
+
;impulse 82:Cheat. Spawns an armed [[prop_vehicle_jeep|buggy]].
 
;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 102:Cheat. Spawns a human skull. (The ''models\Gibs\AGIBS.mdl'' gib.)
 
;impulse 102:Cheat. Spawns a human skull. (The ''models\Gibs\AGIBS.mdl'' gib.)

Revision as of 02:05, 28 May 2006

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

Here is a list. All impulses marked as a cheat will require sv_cheats to be enabled.

Syntax

Note:Command parameters are described inside the < and > characters.

Syntax: impulse <number>

Impulse List

General

These commands are used in-game by default.

impulse 100
Toggles the flashlight on/off for the player.
Default key: F

Half-Life 2

impulse 50
Makes player command (call/send) a squad.
Default key: C
impulse 51
Spawns item_dynamic_resupply.
impulse 52
Rangefinder. Prints Starting position, ending position, 3D distance and 2D distance.

Spawn Commands

impulse 82
Cheat. Spawns an armed buggy.
impulse 101
Commonly used cheat. Gives the player all weapons, extra ammo, extra health and extra energy.
impulse 102
Cheat. Spawns a human skull. (The models\Gibs\AGIBS.mdl gib.)

Other Commands

impulse 81
Cheat. Gives the player weapon_cubemap which is useful for checking cubemaps.
impulse 103
Cheat. Reports status (AI, health, etc.) of the NPC under the crosshairs.
impulse 106
Cheat. Displays the classname, targetname and modelname of the entity under the crosshairs.
impulse 107
Cheat. Prints what texture the crosshairs are pointing at.
impulse 108
Cheat. Debugs the NPC under the crosshairs.
impulse 200
Cheat. Toggles between lowering/raising the weapon completely, clearing it from the screen, useful for taking screenshots.
impulse 203
Cheat. Remove the entity under the crosshairs.

Multiplayer games

impulse 201
Paints decal in multiplayer.
Default key: T

Half-Life: Source

impulse 71
Cheat. Spawns a npc_human_grunt.

Nonfunctional

impulse 195
Cheat. Would show the shortest path in the level to the nearest node_viewer_fly node.
impulse 196
Cheat. Would show the shortest path in the level to the nearest node_viewer_large node.
impulse 197
Cheat. Would show the shortest path in the level to the nearest node_viewer_human node.
impulse 202
Would play 'player jingle'.
impulse 202
Cheat. Would splatter blood decal.