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 |
---|---|---|---|
r_mapextents | r_mapextents
|
||
r_pixelvisibility_spew | This command, when enabled, shows detailed information about pixel visibility calculations within the game. It's used for debugging purposes and requires cheat permissions to be activated. |
Examples, Generator & More | r_pixelvisibility_spew
<0 / 1>
|
r_replay_post_effect | r_replay_post_effect
|
||
rr_followup_maxdist | rr_followup_maxdist
|
||
rr_forceconcept | rr_forceconcept
|
||
rr_reloadresponsesystems | rr_reloadresponsesystems
|
||
rr_thenany_score_slop | rr_thenany_score_slop
|
||
r_stereo_multiview_instancing | This command is used to toggle the use of multiview instancing for stereo rendering. Useful primarily for developers or for those experimenting with VR or 3D functionalities. |
Examples, Generator & More | r_stereo_multiview_instancing
<0 / 1>
|
run_perftest | This command executes the perftest.cfg file, which is typically used for performance testing in the game. |
Examples, Generator & More | run_perftest
|
safezonex | safezonex
|
||
safezoney | safezoney
|
||
save_animgraph_recording | This command saves all currently active animation graph recordings to the disk, normally used for debugging or analysis purposes. |
Examples, Generator & More | save_animgraph_recording
|
save_maxarray_spew | Sets the maximum number of array entries to display when using the SaveRestoreIO debugging feature. |
Examples, Generator & More | save_maxarray_spew
<Maximum array entries>
|
sc_aggregate_indirect_draw_compaction | Enables the use of multidrawindirect...count for drawing operations if it is supported by the driver/hardware, which can improve rendering performance by reducing the number of draw calls needed. |
Examples, Generator & More | sc_aggregate_indirect_draw_compaction
<0 / 1>
|
sc_aggregate_indirect_draw_compaction_threshold | Sets the threshold for when indirect draws in a scene should be compacted, potentially improving performance. |
Examples, Generator & More | sc_aggregate_indirect_draw_compaction_threshold
<Compaction Threshold>
|
scene_playvcd | scene_playvcd
|
||
sc_listworlds | This command lists all the active sceneworlds within the game. It is mostly used for debugging purposes to understand how many and which sceneworlds are currently active. |
Examples, Generator & More | sc_listworlds
|
sc_reject_all_objects | This command is used to reject all objects, primarily for debugging purposes in a development environment. It is marked as a cheat command, indicating it can only be used with cheats enabled, typically not available in regular gameplay. |
Examples, Generator & More | sc_reject_all_objects
<0 / 1>
|
script_attach_debugger | Connects the VScript Virtual Machine to the script debugger. This command is primarily used for debugging VScript scripts in a development or testing environment. |
Examples, Generator & More | script_attach_debugger
|
script_debug | script_debug
|