Console
What is the Developer Console and how can I use it to change game settings?
Important:
The ~ key will bring up the console for English/US keyboard configurations - for more information on changing the key used to open the developer's console please see the article linked below:
Console disappears
What is the developer console?
The console is a text-based input/output interface to execute commands or change global settings in a game.
How do I enable the console?
Most Valve titles:
- Launch Steam and start the Valve game for which you wish to use the console.
- From the main menu select Options
- Select the Keyboard tab
- Click the Advanced button
- Check the box next to Enable developer console (~)
- Click Apply
Counter-Strike: Global Offensive:
- Launch Steam and start Counter-Strike: Global Offensive
- From the main menu select Help & Options
- Select the Game Settings menu item
- Click the arrow next to Enable Developer Console (~) so that it says Yes
- Click Back
Once the developer's console option is enabled you will be able to use the ~ key to open the developer's console and type in commands to change game settings.
What can I type into the developer console?
The developer console is host to a vast variety of commands. Many of these commands have prefixes that offer a hint as to what they deal with:
- ai_
- single player AI
- bot_
- bot system
- cc_
- close caption system
- cl_
- multiplayer client
- demo_
- demo playback
- disp_
- terrain displacement maps
- dsp_
- audio DSP settings
- ent_
- entity control/debug
- fire_
- firing entity events
- fog_
- fog renderer
- g_
- single player game
- hltv_
- Half-Life TV
- host_
- host system
- hud_
- client HUD
- joy_
- joystick input
- log_
- logging system
- m_
- mouse input
- mat_
- material system
- mp_
- multiplayer game (server)
- nav_
- navigation graphs
- net_
- engine networking
- npc_
- single player game NPCs
- phys_
- physics system
- r_
- video renderer
- rcon_
- remote control access
- sk_
- player skill / difficulty
- snd_
- sound system
- sv_
- server settings (engine)
- v_
- client view
- vgui_
- VGUI
- voice_
- ingame player voice
- vprof_
- code profiler
- wc_
- WorldCraft/Hammer helpers
A partial list of available commands can be found in the Valve Developer Community.