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 |
---|---|---|---|
volume_fog_show_volumes | Toggles the visibility of volume fog boundaries for debugging and editing purposes in the game environment. |
Examples, Generator & More | volume_fog_show_volumes
<0 / 1>
|
ammo_grenade_limit_breachcharge | This command sets the amount of breach charges that a player can hold at any given time. Default is 3. |
Examples, Generator & More | ammo_grenade_limit_breachcharge
<Amount>
|
ammo_item_limit_healthshot | This command sets the maximum amount of healthshots that you can hold at once. |
Examples, Generator & More | ammo_item_limit_healthshot
<Amount>
|
animated_material_attributes | Controls whether material attributes are animated. This is typically used in development and debugging of animations. |
Examples, Generator & More | animated_material_attributes
<0 / 1>
|
animevents_dump | This command lists all the currently registered animation events in the game. |
Examples, Generator & More | animevents_dump
|
animgraph_debug | Enables or disables the debug view of the animation graph, which is used for developing and debugging animation sequences in the game. |
Examples, Generator & More | animgraph_debug
<0 / 1>
|
animgraph_debug_entindex | This command is used to debug the animation graph of a specific entity by providing its entity index. |
Examples, Generator & More | animgraph_debug_entindex
<Entity ID>
|
animgraph_footlock_ik_enable | This command enables or disables Inverse Kinematics (IK) for character animations, specifically for foot locking. |
Examples, Generator & More | animgraph_footlock_ik_enable
<0 / 1>
|
animgraph_record_all | This command controls the automatic recording of AnimGraphs, ensuring they start recording upon creation and are saved to disk upon destruction. |
Examples, Generator & More | animgraph_record_all
<0 / 1>
|
animgraph_set_parameter_bool | This command allows entities to have a specific boolean parameter set to a designated value, providing a useful tool for animators to test specific animations. |
Examples, Generator & More | animgraph_set_parameter_bool
<Entity selector><Boolean parameter name><0 / 1>
|
animgraph_set_parameter_enum | Sets a specified enum parameter on specified entities to a given value. This command is primarily used by animators for testing purposes. |
Examples, Generator & More | animgraph_set_parameter_enum
<Entity ID><Parameter Name><Value>
|
animgraph_set_parameter_float | This command allows you to set a specific float parameter for specified entities, which is especially useful for animators looking to test animations. |
Examples, Generator & More | animgraph_set_parameter_float
<Entity ID><Parameter Name><Value>
|
animgraph_set_parameter_int | This command sets a specific integer parameter for entities to the specified value. It is particularly useful for animators who wish to test different parameters. |
Examples, Generator & More | animgraph_set_parameter_int
<Entity Name><Parameter Name><Value>
|
animgraph_set_parameter_string | This command allows the user to set specific animation graph parameters of a specified entity. It is mainly used by developers and animators for testing purposes. |
Examples, Generator & More | animgraph_set_parameter_string
<Entity ID><Parameter Name><0 / 1>
|
animgraph_set_parameter_vector | This command allows specified entities to have a designated vector parameter set to a given value. It is particularly useful for animators who wish to test the impact of different vector values on entity animations. |
Examples, Generator & More | animgraph_set_parameter_vector
<Target><Parameter Name><Vector Values>
|
animgraph_slope_draw_raycasts | This command toggles the drawing of raycasts used in animation graphs to visualize how entities interact with sloped surfaces, primarily for debugging animation graphs within the game. |
Examples, Generator & More | animgraph_slope_draw_raycasts
<0 / 1>
|
animgraph_slope_enable | This command toggles the animation graph's slope calculations. Enabling it allows the animation system to adjust character movements based on slope gradients. |
Examples, Generator & More | animgraph_slope_enable
<0 / 1>
|
animgraph_trace_static_only | Determines if the animation graph should only trace static elements, potentially for debugging or optimization purposes. |
Examples, Generator & More | animgraph_trace_static_only
<0 / 1>
|
autobuy | If you have set up an autobuy command with the cl_autobuy command then this command will attempt to purchase those items. |
Examples, Generator & More | autobuy
|
axis | Draws an axis in the game for testing or debugging purposes, showing orientation in the game world. This command is primarily used by developers or for diagnostic purposes. |
Examples, Generator & More | axis
<cmd>
|