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 |
---|---|---|---|
snd_roundstart_volume | snd_roundstart_volume
|
||
snd_samplers_play_note | Plays a note from a specified sampler. This command is used to test and debug sound samplers within the game. |
Examples, Generator & More | snd_samplers_play_note
|
snd_samplers_stop_note | This command is used to stop a note that is currently playing from a specified sampler. |
Examples, Generator & More | snd_samplers_stop_note
|
snd_sequencer_show_bpm | Toggles the display of the beats per minute (BPM) of the sound sequencer, mainly used for debugging sound sequences. |
Examples, Generator & More | snd_sequencer_show_bpm
<0 / 1>
|
snd_sequencer_show_events | This command, when enabled, shows sequencer events for debugging audio systems within CS2. It is primarily used by developers for testing and debugging purposes. |
Examples, Generator & More | snd_sequencer_show_events
<0 / 1>
|
snd_sequencer_show_quantize_queue | This command toggles the display of the sound sequencer's quantize queue, useful for debugging sound timing. |
Examples, Generator & More | snd_sequencer_show_quantize_queue
<0 / 1>
|
snd_sequence_set_track_bpm | Sets the tempo of the specified track in beats per minute (BPM). This command can be used to adjust the playback speed of audio sequences in the game. |
Examples, Generator & More | snd_sequence_set_track_bpm
<Track ID><BPM>
|
snd_sequence_set_track_transpose | This command is used to set the transposition of a specified audio track, affecting its pitch. It's primarily used for debugging or fine-tuning audio in the game. |
Examples, Generator & More | snd_sequence_set_track_transpose
<Track ID><Transpose Value>
|
snd_sequence_stop_all_tracks | This command stops all currently playing audio sequences in the game, which can be useful for debugging or resetting the game's audio state. |
Examples, Generator & More | snd_sequence_stop_all_tracks
|
snd_sequence_stop_track | This command is used to stop a specific audio track. |
Examples, Generator & More | snd_sequence_stop_track
<Track ID>
|
snd_setmixer | snd_setmixer
|
||
snd_setmixlayer | snd_setmixlayer
|
||
snd_showclassname | snd_showclassname
|
||
snd_showstart | snd_showstart
|
||
snd_sos_block_global_stack | This command is used to toggle the blocking of the global sound stack, primarily for debugging or development purposes within the game's sound system. |
Examples, Generator & More | snd_sos_block_global_stack
<0 / 1>
|
snd_sos_block_stop_global_stack | This command is used to control whether sound stacks globally stop on the server. |
Examples, Generator & More | snd_sos_block_stop_global_stack
<0 / 1>
|
snd_sos_calc_angle_debug | Enables or disables the debug of sound angle calculation, which could be used for troubleshooting sound spatialization issues. |
Examples, Generator & More | snd_sos_calc_angle_debug
<0 / 1>
|
snd_sos_compare_kv3_native_stacks | This command is used for debugging Sound Operator Stack (SOS) comparisons, specifically between KV3 and native stacks. |
Examples, Generator & More | snd_sos_compare_kv3_native_stacks
<0 / 1>
|
snd_sos_compare_operator_stacks | This command is used to compare two operator stacks for the sound system and identifies any discrepancies or errors. |
Examples, Generator & More | snd_sos_compare_operator_stacks
<Stack ID 1><Stack ID 2>
|
snd_sos_flush_operators | snd_sos_flush_operators
|