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
Sets the amount by which player movement is slowed in water.
Name | Description |
---|---|
Slowness Amount |
The factor by which player movement speed is slowed in water. |
This command is used to specify which player's voice messages can be heard when watching a game through SourceTV. By default, no player voices are heard.
Name | Description |
---|---|
Bitfield |
A number representing a bitfield of player slots. Each bit corresponds to a player slot, and if the bit is set to 1, voice messages from that slot will be heard. |
This command sets the high 32 bits of a bitfield representing player slots from which to listen to voice messages when connected to SourceTV. By default, no slots are set to listen.
Name | Description |
---|---|
Bitfield Value |
High 32 bits of bitfield for player slots. |
This command controls the visibility of subscription alerts in the user interface.
Name | Description |
---|---|
0 / 1 |
Controls the visibility of subscription alerts. |
This command removes all binds from all keys. Note that this will remove binds from keys like W, A, S and D, so you won't be able to move until re-binding.
This command controls whether human gib (giblets or fragments from player models caused by explosions or damage) are shown in the game.
Name | Description |
---|---|
0 / 1 |
This argument turns the display of human gib entities on or off. |
This is an obsolete command that was replaced by mobile_fps_* commands. Originally, it was used to toggle battery saver mode on or off.
Name | Description |
---|---|
0 / 1 |
Toggle battery saver mode |
This command, if set to 1, allows bots to use grenades. Default is 1, set to 0 to disallow.
Name | Description |
---|---|
0 / 1 |
Set to 0 to disallow, set to 1 to allow (default). |
This command, if set to 1, allows bots to use machine guns. Default is 1, set to 0 to disallow.
Name | Description |
---|---|
0 / 1 |
Set to 0 to disallow, set to 1 to allow (default). |
This command, if set to 1, allows bots to use pistols. Default is 1, set to 0 to disallow.
Name | Description |
---|---|
0 / 1 |
Set to 0 to disallow, set to 1 to allow (default). |
This command, if set to 1, allows bots to use rifles. Default is 1, set to 0 to disallow.
Name | Description |
---|---|
0 / 1 |
Set to 0 to disallow, set to 1 to allow (default). |
This command, if set to 1, allows bots to "go rogue" randomly, when bots are rogue, they don't respond to radio commands. Default is 1, set to 0 to disallow.
Name | Description |
---|---|
0 / 1 |
Set to 0 to disallow, set to 1 to allow (default). |
This command, if set to 1, allows bots to use shotguns. Default is 1, set to 0 to disallow.
Name | Description |
---|---|
0 / 1 |
Set to 0 to disallow, set to 1 to allow (default). |
This command, if set to 1, allows bots to use sniper rifles. Default is 1, set to 0 to disallow.
Name | Description |
---|---|
0 / 1 |
Set to 0 to disallow, set to 1 to allow (default). |
This command, if set to 1, allows bots to use SMGs. Default is 1, set to 0 to disallow.
Name | Description |
---|---|
0 / 1 |
Set to 0 to disallow, set to 1 to allow (default). |
bot_coop_force_throw_grenade_chance
This command sets the chance a bot has of forcefully throwing a grenade in a coop mission.
Name | Description |
---|---|
0 - 1 |
A number between 0 and 1 that represents a bots chance of forcefully throwing a grenade (0.5 = 50%, etc). |
This command sets the maximum distance at which bots can see enemies in cooperative missions when they are idle, dormant, hiding or asleep.
Name | Description |
---|---|
Distance |
A number - the distance they can spot enemies at when idle in cooperative missions. Default 1400. |
This command, if set to 1, will make bots be unable to see/react to players that aren't bots. Default is 0 (disabled).
Name | Description |
---|---|
0 / 1 |
Enter 1 to stop bots from being able to see you, and 0 to turn their vision back on to full. |
0 / 1 |
Set to 0 to make bots not ignore players. Set to 1 to make bots ignore players. |
This console command is used to kick bots from the server. You can select from kicking all bots, a certain team's bots, or only bots of a certain difficulty depending on what values you enter with the command.
Name | Description |
---|---|
Kick Criteria |
Optional. You can specify any of the following here to specify the type of bot(s) you wish to kick:
|
This command, when enabled, allows the spectator to use control inputs such as +attack, +jump, etc., for their own control rather than passing them on to the bot they are spectating. This is primarily used in a cheat or debug context to observe bot behavior without interfering with their actions.
Name | Description |
---|---|
0 / 1 |
Set to 1 to enable spectator control inputs to remain with the spectator, set to 0 to allow inputs to be passed on to the spectated bot. |