Console Command List/E: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Expanded options of exec command with additional examples.)
m (removed all red links)
Line 2: Line 2:
! Command !! Default !! Cheat? !! Help Text  
! Command !! Default !! Cheat? !! Help Text  
|-
|-
|valign="top"|[[echo]]||||||Echo text to console.
|valign="top"|echo||||No||Echo text to console.
|-
|-
|valign="top"|[[editdemo]]||||||Edit a recorded demo file (.dem ).
|valign="top"|editdemo||||No||Edit a recorded demo file (.dem )
|-
|-
|valign="top"|[[endmovie]]||||||Stop recording movie frames.
|valign="top"|endmovie||||No||Stop recording movie frames
|-
|-
|valign="top"|[[english]]||1||||If set to 1, running the english language set of assets.
|valign="top"|english||1||No||If set to 1, running the english language set of assets
|-
|-
|valign="top"|[[ent_absbox]]||||||Displays the total bounding box for the given entity(s) in green.  Some entites will also display entity specific overlays.
|valign="top"|ent_absbox||||No||Displays the total bounding box for the given entity(s) in green.  Some entites will also display entity specific overlays
;Arguments: {entity_name} / {class_name} / no argument picks what player is looking at  
;Arguments: {entity_name} / {class_name} / no argument picks what player is looking at  
|-
|-
|valign="top"|[[ent_bbox]]||||||Displays the movement bounding box for the given entity(ies) in orange.  Some entites will also display entity specific overlays.
|valign="top"|ent_bbox||||No||Displays the movement bounding box for the given entity(ies) in orange.  Some entites will also display entity specific overlays
;Arguments: {entity_name} / {class_name} / no argument picks what player is looking at  
;Arguments: {entity_name} / {class_name} / no argument picks what player is looking at  
|-
|-
|valign="top"|[[ent_debugkeys]]||0||||None
|valign="top"|ent_debugkeys||0||No||None
|-
|-
|valign="top"|[[ent_dump]]||||||Usage: ent_dump &lt;entity name&gt;</pre>
|valign="top"|ent_dump||||No||Usage: ent_dump &lt;entity name&gt;</pre>
|-
|-
|valign="top"|[[ent_fire]]||||||Usage: ent_fire &lt;target&gt; [action] [value] [delay]
|valign="top"|[[ent_fire]]||||No||Usage: ent_fire &lt;target&gt; action value delay
|-
|-
|valign="top"|[[ent_info]]||||||Usage: ent_info &lt;class name&gt;</pre>
|valign="top"|ent_info||||No||Usage: ent_info &lt;class name&gt;</pre>
|-
|-
|valign="top"|[[ent_messages]]||||||Toggles input/output message display for the selected entity(ies).  The name of the entity will be displayed as well as any messages that it sends or receives.
|valign="top"|ent_messages||||No||Toggles input/output message display for the selected entity(ies).  The name of the entity will be displayed as well as any messages that it sends or receives
;Arguments: {entity_name} / {class_name} / no argument picks what player is looking at  
;Arguments: {entity_name} / {class_name} / no argument picks what player is looking at  
|-
|-
|valign="top"|[[ent_messages_draw]]||0||Yes||Visualizes all entity input/output activity.
|valign="top"|ent_messages_draw||0||Yes||Visualizes all entity input/output activity
|-
|-
|valign="top"|[[ent_name]]||||||None
|valign="top"|ent_name||||No||None
|-
|-
|valign="top"|[[ent_pause]]||||||Toggles pausing of input/output message processing for entities.  When turned on processing of all message will stop.  Any messages displayed with 'ent_messages' will stop fading and be displayed indefinitely. To step through the messages one by one use 'ent_step'.
|valign="top"|ent_pause||||No||Toggles pausing of input/output message processing for entities.  When turned on processing of all message will stop.  Any messages displayed with 'ent_messages' will stop fading and be displayed indefinitely. To step through the messages one by one use 'ent_step'
|-
|-
|valign="top"|[[ent_pivot]]||||||Displays the pivot for the given entity(ies).  (y=up=green, z=forward=blue, x=left=red).
|valign="top"|ent_pivot||||No||Displays the pivot for the given entity(ies).  (y=up=green, z=forward=blue, x=left=red)
;Arguments: {entity_name} / {class_name} / no argument picks what player is looking at  
;Arguments: {entity_name} / {class_name} / no argument picks what player is looking at  
|-
|-
|valign="top"|[[ent_rbox]]||||||Displays the total bounding box for the given entity(s) in green.  Some entites will also display entity specific overlays.
|valign="top"|ent_rbox||||No||Displays the total bounding box for the given entity(s) in green.  Some entites will also display entity specific overlays
;Arguments: {entity_name} / {class_name} / no argument picks what player is looking at  
;Arguments: {entity_name} / {class_name} / no argument picks what player is looking at  
|-
|-
|valign="top"|[[ent_remove]]||||||Removes the given entity(s)
|valign="top"|ent_remove||||No||Removes the given entity(s)
;Arguments: {entity_name} / {class_name} / no argument picks what player is looking at  
;Arguments: {entity_name} / {class_name} / no argument picks what player is looking at  
|-
|-
|valign="top"|[[ent_remove_all]]||||||Removes all entities of the specified type;Arguments: {entity_name} / {class_name}
|valign="top"|ent_remove_all||||No||Removes all entities of the specified type;Arguments: {entity_name} / {class_name}


|-
|-
|valign="top"|[[ent_setname]]||||||Sets the targetname of the given entity(s)
|valign="top"|ent_setname||||No||Sets the targetname of the given entity(s)
;Arguments: {entity_name} / {class_name} / no argument picks what player is looking at  
;Arguments: {entity_name} / {class_name} / no argument picks what player is looking at  
|-
|-
|valign="top"|[[ent_show_response_criteria]]||||||Print, to the console, an entity's current criteria set used to select responses.
|valign="top"|ent_show_response_criteria||||No||Print, to the console, an entity's current criteria set used to select responses
;Arguments: {entity_name} / {class_name} / no argument picks what player is looking at  
;Arguments: {entity_name} / {class_name} / no argument picks what player is looking at  
|-
|-
|valign="top"|[[ent_step]]||||||When 'ent_pause' is set this will step through one waiting input / output message at a time.
|valign="top"|ent_step||||No||When 'ent_pause' is set this will step through one waiting input / output message at a time
|-
|-
|valign="top"|[[ent_text]]||||||Displays text debugging information about the given entity(ies) on top of the entity (See Overlay Text)
|valign="top"|ent_text||||No||Displays text debugging information about the given entity(ies) on top of the entity (See Overlay Text)
;Arguments: {entity_name} / {class_name} / no argument picks what player is looking at  
;Arguments: {entity_name} / {class_name} / no argument picks what player is looking at  
|-
|-
|valign="top"|[[envmap]]||||||None
|valign="top"|envmap||||No||None
|-
|-
|valign="top"|[[escape]]||||||Escape key pressed.
|valign="top"|escape||||No||Escape key pressed
|-
|-
|valign="top"|[[exec]]||||||Executes a config in the 'cfg' directory.  // exec config_default.cfg
|valign="top"|exec||||No||Executes a config in the 'cfg' directory.  // exec config_default.cfg
Config files in sub-directories can be accessed by specifying their location relative to the cfg directory.
Config files in sub-directories can be accessed by specifying their location relative to the cfg directory.
;Example: exec otherConfigs/config1.cfg // Executes configuration file named "config1.cfg" found in the "cfg/otherConfigs/" directory.
;Example: exec otherConfigs/config1.cfg // Executes configuration file named "config1.cfg" found in the "cfg/otherConfigs/" directory
|-
|-
|valign="top"|[[exit]]||||||Exit the engine.
|valign="top"|exit||||No||Exit the engine
|}
|}


[[Category:Console Commands]]
[[Category:Console Commands]]

Revision as of 21:41, 29 December 2013

Command Default Cheat? Help Text
echo No Echo text to console.
editdemo No Edit a recorded demo file (.dem )
endmovie No Stop recording movie frames
english 1 No If set to 1, running the english language set of assets
ent_absbox No Displays the total bounding box for the given entity(s) in green. Some entites will also display entity specific overlays
Arguments
{entity_name} / {class_name} / no argument picks what player is looking at
ent_bbox No Displays the movement bounding box for the given entity(ies) in orange. Some entites will also display entity specific overlays
Arguments
{entity_name} / {class_name} / no argument picks what player is looking at
ent_debugkeys 0 No None
ent_dump No Usage: ent_dump <entity name>
ent_fire No Usage: ent_fire <target> action value delay
ent_info No Usage: ent_info <class name>
ent_messages No Toggles input/output message display for the selected entity(ies). The name of the entity will be displayed as well as any messages that it sends or receives
Arguments
{entity_name} / {class_name} / no argument picks what player is looking at
ent_messages_draw 0 Yes Visualizes all entity input/output activity
ent_name No None
ent_pause No Toggles pausing of input/output message processing for entities. When turned on processing of all message will stop. Any messages displayed with 'ent_messages' will stop fading and be displayed indefinitely. To step through the messages one by one use 'ent_step'
ent_pivot No Displays the pivot for the given entity(ies). (y=up=green, z=forward=blue, x=left=red)
Arguments
{entity_name} / {class_name} / no argument picks what player is looking at
ent_rbox No Displays the total bounding box for the given entity(s) in green. Some entites will also display entity specific overlays
Arguments
{entity_name} / {class_name} / no argument picks what player is looking at
ent_remove No Removes the given entity(s)
Arguments
{entity_name} / {class_name} / no argument picks what player is looking at
ent_remove_all No Removes all entities of the specified type;Arguments: {entity_name} / {class_name}
ent_setname No Sets the targetname of the given entity(s)
Arguments
{entity_name} / {class_name} / no argument picks what player is looking at
ent_show_response_criteria No Print, to the console, an entity's current criteria set used to select responses
Arguments
{entity_name} / {class_name} / no argument picks what player is looking at
ent_step No When 'ent_pause' is set this will step through one waiting input / output message at a time
ent_text No Displays text debugging information about the given entity(ies) on top of the entity (See Overlay Text)
Arguments
{entity_name} / {class_name} / no argument picks what player is looking at
envmap No None
escape No Escape key pressed
exec No Executes a config in the 'cfg' directory. // exec config_default.cfg

Config files in sub-directories can be accessed by specifying their location relative to the cfg directory.

Example
exec otherConfigs/config1.cfg // Executes configuration file named "config1.cfg" found in the "cfg/otherConfigs/" directory
exit No Exit the engine