Commands
This is a complete list of all of the server side, client side, and console commands in Counter-Strike: Source. The things these commands control range from changing the weather effects to displaying frame rate information in real time. The first few tables list the most commonly used Client Side and Server Side Values. The last table lists all other variables.| Client Side Commands | Description |
| fps_max | Frame rate limiter. |
| cl_allowdownload <0/1> | Client downloads customization files. Default: 1 |
| cl_allowupload <0/1> | Client uploads customization files. Default: 1 |
| cl_autowepswitch <0/1> | Automatically switch to picked up weapons (if more powerful) Default: 1 |
| cl_c4dynamiclight <0/1> | Draw dynamic light when planted c4 flashes. Default: 0 |
| cl_c4progressbar <0/1> | Draw progress bar when defusing the C4. Default: 1 |
| cl_cmdrate | Max number of command packets sent to server per second. Default: 0 |
| cl_updaterate | Number of packets per second of updates you are requesting from the server. Default: 20 |
| cl_crosshaircolor | Color of crosshair. 0=green, 1=red, 2=blue, 3=yellow, 4=skyblue Default: 0 |
| cl_crosshairscale | Size of the crosshair. Lower value=Larger, Higher value=smaller Default: 768 |
| cl_crosshairusealpha <0/1> | Make crosshair translucent against similar colors. Default: 0 |
| cl_customsounds <0/1> | Enable customized player sound playback. Default: 0 |
| cl_demoviewoverride <0/1> | Override view during demo playback. Default: 0 |
| cl_drawhud <0/1> | Enable the rendering of the hud. sv_cheats must be enabled to disable hud. Default: 1 |
| cl_showtextmsg <0/1> | Enable/disable text messages printing on the screen. Default: 1 |
| Server Side Commands | Description |
| hostname | The name of the server. |
| sv_password | Set server password. Leave blank to disable. |
| mp_friendlyfire <0/1> | Turn on/off friendlyfire. Default: off |
| mp_footsteps <0/1> | Turn on/off footsteps. Default: on |
| mp_autoteambalance <0/1> | Force clients to auto-join the opposite team if they are not balanced. Default: on |
| mp_autokick <0/1> | Kick idle/team-killing players. Default: off |
| mp_flashlight <0/1> | Turn on/off the ability for clients to use flashlight. Default: off |
| mp_tkpunish <0/1> | Punish TK'ers on next round? Default: on |
| mp_forcecamera <0/1> | Force dead players to first person mode, effectively disabling freelook. Default: off |
| sv_alltalk <0/1> | Players can hear all other players, no team restrictions. Default: off |
| sv_pausable <0/1> | Can the server be paused Default: 0 |
| sv_consistency <0/1> | Force cleints to pass consistency check for critical files before joining server? Default: 0 |
| sv_cheats <0/1> | Allow cheats on server. Default: 0 |
| sv_gravity <0/1> | World Gravity Default: 800 |
| sv_maxvelocity | Maximum speed any ballistically moving object is allowed to attain per axis. Default: 3500 |
| sv_unlag <0/1> | Enables player lag compensation. Default: 1 |
| sv_voicecodec | Specifies which voice codec DLL to use in a game. Set to the name of the DLL without the extension.. Default: vaudio_miles |
| sv_allowupload <0/1> | Allow clients to upload their custom decals to the server. Default: 1 |
| sv_allowdownload <0/1> | Allow clients to downnload files. Default: 1 |
| sv_maxspeed | Maximum speed a player can move. Default: 320 |
| mp_limitteams <0-20> | Max # of players 1 team can have over another. Default: 2 |
| mp_hostagepenalty <##> | How many hostages a Terrorist can kill before being kicked, 0 to disable. Default: 5 |
| sv_voiceenable <0/1> | Allow clients to use mic. Default: 1 |
| mp_allowspectators <0/1> | Allow spectators on the server. Default: 1 |
| mp_chattime <0-120> | amount of time in seconds players can chat after the game is over. Lower value = faster map load change. Default: 10 |
| sv_timeout <##> | After this many seconds without a message from a client, the client is dropped. Default: 65 |
Rcon Cvars |
|
| rcon_password | Set rcon passsword. Leave blank to disable rcon |
| sv_rcon_banpenalty <mins> | Number of minutes to ban users who fail rcon authentication. Default: 0 |
| sv_rcon_maxfailures <0-20> | Max number of times a user can fail rcon authentication before being banned. Default: 10 |
| sv_rcon_minfailures <0-20> | Number of times a user can fail rcon authentication in sv_rcon_minfailuretime before being banned. Default: 5 |
| sv_rcon_minfailuretime <1-seconds> | Number of seconds to track failed rcon authentications. Default: 30 |
Round Cvars |
|
| mp_freezetime <0-60> | Time in seconds to keep players frozen when the round starts. Default: 6 |
| mp_roundtime <1-9> | How much time in minutes does a round last. Default: 5 |
| mp_startmoney <800-16000> | Amount of money each player gets when they reset (16000 max) Default: 800 |
| mp_c4timer <10-90> | The amount of time in seconds before bomb explodes after planted. Default: 45 |
| mp_fraglimit <##> | Amount of frags a player can exceed before changing maps. Default: 0 |
| mp_maxrounds <##> | Amount of round to play before server changes maps. Default: 0 |
| mp_winlimit <0-20> | Max number of rounds one team can win before server changes maps. Default: 0 |
| mp_playerid <0/1/2> | Controls what information player see in the status bar: 0 all names; 1 team names; 2 no names. Default: 0 |
| mp_spawnprotectiontime | Time in seconds to Kick players who team-kill after round restart. Default: 5 |
Bandwidth Rates |
|
| sv_minrate <0-25000> | Min bandwidth rate allowed on server. Default: 0 (unlimited) |
| sv_maxrate <0-25000> | Max bandwidth rate allowed on server. Default: 0 (unlimited) |
| decalfrequency
|
Amount of time in seconds a player can spray their decal. Default: 10 |
| sv_maxupdaterate | Maximum updates per second that the server will allow. Default: 60 |
| sv_minupdaterate | Minimum updates per second that the server will allow. Default: 10 |
Server logging |
|
| log <on/off> | Enable server logging? Default: off |
| sv_logbans <0/1> | Log server bans in the server logs. Default: 0 |
| sv_logecho <0/1> | Echo log information to the console. Default: 1 |
| sv_logfile <0/1> | Log server information in the log file. Default: 1 |
| sv_log_onefile <0/1> | Log server information to only one file. Default: 0 |
| sv_logsdir | Folder in the game directory where server logs will be stored. |
SourceTV |
|
| tv_enable <0|1> | Activates SourceTV on local game server, SourceTV bot will appear as spectator client after next changelevel (master only). |
| tv_name <name> | Sets SourceTV name as it appears in server browser and scoreboard (master only). |
| tv_title <text> | Sets a SourceTV broadcast title shown in the spectator GUI |
| tv_maxclients <0..255> | Sets maximum client number for local SourceTV server/proxy (default 128). |
| tv_stop | Stops broadcasting the game via SourceTV. |
| tv_status | Shows SourceTV specific information. |
| tv_clients | Shows a list of all spectator clients connect to local SourceTV server |
| tv_msg <text> | Send a HUD message to all connected SourceTV spectator clients |
| tv_retry | Reconnects the SourceTV relay proxy to last known address (relay only). |
| tv_autoretry <0|1> | If enabled, SourceTV relay proxies try to reconnect to last known server after connection was lost. |
| tv_timeout <seconds> | Sets SourceTV relay proxy connection timeout in seconds. If a connection times out, the relay proxy tries to reconnect automatically. |
| tv_delay <seconds> | Source TV broadcast delay in seconds (master only). |
| tv_delaymapchange <0|1> | Delays the map change on game server until rest of buffered game has been broadcasted |
| tv_port <port> | Set the SourceTV host port (default 27020). Must be set as srcds start parameter. |
| tv_maxrate <bytes> | Sets the maximum bandwidth spend per client in bytes/second (default 5000) |
| tv_snapshotrate <n> | Sets world snapshots broadcasted per second by SourceTV (master only). |
| tv_password <password> | Sets required password for connecting spectators. |
| tv_relaypassword <password> | Sets required password for connecting relay proxies. |
| tv_record <filename> | Starts a SourceTV demo recording that records all entities & events (master only) |
| tv_stoprecord | Stops SourceTV demo recording (master only) |
| tv_autorecord <0|1> | Automatically records every game, demo file name format is auto-YYYYMMDD-hhmm-map.dem |
| tv_debug <0|1> | Shows additional debugging messages |
| tv_dispatchmode <0|1|2> | Sets Source client dispatch mode for connecting clients: 0=never, 1=if appropriate, 2=always |
| tv_overrideroot <0|1> | Overrides the master IP broadcast to spectators with a local IP. |
| tv_relayvoice <0|1> | If enabled, allow player voice chat if broadcasted (master only) |
| tv_transmitall <0|1> | By default entities and events outside of the auto-director view are removed from SourceTV broadcasts to save bandwidth. If tv_transmitall is enabled, the whole game is transmitted and spectators can switch their view to any player they want. This option increases bandwidth requirement per spectator client by factor 2 to 3. |
| tv_chattimelimit <seconds> | Limits spectators to chat only every n seconds |
| tv_chatgroupsize <n> | Set chat group size to n spectators. Only spectators in the same chat group can speak to each other. Chat groups are turned off with "tv_chatgroupsize 0" and everybody can speak to everybody. Setting chat groups helps reducing chatter noise and saves some bandwidth. |
| tv_chatgroup <name> | Allows spectators to choose their chat group. If no name if given the current chat group is shown (client only) |
| tv_nochat <0|1> | Disables other spectators chat lines (client only) |
| tv_allow_static_shots <0|1> | Allows auto-director to choose fixed camera shots (master only) |
| tv_allow_camera_man <0|1> | Allows spectator clients on game server to become SourceTV camera men (master only) |
| -nohltv | (Command Line Variable) |
| -tvdisable | Disables all SourceTV features on this game server. (Command Line Variable) |
| -tvmasteronly | SourceTV can only serve one client and can't be used as relay proxy. (Command Line Variable) |
Operation |
|
| sv_lan <0/1> | 0=Public/LAN, 1=LAN Default: 0 |
| sv_region | Geographic location of the server. -1 World 0 US East coast 1 US West coast 2 South America 3 Europe 4 Asia 5 Australia 6 Middle East 7 Africa |
| sv_contact | Contact email for server sysop |
| Other Variables | Description |
| _fov |
Automates fov command to server. |
| _restart |
Shutdown and restart the engine. |
| addip |
Add an IP address to the ban list. |
| adsp_alley_min |
|
| adsp_courtyard_min |
|
| adsp_debug |
|
| adsp_door_height |
|
| adsp_duct_min |
|
| adsp_hall_min |
|
| adsp_low_ceiling |
|
| adsp_opencourtyard_min |
|
| adsp_openspace_min |
|
| adsp_openstreet_min |
|
| adsp_openwall_min |
|
| adsp_room_min |
|
| adsp_street_min |
|
| adsp_tunnel_min |
|
| adsp_wall_height |
|
| ai_auto_contact_solver |
|
| ai_clear_bad_links |
Clears bits set on nav links indicating link is unusable |
| ai_debug_assault |
|
| ai_debug_directnavprobe |
|
| ai_debug_doors |
|
| ai_debug_dyninteractions |
Debug the NPC dynamic interaction system. |
| ai_debug_efficiency |
|
| ai_debug_enemies |
|
| ai_debug_expressions |
Show random expression decisions for NPCs. |
| ai_debug_follow |
|
| ai_debug_loners |
|
| ai_debug_looktargets |
|
| ai_debug_los |
NPC Line-Of-Sight debug mode. If 1, solid entities that block NPC LOC will be highlighted with white bounding boxes. If 2, it'l |
| ai_debug_nav |
|
| ai_debug_node_connect |
Debug the attempted connection between two nodes |
| ai_debug_ragdoll_magnets |
|
| ai_debug_shoot_positions |
|
| ai_debug_speech |
|
| ai_debug_squads |
|
| ai_debug_think_ticks |
|
| ai_debugscriptconditions |
|
| ai_disable |
Bi-passes all AI logic routines and puts all NPCs into their idle animations. Can be used to get NPCs out of your way and to t |
| ai_drawbattlelines |
|
| ai_dump_hints |
|
| ai_efficiency_override |
|
| ai_follow_use_points |
|
| ai_follow_use_points_when_movi ng |
|
| ai_lead_time |
|
| ai_LOS_mode |
|
| ai_moveprobe_debug |
|
| ai_moveprobe_jump_debug |
|
| ai_moveprobe_usetracelist |
|
| ai_next_hull |
Cycles through the various hull sizes. Currently selected hull size is written to the screen. Controls which connections are |
| ai_no_local_paths |
|
| ai_no_node_cache |
|
| ai_no_select_box |
|
| ai_no_steer |
|
| ai_no_talk_delay |
|
| ai_nodes |
Toggles node display. First call displays the nodes for the given network as green objects. Second call displays the nodes a |
| ai_norebuildgraph |
|
| ai_path_adjust_speed_on_immedi ate_turns |
|
| ai_path_insert_pause_at_est_en d |
|
| ai_path_insert_pause_at_obstru ction |
|
| ai_reaction_delay_alert |
|
| ai_reaction_delay_idle |
|
| ai_rebalance_thinks |
|
| ai_reloadresponsesystems |
Reload all response system scripts. |
| ai_report_task_timings_on_limi t |
|
| ai_resume |
If NPC is stepping through tasks (see ai_step ) will resume normal processing. |
| ai_sequence_debug |
|
| ai_set_move_height_epsilon |
Set how high AI bumps up ground walkers when checking steps |
| ai_shot_bias |
|
| ai_shot_bias_max |
|
| ai_shot_bias_min |
|
| ai_shot_stats |
|
| ai_shot_stats_term |
|
| ai_show_connect |
Displays the allowed connections between each node for the currently selected hull type. Hulls are color code as follows |
| ai_show_connect_fly |
Displays the allowed connections between each node for the currently selected hull type. Hulls are color code as follows |
| ai_show_connect_jump |
Displays the allowed connections between each node for the currently selected hull type. Hulls are color code as follows |
| ai_show_graph_connect |
Toggles graph connection display for the node that the player is looking at. Nodes that are connected to the selected node by |
| ai_show_grid |
Draw a grid on the floor where looking. |
| ai_show_hints |
Displays all hints as small boxes Blue - hint is available for use Red - hint is currently being used by an NPC Orange - |
| ai_show_hull |
Displays the allowed hulls between each node for the currently selected hull type. Hulls are color code as follows |
| ai_show_hull_attacks |
|
| ai_show_node |
Highlight the specified node |
| ai_show_think_tolerance |
|
| ai_show_visibility |
Toggles visibility display for the node that the player is looking at. Nodes that are visible from the selected node will be d |
| ai_simulate_task_overtime |
|
| ai_spread_cone_focus_time |
|
| ai_spread_defocused_cone_multi plier |
|
| ai_spread_pattern_focus_time |
|
| ai_step |
NPCs will freeze after completing their current task. To complete the next task, use 'ai_step' again. To resume processing no |
| ai_think_limit_label |
|
| ai_use_clipped_paths |
|
| ai_use_efficiency |
|
| ai_use_frame_think_limits |
|
| ai_use_think_optimizations |
|
| ainet_generate_report |
Generate a report to the console. |
| ainet_generate_report_only |
Generate a report to the console. |
| air_density |
Changes the density of air for drag computations. |
| alias |
Alias a command. |
| +alt1 |
|
| -alt1 |
|
| ammo_338mag_max |
|
| ammo_357sig_max |
|
| ammo_45acp_max |
|
| ammo_50AE_max |
|
| ammo_556mm_box_max |
|
| ammo_556mm_max |
|
| ammo_57mm_max |
|
| ammo_762mm_max |
|
| ammo_9mm_max |
|
| ammo_buckshot_max |
|
| ammo_flashbang_max |
|
| ammo_hegrenade_max |
|
| ammo_smokegrenade_max |
|
| async_mode |
Set the async filesystem mode (0 == optimal async, 1 == simple async, 2 == synchronous |
| async_simulate_delay |
Simulate a delay of up to a set msec per file operation |
| async_simulate_mixed_mode |
Simulate a mix of async load styles |
| +attack |
|
| -attack |
|
| +attack2 |
|
| -attack2 |
|
| autobuy |
Attempt to purchase items with the order listed in cl_autobuy |
| autosave |
|
| +back |
|
| -back |
|
| banid |
Add a user ID to the ban list. |
| banip |
Add an IP address to the ban list. |
| bench_end |
Ends gathering of info. |
| bench_showstatsdialog |
Shows a dialog displaying the most recent benchmark results. |
| bench_start |
Starts gathering of info. Arguments |
| bench_upload |
Uploads most recent benchmark stats to the Valve servers. |
| benchframe |
Takes a snapshot of a particular frame in a time demo. |
| bgmvolume |
CD sound playback volume. |
| bind |
Bind a key. |
| BindToggle |
|
| blink_duration |
How many seconds an eye blink will last. |
| bloodspray |
blood |
| bot_add |
bot_add <t|ct> <type> <difficulty> <name> - Adds a bot matching the given criteria. |
| bot_add_ct |
bot_add_ct <type> <difficulty> <name> - Adds a Counter-Terrorist bot matching the given criteria. |
| bot_add_t |
bot_add_t <type> <difficulty> <name> - Adds a terrorist bot matching the given criteria. |
| bot_all_weapons |
Allows the bots to use all weapons |
| bot_allow_grenades |
If nonzero, bots may use grenades. |
| bot_allow_machine_guns |
If nonzero, bots may use the machine gun. |
| bot_allow_pistols |
If nonzero, bots may use pistols. |
| bot_allow_rifles |
If nonzero, bots may use rifles. |
| bot_allow_rogues |
If nonzero, bots may occasionally go 'rogue'. Rogue bots do not obey radio commands, nor pursue scenario goals. |
| bot_allow_shotguns |
If nonzero, bots may use shotguns. |
| bot_allow_snipers |
If nonzero, bots may use sniper rifles. |
| bot_allow_sub_machine_guns |
If nonzero, bots may use sub-machine guns. |
| bot_auto_follow |
If nonzero, bots with high co-op may automatically follow a nearby human player. |
| bot_auto_vacate |
If nonzero, bots will automatically leave to make room for human players. |
| bot_chatter |
Control how bots talk. Allowed values |
| bot_crouch |
|
| bot_debug |
For internal testing purposes. |
| bot_debug_target |
For internal testing purposes. |
| bot_defer_to_human |
If nonzero and there is a human on the team, the bots will not do the scenario tasks. |
| bot_difficulty |
Defines the skill of bots joining the game. Values are |
| bot_dont_shoot |
If nonzero, bots will not fire weapons (for debugging). |
| bot_eco_limit |
If nonzero, bots will not buy if their money falls below this amount. |
| bot_freeze |
|
| bot_goto_mark |
Sends a bot to the selected nav area (useful for testing navigation meshes) |
| bot_join_after_player |
If nonzero, bots wait until a player joins before entering the game. |
| bot_join_delay |
Prevents bots from joining the server for this many seconds after a map change. |
| bot_join_team |
Determines the team bots will join into. Allowed values |
| bot_kick |
bot_kick <all> <t|ct> <type> <difficulty> <name> - Kicks a specific bot, or all bots, matching the given criteria. |
| bot_kill |
bot_kill <all> <t|ct> <type> <difficulty> <name> - Kills a specific bot, or all bots, matching the given criteria. |
| bot_knives_only |
Restricts the bots to only using knives |
| bot_loadout |
bots are given these items at round start |
| bot_mimic |
|
| bot_mimic_yaw_offset |
|
| bot_pistols_only |
Restricts the bots to only using pistols |
| bot_prefix |
This string is prefixed to the name of all bots that join the game. <difficulty> will be replaced with the bot's difficulty. <w |
| bot_profile_db |
The filename from which bot profiles will be read. |
| bot_quota |
Determines the total number of bots in the game. |
| bot_quota_mode |
Determines the type of quota. Allowed values |
| bot_show_battlefront |
Show areas where rushing players will initially meet. |
| bot_show_nav |
For internal testing purposes. |
| bot_show_occupy_time |
Show when each nav area can first be reached by each team. |
| bot_snipers_only |
Restricts the bots to only using sniper rifles |
| bot_stop |
If nonzero, immediately stops all bot processing. |
| bot_traceview |
For internal testing purposes. |
| bot_walk |
If nonzero, bots can only walk, not run. |
| bot_zombie |
If nonzero, bots will stay in idle mode and not attack. |
| box |
Draw a debug box. |
| +break |
|
| -break |
|
| breakable_disable_gib_limit |
|
| breakable_multiplayer |
|
| buddha |
Toggle. Player takes damage but won't die. (Shows red cross when health is zero) |
| budget_averages_window |
number of frames to look at when figuring out average frametimes |
| budget_background_alpha |
how translucent the budget panel is |
| budget_bargraph_background_alp ha |
how translucent the budget panel is |
| budget_bargraph_range_ms |
budget bargraph range in milliseconds |
| budget_history_numsamplesvisib le |
number of samples to draw in the budget history window. The lower the better as far as rendering overhead of the budget panel |
| budget_history_range_ms |
budget history range in milliseconds |
| budget_panel_bottom_of_history _fraction |
number between 0 and 1 |
| budget_panel_height |
height in pixels of the budget panel |
| budget_panel_width |
width in pixels of the budget panel |
| budget_panel_x |
number of pixels from the left side of the game screen to draw the budget panel |
| budget_panel_y |
number of pixels from the top side of the game screen to draw the budget panel |
| budget_peaks_window |
number of frames to look at when figuring out peak frametimes |
| budget_show_averages |
enable/disable averages in the budget panel |
| budget_show_history |
turn history graph off and on. . good to turn off on low end |
| budget_show_peaks |
enable/disable peaks in the budget panel |
| bug |
Show/hide the bug reporting UI. |
| bug_swap |
Automatically swaps the current weapon for the bug bait and back again. |
| bugreporter_includebsp |
Include .bsp for internal bug submissions. |
| buildcubemaps |
Rebuild cubemaps. |
| building_cubemaps |
|
| buyequip |
Show equipment buy menu |
| buymenu |
Show main buy menu |
| c_maxdistance |
|
| c_maxpitch |
|
| c_maxyaw |
|
| c_mindistance |
|
| c_minpitch |
|
| c_minyaw |
|
| c_orthoheight |
|
| c_orthowidth |
|
| cache_print |
Print out contents of cache memory. Optionally use cache_set_print_section |
| cache_print_lru |
Print out contents of cache memory. Optionally use cache_set_print_section |
| cache_print_summary |
Print out a summary contents of cache memory. |
| cache_set_print_section |
|
| cam_command |
|
| cam_idealdist |
|
| cam_idealpitch |
|
| cam_idealyaw |
|
| cam_snapto |
|
| +camdistance |
|
| -camdistance |
|
| +camin |
|
| -camin |
|
| +cammousemove |
|
| -cammousemove |
|
| camortho |
Switch to orthographic camera. |
| +camout |
|
| -camout |
|
| +campitchdown |
|
| -campitchdown |
|
| +campitchup |
|
| -campitchup |
|
| +camyawleft |
|
| -camyawleft |
|
| +camyawright |
|
| -camyawright |
|
| cancelselect |
|
| cast_hull |
Tests hull collision detection |
| cast_ray |
Tests collision detection |
| cc_captiontrace |
Show missing closecaptions (0 = no, 1 = devconsole, 2 = show in hud) |
| cc_emit |
Emits a closed caption |
| cc_lang |
Current close caption language (emtpy = use game UI language) |
| cc_linger_time |
Close caption linger time. |
| cc_lookup_crc |
For tracking down missing CC token strings |
| cc_predisplay_time |
Close caption delay before showing caption. |
| cc_sentencecaptionnorepeat |
How often a sentence can repeat. |
| cc_subtitles |
If set, don't show sound effect captions, just voice overs (i.e., won't help hearing impaired players). |
| cd |
Play or stop a cd track. |
| centerview |
|
| ch_createairboat |
Spawn airboat in front of the player. |
| ch_createjeep |
Spawn jeep in front of the player. |
| changelevel |
Change server to the specified map |
| changelevel2 |
Transition to the specified map in single player |
| chooseteam |
Choose a new team |
| cl_anglespeedkey |
|
| cl_animationinfo |
Hud element to examine. |
| cl_autobuy |
The order in which autobuy will attempt to purchase items |
| cl_autohelp |
Auto-help |
| cl_backspeed |
|
| cl_bob |
|
| cl_bobcycle |
|
| cl_bobup |
|
| cl_buy_favorite |
Purchase a favorite weapon/equipment loadout |
| cl_buy_favorite_nowarn |
Skips the error prompt when saving an invalid buy favorite |
| cl_buy_favorite_quiet |
Skips the prompt when saving a buy favorite in the buy menu |
| cl_buy_favorite_reset |
Reset favorite loadouts to the default |
| cl_buy_favorite_set |
Saves the current loadout as a favorite |
| cl_class |
Default class when joining a game |
| cl_clock_correction |
Enable/disable clock correction on the client. |
| cl_clock_correction_adjustment _max_amount |
Sets the maximum number of milliseconds per second it is allowed to correct the client clock. It will only correct this amount |
| cl_clock_correction_adjustment _max_offset |
As the clock offset goes from cl_clock_correction_adjustment_min_offset to this value (in milliseconds), it moves towards apply |
| cl_clock_correction_adjustment _min_offset |
If the clock offset is less than this amount (in milliseconds), then no clock correction is applied. |
| cl_clock_correction_force_serv er_tick |
Force clock correction to match the server tick + this offset (-999 disables it). |
| cl_clock_showdebuginfo |
Show debugging info about the clock drift. |
| cl_clockdrift_max_ms |
Maximum number of milliseconds the clock is allowed to drift before the client snaps its clock to the server's. |
| cl_cmdbackup |
For each command packet, how many additional history commands are sent ( helps in case of packet loss ) |
| cl_crosshairalpha |
|
| cl_detail_avoid_force |
force with which to avoid players ( in units, percentage of the width of the detail sprite ) |
| cl_detail_avoid_radius |
radius around detail sprite to avoid players |
| cl_detail_avoid_recover_speed |
how fast to recover position after avoiding players |
| cl_detail_max_sway |
Amplitude of the detail prop sway |
| cl_detaildist |
|
| cl_detailfade |
|
| cl_downloadfilter |
Determines which files can be downloaded from the server (all, none, nosounds) |
| cl_drawleaf |
|
| cl_drawmaterial |
Draw a particular material over the frame |
| cl_drawmonitors |
|
| cl_drawshadowtexture |
|
| cl_dynamiccrosshair |
|
| cl_ejectbrass |
|
| cl_ent_absbox |
Displays the client's absbox for the entity under the crosshair. |
| cl_ent_bbox |
Displays the client's bounding box for the entity under the crosshair. |
| cl_ent_rbox |
Displays the client's render box for the entity under the crosshair. |
| cl_entityreport |
For debugging, draw entity states to console |
| cl_extrapolate |
Enable/disable extrapolation if interpolation history runs out. |
| cl_extrapolate_amount |
Set how many seconds the client will extrapolate entities for. |
| cl_flushentitypacket |
For debugging. Force the engine to flush an entity packet. |
| cl_forcepreload |
Whether we should force preloading. |
| cl_forwardspeed |
|
| cl_fullupdate |
Forces the server to send a full update packet |
| cl_idealpitchscale |
|
| cl_ignorepackets |
Force client to ignore packets (for debugging). |
| cl_interp |
Interpolate object positions starting this many seconds in past |
| cl_interp_all |
Disable interpolation list optimizations. |
| cl_interp_npcs |
Interpolate NPC positions starting this many seconds in past (or cl_interp, if greater) |
| cl_interpolate |
Interpolate entities on the client. |
| cl_lagcomp_errorcheck |
Player index of other player to check for position errors. |
| cl_lagcompensation |
Perform server side lag compensation of weapon firing events. |
| cl_left_hand_ik |
Attach player's left hand to rifle with IK. |
| cl_leveloverview |
|
| cl_leveloverviewmarker |
|
| cl_localnetworkbackdoor |
Enable network optimizations for single player games. |
| cl_locationalpha |
|
| cl_logofile |
Spraypoint logo decal. |
| cl_maxrenderable_dist |
Max distance from the camera at which things will be rendered |
| cl_min_ct |
Controls which CT model is used when cl_minmodels is set. |
| cl_min_t |
Controls which Terrorist model is used when cl_minmodels is set. |
| cl_minmodels |
Uses one player model for each team. |
| cl_mouseenable |
|
| cl_mouselook |
Set to 1 to use mouse for look, 0 for keyboard look. Cannot be set while connected to a server. |
| cl_observercrosshair |
|
| cl_overdraw_test |
|
| cl_panelanimation |
Shows panel animation variables |
| cl_particleeffect_aabb_buffer |
Add this amount to a particle effect's bbox in the leaf system so if it's growing slowly, it won't have to be reinserted as oft |
| cl_pclass |
Dump entity by prediction classname. |
| cl_pdump |
Dump info about this entity to screen. |
| cl_phys_props_enable |
Disable clientside physics props (must be set before loading a level). |
| cl_phys_props_max |
Maximum clientside physic props |
| cl_phys_timescale |
Sets the scale of time for client-side physics (ragdolls) |
| cl_pitchdown |
|
| cl_pitchspeed |
|
| cl_pitchup |
|
| cl_precacheinfo |
Show precache info (client). |
| cl_pred_optimize |
Optimize for not copying data if didn't receive a network update (1), and also for not repredicting if there were no errors (2) |
| cl_predict |
Perform client side prediction. |
| cl_predictionlist |
Show which entities are predicting |
| cl_predictweapons |
Perform client side prediction of weapon effects. |
| cl_radaralpha |
|
| cl_radartype |
|
| cl_ragdoll_collide |
|
| cl_ragdoll_physics_enable |
Enable/disable ragdoll physics. |
| cl_rebuy |
The order in which rebuy will attempt to repurchase items |
| cl_removedecals |
Remove the decals from the entity under the crosshair. |
| cl_resend |
Delay in seconds before the client will resend the 'connect' attempt |
| cl_righthand |
Use right-handed view models. |
| cl_scalecrosshair |
|
| cl_SetupAllBones |
|
| cl_show_splashes |
|
| cl_showanimstate |
Show the (client) animation state for the specified entity (-1 for none). |
| cl_showanimstate_log |
1 to output cl_showanimstate to Msg(). 2 to store in AnimState.log. 3 for both. |
| cl_ShowBoneSetupEnts |
Show which entities are having their bones setup each frame. |
| cl_showents |
Dump entity list to console. |
| cl_showerror |
Show prediction errors, 2 for above plus detailed field deltas. |
| cl_showevents |
Print event firing info in the console |
| cl_showfps |
Draw fps meter at top of screen (1 = fps, 2 = smooth fps) |
| cl_showpausedimage |
Show the 'Paused' image when game is paused. |
| cl_showpluginmessages |
Allow plugins to display messages to you |
| cl_showpos |
Draw current position at top of screen |
| cl_ShowSunVectors |
|
| cl_sidespeed |
|
| cl_slist |
Number of seconds to wait for server ping responses when checking for server on your lan |
| cl_smooth |
Smooth view/eye origin after prediction errors |
| cl_smoothtime |
Smooth client's view after prediction error over this many seconds |
| cl_soundemitter_flush |
Flushes the sounds.txt system (client only) |
| cl_soundfile |
Jingle sound file. |
| cl_soundscape_flush |
Flushes the client side soundscapes |
| cl_soundscape_printdebuginfo |
print soundscapes |
| cl_spec_mode |
spectator mode |
| cl_sun_decay_rate |
|
| cl_team |
Default team when joining a game |
| cl_timeout |
After this many seconds without receiving a packet from the server, the client will disconnect itself |
| cl_upspeed |
|
| cl_view |
Set the view entity index. |
| cl_winddir |
Weather effects wind direction angle |
| cl_windspeed |
Weather effects wind speed scalar |
| cl_wpn_sway_interp |
|
| cl_wpn_sway_scale |
|
| cl_yawspeed |
|
| clear |
Clear all console output. |
| clear_debug_overlays |
clears debug overlays |
| clientport |
Host game client port |
| closecaption |
Enable close captioning. |
| cmd |
Forward command to server. |
| collision_shake_amp |
|
| collision_shake_freq |
|
| collision_shake_time |
|
| colorcorrectionui |
Show/hide the color correction tools UI. |
| +commandermousemove |
|
| -commandermousemove |
|
| commentary |
Desired commentary mode state. |
| commentary_available |
Automatically set by the game when a commentary file is available for the current map. |
| commentary_cvarsnotchanging |
|
| commentary_finishnode |
|
| commentary_firstrun |
|
| commentary_testfirstrun |
|
| con_drawnotify |
Disables drawing of notification area (for taking screenshots). |
| con_enable |
Allows the console to be activated. |
| con_notifytime |
How long to display recent console text to the upper part of the game window |
| con_nprint_bgalpha |
Con_NPrint background alpha. |
| con_nprint_bgborder |
Con_NPrint border size. |
| con_trace |
Print console text to low level printout. |
| condump |
dump the text currently in the console to condumpXX.log |
| connect |
Connect to specified server. |
| contimes |
Number of console lines to overlay for debugging. |
| coop |
Cooperative play. |
| CreateHairball |
|
| CreatePredictionError |
Create a prediction error |
| creditsdone |
|
| crosshair |
|
| cs_make_vip |
Marks a player as the VIP |
| cs_ShowStateTransitions |
cs_ShowStateTransitions <ent index or -1 for all>. Show player state transitions. |
| cvarlist |
Show the list of convars/concommands. |
| deathmatch |
Running a deathmatch server. |
| debug_physimpact |
|
| default_fov |
|
| demo_debug |
Demo debug info. |
| demo_fastforwardfinalspeed |
Go this fast when starting to hold FF button. |
| demo_fastforwardramptime |
How many seconds it takes to get to full FF speed. |
| demo_fastforwardstartspeed |
Go this fast when starting to hold FF button. |
| demo_gototick |
Skips to a tick in demo. |
| demo_interpolateview |
Do view interpolation during dem playback. |
| demo_pause |
Pauses demo playback. |
| demo_pauseatservertick |
Pauses demo playback at server tick |
| demo_quitafterplayback |
Quits game after demo playback. |
| demo_recordcommands |
Record commands typed at console into .dem files. |
| demo_resume |
Resumes demo playback. |
| demo_timescale |
Sets demo replay speed. |
| demo_togglepause |
Toggles demo playback. |
| demolist |
Print demo sequence list. |
| demos |
Demo demo file sequence. |
| demoui |
Show/hide the demo player UI. |
| developer |
Show developer messages. |
| devshots_nextmap |
Used by the devshots system to go to the next map in the devshots maplist. |
| devshots_screenshot |
Used by the -makedevshots system to take a screenshot. For taking your own screenshots, use the 'screenshot' command instead. |
| differences |
Show all convars which are not at their default values. |
| disconnect |
Disconnect game from server. |
| disp_dynamic |
|
| disp_modlimit |
|
| disp_modlimit_down |
|
| disp_modlimit_up |
|
| disp_numiterations |
|
| dispcoll_drawplane |
|
| displaysoundlist |
|
| drawcross |
Draws a cross at the given location Arguments |
| drawline |
Draws line between two 3D Points. Green if no collision Red is collides with something Arguments |
| drawradar |
Draws HUD radar |
| dsp_automatic |
|
| dsp_db_min |
|
| dsp_db_mixdrop |
|
| dsp_dist_max |
|
| dsp_dist_min |
|
| dsp_enhance_stereo |
|
| dsp_facingaway |
|
| dsp_mix_max |
|
| dsp_mix_min |
|
| dsp_off |
|
| dsp_player |
|
| dsp_reload |
|
| dsp_room |
|
| dsp_slow_cpu |
|
| dsp_spatial |
|
| dsp_speaker |
|
| dsp_vol_2ch |
|
| dsp_vol_4ch |
|
| dsp_vol_5ch |
|
| dsp_volume |
|
| dsp_water |
|
| dti_flush |
Write out the datatable instrumentation files (you must run with -dti for this to work). |
| dtwarning |
Print data table warnings? |
| dtwatchent |
Watch this entities data table encoding. |
| dtwatchvar |
Watch the named variable. |
| +duck |
|
| -duck |
|
| dump_globals |
Dump all global entities/states |
| dump_panels |
Dump Panel Tree |
| dump_terrain |
Dump physics info about virtual terrains |
| dump_terrain |
Dump physics info about virtual terrains |
| dumpstringtables |
Print string tables to console. |
| echo |
Echo text to console. |
| editdemo |
Edit a recorded demo file (.dem ). |
| editor_toggle |
Disables the simulation and returns focus to the editor |
| endmovie |
Stop recording movie frames. |
| endround |
End the current round. |
| english |
If set to 1, running the english language set of assets. |
| ent_absbox |
Displays the total bounding box for the given entity(s) in green. Some entites will also display entity specific overlays. Ar |
| ent_attachments |
Displays the attachment points on an entity. Arguments |
| ent_bbox |
Displays the movement bounding box for the given entity(ies) in orange. Some entites will also display entity specific overlay |
| ent_debugkeys |
|
| ent_dump |
Usage |
| ent_fire |
Usage |
| ent_info |
Usage |
| ent_messages |
Toggles input/output message display for the selected entity(ies). The name of the entity will be displayed as well as any mes |
| ent_messages_draw |
Visualizes all entity input/output activity. |
| ent_name |
|
| ent_pause |
Toggles pausing of input/output message processing for entities. When turned on processing of all message will stop. Any mess |
| ent_pivot |
Displays the pivot for the given entity(ies). (y=up=green, z=forward=blue, x=left=red). Arguments |
| ent_rbox |
Displays the total bounding box for the given entity(s) in green. Some entites will also display entity specific overlays. Ar |
| ent_remove |
Removes the given entity(s) Arguments |
| ent_remove_all |
Removes all entities of the specified type Arguments |
| ent_setname |
Sets the targetname of the given entity(s) Arguments |
| ent_show_response_criteria |
Print, to the console, an entity's current criteria set used to select responses. Arguments |
| ent_step |
When 'ent_pause' is set this will step through one waiting input / output message at a time. |
| ent_text |
Displays text debugging information about the given entity(ies) on top of the entity (See Overlay Text) Arguments |
| envmap |
|
| escape |
Escape key pressed. |
| exec |
Execute script file. |
| exit |
Exit the engine. |
| fadein |
fadein {time r g b} |
| fadeout |
fadeout {time r g b} |
| filesystem_buffer_size |
Size of per file buffers. 0 for none |
| find |
Find concommands with the specified string in their name/help text. |
| fire_absorbrate |
|
| fire_dmgbase |
|
| fire_dmginterval |
|
| fire_dmgscale |
|
| fire_extabsorb |
|
| fire_extscale |
|
| fire_growthrate |
|
| fire_heatscale |
|
| fire_incomingheatscale |
|
| fire_maxabsorb |
|
| firetarget |
|
| firstperson |
Switch to firstperson camera. |
| fish_debug |
Show debug info for fish |
| fish_dormant |
Turns off interactive fish behavior. Fish become immobile and unresponsive. |
| flex_expression |
|
| flex_looktime |
|
| flex_maxawaytime |
|
| flex_maxplayertime |
|
| flex_minawaytime |
|
| flex_minplayertime |
|
| flex_rules |
Allow flex animation rules to run. |
| flex_smooth |
Applies smoothing/decay curve to flex animation controller changes. |
| flex_talk |
|
| flush |
Flush cache memory. |
| flush_unlocked |
Flush unlocked cache memory. |
| fog_color |
|
| fog_colorskybox |
|
| fog_enable |
|
| fog_enable_water_fog |
|
| fog_enableskybox |
|
| fog_end |
|
| fog_endskybox |
|
| fog_override |
|
| fog_start |
|
| fog_startskybox |
|
| force_centerview |
|
| +forward |
|
| -forward |
|
| fov |
Change players FOV |
| free_pass_peek_debug |
|
| fs_printopenfiles |
Show all files currently opened by the engine. |
| fs_warning_level |
Set the filesystem warning level. |
| func_break_max_pieces |
|
| func_breakdmg_bullet |
|
| func_breakdmg_club |
|
| func_breakdmg_explosive |
|
| g_debug_angularsensor |
|
| g_debug_doors |
|
| g_debug_ragdoll_removal |
|
| g_debug_ragdoll_visualize |
|
| g_debug_trackpather |
|
| g_debug_transitions |
Set to 1 and restart the map to be warned if the map has no trigger_transition volumes. Set to 2 to see a dump of all entities |
| g_debug_vehiclebase |
|
| g_debug_vehicledriver |
|
| g_debug_vehicleexit |
|
| g_debug_vehiclesound |
|
| g_jeepexitspeed |
|
| g_Language |
|
| g_ragdoll_fadespeed |
|
| g_ragdoll_lvfadespeed |
|
| g_ragdoll_maxcount |
|
| gameui_activate |
|
| gameui_allowescape |
|
| gameui_hide |
|
| gameui_preventescape |
|
| getpos |
dump position and angles to the console |
| give |
Give item to player. Arguments |
| gl_clear |
|
| global_set |
global_set <globalname> <state> |
| god |
Toggle. Player becomes invulnerable. |
| +graph |
|
| -graph |
|
| -grenade1 |
|
| +grenade1 |
|
| -grenade2 |
|
| +grenade2 |
|
| groundlist |
Display ground entity list <index> |
| heartbeat |
|
| help |
Find help about a convar/concommand. |
| hideconsole |
Hide the console. |
| hidehud |
|
| hidepanel |
Hides a viewport panel <name> |
| hideradar |
Hides HUD radar |
| hl2_episodic |
|
| host_framerate |
Set to lock per-frame time elapse. |
| host_limitlocal |
Apply cl_cmdrate and cl_updaterate to loopback connection |
| host_map |
Current map name. |
| host_profile |
|
| host_runofftime |
Run off some time without rendering/updating sounds |
| host_showcachemiss |
Print a debug message when the client or server cache is missed. |
| host_sleep |
Force the host to sleep a certain number of milliseconds each frame. |
| host_speeds |
Show general system running times. |
| host_timescale |
Prescale the clock by this amount. |
| host_writeconfig |
Store current settings to config.cfg (or specified .cfg file). |
| hostage_debug |
Show hostage AI debug information |
| hostport |
Host game server port |
| hud_autoreloadscript |
Automatically reloads the animation script each time one is ran |
| hud_centerid |
|
| hud_classautokill |
Automatically kill player after choosing a new playerclass. |
| hud_deathnotice_time |
|
| hud_drawhistory_time |
|
| hud_fastswitch |
|
| hud_jeephint_numentries |
|
| hud_reloadscheme |
Reloads hud layout and animation scripts. |
| hud_saytext_time |
|
| hud_showtargetid |
|
| hurtme |
Hurts the player. Arguments |
| impulse |
|
| incrementvar |
Increment specified convar value. |
| invnext |
|
| invprev |
|
| ip |
Overrides IP for multihomed hosts |
| +jlook |
|
| -jlook |
|
| joy_advanced |
|
| joy_advaxisr |
|
| joy_advaxisu |
|
| joy_advaxisv |
|
| joy_advaxisx |
|
| joy_advaxisy |
|
| joy_advaxisz |
|
| joy_autosprint |
Automatically sprint when moving with an analog joystick |
| joy_diagonalpov |
POV manipulator operates on diagonal axes, too. |
| joy_forwardsensitivity |
|
| joy_forwardthreshold |
|
| joy_name |
|
| joy_pitchsensitivity |
|
| joy_pitchthreshold |
|
| joy_sidesensitivity |
|
| joy_sidethreshold |
|
| joy_wingmanwarrier_centerhack |
Wingman warrior centering hack. |
| joy_wingmanwarrier_turnhack |
Wingman warrior hack related to turn axes. |
| joy_yawsensitivity |
|
| joy_yawthreshold |
|
| joyadvancedupdate |
|
| joystick |
|
| jpeg |
Take a jpeg screenshot |
| jpeg_quality |
jpeg screenshot quality. |
| +jump |
|
| -jump |
|
| kdtree_test |
Tests spatial partition for entities queries. |
| key_findbinding |
Find key bound to specified command string. |
| key_listboundkeys |
List bound keys with bindings. |
| key_updatelayout |
Updates game keyboard layout to current windows keyboard setting. |
| kick |
Kick a player by name. |
| kickid |
Kick a player by userid or uniqueid, with a message. |
| kill |
kills the player |
| killserver |
Shutdown the server. |
| +klook |
|
| -klook |
|
| lastinv |
|
| +left |
|
| -left |
|
| light_crosshair |
Show texture color at crosshair |
| linefile |
Parses map leak data from .lin file |
| list |
List cached servers. |
| listdemo |
List demo file contents. |
| listid |