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_debug_particle_shadows | Toggles the debugging mode for particle shadows in the game, allowing users to see diagnostic information about shadow rendering from particles for development and optimization purposes. |
Examples, Generator & More | r_debug_particle_shadows
<0 / 1>
|
r_dof_override | This command is used to override the game's default Depth of Field settings. When enabled, it allows for custom configuration of depth of field effects. |
Examples, Generator & More | r_dof_override
<0 / 1>
|
r_dof_override_far_blurry | This command adjusts the distance at which the depth of field effect becomes maximally blurry, effectively controlling how far objects can be before they are fully blurred in the game's rendering. |
Examples, Generator & More | r_dof_override_far_blurry
<Distance>
|
r_dof_override_far_crisp | This command adjusts the depth of field effect's 'far' crisp setting, which can determine the sharpness or blurriness of distant objects in Counter-Strike 2. |
Examples, Generator & More | r_dof_override_far_crisp
<Distance>
|
r_dof_override_near_blurry | This command adjusts the depth of field to make objects closer than a specified distance appear blurry. |
Examples, Generator & More | r_dof_override_near_blurry
<Distance>
|
r_dof_override_near_crisp | This command controls the depth of field effect by adjusting the crispness of near field objects when depth of field effects are enabled. It's typically used for cinematic purposes and is marked as a cheat command, meaning it can only be used with cheats enabled. |
Examples, Generator & More | r_dof_override_near_crisp
<0 / 1>
|
r_dof_override_tilt_to_ground | This command is used to override the depth of field effect's tilt towards the ground in-game, affecting how visual depth is perceived relative to the ground plane. |
Examples, Generator & More | r_dof_override_tilt_to_ground
<Tilt value>
|
r_drawblankworld | This command, when enabled, causes the game to render a blank scene instead of the actual game world. Useful for developers or for testing purposes. |
Examples, Generator & More | r_drawblankworld
<0 / 1>
|
r_drawdecals | r_drawdecals
|
||
r_drawdevvisualizers | This command is used to render developer visualizers in the game. It's primarily a debugging tool used by developers or for diagnostic purposes. |
Examples, Generator & More | r_drawdevvisualizers
<0 / 1>
|
r_draw_first_tri_only | This command is used to toggle the rendering to only the first triangle of models. It is primarily used for debugging rendering processes. |
Examples, Generator & More | r_draw_first_tri_only
<0 / 1>
|
r_drawparticles | r_drawparticles
|
||
r_drawropes | r_drawropes
|
||
r_drawskybox | r_drawskybox
|
||
r_drawsprites | r_drawsprites
|
||
r_drawtracers | r_drawtracers
|
||
r_drawviewmodel | r_drawviewmodel
|
||
r_drawworld | r_drawworld
|
||
rebuy | This command will make you attempt to repurchase the items you most recently purchased from the buy menu in the order set by the cl_rebuy command. Default order is "Armor PrimaryWeapon Flashbang SmokeGrenade Defuser HEGrenade Flashbang SecondaryWeapon Molotov IncGrenade Decoy Taser". |
Examples, Generator & More | rebuy
|
record | This command will start recording your current game as a demo. You need to specify a filename to save the demo as. Use the "stop" command to stop recording. Demo will be saved in Steam\steamapps\common\Counter-Strike Global Offensive\csgo. |
Examples, Generator & More | record
<Demo File Name>
|