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 |
---|---|---|---|
fog_end | This command will set the "end" of the fog in relation to your player. Higher numbers will make the fog more distant. -1 will set to default. Fog will be shown in the distance between fog_start's value and this value. | Examples, Generator & More | fog_end <Distance> |
fog_endskybox | This command will set how far you can see into the sky before fog appears. | Examples, Generator & More | fog_endskybox <Distance> |
fog_hdrcolorscale | This command sets the fog's HDR color scale. Specify a decimal value between 0 and 1. | Examples, Generator & More | fog_hdrcolorscale <Scale> |
fog_hdrcolorscaleskybox | This command sets the fog's skybox HDR color scale. Specify a decimal value between 0 and 1. | Examples, Generator & More | fog_hdrcolorscaleskybox <Scale> |
fog_maxdensity | This command sets the maximum density of the fog, given as a decimal percentage. 0.5 would be 50% transparency, 1 would be completely opaque. | Examples, Generator & More | fog_maxdensity <Density> |
fog_maxdensityskybox | This command sets the maximum density of the fog, given as a decimal percentage. 0.5 would be 50% transparency, 1 would be completely opaque. | Examples, Generator & More | fog_maxdensityskybox <Density> |
fog_override | This command will allow you to override the fog settings of the map if set to 1. Default is 0 (meaning you will by default use the map's fog settings). | Examples, Generator & More | fog_override <0 / 1> |
fog_start | This command sets the distance from the player at which the fog will start being rendered. | Examples, Generator & More | fog_start <Distance> |
fog_startskybox | This command sets the distance from the player at which the skybox fog will start. | Examples, Generator & More | fog_startskybox <Distance> |
fov_cs_debug | This command will set your field of view (FOV) to the specified value, provided sv_cheats is set to 1. Unlike the viewmodel_fov command, this command does not have any limits, allowing you to set your FOV to any value you desire. | Examples, Generator & More | fov_cs_debug <FOV> |
fps_max | This command will set the maximum frames-per-second (FPS) that will be rendered by your client. Your FPS will be capped at this number. Set this to 0 to disable the FPS cap. | Examples, Generator & More | fps_max <FPS Cap> |
fs_report_sync_opens | This command sets when the game should report the opening of files/syncs. See argument help for information. | Examples, Generator & More | fs_report_sync_opens <0 / 1 / 2> |
fs_spew_readfieldlist | This command is used to output a list of read fields that exceed a specified threshold in terms of data size. It's primarily used for debugging and optimization purposes. | Examples, Generator & More | fs_spew_readfieldlist <Threshold Bytes> |
func_break_max_pieces | func_break_max_pieces | ||
game_alias | Allows the configuration of game type and mode based on predefined game aliases, like 'deathmatch'. Useful for quickly setting up games with specific settings. | Examples, Generator & More | game_alias <cmd> |
gameinstructor_dump_open_lessons | This command will print a list of all lessons that are currently open (in use) by the game instructor. | Examples, Generator & More | gameinstructor_dump_open_lessons |
gameinstructor_enable | This command can be used to enable and disable the game instructor. Default is 1, which is enabled. | Examples, Generator & More | gameinstructor_enable <0 / 1> |
gameinstructor_find_errors | This command will make the game instructor run every scripted command and alert you if there are any errors, if set to 1. Default is 0. | Examples, Generator & More | gameinstructor_find_errors <0 / 1> |
gameinstructor_verbose | This command can be used to change the level of debug messages for the game instructor. See argument information for help. | Examples, Generator & More | gameinstructor_verbose <0 / 1 / 2> |
gameinstructor_verbose_lesson | This command will print debug information for the lesson with the specified name. | Examples, Generator & More | gameinstructor_verbose_lesson <Lesson Name> |