Impulse: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:


Here is a list. All impulses marked as a cheat will require [[sv_cheats]] to be enabled.
Here is a list. All impulses marked as a cheat will require [[sv_cheats]] to be enabled.
===General===
===General===
These commands are used in-game by default.
These commands are used in-game by default.
;impulse 100:Toggles the flashlight on/off for the player.<br/>Default key: <code>F</code>
;impulse 100:Toggles the flashlight on/off for the player.<br/>Default key: <code>F</code>
===[[Half-Life 2]]===
===[[Half-Life 2]]===
;impulse 50:Makes player command (call/send) a squad.<br/>Default key: <code>C</code>
;impulse 50:Makes player command (call/send) a squad.<br/>Default key: <code>C</code>
;impulse 51:Spawns [[item_dynamic_resupply]]
;impulse 51:Spawns [[item_dynamic_resupply]].
;impulse 52:Rangefinder
;impulse 52:Rangefinder. Prints Starting position, ending position, 3D distance and 2D distance.
 
===Spawn Commands===
===Spawn Commands===
;impulse 82:Cheat. Spawns the buggy (and possibly something more, as the messages also talk about skulls and seagulls).
;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 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.)
===Other Commands===
===Other Commands===
;impulse 81:Cheat. Gives the player [[weapon_cubemap]] which is useful for checking cubemaps.
;impulse 81:Cheat. Gives the player [[weapon_cubemap]] which is useful for checking cubemaps.
Line 19: Line 23:
;impulse 107:Cheat. Prints what texture the crosshairs are pointing at.
;impulse 107:Cheat. Prints what texture the crosshairs are pointing at.
;impulse 108:Cheat. Debugs the NPC under the crosshairs.
;impulse 108:Cheat. Debugs the NPC under the crosshairs.
;impulse 200:Cheat. Toggles between lowering/raising the weapon, clearing it from the HUD, useful for taking screenshots.
;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.
;impulse 203:Cheat. Remove the entity under the crosshairs.
===Multiplayer games===
===Multiplayer games===
;impulse 201:Paints decal in multiplayer.<br />Default key: <code>T</code>
;impulse 201:Paints decal in multiplayer.<br />Default key: <code>T</code>
===[[Half-Life: Source]]===
===[[Half-Life: Source]]===
;impulse 71:Cheat. Spawns a [[npc_human_grunt]]
;impulse 71:Cheat. Spawns a [[npc_human_grunt]].
 
===Nonfunctional===
===Nonfunctional===
;impulse 195:Cheat. Would show the shortest path in the level to the nearest node_viewer_fly node.
;impulse 195:Cheat. Would show the shortest path in the level to the nearest node_viewer_fly node.

Revision as of 03:55, 9 March 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.

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 (and possibly something more, as the messages also talk about the crow, pigeon and seagull model).
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.