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
Repeats the last command that was entered into the console. This is useful for quickly re-executing commands without needing to type them again.
This command adjusts the cutoff distance for the flashlight's trace in the game, impacting how the flashlight beam interacts with surfaces and objects.
Name | Description |
---|---|
Distance |
The cutoff distance for the flashlight's trace effect, impacting how the flashlight beam interacts at distance. |
This command enables or disables the use of indirect lighting in the game, which can affect the game's visual appearance.
Name | Description |
---|---|
0 / 1 |
Toggle the use of indirect lighting. |
Adjusts the linear scale of muzzle flashes. Lower values decrease the size, while higher values increase it.
Name | Description |
---|---|
Linear Scale |
The scale value to adjust the size of muzzle flashes. |
This command toggles the rendering of debug overlays, which can provide valuable information for developers or players looking to debug specific features within the game.
Name | Description |
---|---|
0 / 1 |
Enable or disable the rendering of debug overlays. |
Specifies the threshold as a percentage of the sun shadow map size beneath which objects are culled, used as a performance optimization technique.
Name | Description |
---|---|
Threshold value |
The percentage of the sun shadow map size below which objects are culled. |
This command disables the rendering of shadow materials, which can affect the visual appearance of shadows in the game.
Name | Description |
---|---|
0 / 1 |
This argument determines whether shadow materials rendering is disabled or not. |
Enables or disables the display of extended statistics in the console.
Name | Description |
---|---|
0 / 1 |
Flag to enable or disable extended statistics. |
This command reloads all scripts currently in use by the game. It's useful for developers or during debugging to apply changes without restarting the game entirely.
Attempts to refund all equipment owned by the player, effectively selling it back.
This command simulates the breaking of glass objects within the game environment.
Determines whether broken glass debris is automatically cleaned up in the game environment, aiding in performance and visual clarity.
Name | Description |
---|---|
0 / 1 |
Enables or disables the automatic cleanup of broken glass. |
This command determines the maximum amount of shattered glass pieces that can exist in the environment at one time before older pieces are cleaned up to make room for new ones.
Name | Description |
---|---|
Max Shattered Glass Pieces |
The maximum number of shattered glass pieces allowed before cleanup. |
This command enables or disables the distortion effect when glass shatters in-game.
Name | Description |
---|---|
0 / 1 |
Whether to enable or disable the distortion effect on glass shattering. |
Determines the tolerance level for the shattering of glass upon being hit in the game.
Name | Description |
---|---|
Tolerance Level |
The numeric value indicating the level of tolerance towards impacts before glass shatters. |
Casts a ray from the player's viewpoint, creating a sound event where the ray intersects with an object in the game world. This command is primarily used for debugging audio issues. The sound can be set to retrigger periodically, and previous sound events can be cleared.
Defines the minimum thickness of walls for sound occlusion calculations in the game.
Name | Description |
---|---|
Wall Thickness |
Minimum thickness of walls to consider for sound occlusion. |
This command adjusts the scale of stereo sound for rear speakers in a surround sound setup, enhancing or reducing spatial sound effects.
Name | Description |
---|---|
Scale |
The scale of stereo sound for rear speakers. A higher value enhances spatial sound effects, while a lower value reduces them. |
This command toggles the splitscreen mode in-game, allowing for multiple views on the same screen, typically used for local multiplayer.
Name | Description |
---|---|
0 / 1 |
Sets the splitscreen mode to either off (0) or on (1). |
This command is used to print the current game status, including player and server information, in JSON format for easier parsing and automation tasks.