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
Forces the minimum tonemap value. Primarily a debugging tool to adjust in-game lighting.
Name | Description |
---|---|
value |
The minimum tonemap value to force. Use -1 to reset to default behavior. |
This command is used to override the percentage of bright pixels in the tonemapping process, modifying the appearance of brightness in scenes. The old default value was set to 1.0.
Name | Description |
---|---|
Brightness Percentage |
The percentage of the screen that should be forced to bright pixels. |
This command is used to override the default value that controls the tonemap percent target, historically set to 45. It is a cheat command, meaning it can only be used when cheats are enabled.
Name | Description |
---|---|
Target Percent |
The target percentage for the tonemap force. -1 resets to default. |
Forces the tonemap scale rate. Used for debugging purposes, mainly by developers.
Name | Description |
---|---|
Rate |
The rate at which the tonemap scale changes. Setting this to -1 resets it to the default behavior. |
Forces the tonemap scale to a certain value. This command affects the overall brightness of the scene. It's useful for developers or players who want to adjust the visual brightness for testing or gameplay reasons.
Name | Description |
---|---|
Scale |
The value to set the tonemap scale to. |
Forces the tonemap to use a specific alpha value, typically for debugging or experimental purposes.
Name | Description |
---|---|
Value |
The specific alpha value to be used by tonemap. Setting this to -1 default behavior. |
Enables or disables the uncap exposure feature in the material system, allowing the scene's exposure to exceed normal limits when set to 'enable'. This is typically used for debugging or experimental visual effects, and is flagged as a cheat command.
Name | Description |
---|---|
0 / 1 |
Disable or enable the uncap exposure feature. |
This console command is used to set your max preferred ping when connecting to matchmaking servers. It can be beneficial to adjust this command if you find yourself being put in laggy servers.
Name | Description |
---|---|
Max Ping |
The maximum ping of a server you join. The lower you set this, the less laggy your matches might be, but it usually increases the time it takes to find a game. The default value for this command is 150. |
This command is used to set a behavior tree file that drives the bot behavior in the game.
Name | Description |
---|---|
Behavior Tree File |
The path and name of the behavior tree file to use for bots. |
This command sets whether or not players can purchase any form of grenade from the buy menu. Default is 1 (enabled).
Name | Description |
---|---|
0 / 1 |
Enter 0 to disable the buying of grenades. Enter 1 to to enable (default). |
This command can be used to set whether or not players can access the buy menu when they are outside of the buyzone. Note that they still need to be within the buy time period - you can change the buy time period with mp_buytime.
Name | Description |
---|---|
0 / 1 / 2 / 3 |
Your desired setting. Options are:
|
This command makes it so that players can buy when they are immune, regardless of the current buy time. This is used commonly in deathmatch servers. See argument information for options. Default is 0 (disabled).
Name | Description |
---|---|
0 / 1 / 2 / 3 |
Your desired setting. Options are:
|
This command sets the amount of time (in seconds) that players have after a round starts to purchase items. This is the time period AFTER the round countdown. So players have the countdown at the start of the round (usually 15 seconds), plus this time period to buy.
Name | Description |
---|---|
Seconds |
The amount of seconds that players have to access and use the buy menu after the round begins. |
This command sets how many seconds it takes for the bomb to explode after it has been planted by the terrorists. Default is 40 seconds or 35 seconds, depending on gamemode.
Name | Description |
---|---|
Seconds |
The amount of seconds it takes for the C4 to detonate after it has been planted. |
This command sets the amount of time (in seconds) that the scoreboard will show for (or voting time there will be) after a competitive match ends. Default is 15 seconds.
Name | Description |
---|---|
Seconds |
The amount of time in seconds the scoreboard will show for after a competitive match ends. If there is voting (e.g. for overtime or extra map), this time will be used. |
This command sets the default grenades that counter terrorists spawn with. Default is none (0). Separate multiple grenades with spaces.
Name | Description |
---|---|
Grenade Code(s) |
The weapon codes of the grenades you wish for CTs to spawn with by default. If multiple, separate them with spaces. Find codes here. |
This command sets the default melee weapon that counter terrorists spawn with at the start of the round. Default is weapon_knife.
Name | Description |
---|---|
Weapon Code(s) |
The weapon codes of the melee weapons you wish for CTs to spawn with by default. If multiple, separate them with spaces. Find codes here. |
This command sets the default primary weapon that counter terrorists spawn with at the start of the round. Default is none (0).
Name | Description |
---|---|
Weapon Code(s) |
The weapon codes of the primary weapons you wish for CTs to spawn with by default. If multiple, separate them with spaces. Find codes here. |
This command sets the default secondary weapon that counter terrorists spawn with at the start of the round. Default is weapon_hkp2000.
Name | Description |
---|---|
Weapon Code(s) |
The weapon codes of the secondary weapons you wish for CTs to spawn with by default. If multiple, separate them with spaces. Find codes here. |
This command sets whether or not the deathcam can be skipped. Default is 1 (skippable).
Name | Description |
---|---|
0 / 1 |
Enter 0 here to make it so that the death cam cannot be skipped. Enter 1 here to make it so that the death cam can be skipped (default). |