Console Command List/E: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (removed all red links)
(is in more games (for quick check see User:Nescius/command_overview))
 
(11 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<noinclude>[[Category:Console commands|E]][[Category:Lists]][[Category:Lists of console commands and variables]]</noinclude>
{| border="1" cellspacing="0"
{| border="1" cellspacing="0"
|- style="position:-webkit-sticky; position:sticky; top:0; background-color: #262626;"
! Command !! Default !! Cheat? !! Help Text  
! Command !! Default !! Cheat? !! Help Text  
|-
|-
|valign="top"|echo||||No||Echo text to console.
|valign="top"|[[echo]]||||No||Echo text to console.
|-
|-
|valign="top"|editdemo||||No||Edit a recorded demo file (.dem )
|valign="top"|[[editdemo]]||||No||Edit a recorded demo file (.dem )
|-
|-
|valign="top"|endmovie||||No||Stop recording movie frames
|valign="top"|[[editor_toggle]]||||Yes||Disables the simulation and returns focus to the editor.
|-
|-
|valign="top"|english||1||No||If set to 1, running the english language set of assets
|valign="top"|[[endmovie]]||||No||Stop recording movie frames
|-
|-
|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
|valign="top"|[[english]]||1||No||If set to 1, running the english language set of assets
|-
|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||||No||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||No||None
|valign="top"|[[ent_create]]||||No||Usage: ent_create &lt;target&gt; key value
|-
|-
|valign="top"|ent_dump||||No||Usage: ent_dump &lt;entity name&gt;</pre>
|valign="top"|[[ent_debugkeys]]||0||No||None
|-
|valign="top"|[[ent_dump]]||||No||Usage: ent_dump &lt;entity name&gt;</pre>
|-
|-
|valign="top"|[[ent_fire]]||||No||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||||No||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||||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
|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||||No||None
|valign="top"|[[ent_name]]||||No||None
|-
|-
|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_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||||No||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||||No||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||||No||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||||No||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||||No||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||||No||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||||No||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||||No||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||||No||None
|valign="top"|[[envmap]]||||No||None
|-
|-
|valign="top"|escape||||No||Escape key pressed
|valign="top"|[[escape]]||||No||Escape key pressed
|-
|-
|valign="top"|exec||||No||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||||No||Exit the engine
|valign="top"|[[exit]]||||No||Exit the engine
|}
|}
[[Category:Console Commands]]

Latest revision as of 13:27, 22 June 2025

Command Default Cheat? Help Text
echo No Echo text to console.
editdemo No Edit a recorded demo file (.dem )
editor_toggle Yes Disables the simulation and returns focus to the editor.
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_create No Usage: ent_create <target> key value
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