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
weapon_accuracy_shotgun_spread_patterns
weapon_air_spread_scale
weapon_auto_cleanup_time
weapon_debug_spread_gap
This command can be used to enable the display of weapon accuracy. See argument information for help.
Name | Description |
---|---|
0 / 1 / 3 |
Set to 0 to disable. Set to 1 to show accuracy box of weapon at crosshair. Set to 3 to show accuracy box with a dynamic crosshair (that changes when you shoot). |
weapon_max_before_cleanup
weapon_near_empty_sound
This command sets whether or not your crosshair shows when you have your knife equipped. Only makes a change for crosshair styles that hide your crosshair when holding a knife.
Name | Description |
---|---|
0 / 1 |
Set to 0 to not show crosshair when holding knife. Set to 1 to show crosshair when holding knife. |
This command sets the falloff of weapon sounds when shooting, which adjusts how they get quieter.
Name | Description |
---|---|
Multiplier |
The amount you want to multiply the default value of weapon shot sounds by to compensate for falloff. By default this command is set to 1 which gives it no influence. Use a lower value than 1 to reduce weapon sounds with falloff, and a higher value than 1 to increase it. |
adsp_debug
This command does not work, or its function is unknown.
ai_debug_los
This cheat command is used to debug issues with NPC (bots) line of sight in private servers.
Name | Description |
---|---|
0 / 1 |
Enter 0 here to deactivate the line of sight debug features (default). Enter 1 here to activate the line of sight debug features. |
ai_debug_shoot_positions
This command does not work, or its function is unknown.
This command will make a bot walk to the marked navigation area.
This command will make a bot go to the navigation area that you currently have selected.
This command will set the yaw offset that bots will mimic you on. Default value is 180.
box
This command draws a debug box.