CS2 Console Commands List

  • Page 39

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

sc_only_render_shadowcasters <0 / 1>

This command is used to toggle the rendering of only shadow casters within the game environment. When enabled, only elements that cast shadows are rendered, which can be useful for debugging lighting and shadow-related issues.

Name Description
0 / 1

Toggle the rendering of only shadow casters.

Examples, Generator & More
script_find <Key name>

This command is used to search for a specific key within the virtual machine's (VM) scripting environment. It is primarily intended for debugging and development purposes, allowing developers to locate and examine the values of keys in the script.

Name Description
Key name

The name of the key to search for within the VM.

Examples, Generator & More
server_snd_cast <Disable / Enable>

This command casts a ray from the player's current position in the game world and initiates a sound event at the location where the ray intersects with an object or terrain. The sound event will repeat at intervals for as long as the command is active. It is primarily used for testing and development purposes within the game environment.

Name Description
Disable / Enable

Turns the periodic sound event trigger caused by the ray cast off or on.

Examples, Generator & More
shatterglass_restore

This command restores shattered glass back to its original state.

Examples, Generator & More
shatterglass_shard_lifetime <Lifetime (seconds)>

Determines the lifetime of glass shards produced by shattering glass in-game.

Name Description
Lifetime (seconds)

The duration in seconds that glass shards remain in the game world.

Examples, Generator & More
shatterglass_subdiv_size <Subdivision Size>

Specifies the size of the subdivisions for shattered glass effects.

Name Description
Subdivision Size

The size of the subdivisions for the shattered glass effect.

Examples, Generator & More
shatterglass_voronoi_size <Voronoi Size>

This command adjusts the size of the Voronoi cells for shattering glass effects in Counter-Strike 2.

Name Description
Voronoi Size

The size of the Voronoi cells used in glass shattering effects.

Examples, Generator & More
silence_dsp <0 / 1>

When on, silences all DSP mixes. It is primarily a debug tool and flagged as a cheat, meaning it can only be used on servers where cheats are enabled.

Name Description
0 / 1

Specifies whether to enable or disable the silence of all DSP mixes.

Examples, Generator & More
snd_break_on_start_soundevent <Sound Event Name>

This command is used for debugging purposes. It triggers a breakpoint on any sound event that starts and matches the specified name. Useful for developers or testers looking to track down specific sound-related issues in the game.

Name Description
Sound Event Name

The name of the sound event to break on when started.

Examples, Generator & More
snd_enable_sound_services_visualizer <0 / 1>

Toggles the debug rendering of the CEngineSoundServicesDebugVisualizerRel.

Name Description
0 / 1

Toggles the visualizer on or off.

Examples, Generator & More
snd_get_physics_surface_properties

This command retrieves the physics surface properties for all materials used in the game. It is typically used for debugging purposes.

Examples, Generator & More
snd_new_visualize <0 / 1>

Enables the visual presentation of sound events and their 3D positions in the game.

Name Description
0 / 1

Enable or disable the visualization of sound events.

Examples, Generator & More
snd_occlusion_debug <0 / 1>

Toggles the debugging of sound occlusion, providing visual feedback and information on the processing of sounds considering occlusion.

Name Description
0 / 1

Enables or disables the sound occlusion debugging.

Examples, Generator & More
snd_sos_pause_soundevent <Sound Event Name>

Pauses a specific sound event currently playing in the game.

Name Description
Sound Event Name

The name of the sound event to be paused.

Examples, Generator & More
snd_sos_pause_system <0 / 1>

Pauses or unpauses the Sound Operator System (SOS), which is responsible for handling dynamic sound effects and music in-game.

Name Description
0 / 1

Determines whether to pause (1) or unpause (0) the Sound Operator System.

Examples, Generator & More
snd_toolvolume <Volume>

Controls the volume of sounds in development tools, such as Hammer, the map editor, or Source Filmmaker (SFM), allowing users to adjust how loud these tool-generated sounds are.

Name Description
Volume

The volume level for tool sounds.

Examples, Generator & More
snd_vmix_show_input_updates <0 / 1>

When enabled, displays all incoming updates to vmix inputs, useful for debugging audio issues.

Name Description
0 / 1

Specifies whether to show or hide vmix input updates.

Examples, Generator & More
spawn_group_activate <Spawngroup ID>

Activates the specified spawn group in the game, allowing entities within that group to spawn. This command is typically used in development or testing environments to control entity spawning.

Name Description
Spawngroup ID

The ID of the spawngroup to activate.

Examples, Generator & More
spawn_group_list

This command lists all spawn groups available in the game. It is useful for developers or server administrators who are tweaking or debugging spawn settings.

Examples, Generator & More
spawn_group_load <Spawn Group Name>

This command is used to load a specific named spawn group within the game. It requires cheats to be enabled to use.

Name Description
Spawn Group Name

The name of the spawn group to be loaded.

Examples, Generator & More