CS2 Console Commands List

  • Page 38

Below is Total CS' searchable list of all CS2 console commands. Each command in our database has detailed documentation, with help and argument explanation (hover over a command to view). Click on a command's name to visit its individual page, on which you can find more information including working examples and its default setting or value.

Type the name of a command into the search box to instantly filter our entire database of commands. Toggle between different views by pressing the "Card View" and "Table View" buttons.

If you are looking for a more specific selection of commands, you may prefer to sort by category.

Updated for CS2: We've updated our list to include over 1,000 console commands that were added in CS2.

We're the only website that has a complete list of all Counter-Strike 2 commands with complete documentation and examples. CS:GO Commands are hidden from this list by default. If you're playing on CS:GO, check the "Show CS:GO Commands" box to show commands that exist in Counter-Strike: Global Offensive.

How to Use CS:GO & CS2 Commands
  1. Enable the developer console:

    Go to Settings > Game Settings and set "Enable Developer Console" to "Yes".

  2. Press ` or ~ on your keyboard.

  3. Enter a command and hit ENTER on your keyboard to run it!

Are you still stuck? More Help
IPS

Commands List

r_csgo_volume_mboit_optimization <0 / 1>

Optimizes the volume MB OIT (Multi-Bounce Order-Independent Transparency), which may improve performance with certain graphical settings.

Name Description
0 / 1

Disables or enables the volume MB OIT optimization.

Examples, Generator & More
r_debug_precipitation <0 / 1>

This command is used to visualize precipitation volumes in the game, showing areas where programmed weather effects like rain or snow will appear.

Name Description
0 / 1

Enable or disable the visualization of precipitation volumes.

Examples, Generator & More
r_dopixelvisibility <0 / 1>

This command, typically used for debugging purposes, enables or disables pixel visibility calculations, which can affect performance and visibility checks within the game.

Name Description
0 / 1

Whether to disable (0) or enable (1) pixel visibility calculations.

Examples, Generator & More
r_draw_instances <0 / 1>

This command controls the rendering of instances in the game, which can impact performance and visual appearances.

Name Description
0 / 1

Toggles the rendering of instances.

Examples, Generator & More
refresh_ui_audio_state

Restores audio DSP state for the UI, potentially useful for debugging or correcting audio issues related to the game's user interface.

Examples, Generator & More
r_fallback_texture_lod_scale <Scale Factor>

This command adjusts the scale factor for requested texture sizes, specifically for geometry that lacks a precomputed UV density measure. It is used in texture streaming to optimize performance.

Name Description
Scale Factor

The factor by which to scale the requested texture size.

Examples, Generator & More
r_flashlighttracedistwatercutoff <Cutoff Distance>

Sets the cutoff distance for the flashlight trace in water.

Name Description
Cutoff Distance

The distance at which the flashlight trace is cut off in water.

Examples, Generator & More
r_nearz <Z value>

This command is used to override the near clipping plane in the game. A value of -1 implies that the default setting is used.

Name Description
Z value

The Z value to set for the near clipping plane. Use -1 for default.

Examples, Generator & More
r_particle_max_draw_distance <Distance>

Sets the maximum distance at which particles will be rendered in the game, improving performance by not drawing particles that are too far away.

Name Description
Distance

The maximum distance (in units) at which particles will be rendered.

Examples, Generator & More
r_refraction_clip_plane_adjust <Adjustment value>

This command adjusts the clip plane for refraction effects, which can alter how certain visual effects appear in-game, particularly those related to translucent materials.

Name Description
Adjustment value

Sets the amount of adjustment to the refraction clip plane.

Examples, Generator & More
r_rendersun <0 / 1>

This command enables or disables the rendering of sun lighting in the game environment. It's primarily used for debugging or graphical adjustments.

Name Description
0 / 1

Determines whether the rendering of sun lighting is enabled or disabled.

Examples, Generator & More
r_showdebugrendertarget <0 / 1>

Enables or disables the debug render target view. When enabled, it shows the debug render target.

Name Description
0 / 1

Enables or disables the debug render target view.

Examples, Generator & More
r_showsunshadowdebugrendertargets <0 / 1>

This command is used to control the rendering of sun shadow debug render targets, which is useful for developers or those debugging the game's graphics.

Name Description
0 / 1

Enables or disables the rendering of sun shadow debug render targets.

Examples, Generator & More
r_showsunshadowdebugsplitvis <0 / 1>

This command is used to render the sun shadow split visibility debugger. It is primarily a development tool used for visualizing how sunlight shadows are calculated and rendered in the game, aiding in graphical tuning and debugging.

Name Description
0 / 1

Enables or disables the sun shadow split visibility debugger.

Examples, Generator & More
r_zprepass_normals <0 / 1>

This command toggles the use of pre-pass rendering for normals in the graphics engine, a technique used for optimization in rendering graphics, flagged as a cheat and primarily used for debugging or graphical optimization by developers.

Name Description
0 / 1

A toggle to enable or disable the pre-pass rendering of normals.

Examples, Generator & More
sc_check_world <0 / 1>

This command checks the game world's state for any inconsistencies or errors when set to true. Primarily used for debugging and ensuring the integrity of the game's environment.

Name Description
0 / 1

Enable or disable the check world feature.

Examples, Generator & More
sc_disable_procedural_layer_rendering <0 / 1>

This command, when enabled, disables the rendering of procedural layers, potentially optimizing performance but affecting visual fidelity for elements that rely on procedural generation.

Name Description
0 / 1

Toggle the procedural layer rendering state.

Examples, Generator & More
sc_disable_shadow_fastpath <0 / 1>

This command is used to toggle the fast-path optimization for shadow rendering. When disabled, the game might render shadows in a more complex, potentially slower manner which could be useful for debugging or graphical analysis.

Name Description
0 / 1

Set to 0 to enable fast-path shadow rendering, or 1 to disable it.

Examples, Generator & More
sc_disable_world_materials <0 / 1>

This command is used to disable the rendering of world materials, affecting the game's visual aspects. It's usually used for debugging purposes.

Name Description
0 / 1

This argument enables or disables the rendering of world materials.

Examples, Generator & More
sc_only_render_opaque <0 / 1>

This command, when enabled, renders only the opaque parts of models in the game. It is primarily used for testing and debugging purposes.

Name Description
0 / 1

Determines whether to render only the opaque parts of models.

Examples, Generator & More