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

Command Description More
sc_only_render_shadowcasters

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.

Examples, Generator & More
sc_only_render_shadowcasters <0 / 1>
script_find

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.

Examples, Generator & More
script_find <Key name>
server_snd_cast

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.

Examples, Generator & More
server_snd_cast <Disable / Enable>
shatterglass_restore

This command restores shattered glass back to its original state.

Examples, Generator & More
shatterglass_restore
shatterglass_shard_lifetime

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

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

Specifies the size of the subdivisions for shattered glass effects.

Examples, Generator & More
shatterglass_subdiv_size <Subdivision Size>
shatterglass_voronoi_size

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

Examples, Generator & More
shatterglass_voronoi_size <Voronoi Size>
silence_dsp

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.

Examples, Generator & More
silence_dsp <0 / 1>
snd_break_on_start_soundevent

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.

Examples, Generator & More
snd_break_on_start_soundevent <Sound Event Name>
snd_enable_sound_services_visualizer

Toggles the debug rendering of the CEngineSoundServicesDebugVisualizerRel.

Examples, Generator & More
snd_enable_sound_services_visualizer <0 / 1>
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_get_physics_surface_properties
snd_new_visualize

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

Examples, Generator & More
snd_new_visualize <0 / 1>
snd_occlusion_debug

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

Examples, Generator & More
snd_occlusion_debug <0 / 1>
snd_sos_pause_soundevent

Pauses a specific sound event currently playing in the game.

Examples, Generator & More
snd_sos_pause_soundevent <Sound Event Name>
snd_sos_pause_system

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

Examples, Generator & More
snd_sos_pause_system <0 / 1>
snd_toolvolume

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.

Examples, Generator & More
snd_toolvolume <Volume>
snd_vmix_show_input_updates

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

Examples, Generator & More
snd_vmix_show_input_updates <0 / 1>
spawn_group_activate

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.

Examples, Generator & More
spawn_group_activate <Spawngroup ID>
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_list
spawn_group_load

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

Examples, Generator & More
spawn_group_load <Spawn Group Name>