Enable the developer console:
Go to Settings > Game Settings and set "Enable Developer Console" to "Yes".
Press ` or ~ on your keyboard.
Enter a command and hit ENTER on your keyboard to run it!
Commands List
Command | Description | More | Syntax |
---|---|---|---|
ent_messages_draw | ent_messages_draw
|
||
ent_name | ent_name
|
||
ent_orient | ent_orient
|
||
ent_picker | Enables or disables picker mode, which displays bounding box, pivot, and debugging text for the entity the player is looking at when enabled. |
Examples, Generator & More | ent_picker
<0 / 1>
|
ent_pivot | ent_pivot
|
||
ent_pivot_size | This command sets the size of the pivot for entities, used primarily for debugging purposes to visualize entity pivots. |
Examples, Generator & More | ent_pivot_size
<Size>
|
ent_rbox | ent_rbox
|
||
ent_remove | ent_remove
|
||
ent_remove_all | ent_remove_all
|
||
ent_rotate | ent_rotate
|
||
ent_scale | Changes the scale of selected entities in the game, allowing for the modification of their size. This command often requires 'sv_cheats' to be enabled to work. |
Examples, Generator & More | ent_scale
<Scale>
|
ent_scenehierarchy | This command prints the hierarchy tree of scenenodes related to specified entities in the game. It is useful for developers or map creators to understand the relationship and structure of entities within a scene. |
Examples, Generator & More | ent_scenehierarchy
<Entity ID>
|
ent_script_dump | ent_script_dump
|
||
ent_select | This command is used to select or deselect the specified entity or entities for later manipulation through further commands. It is mainly used in debugging or map development contexts. |
Examples, Generator & More | ent_select
<entity criteria>
|
ent_setang | ent_setang
|
||
ent_setname | ent_setname
|
||
ent_setpos | ent_setpos
|
||
ent_show_contexts | This command toggles the display of entity contexts in the ent_text display when set to true. It's primarily used for debugging purposes. |
Examples, Generator & More | ent_show_contexts
<0 / 1>
|
ent_showonlyattachment | This command, when enabled, visually isolates and displays only the attachment point of entities in the game. It is used for debugging purposes. |
Examples, Generator & More | ent_showonlyattachment
<0 / 1>
|
ent_show_response_criteria | ent_show_response_criteria
|