Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Team Fortress 2"

From PCGamingWiki, the wiki about fixing PC games
m (→‎VR support: updated template usage)
m (updated template usage)
Line 46: Line 46:
 
==Essential improvements==
 
==Essential improvements==
 
===Skip intro videos===
 
===Skip intro videos===
{{Fixbox|1=
+
{{Fixbox|description=Use the <code>-novid</code> [[Glossary:Command line arguments|command line argument]]|ref={{cn|date=July 2016}}}}
{{Fixbox/fix|Use the <code>-novid</code> [[Glossary:Command line arguments|command line argument]]|ref={{cn|date=July 2016}}}}
 
}}
 
  
 
==Game data==
 
==Game data==
Line 113: Line 111:
 
{{ii}} The [https://www.youtube.com/watch?v=hLHsfQS9p_Y TF2 Tactics video on FOV] has more information about FOV in TF2 and in general.
 
{{ii}} The [https://www.youtube.com/watch?v=hLHsfQS9p_Y TF2 Tactics video on FOV] has more information about FOV in TF2 and in general.
  
{{Fixbox|1=
+
{{Fixbox|description=fov_desired #|ref={{cn|date=July 2016}}|fix=
{{Fixbox/fix|fov_desired #|ref={{cn|date=July 2016}}}}
 
 
# Open the console using '~'.
 
# Open the console using '~'.
 
# Enter <code>fov_desired #</code>, where <code>#</code> is your desired FOV.
 
# Enter <code>fov_desired #</code>, where <code>#</code> is your desired FOV.
 
}}
 
}}
{{Fixbox|1=
+
{{Fixbox|description=viewmodel_fov|ref={{cn|date=July 2016}}|fix=
{{Fixbox/fix|viewmodel_fov|ref={{cn|date=July 2016}}}}
 
 
# Open the console using '~'.
 
# Open the console using '~'.
 
# Enter <code>viewmodel_fov #</code>, where <code>#</code> is your desired FOV.
 
# Enter <code>viewmodel_fov #</code>, where <code>#</code> is your desired FOV.
 
}}
 
}}
{{Fixbox|1=
+
{{Fixbox|description=Plugins|ref={{cn|date=October 2016}}|fix=
{{Fixbox/fix|Plugins|ref={{cn|date=October 2016}}}}
 
 
{{ii}} It is possible to increase the FOV limit up to 130 using server-side plugins such as [http://tftrue.esport-tools.net/ this one]. However it is important to note that, while allowed by the ETF2l, client-side plugins are not officially supported by Valve and may be classified as a cheat so '''use at your own risk'''.
 
{{ii}} It is possible to increase the FOV limit up to 130 using server-side plugins such as [http://tftrue.esport-tools.net/ this one]. However it is important to note that, while allowed by the ETF2l, client-side plugins are not officially supported by Valve and may be classified as a cheat so '''use at your own risk'''.
 
}}
 
}}
Line 171: Line 166:
 
: See also: [http://wiki.teamfortress.com/wiki/Xbox_360_controls Xbox 360 controls] on the ''Official Team Fortress Wiki''.
 
: See also: [http://wiki.teamfortress.com/wiki/Xbox_360_controls Xbox 360 controls] on the ''Official Team Fortress Wiki''.
  
{{Fixbox|1=
+
{{Fixbox|description=Enabling Xbox 360 HUD|ref={{cn|date=July 2016}}|fix=
{{Fixbox/fix|Enabling Xbox 360 HUD|ref={{cn|date=July 2016}}}}
 
 
# Open the console ({{key|~}}).
 
# Open the console ({{key|~}}).
 
# Input <code>exec 360controller</code>.
 
# Input <code>exec 360controller</code>.
Line 200: Line 194:
 
{{ii}} Works only in Linux version.
 
{{ii}} Works only in Linux version.
  
{{Fixbox|1=
+
{{Fixbox|description=Enable HRTF|ref={{cn|date=July 2017}}|fix=
{{Fixbox/fix|Enable HRTF|ref={{cn|date=July 2017}}}}
 
 
If the OpenAL's HRTF has been set up, it's possible to enable it in the game by using <code>dsp_slow_cpu 1</code> command. For the best effect you may also use these commands afterwards:
 
If the OpenAL's HRTF has been set up, it's possible to enable it in the game by using <code>dsp_slow_cpu 1</code> command. For the best effect you may also use these commands afterwards:
 
<pre>
 
<pre>
Line 495: Line 488:
 
{{ii}} By default VR mode will run full screen, to switch back to a borderless windowed set the <code>vr_force_windowed</code> convar.
 
{{ii}} By default VR mode will run full screen, to switch back to a borderless windowed set the <code>vr_force_windowed</code> convar.
  
{{Fixbox|1=
+
{{Fixbox|description=Toggle world view models|ref={{cn|date=July 2016}}|fix=
{{Fixbox/fix|Toggle world view models|ref={{cn|date=July 2016}}}}
 
 
# Open the console ({{key|~}}).
 
# Open the console ({{key|~}}).
 
# Enter <code>cl_first_person_uses_world_model 1</code> to enable or <code>cl_first_person_uses_world_model 0</code> to disable.
 
# Enter <code>cl_first_person_uses_world_model 1</code> to enable or <code>cl_first_person_uses_world_model 0</code> to disable.
Line 503: Line 495:
 
==Issues fixed==
 
==Issues fixed==
 
===Generic fixes for issues===
 
===Generic fixes for issues===
{{Fixbox|1=
+
{{Fixbox|description=Console Commands|ref={{cn|date=July 2016}}|fix=
{{Fixbox/fix|Console Commands|ref={{cn|date=July 2016}}}}
 
 
# Reload the HUD: In console, <code>hud_reloadscheme</code>
 
# Reload the HUD: In console, <code>hud_reloadscheme</code>
 
# Resync the game state with the server (start/stop an in-game demo): In console, <code>record something;stop</code>
 
# Resync the game state with the server (start/stop an in-game demo): In console, <code>record something;stop</code>
Line 510: Line 501:
 
# Re-connect to a server: In console, <code>retry</code>
 
# Re-connect to a server: In console, <code>retry</code>
 
}}
 
}}
{{Fixbox|1=
+
{{Fixbox|description=Restart the game|ref={{cn|date=October 2016}}}}
{{Fixbox/fix|Restart the game|ref={{cn|date=October 2016}}}}
+
{{Fixbox|description=Verify Your Game Cache|ref={{cn|date=July 2016}}|fix=
}}
 
{{Fixbox|1=
 
{{Fixbox/fix|Verify Your Game Cache|ref={{cn|date=July 2016}}}}
 
 
# Find Team Fortress 2 in your Steam Library
 
# Find Team Fortress 2 in your Steam Library
 
# Right-click the game name
 
# Right-click the game name
Line 524: Line 512:
 
# Launch the game
 
# Launch the game
 
}}
 
}}
{{Fixbox|1=
+
{{Fixbox|description=Delete your Team Fortress 2 registry settings|ref={{cn|date=July 2016}}|fix=
{{Fixbox/fix|Delete your Team Fortress 2 registry settings|ref={{cn|date=July 2016}}}}
 
 
# Delete the entire content of <code>{{p|hkcu}}\Software\Valve\Source\tf\Settings</code>
 
# Delete the entire content of <code>{{p|hkcu}}\Software\Valve\Source\tf\Settings</code>
 
}}
 
}}
{{Fixbox|1=
+
{{Fixbox|description=Reinstall Steam|ref={{cn|date=October 2016}}}}
{{Fixbox/fix|Reinstall Steam|ref={{cn|date=October 2016}}}}
+
{{Fixbox|description=Fully re-install Team Fortress 2|ref={{cn|date=October 2016}}}}
}}
 
{{Fixbox|1=
 
{{Fixbox/fix|Fully re-install Team Fortress 2|ref={{cn|date=October 2016}}}}
 
}}
 
  
 
===Sprays are not visible===
 
===Sprays are not visible===
 
{{ii}} Sprays are not available on official Valve servers and can be disabled per server by the server admins.
 
{{ii}} Sprays are not available on official Valve servers and can be disabled per server by the server admins.
{{Fixbox|1=
+
{{Fixbox|description=Multiplayer Decal Limit|ref={{cn|date=February 2017}}|fix=
{{Fixbox/fix|Multiplayer Decal Limit|ref={{cn|date=February 2017}}}}
 
 
* Try raising Multiplayer Decal Limit.
 
* Try raising Multiplayer Decal Limit.
 
}}
 
}}
Line 546: Line 528:
  
 
===Game Crashes at Valve Logo on Startup===
 
===Game Crashes at Valve Logo on Startup===
{{Fixbox|1=
+
{{Fixbox|description=Game Crashes at Valve Logo on Startup|ref={{cn|date=October 2016}}|fix=
{{Fixbox/fix|Game Crashes at Valve Logo on Startup|ref={{cn|date=October 2016}}}}
 
 
More than likely, you are having DirectX issues. Try the following:
 
More than likely, you are having DirectX issues. Try the following:
 
# Reinstall the latest DirectX
 
# Reinstall the latest DirectX
Line 559: Line 540:
  
 
===Game crashes after closing MotD===
 
===Game crashes after closing MotD===
{{Fixbox|1=
+
{{Fixbox|description=Game crashes after closing MotD|ref={{cn|date=October 2016}}|fix=
{{Fixbox/fix|Game crashes after closing MotD|ref={{cn|date=October 2016}}}}
 
 
Some servers use Pinion advertisement, a buggy plugin that sometimes crashes TF2.  
 
Some servers use Pinion advertisement, a buggy plugin that sometimes crashes TF2.  
 
# Update Flash/Java plugins.
 
# Update Flash/Java plugins.
Line 572: Line 552:
 
{{ii}} Bug is caused by the dynamic-model-loading system implemented in Team Fortress 2.
 
{{ii}} Bug is caused by the dynamic-model-loading system implemented in Team Fortress 2.
  
{{Fixbox|1=
+
{{Fixbox|description=Touch a resupply cabinet|ref={{cn|date=July 2016}}|fix=
{{Fixbox/fix|Touch a resupply cabinet|ref={{cn|date=July 2016}}}}
 
 
* Once a player touches a [http://wiki.teamfortress.com/wiki/Resupply_Cabinet#Resupply resupply cabinet] the cosmetic items should appear.
 
* Once a player touches a [http://wiki.teamfortress.com/wiki/Resupply_Cabinet#Resupply resupply cabinet] the cosmetic items should appear.
 
}}
 
}}
Line 580: Line 559:
 
{{ii}} This is caused by multiple players trying to connect to a server using the same client port.
 
{{ii}} This is caused by multiple players trying to connect to a server using the same client port.
  
{{Fixbox|1=
+
{{Fixbox|description=Use unique client ports|ref={{cn|date=July 2016}}|fix=
{{Fixbox/fix|Use unique client ports|ref={{cn|date=July 2016}}}}
 
 
* Each player needs a different client port, by adding this to the launch options: <code>+clientport N</code>, where N is a number between 27005 and 27032, but not 27015 or 27020.
 
* Each player needs a different client port, by adding this to the launch options: <code>+clientport N</code>, where N is a number between 27005 and 27032, but not 27015 or 27020.
 
}}
 
}}
  
 
===Game cache files are stuck validating===
 
===Game cache files are stuck validating===
{{Fixbox|1=
+
{{Fixbox|description=Game cache files are stuck validating|ref={{cn|date=July 2016}}|fix=
{{Fixbox/fix|Game cache files are stuck validating|ref={{cn|date=July 2016}}}}
 
 
# Close Steam and delete ClientRegistry.blob in the Steam folder:<ref>https://support.steampowered.com/kb_article.php?ref=7241-EYON-2343</ref>
 
# Close Steam and delete ClientRegistry.blob in the Steam folder:<ref>https://support.steampowered.com/kb_article.php?ref=7241-EYON-2343</ref>
 
* Windows: <code>C:\Program Files (x86)\Steam\</code>
 
* Windows: <code>C:\Program Files (x86)\Steam\</code>
Line 595: Line 572:
 
===Low FPS fix===
 
===Low FPS fix===
 
=====Ubuntu (12.10 to 17.04) or any distro with Unity desktop=====
 
=====Ubuntu (12.10 to 17.04) or any distro with Unity desktop=====
{{Fixbox|1=
+
{{Fixbox|description=Fix low FPS on Ubuntu (12.10 to 17.04) or any distro with Unity desktop|ref={{cn|date=October 2016}}|fix=
{{Fixbox/fix|Fix low FPS on Ubuntu (12.10 to 17.04) or any distro with Unity desktop|ref={{cn|date=October 2016}}}}
 
 
Once the game has loaded and the FPS have dropped below playable:
 
Once the game has loaded and the FPS have dropped below playable:
 
# Press Esc. to return to the game menu.
 
# Press Esc. to return to the game menu.
Line 608: Line 584:
  
 
=====Linux with Cinnamon Desktop=====
 
=====Linux with Cinnamon Desktop=====
{{Fixbox|1=
+
{{Fixbox|description=Fix low FPS on Linux with Cinnamon Desktop|ref={{cn|date=October 2016}}|fix=
{{Fixbox/fix|Fix low FPS on Linux with Cinnamon Desktop|ref={{cn|date=October 2016}}}}
 
 
To increase performance:
 
To increase performance:
 
# Press the Windows (Super) Key to open the mint menu
 
# Press the Windows (Super) Key to open the mint menu
Line 622: Line 597:
  
 
=====Anti-Virus Exception=====
 
=====Anti-Virus Exception=====
{{Fixbox|1=
+
{{Fixbox|description=Add an anti-virus exception|ref=<ref>[https://web.archive.org/web/20161108120736/http://forums.steampowered.com:80/forums/showthread.php?t=1093560 Source thread on the Steam forums from 2009] (retrieved)</ref><ref>[http://etf2l.org/forum/general/topic-25307/ Thread on the ETF2L forums]</ref>|fix=
{{Fixbox/fix|Add an anti-virus exception|ref=<ref>[https://web.archive.org/web/20161108120736/http://forums.steampowered.com:80/forums/showthread.php?t=1093560 Source thread on the Steam forums from 2009] (retrieved)</ref><ref>[http://etf2l.org/forum/general/topic-25307/ Thread on the ETF2L forums]</ref>}}
 
 
Anti-virus software can interfere with a file in TF2's folder, which gets updated constantly during gameplay.
 
Anti-virus software can interfere with a file in TF2's folder, which gets updated constantly during gameplay.
 
# Open anti-virus program.
 
# Open anti-virus program.
Line 633: Line 607:
  
 
===No Sound In Linux===
 
===No Sound In Linux===
{{Fixbox|1=
+
{{Fixbox|description=No sound in Linux|ref={{cn|date=June 2017}}|fix=
{{Fixbox/fix|No sound in Linux|ref={{cn|date=June 2017}}}}
 
 
* Ensure that the PulseAudio is installed and it's daemon is enabled. If not, you can command the game to use ALSA instead by adding <code>SDL_AUDIODRIVER=alsa</code> to the Launch Options as a 1st thing to do.
 
* Ensure that the PulseAudio is installed and it's daemon is enabled. If not, you can command the game to use ALSA instead by adding <code>SDL_AUDIODRIVER=alsa</code> to the Launch Options as a 1st thing to do.
 
* If that does not work, specify AUDIODEV instead, use <code>aplay -1</code> command to list available sound cards.
 
* If that does not work, specify AUDIODEV instead, use <code>aplay -1</code> command to list available sound cards.
Line 640: Line 613:
  
 
===Loading Screen Freezes in Linux===
 
===Loading Screen Freezes in Linux===
{{Fixbox|1=
+
{{Fixbox|description=Loading Screen Freezes in Linux|ref={{cn|date=June 2017}}|fix=
{{Fixbox/fix|Loading Screen Freezes in Linux|ref={{cn|date=June 2017}}}}
 
 
{{ii}} This happens mostly if you are on a non-english user in ArchLinux, but that may happen on other distros as well.
 
{{ii}} This happens mostly if you are on a non-english user in ArchLinux, but that may happen on other distros as well.
 
# Find and edit <code>locale.gen</code> file and remove the commentary (# symbol) from <code>en_US.UTF-8</code>
 
# Find and edit <code>locale.gen</code> file and remove the commentary (# symbol) from <code>en_US.UTF-8</code>
Line 648: Line 620:
  
 
===Textures load slowly on Linux===
 
===Textures load slowly on Linux===
{{Fixbox|1=
+
{{Fixbox|description=Textures load slowly on Linux|ref={{cn|date=June 2017}}|fix=
{{Fixbox/fix|Textures load slowly on Linux|ref={{cn|date=June 2017}}}}
 
 
{{ii}} Happens only when you are using any configuration file responsible for improving the framerate such as Chris' FPS Config.
 
{{ii}} Happens only when you are using any configuration file responsible for improving the framerate such as Chris' FPS Config.
 
Set <code>mat_picmip 2</code> to <code>mat_picmip -1</code> in the configuration file.
 
Set <code>mat_picmip 2</code> to <code>mat_picmip -1</code> in the configuration file.
Line 655: Line 626:
  
 
===Game does not start on ArchLinux===
 
===Game does not start on ArchLinux===
{{Fixbox|1=
+
{{Fixbox|description=Game does not start on ArchLinux|ref={{cn|date=June 2017}}|fix=
{{Fixbox/fix|Game does not start on ArchLinux|ref={{cn|date=June 2017}}}}
 
 
Ensure that the <code>lib32-libpng12</code> has been installed.
 
Ensure that the <code>lib32-libpng12</code> has been installed.
 
}}
 
}}
Line 663: Line 633:
 
{{ii}} Caused by any user who inputs a Unicode symbol in chat
 
{{ii}} Caused by any user who inputs a Unicode symbol in chat
  
{{Fixbox|1=
+
{{Fixbox|description=Make the game use Unicode supported font by default|ref={{cn|date=June 2017}}|fix=
{{Fixbox/fix|Make the game use Unicode supported font by default|ref={{cn|date=June 2017}}}}
 
 
# Open <code>sourceschemes.res</code> and change <code>ConsoleText</code> into Unifont
 
# Open <code>sourceschemes.res</code> and change <code>ConsoleText</code> into Unifont
 
# Open <code>chatschemes.res</code> and change the fonts into a Unicode supported one such as Arial, Ubuntu etc.
 
# Open <code>chatschemes.res</code> and change the fonts into a Unicode supported one such as Arial, Ubuntu etc.
Line 734: Line 703:
 
{{ii}} These commands can be saved into <code>{{p|game}}\tf\cfg\autoexec.cfg</code> to be executed when the game launches.
 
{{ii}} These commands can be saved into <code>{{p|game}}\tf\cfg\autoexec.cfg</code> to be executed when the game launches.
  
{{Fixbox|1=
+
{{Fixbox|description=Enabling the console in Source games|ref={{cn|date=July 2016}}|fix=
{{Fixbox/fix|Enabling the console in Source games|ref={{cn|date=July 2016}}}}
 
 
# Launch the game
 
# Launch the game
 
# From the main menu select <code>Options</code>
 
# From the main menu select <code>Options</code>

Revision as of 02:15, 23 November 2017

Dev general icon.svg
Although this product has been released, it remains under active development - information may change frequently and could be outdated or irrelevant.
Team Fortress 2
Team Fortress 2 cover
Developers
Valve Corporation
PASS Time Escalation Studios[1]
Engines
Source
Release dates
Windows October 9, 2007
macOS (OS X) June 10, 2010
Linux November 6, 2012
Team Fortress 2 guide on StrategyWiki
Team Fortress 2 on Wikipedia

Warnings

The macOS (OS X) version of this game does not work on macOS Catalina (version 10.15) or later due to the removal of support for 32-bit-only apps.
Team Fortress
Team Fortress (mod) 1996
Team Fortress Classic 1999
Fortress Forever (unofficial mod) 2007
Team Fortress 2 2007

Key points

Receives frequent updates.[2]
Active community.[3]

General information

Official blog
Official wiki - Run by the TF2 community and hosted by Valve
GitHub Issue Tracker includes other Source-based games
Steam Community Discussions
Steam Workshop

Availability

Source DRM Notes Keys OS
Retail
Icon overlay.png
Gives access to Premium account features[4]
Windows
macOS (OS X)
Linux
Steam
Icon overlay.png
Free to play.
Windows
macOS (OS X)
Linux
All versions require Steam DRM.

DLC and expansion packs

Name Notes
Fight Songs: The Music Of Team Fortress 2
Windows
macOS (OS X)
Linux
Winter Sale 2012
Windows
macOS (OS X)
Linux
Premium DLC
Windows
macOS (OS X)
Linux

Essential improvements

Skip intro videos

Use the -novid command line argument[citation needed]

Game data

Configuration files location

Template:Game data/row
System Location
Steam Cloud settings are stored in <Steam-folder>/userdata/<user-id>/440/remote/
Demo files are stored in <path-to-game>/tf/
It's unknown whether this game follows the XDG Base Directory Specification on Linux. Please fill in this information.

Save game cloud syncing

System Native Notes
Steam Cloud
Settings, in-game sprays and Steam Workshop submissions.

Video settings

In-game general video settings.
In-game general video settings.
In-game advanced video settings.
In-game advanced video settings.

Template:Video settings

Field of view (FOV)

An FOV slider is available within the options which is limited to 75-90°. This sets the FOV for a 4:3 monitor. The actual FOV will be adjusted for other aspect ratios, meaning widescreens gain a higher than configured FOV except in windowed mode. Console commands can change the FOV to values below & above the slider's range.
The Viewmodel FOV can be changed by the use of console commands.
The TF2 Tactics video on FOV has more information about FOV in TF2 and in general.
fov_desired #[citation needed]
  1. Open the console using '~'.
  2. Enter fov_desired #, where # is your desired FOV.
viewmodel_fov[citation needed]
  1. Open the console using '~'.
  2. Enter viewmodel_fov #, where # is your desired FOV.
Plugins[citation needed]
It is possible to increase the FOV limit up to 130 using server-side plugins such as this one. However it is important to note that, while allowed by the ETF2l, client-side plugins are not officially supported by Valve and may be classified as a cheat so use at your own risk.

Input settings

In-game key map settings.
In-game key map settings.
In-game mouse/gamepad settings.
In-game mouse/gamepad settings.

Template:Input settings

Controller support

See also: Xbox 360 controls on the Official Team Fortress Wiki.
Enabling Xbox 360 HUD[citation needed]
  1. Open the console (~).
  2. Input exec 360controller.

Notes

To reverse the change, input exec undo360controller.

Audio settings

In-game audio settings.
In-game audio settings.

Template:Audio settings

Enable HRTF

Works only in Linux version.
Enable HRTF[citation needed]

If the OpenAL's HRTF has been set up, it's possible to enable it in the game by using dsp_slow_cpu 1 command. For the best effect you may also use these commands afterwards:

dsp_enhance_stereo 0
snd_pitchquality 1
snd_spatialize_roundrobin 1

Localizations

Language UI Audio Sub Notes
English
Brazilian Portuguese
Simplified Chinese
Traditional Chinese
Czech
Danish
Dutch
Finnish
French
German
Greek
Hungarian
Italian
Japanese
Korean
Norwegian
Polish
Portuguese
Russian
Spanish
Swedish
Turkish

Network

In-game general multiplayer settings.
In-game general multiplayer settings.
In-game advanced options/multiplayer settings.
In-game advanced options/multiplayer settings.
For more information, see the "Source Dedicated Server" section of our Source engine article.

Multiplayer types

Type Native Players Notes
LAN play
32 Co-op, Versus
Online play
32 Co-op, Versus

Connection types

Ports

Protocol Port(s) and/or port range(s)
TCP 27014-27050
UDP 3478-4380, 27000-27030
Universal Plug and Play (UPnP) support status is unknown.

VR support

3D modes State GG3D Notes
Nvidia 3D Vision
TriDef 3D
Headsets
SteamVR
This game might be playable with the Revive Compatibility Layer (compatibility list).
Oculus VR (LibOVR)
Available under Video Settings. See Oculus Rift for more information.
Windows Mixed Reality
This game might be playable with the Revive Compatibility Layer.
Devices
Tracked motion controllers
Traditional controller
Keyboard/Mouse

Oculus Rift

By default VR mode will run full screen, to switch back to a borderless windowed set the vr_force_windowed convar.
Toggle world view models[citation needed]
  1. Open the console (~).
  2. Enter cl_first_person_uses_world_model 1 to enable or cl_first_person_uses_world_model 0 to disable.

Issues fixed

Generic fixes for issues

Console Commands[citation needed]
  1. Reload the HUD: In console, hud_reloadscheme
  2. Resync the game state with the server (start/stop an in-game demo): In console, record something;stop
  3. Reload sound resources: In console, snd_restart
  4. Re-connect to a server: In console, retry
Restart the game[citation needed]
Verify Your Game Cache[citation needed]
  1. Find Team Fortress 2 in your Steam Library
  2. Right-click the game name
  3. Select Properties
  4. Go to the Local Files tab
  5. Select Verify Integrity of Game Cache...
  6. This may take a while, just wait for it to finish
  7. Once it's done press OK
  8. Launch the game
Delete your Team Fortress 2 registry settings[citation needed]
  1. Delete the entire content of HKEY_CURRENT_USER\Software\Valve\Source\tf\Settings
Reinstall Steam[citation needed]
Fully re-install Team Fortress 2[citation needed]

Sprays are not visible

Sprays are not available on official Valve servers and can be disabled per server by the server admins.
Multiplayer Decal Limit[citation needed]
  • Try raising Multiplayer Decal Limit.

Purple and black broken textures

A generic fix for this issue can be found on our Source engine page.

Game Crashes at Valve Logo on Startup

Game Crashes at Valve Logo on Startup[citation needed]

More than likely, you are having DirectX issues. Try the following:

  1. Reinstall the latest DirectX
  2. Find Team Fortress 2 in your Steam Library
  3. Right-click the game name
  4. Press Properties
  5. Select Set Launch Options...
  6. Input -dxlevel 80. 80, 81, 90, 95, and 98 are all valid options, corresponding to Shader Models. Lower is more compatible.
  7. Try setting -nod3d9ex. This will disable some DirectX 9 extensions used in Windows Vista/7.

Game crashes after closing MotD

Game crashes after closing MotD[citation needed]

Some servers use Pinion advertisement, a buggy plugin that sometimes crashes TF2.

  1. Update Flash/Java plugins.
  2. Disable HTML motd (in advanced options, under performance options)
  3. Install a Pinion blocker by editing the hosts file.

Note that some servers require you to watch the MotD for a minimum amount of time (e.g. 30 seconds)

Cosmetic items do not appear on a player

Bug is caused by the dynamic-model-loading system implemented in Team Fortress 2.
Touch a resupply cabinet[citation needed]

Getting disconnected while playing on a LAN with multiple players

This is caused by multiple players trying to connect to a server using the same client port.
Use unique client ports[citation needed]
  • Each player needs a different client port, by adding this to the launch options: +clientport N, where N is a number between 27005 and 27032, but not 27015 or 27020.

Game cache files are stuck validating

Game cache files are stuck validating[citation needed]
  1. Close Steam and delete ClientRegistry.blob in the Steam folder:[5]
  • Windows: C:\Program Files (x86)\Steam\
  • OS X: ~/Library/Application Support/Steam/

Low FPS fix

Ubuntu (12.10 to 17.04) or any distro with Unity desktop
Fix low FPS on Ubuntu (12.10 to 17.04) or any distro with Unity desktop[citation needed]

Once the game has loaded and the FPS have dropped below playable:

  1. Press Esc. to return to the game menu.
  2. Go to Options -> Video
  3. Switch Display Mode from Fullscreen -> Windowed

From here on, the game should increase dramatically in performance.

  1. Optional: Switch back from Windowed -> Fullscreen
Linux with Cinnamon Desktop
Fix low FPS on Linux with Cinnamon Desktop[citation needed]

To increase performance:

  1. Press the Windows (Super) Key to open the mint menu
  2. Go to System Settings -> Display
  3. Enable "Skip Compositing Manager", then close the window.
  4. Launch the game
  5. Switch Display Mode from Windowed -> Fullscreen

Cinnamon, by default, skips the compositing rendering manager if an application runs fullscreen, which in turn, disables Vsync. Enabling the compositing manager turns ON Vsync and (depending on the system) slows the game down.

  1. Optional: Switch back from Windowed -> Fullscreen
Anti-Virus Exception
Add an anti-virus exception[6][7]

Anti-virus software can interfere with a file in TF2's folder, which gets updated constantly during gameplay.

  1. Open anti-virus program.
  2. Select settings > exceptions/exclusions.
  3. Add the following folders to the scan exceptions:
C:\Program Files (x86)\Steam\appcache\stats\
C:\Program Files (x86)\Steam\SteamApps\common\

No Sound In Linux

No sound in Linux[citation needed]
  • Ensure that the PulseAudio is installed and it's daemon is enabled. If not, you can command the game to use ALSA instead by adding SDL_AUDIODRIVER=alsa to the Launch Options as a 1st thing to do.
  • If that does not work, specify AUDIODEV instead, use aplay -1 command to list available sound cards.

Loading Screen Freezes in Linux

Loading Screen Freezes in Linux[citation needed]
This happens mostly if you are on a non-english user in ArchLinux, but that may happen on other distros as well.
  1. Find and edit locale.gen file and remove the commentary (# symbol) from en_US.UTF-8
  2. Generate the locale with locale-gen command as root.

Textures load slowly on Linux

Textures load slowly on Linux[citation needed]
Happens only when you are using any configuration file responsible for improving the framerate such as Chris' FPS Config.

Set mat_picmip 2 to mat_picmip -1 in the configuration file.

Game does not start on ArchLinux

Game does not start on ArchLinux[citation needed]

Ensure that the lib32-libpng12 has been installed.

FL_LoadGlyph error in Linux

Caused by any user who inputs a Unicode symbol in chat
Make the game use Unicode supported font by default[citation needed]
  1. Open sourceschemes.res and change ConsoleText into Unifont
  2. Open chatschemes.res and change the fonts into a Unicode supported one such as Arial, Ubuntu etc.
  3. Remove/Purge the fonts-wqy-zenhei package
You must install Unicode supported fonts.
You have to perform this method in every update for the game.

Other information

FPS problems article on Whisper's Wiki - a very detailed guide on how to tweak the Source engine and Steam platform on which TF2 runs.
Chris' FPS Configs for TF2 - Different configuration files to automatically set all settings to their absolute lowest or highest. It is recommended to troubleshoot before resorting to these as they can cause problems.
TF2Mate - a TF2 configuration generator with support for various FPS configs, configurable key bindings, and other miscellaneous settings.

API

Technical specs Supported Notes
Direct3D 8, 8.1, 9
OpenGL 2.1 OS X and Linux only.
Shader Model support 2, 3
Executable 32-bit 64-bit Notes
Windows
macOS (OS X)
Linux

Middleware

Middleware Notes
Physics Havok Heavily modified variant.
Audio Miles Sound System, OpenAL OpenAL is used for 3D sound in Linux only.
Interface SDL2
Cutscenes Bink Video
Multiplayer Steamworks

Total Conversions

Name System Description
TF2 Classic Windows, Mac OS X, Linux Based on the February 2008 build, it is a community-maintained mod which supposedly brings some features from TFC such as 4 team mode, VIP escort etc. Right now it provides community-made balances and unique weapons, new game modes like the Deathmatch mode with Mercenary class only, graphical improvements such as dynamic lighting for some particle effects and new features that are completely absent in the original game. The update cycle is very slow, but brings in many new changes that keeps it very fresh. Requires Source SDK 2013 Multiplayer.
TF2 Vintage Windows, Mac OS X, Linux A fork of TF2 Classic. It aims to bring back the game to the pre-Mannconomy Update which happened in October 2010. Primarily focused on gameplay and quality updates.Requires Source SDK 2013 Multiplayer.
TF2 1.0.1.8 Source 2013 Windows, Mac OS X, Linux Based on the February 2008 build of the game which does not contain any additional weapons, cosmetic items or even recent game modes, it is ported into Source 2013 engine which fixes a lot of security exploits. This is currently the most original form of the game. Requires Source SDK 2013 Multiplayer.

Console commands

"List of useful console commands" - Official TF2 Wiki
Games running on the source engine can utilize Source Engine Console Commands for various tasks.
These commands can be saved into <path-to-game>\tf\cfg\autoexec.cfg to be executed when the game launches.
Enabling the console in Source games[citation needed]
  1. Launch the game
  2. From the main menu select Options
  3. Select the Keyboard tab
  4. Click the Advanced button
  5. Check the box next to Enable developer console (~)
  6. Click Apply

Notes

Press ~ to open the console.
Some commands may first require you enabling sv_cheats. You can do so with sv_cheats 1.
Many servers will not allow you to play with cheats enabled, or will disable them upon entering the server.
Users without a US keyboard could experience some problems.

Command line arguments

View this Steam Support Article regarding launch options as well as the relevant Valve Developer wiki page for further information and a list of useful Source engine launch options.
You can launch Team Fortress 2 with launch parameters - these parameters can dictate how certain aspects of the game behave.

System requirements

DirectX 9 is required for Competitive Mode[8]
Windows
Minimum Recommended
Operating system (OS) XP
Processor (CPU) 1.7 GHz
System memory (RAM) 512 MB
Hard disk drive (HDD) 15 GB
Video card (GPU) Requires support for SSE
DirectX 8.1 compatible
macOS (OS X)
Minimum
Operating system (OS) 10.5.8, 10.6.3
Processor (CPU) Intel Core 2 Duo
System memory (RAM) 1 GB
Hard disk drive (HDD) 15 GB
Video card (GPU) Nvidia GeForce 8xxx series
ATI Radeon X1600
Intel HD 3000
Linux
Minimum
Operating system (OS) Ubuntu 12.04
Processor (CPU) Intel Dual Core 2.8 GHz
AMD Dual Core 2.8 GHz
System memory (RAM) 1 GB
Hard disk drive (HDD) 15 GB
Video card (GPU) Nvidia GeForce 8600/9600 GT
ATI/AMD Radeon HD 2600/3600
OpenGL 2.1 compatible

References

  1. Introducing PASS Time, a New Beta Game Mode! - TF2 Team - last accessed on 2016-5-22
  2. Updates - Team Fortress homepage
  3. Team Fortress 2 · AppID: 440 · Steam Database
  4. Team Fortress 2: Free-to-Play FAQ - last accessed on 2016-5-22
    "If you've ever spent money on TF2, you have a premium account. This includes purchasing the game before it was Free-to-Play, activating a retail version of the game, or making a purchase in the Mann Co. in-game store."
  5. https://support.steampowered.com/kb_article.php?ref=7241-EYON-2343
  6. Source thread on the Steam forums from 2009 (retrieved)
  7. Thread on the ETF2L forums
  8. Team Fortress 2 - Competitive FAQ - last accessed on July 8, 2016