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
Toggles visibility of the debug overlay system. This command is useful for developers or content creators who need to access in-depth debugging information about various aspects of the game such as rendering info, physics interactions, and more. It requires 'sv_cheats' to be enabled.
Prevents the loading of dynamic props in the game when a map is loaded, if set to a non-zero value.
Name | Description |
---|---|
0 / 1 |
Disables or enables the loading of dynamic props on map load. |
This command generates a report listing all client-side entities currently in the scene, useful for debugging purposes.
Toggles the display of frame pacing information. When enabled, it shows details on how evenly frames are paced over time, which is useful for diagnosing stuttering or irregular frame delivery.
Name | Description |
---|---|
0 / 1 |
Toggle the display of frame pacing information. |
This command displays the entity names for all entities that have the 'ShouldDisplayInActorNames' set to true in the code, making it useful for developers and players looking to understand more about the game's entities.
Specifies the font name used for displaying actor names in entities.
Name | Description |
---|---|
Font Name |
The font used for displaying actor names. |
Changes the font size of the names displayed over entities when actor names are enabled.
Name | Description |
---|---|
Font size |
The desired font size for entity actor names. |
This command is used to instantly kill specific entities in the game. It can target player entities, bots, or other entities within the game environment.
Name | Description |
---|---|
Entity ID |
Specifies the ID of the entity to kill. Can target specific player entities, all enemies, all allies, etc. |
This command enables or disables the ability for decoy grenades to inflict damage on teammates when they detonate.
Name | Description |
---|---|
0 / 1 |
Determines whether decoys can damage teammates upon explosion. |
This command would print your current location to the console (both position and camera angle) as setpos and setang commands. Using these commands will return you to the position you are at when you typed the getpos command.
This command would print to the console your origin and camera angle to the console.
This command enables or disables Inverse Kinematics (IK) on player models, affecting how animations, particularly limb movements, are calculated and displayed.
Name | Description |
---|---|
0 / 1 |
Enable or disable Inverse Kinematics. |
This command sets how long it takes for a molotov or incendiary grenade to bloom out and reach its maximum spread. If you set this value higher than the time the molotov is active, it will never reach its full size and stay contained to just a small section of where you threw it.
Name | Description |
---|---|
Time |
The time it takes for the molotov/incendiary grenade to spread to its entire reach. The default value for this command is 0.02 (seconds). |
Use this command to set the longest period of time that can pass before a molotov or incendiary grenade's child flames spawn.
Name | Description |
---|---|
Time |
The max time it will take for a grenade's child flames to spawn in second. The higher you set this, the longer it takes. Default value for this command is 0.5. |
This command forces the user input to a specified split screen player, useful for debugging or controlling multiple characters.
Name | Description |
---|---|
Player Index |
The index of the split screen player to force input to. |
Adjusts the deadzone for the right joystick axis on a controller, which is the area in which small movements are ignored.
Name | Description |
---|---|
Deadzone Value |
The size of the deadzone for the right joystick axis. A larger value means the joystick is less sensitive to small movements. |
This command sets the joystick's right axis movement to be interpreted as relative input values rather than absolute ones. Typically used to adjust how joystick inputs are processed, making it useful for fine-tuning controller settings.
Name | Description |
---|---|
0 / 1 |
Determines whether the joystick's right axis should interpret movement as relative (1) or absolute (0) values. |
Adjusts the deadzone for a specific joystick axis, preventing minimal input movement from being registered to enhance controller precision.
Name | Description |
---|---|
Deadzone Value |
The deadzone value for the joystick's U axis. |
This command configures joystick handling, determining if the U-axis should be treated as relative input.
Name | Description |
---|---|
0 / 1 |
Determines if the U-axis is relative. |
Sets the deadzone for vertical axis on a joystick, reducing small, unintentional movements.
Name | Description |
---|---|
Deadzone Value |
The threshold value to ignore minor joystick movements. |