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 |
---|---|---|---|
mouse_inverty | Inverts the Y-axis of the mouse movement. When enabled, moving the mouse forward will aim down, and moving it backward will aim up. |
Examples, Generator & More | mouse_inverty
<0 / 1>
|
mp_damage_headshot_only | Turning this command on means that damage to other players can only be done through headshots. Time to test your aim. |
Examples, Generator & More | mp_damage_headshot_only
<0 / 1>
|
mp_dm_healthshot_killcount | This command is used in Counter-Strike 2 to grant players healthshots in a deathmatch game mode after they achieve a certain number of kills. |
Examples, Generator & More | mp_dm_healthshot_killcount
<Kill count>
|
mp_suicide_penalty | This command configures whether players should be penalized for committing suicide during a match. |
Examples, Generator & More | mp_suicide_penalty
<0 / 1>
|
mp_team_intro_time | Specifies the duration in seconds for the team introduction sequence at the beginning of a match. |
Examples, Generator & More | mp_team_intro_time
<Seconds>
|
mp_warmup_offline_enabled | This command enables or disables the warmup period at the start of an offline (bot) match. |
Examples, Generator & More | mp_warmup_offline_enabled
<0 / 1>
|
mp_warmup_online_enabled | This command enables or disables the warmup period at the start of an online match. |
Examples, Generator & More | mp_warmup_online_enabled
<0 / 1>
|
nav_clear_attributes | This command removes all navigation attributes from the currently selected nav area, essentially resetting its special characteristics to their defaults. |
Examples, Generator & More | nav_clear_attributes
|
nav_create_indirect_connection | Create a connection between the selected area and the area pointed at by the crosshair. This is primarily used during map development for pathfinding and navigation mesh adjustments. |
Examples, Generator & More | nav_create_indirect_connection
|
nav_draw_area_gravity | This command, when enabled, visualizes the 'gravity' of each navigation area in the map for debugging purposes. The visual representation helps understand how 'gravity' affects bot movements. |
Examples, Generator & More | nav_draw_area_gravity
<0 / 1>
|
nav_draw_area_hull_support | This command is used for debugging navigation meshes in-game. When enabled, it visually displays areas that support hull navigation. |
Examples, Generator & More | nav_draw_area_hull_support
<0 / 1>
|
nav_draw_area_normal | This command toggles the display of area normals in the navigation mesh, primarily used for debugging and map development. |
Examples, Generator & More | nav_draw_area_normal
<0 / 1>
|
nav_draw_area_ztest | This command toggles the Z-axis test when drawing nav areas, affecting their visibility based on the player's current view and position. |
Examples, Generator & More | nav_draw_area_ztest
<0 / 1>
|
nav_draw_attribute_dynamic | This command is used to highlight all navigation (nav) areas with a specific dynamic attribute in the game. It's typically used for debugging or map development purposes, allowing developers and mappers to visually identify areas with certain characteristics. |
Examples, Generator & More | nav_draw_attribute_dynamic
<0 / 1>
|
nav_draw_markup_offset | Adjusts the vertical offset for nav mesh markup drawing, helping in fine-tuning visual debugging layouts. |
Examples, Generator & More | nav_draw_markup_offset
<Offset value>
|
nav_draw_mesh_offset | This command adjusts the vertical offset for drawing the navigation mesh in the game, which is particularly useful for scenarios where the mesh is a fixed offset away from the physical ground, such as on flat planes. |
Examples, Generator & More | nav_draw_mesh_offset
<Offset Value>
|
nav_draw_space_neighbors | This command, when enabled, visualizes neighboring spaces in the navigation mesh used by bots and AI to navigate through the map, helping debug pathfinding. |
Examples, Generator & More | nav_draw_space_neighbors
<0 / 1>
|
nav_draw_space_portals | This command is used to enable or disable the visualization of space portals in the navigation mesh, which is mainly useful for developers and map creators for debugging purposes. |
Examples, Generator & More | nav_draw_space_portals
<0 / 1>
|
nav_draw_space_radius | This command, when enabled, draws the nav space radius in the CS2 environment, useful for debugging navigation paths. |
Examples, Generator & More | nav_draw_space_radius
<0 / 1>
|
nav_gen_add_jumps | This command is used to enable or disable the automatic addition of jump links (connections that require a jump) in the navigation mesh generation process. |
Examples, Generator & More | nav_gen_add_jumps
<0 / 1>
|