Team Fortress 2

Team Fortress 2

204 ratings
Optimization guide for TF2
By tripz
A guide that helps with optimization in the game Team Fortress 2.
   
Award
Favorite
Favorited
Unfavorite
Lets get started!
Information

Hello everyone new and old to tf2! My name is tripz and today I will help you have a better optimized game.

-----------------------------------------
*fps = Frames Per Second (Higher = Better)


-----------------------------------------

Overview
  • Configs / Graphic / Network Settings
  • Hitsound **Note thanks to Saki: Huds effect FPS**
  • HUD (Heads up Display)

Tools You Will Need
  • Winrar [www.rarlab.com] Pick the language you want then download it. (It does last more than 30 days).
  • notepad++[notepad-plus-plus.org] Go to Downloads and click on that crazy lil' gecko.
  • The ability to follow instructions

Winrar is a file extractor that extracts the files from the .rar file you are going to download in the future

Notepad++ is a notepad editor that is more advanced than windows default notepad


FPS Config
Config, Network, and Graphic settings

I bet you are like this right now. "Hey tripz what is this even supposed to do!" Well young or old lad this will help you have a better chance to getting frags in games and top scoring. The key to your success.

Alright! I bet you are bored by now so lets get straight to the point of this section.

The config you want really depends on your computer and how well it runs the game below will be a list of the graphic config name and what they look like. (This also depends on how you want performance over looks or looks over performance)


Now you just downloaded the configs from this site here[chrisdown.name]
and you open it with WINRAR and grab the main folder and put it on your desktop.



Next you will see the files I listed above pick the one you want then open it. Copy all the contents and paste it in a new text document on Notepad ++ save it as autoexec.cfg . I use maxframes (For max performance) You will now see a lot of lines of commands for TF2.



Now scroll down to "FPSCAP" This is w.e you want your frames to max out at 121 is the best for 60hz monitors anything higher you'd do refresh rate * 2 + 1 The command you see in the config would be fps_max 121 If you do not get 121 frames constant go down to 80 then 70 then 60.

The next thing is network settings

If you have decent ping to all servers 80 or lower then you'd remove the "//" from the "Good Connection" area if you have bad ping then you'd do the same as above but with the "Bad Connection" setitngs.


Sprays. What are they? They are the images can custom load into the game and show off on a server. If you want to disable this then dont touch anything in that section If you do then you could do two things. One delete the code from the config or two setting "//" infront of each command. example : "//cl_playerspraydisable 1 //r_spray_lifetime 0"


Shadows are what the word means you will take a performance hit if the pc you have is bad. All it does is show shadows and you can use it to your advantage around corners etc. If you want to enable it do the same steps as Sprays.


Facial features are the expressions / eyes of the in-game players. When I had a bad pc I did not see a performance difference with them enable / disabled but do whatever you want.


Gibs / Ragdolls these are essentialy the same thing Gibs are the body parts which fly everywhere if you blow someone up. Ragdolls are the dead bodies disabling this will Greatly increase FPS.


In-game Advanced settings
click on everything in the first section.


Keyboard Settings
Go to "Advanced settings" in the bottom table and enable developer console and Fast weapon switch.


Once the developer console is enabled hit the "~" key its above the tab key

now type the following codes

There is an optional way to do this put those commands in your autoexec

fov_desired 90 (Makes your Field of View bigger so you can see more things going on)
viewmodel_Fov 88 (this can range from -100 - 300 but 88-100 is the best if you want to use viewmodels)
If you do not want to use viewmodel's then type r_drawviewmodel 0 (change 0 to 1 inorder to enable it)

mat_phong 0 (adds a cartonish style and ups performance sometimes makes performance lower) **Credits to Shiro**


Now to save this big file you just edited all by yourself! Goodjob!

Go to File>Save As> autoexec.cfg change the file type to all files types
after that go to your steam directory

You can do the following in two different ways one put it in
C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\cfg

Another being

Go to your custom folder make a new folder in it ex: "my_custom_stuff" then in that folder type "cfg" and drag and drop it in the "cfg" folder

C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\custom\my_custom_stuff\cfg


Launch Options
  • Directx Levels:
  • DX8.0 = Lower visual quality and glitches with water but huge fps boost.
  • DX8.1 = Lower visual quality no glitches with water huge to medium fps boost.
  • DX 9.0 = Pretty visual quality some fps boost.
  • DX 9.8 = Amazing Visual quality no fps boost maybe some loss.

-dxlevel 81 *The Level of Direct X*
-full *Puts the game in full screen mode*
-w 1920 *Width of the resolution*
-h 1080 *Height of the resolution*
-console *Opens up the console every time you start the game*
-novid *Skips over the Valve intro*
-useforcedmparms *Smooth mouse movement*
-noforcemaccel *Turns mouse accel off*
-noforcemspd *Uses windows mouse settings*

Time to get technical Fullscreen vs Windowed

Windowed mode will let you alt tab faster but take an FPS loss while Fullscreen will keep your FPS as constant as possible with your pc . Now go to the launch options in your tf2
and paste the lines of commands.

The following commands determine the size of your resolution that you want. "-w WIDTH -h HEIGHT" I would put -w 1920 -h 1080.

Though having a lower resolution at a cost of having lower field of view the fps will go up. You do not have to go native.


**example** -dxlevel 81 -full -w 1920 -h 1080 -console -novid -useforcedmparms -noforcemaccel -noforcemspd

Put those lines of commands in your launch options.

**After first launch remove -dxlevel line if not it'll cause random stuff to happen crashes etc.

If you are not happy with the settings you can remove everything and put -autoconfig in launch options

For more launch options visit this site
Hitsounds!
Hitsounds are the noise that is made when you hit an enemy you are allowed to have a custom one. Inorder to do that you need 2 things

  • Hitsound
  • The ability to follow instructions

You can download hitsounds here[tf2dingalings.com]

Once you find one download it should be named "hitsound.wav" or just "hitsound"
After that go to your custom folder and make a folder named "hitsound" then a folder named "sound" then a folder named "ui" the hitsound.wav file goes in "ui" folder the "ui" folder goes in "sound" and the sound folder goes in "hitsound" The file directory should look like the following.

C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\custom\hitsound\sound\ui

Now put the following commands in your autoexec that you made in the section aboves.

// ------------
// Hitsound settings
// ------------

tf_dingalingaling 1
tf_dingaling_volume 1.0 // Sets the volume of the hit sound.
tf_dingaling_pitchmindmg 125 // Sets the desired pitch of the hit sound when a minor damage hit is done.
tf_dingaling_pitchmaxdmg 50 // Sets the desired pitch of the hit sound when a major damage hit is done.
tf_dingaling_wav_override hitsound.wav
Heads up Display
Wow! tripz this guide is pretty long but what is a hud? Well a hud is a different layout for tf2 ingame. Many huds exist today thanks to all the great users of this community. The way to find huds is the website huds.tf it has a dictionary type thing of every single hud ever.

Now on to the hud installing part once you find it. First you want to download the hud you want from http://huds.tf/ or http://www.teamfortress.tv/forum/8/customization

The site will take you to github click on download zip on the bottom right corner. After its downloaded open it with winrar. You will see the main folder open it up in winrar.

Now that you see that open up the first folder you will see "name of hud" you want to drag that folder into your custom folder
C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\custom
After you drop it into there it should work and you should be golden.
The end!
Thankyou for viewing my guide! I hope it helps you any questions please ask away.


--------------------------------
The End!
--------------------------------

Extras

For better sounding games you can use the following program to have surround sound.
Sound[www.razerzone.com]
Download Razer Surround Sound
then install it you can then configure the sound to fit your headset and have surround sound!


Contact
http://www.twitch.tv/tripzfk
My steam profile
Comment section
115 Comments
tripz  [author] 13 Jul, 2017 @ 1:35pm 
It's because TF2's optimization is totally utter crap. To get amazing fps you'll have to OC your processor or have a i5+.
arachnid14 5 Apr, 2017 @ 4:57pm 
@spewks
my computer is far from a potato yet it still gets constant frame drops in tf2
󠀡󠀡󠀡󠀡󠀡 21 May, 2016 @ 1:51pm 
Thanks! Awesome guide :Steamhappy:
󠁳⁧⁧ ad4m 16 Nov, 2015 @ 3:50am 
how to play tf2?
tripz  [author] 29 Jul, 2015 @ 3:07am 
some people cant do that :^)
w h y 28 Jul, 2015 @ 11:03pm 
If someone has shitty frames in TF2, you guys really need to consider trashing the potato you have as a computer.
Sour Garpes 17 Jul, 2015 @ 12:11pm 
it won't fix and go back to what I set it so plz help me
Sour Garpes 17 Jul, 2015 @ 12:10pm 
dude plz help me it changed the ound back to what it orginally just the dingging and not what I put it to plz help me dude I dunno what to do!!!!!
Veltz 14 Jul, 2015 @ 2:38pm 
Thank you for the guide! can't believe i was missing all this hidden content.
tripz  [author] 31 May, 2015 @ 5:07pm 
:c