Posts
Wiki

Settings

The Options and Advanced Options menus on the main menu aren't the only way to change the game settings. These commands perform the same actions as the options menus, but they can be put into config files, allowing players to easily change multiple settings at once.

Graphics

The following commands correspond to the Video and Advanced Video settings in the Options menu. (Thanks to KiloSwiss for compiling the list.)

Please note that any changes to these settings will only only take effect if the player is not currently in a match.

Video Settings

SettingDescriptionCommandValues
Model DetailsAdjusts the polygon count of player models and props.r_rootlod <X>0 = high, 1 = medium, 2 = low
Water DetailsAdjusts the quality of water's reflections.r_waterforceexpensive <0/1>0 = single reflections, 1 = reflect world
Water DetailsMakes water reflect players.r_waterforcereflectentities <0/1>0 = off, 1 = on
Shadow DetailsAdjusts shadows' texture quality.r_shadowrendertotexture <0/1>0 = low, 1 = medium
Shadow DetailsAdjusts shadows' texture quality to high.r_flashlightdepthtexture <0/1>0 = low/med, 1 = high
Texture DetailsAdjusts quality of model textures.mat_picmip <X>-1 = extra high, 0 = high, 1 = medium, 2 = low
Shader DetailsAdjusts quality of shadow placement.mat_reducefillrate <X>0 = high, 1 = low
FilteringAdjusts level of anisotropic filtering.mat_forceaniso <X>0 = off, 2/4/8/16 = 2x/4x/8x/16x
FilteringEnables trilinear filtering.mat_trilinear <0/1>0 = off, 1 = on
V-SyncMakes FPS synchronize with the monitor's refresh rate.mat_vsync <0/1>0 = off, 1 = on
GammaAdjusts contrast and color filtering.mat_monitorgamma <X>1.6-2.6
HDREnables high-dynamic-range rendering.mat_hdr_level <X>0 = off, 1 = bloom, 2 = full
Motion BlurBlurs together frames while moving view quickly.mat_motion_blur_enabled <0/1>0 = off, 1 = on

Anti-Aliasing

LevelCommand Combination
FSAA OFFmat_antialias <0/1>, mat_aaquality 0
2x FSAAmat_antialias 2, mat_aaquality 0
4x FSAAmat_antialias 4, mat_aaquality 0
8x CSAAmat_antialias 4, mat_aaquality 2
16x CSAAmat_antialias 4, mat_aaquality 4
8x MSAAmat_antialias 8, mat_aaquality 0
16xQ CSAAmat_antialias 8, mat_aaquality 2

Advanced Multiplayer Options

NOTE: This section is currently under development.

The Advanced Multiplayer Options are settings that allow players to change minor gameplay features, and are found either under the "Advanced Options" button on the main menu or through the "Advanced" button under the Multiplayer tab in Options. The following commands correspond to these options.

Combat Options

OptionDescriptionCommand
Automatically reload weapons when you're not firingIf set, you'll automatically reload your weapon whenever you're not firing, if the weapon needs reloading and you have ammo.cl_autoreload <0/1>
Fast weapon switchIf set, you can change weapons without using the weapon selection menu.hud_fastswitch <0/1>
Remember the active weapon between livesIf set, you'll respawn holding the same weapon you were holding when you died (assuming you still have it equipped in your loadout).tf_remember_activeweapon <0/1>
Remember the 'previous weapon' between livesIf set, respawning won't affect the weapon you'll switch to when you hit your 'previous weapon' key. If unset, your 'previous weapon' will always be your secondary weapon when you respawn.tf_remember_lastswitched <0/1>
Play a sound when the Sniper Rifle is fully chargedIf set, the Sniper Rifle will automatically play a sound when fully charged.tf_sniper_fullcharge_bell <0/1>

Hitsounds

OptionDescriptionCommand
Play a hit sound everytime you injure an enemyIf set, you'll hear a 'hit sound' that's played whenever you damage an enemy.tf_dingalingaling <0/1>
Hit sound volumeThe volume for 'hit sounds'.tf_dingaling_volume <0.00-1.00>
Hit soundsThe sound that plays when you hit an enemy. (Customize by naming a sound file "hitsound.wav" and placing it in the folder commonTeam Fortress 2tfsoundsui.)tf_dingaling_effect <0-9> (0 = default/custom)
Hit sound low damage pitchHit sound pitch for attacks that deal 10 damage or less. Pitch scales between high and low values (Recommend 100)tf_dingaling_pitchmindamage <1.0-255.0>
Hit sound high damage pitchHit sound pitch for attacks that deal 150 damage or more. Pitch scales between high and low values. (Recommend 10)tf_dingaling_pitchmaxdamage <1.0-255.0>
Play a last hit sound when one of your attacks kills an enemyIf set, you'll hear a 'kill sound' that's played whenever you kill an enemy.tf_dingalingaling_lasthit <0/1>
Last hit sound volumeThe volume for 'kill sounds'.tf_dingalingaling_lasthit_volume <0.00-1.00>
Last hit soundsThe sound that plays when you kill an enemy. (Customize in the same way as hit sounds, with the file named "killsound.wav" instead.)tf_dingaling_lasthit_effect <0-9> (0 = default/custom)
Last hit sound low damage pitchKill sound pitch for attacks that deal 10 damage or less.tf_dingaling_lasthit_pitchmindamage <1.0-255.0>
Last hit sound high damage pitchKill sound pitch for attacks that deal 150 damage or more.tf_dingaling_lasthit_pitchmaxdamage <1.0-255.0>

Combat Text Batching

OptionDescriptionCommand
Display damage done as text over your targetIf set, you'll see damage amounts over the heads of enemies whenever you damage them.hud_combattext <0/1>
Accumulate combat text damage events into a single numberIf set, and using the combat text option, consecutive damage done to the same target will be added together into a single number. (The time before the counter resets can be adjusted with hud_combattext_batching_window <0-99>)hud_combattext_batching <0/1>
Damage text doesn't prevent overhead effects (e.g. "CRIT!")If set, damage text won't prevent bonus-effect text from appearing above players' heads as well. (e.g. "CRIT!")hud_combattext_doesnt_block_overhead_text <0/1>
Combat text red channelChanges color of overhead text.hud_combattext_red <1-255>
Combat text blue channelChanges color of overhead text.hud_combattext_blue <1-255>
Combat text green channelChanges color of overhead text.hud_combattext_green <1-255>

Class-Specific Options

OptionDescriptionCommand
Spy: Enable concise disguise menuThe concise disguise menu for the Spy is an alternate menu that requires more keypresses in the disguising process, but only uses the number keys 1 through 4.tf_simple_disguise_menu <0/1>
Sniper: Sniper Rifle will re-zoom after firing a zoomed shotIf set, the Sniper's Sniper Rifle will automatically zoom back in after it reloads, if you were zoomed in when you shot.cl_autorezoom <0/1>
Sniper: Hide crosshair when zoomed inIf set, when zoomed in with any Sniper rifles, the default and custom crosshairs will automatically disappear leaving only the rifle targeting laser.tf_hud_no_crosshair_on_scope_zoom <0/1>
Medic: Medi Gun continues healing without holding down fire buttonIf set, your Medic's Medi Gun will stay locked onto your heal target until you press the fire button again. If unset, you'll be required to hold the button down to keep the Medi Gun locked on.tf_medigun_autoheal <0/1>
Medic: Display a marker over the player you are healingIf set, a marker will be displayed above the friendly target that you're currently healing with your Medi Gun.hud_medichealtargetmarker <0/1>
Medic: Injured teammates automatically call outIf set, you'll receive an automatic request for assistance from any nearby team mates when their health falls below a certain threshold.hud_medicautocallers <0/1>
Medic: Auto-call health percentageThe threshold at which your team mates will automatically request assistance. (NOTE: Can be used to make a radar.)hud_medicautocallersthreshold <0-100>

HUD Options

OptionDescriptionCommand
Enable Minimal HUDMinimal HUD uses a smaller denser HUD so that you can see more. Some explanatory information is removed as well, so you should be familiar with the standard HUD before you turn on minimal HUD.cl_hud_minmode <0/1>
Turn on colorblind modeIf set, several in-game effects that are harder for colorblind players to see will use alternate, more visible effects. (Affects Jarate, Mad Milk.)tf_colorblindassist <0/1>
Use advanced spectator HUD in tournament modeThe advanced spectator HUD is used in tournament mode only, and is designed to show you more information in 6 v 6 matches.cl_use_tournament_specgui <0/1>
Show non-standard items on spectated playerIf set, you'll be shown the loadout items being used by the player you are spectating.cl_spec_carrieditems <0/1>
Use glow effectsIf set, a team-colored outline will be enabled during the match for objectives like Payload carts, CTF intelligence briefcases, and teammates after respawn.glow_outline_effect_enable <0/1>
Use player model in player class HUDChanges the default 2D picture of the class in the HUD to a 3D representation of the player's model, with currently-held weapon and cosmetics.cl_hud_playerclass_use_playermodel <0/1>
Viewmodel field of viewThe field-of-view to use when drawing the first person view of your active weapon. Larger values will make the weapon smaller onscreen.viewmodel_fov <-255-255>
Spectator target ID locationChanges where spectated player's name is displayed on the screen while spectating them.tf_spectator_target_location <0/1>
Hide HUD during freezecam screenshotsIf set, the HUD will be hidden during freezecam screenshots.hud_freezecamhide <0/1>
When spectating, view world from the eyes of a PyroIf set, world will be viewed under Pyrovision when spectating.tf_spectate_pyrovision <0/1>
Pyrovision borderBorder around the edges of the screen while in Pyrovision.pyro_vignette <0-2> (0 = disabled, 1 = static, 2 = dynamic)
Pyrovision border distortionEnables picture distortion behind the Pyrovision border.pyro_vignette_distortion <0/1>
Pyrovision skybox depth of fieldEnables depth of field for the skybox while in Pyrovision.pyro_dof <0/1>
Enable Romevision when availableIf set, Romevision will be enabled in Mann vs. Machine mode if any player has The Hardy Laurel in their backpack.tf_romevision_opt_in <0/1>
Contracts UIChanges what information about contracts appears in the HUD while in-game.tf_contract_progress_show <0-2> (0 = disabled, 1 = show all contract progress, 2 = show active contracts only)
Contracts UI in competitive matchestf_contract_competitive_show <0-2> (0 = disabled, 1 = show all contract progress, 2 = show active contracts only)
Enable mouse input on the scoreboardAllows the use of the mouse to select players on the scoreboard.tf_scoreboard_mouse_mode <0/1>
Display ping values as text on the scoreboardShows numerical values for ping, as opposed to just the icon.tf_scoreboard_ping_as_text <0/1>
Display alternate class icons on the scoreboardUses class icons embedded in a yellow circle instead of the defaults.tf_scoreboard_alt_class_icons <0/1>
Use the team status display in the HUDDisplays the health and class of all players on your team at the top of the HUD. (Added in Meet Your Match.)tf_use_match_hud <0/1>

TargetID

TargetID is the term for the information that appears when you look at an allied player, like their name, health, etc.

OptionDescriptionCommand
TargetID - Disable floating healthbarIf set, places player's health bar inside TargetID nameplate.tf_hud_target_id_disable_floating_health <0/1>
TargetID alphaChanges the translucency of the TargetID nameplate.tf_hud_target_id_alpha <1-255>

Replay Options

OptionDescriptionCommand
HTTP proxyIf you're behind a HTTP proxy, you'll need to specify it here, or you won't be able to upload movies to YouTube.youtube_http_proxy "<text>"
Post-death replay record timeThis is the amount of time, in seconds, to continue recording your replay after you've died.replay_postdeathrecordtime <0.0-10.0>
Take event-based screenshots during replaysIf set, screenshots will automatically be taken, during replays, whenever something interesting happens. (e.g. you kill any enemy, you deploy an UberCharge, etc.)replay_enableeventbasedscreenshots <0/1>
Take high-resolution replay screenshotsIf set, replay screenshots will be taken in high resolution.replay_screenshotresolution <0.0-1.0>
Max screenshots per replayIf event-based screenshots are enabled, this is the maximum number of screenshots that'll be taken for a single replay.replay_maxscreenshotsperreplay <0-255>
Min time between screenshotsIf event-based screenshots are enabled, this is the minimum amount of time after one is taken before another is taken (in seconds).replay_mintimebetweenscreenshots <0-255>
Replays are viewed from the eyes of a PyroIf set, replays are viewed with Pyrovision enabled.tf_replay_pyrovision <0/1>

Performance Options

OptionDescriptionCommand
Disable weather effectsIf set, you won't see particle effects marked as "weather" by the level designer who created the map you're on.tf_particles_disable_weather <0/1>
Disable HTML MOTDsIf set, you won't be shown HTML versions of servers' Message of the Day welcome screens.cl_disablehtmlmotd <0/1>
Multiplayer decal limitThe maximum number of decals (bullet impacts, etc.) that can exist at once.mp_decals <0-4096>

Miscellaneous Options

OptionDescriptionCommand
Auto-save a scoreboard screenshot at the end of a mapIf set, you'll automatically have a screenshot taken of the final scoreboard at the end of every map you play.hud_takesshots <0/1>
Suicide after choosing a player classIf set, then you'll immediately kill yourself whenever you change your class while out in the field. If unset, you'll change to your new class the next time you respawn.hud_classautokill <0/1>
Automatically respawn after loadout changes in respawn zonesIf set, then you'll immediately respawn whenever you change your loadout while inside a respawn zone. If unset, your loadout changes will take effect the next time you respawn.tf_respawn_on_loadoutchanges <0/1>
Flip viewmodelsIf set, the first person view of your active weapon will be drawn on the left hand side of the screen, instead of the right. (NOTE: Only takes effect after rejoining the server.)cl_flipviewmodels <0/1>
Use minimized viewmodelsIf set, the first person view of your active weapon will be drawn using minimal screen space.tf_use_min_viewmodels <0/1>
Disable spraysIf set, you won't see other players' spraypaint images.cl_playerspraydisable <0/1> (0 = sprays disabled, 1 = sprays enabled)
Close server browser after connecting to a serverCloses the server browser after connecting to a server.sb_close_browser_on_connect <0/1>
Synchronize with Steam CloudIf set, your TF2 configuration files (items in the tfcustom folder, sprays, and keybinds) will be stored on the Steam Cloud.cl_cloud_settings <0/1>
Save Screenshots to SteamIf set, screenshots will automatically be saved to Steam.cl_steamscreenshots <0/1>
Show pop-up alerts while in-gameShows the notification box from item drops, trade requests, Golden Frying Pan finds, etc. in-game.cl_notifications_show_ingame <0/1>
Show trade requests from:Get notifications for trade requests managed through the inventory screen. (0 = No One, 1 = Friends Only, 2 = Friends and In-Game Players, 3 = Anyone)cl_trading_show_requests_from <0-3>
Show Community Market info:Limits when Community Market prices and availability information, etc., should be displayed in the in-game inventory screen. (0 = Never, 1 = When Showing Marketable Borders, 2 = Always)cl_show_market_data_on_items <0-2>
Show "View Promotional Codes" buttonToggles the 'View Promotional Codes' button in the main menu for players that have used the 'RIFT Well Spun Hat Claim Code'.cl_promotional_codes_button_show <0/1>

Demo Support

This section manages the recording of demo files. You can learn more about demos here.