Team Fortress 2
This topic has been locked
dad Jan 10, 2016 @ 3:38am
Console commands to reduce lag?
Hello :)

My computer is a few years old now and I occasionally experience lag spikes when playing, which is quite annoying. I've lowered my texture and model details and a bunch of other video settings quite low.

These are some of the commands I have in my autoexec.cfg file that give me slightly better FPS:

mat_phong 0
mat_mipmaptextures 0
r_rimlight 0
cl_ragdoll_fade_time 0
cl_ragdoll_physics_enable 0
cl_ragdoll_forcefade 1
ragdoll_sleepaftertime 0


Can anyone suggest any console commands aside from these that might boost FPS or reduce lag, as well as give a brief explanation of what it does?

Thanks in advance :)
< >
Showing 1-15 of 29 comments
Ass exploder Jan 10, 2016 @ 3:45am 
r_rimlight 0 kinda ruins your fps go to steam, libary, right click tf2, properties and type -dxlevel 81
Last edited by Ass exploder; Jan 10, 2016 @ 3:45am
dad Jan 10, 2016 @ 5:13am 
Originally posted by PKS | SFM |:
r_rimlight 0 kinda ruins your fps go to steam, libary, right click tf2, properties and type -dxlevel 81
I've heard r_rimlight doesn't make a difference when you have mat_phong 0, but then I only have it because a friend put it in his autoexec and said it made a small difference.

Mint Jan 10, 2016 @ 5:18am 
try unbindall
Gius Jan 10, 2016 @ 6:09am 
-Download chris config
-Open maxframes with notepad++ or OR office word (normal notepad doesnt work for some reason)
-Copy everthing in autoexec
-add mat_dxlevel 81 in the FIRST line of autoexec
-You have almost the max of the frames you can get while still having acceptable graphics

edit
btw is impossible to reduce the actual ping with configs, but this should help. Just remember to tweal the interp and rate values
Last edited by Gius; Jan 10, 2016 @ 6:12am
dad Jan 10, 2016 @ 1:42pm 
Originally posted by Gius:
-Download chris config
-Open maxframes with notepad++ or OR office word (normal notepad doesnt work for some reason)
-Copy everthing in autoexec
-add mat_dxlevel 81 in the FIRST line of autoexec
-You have almost the max of the frames you can get while still having acceptable graphics

edit
btw is impossible to reduce the actual ping with configs, but this should help. Just remember to tweal the interp and rate values
Thanks heaps. I've already adjusted my interpolation settings (cl_interp and cl_interp_ratio and all that).

Also is directX level adjusted through console or through steam?
SHOKK♥ Jan 10, 2016 @ 1:44pm 
Originally posted by Vladimiracle:
Originally posted by Gius:
-Download chris config
-Open maxframes with notepad++ or OR office word (normal notepad doesnt work for some reason)
-Copy everthing in autoexec
-add mat_dxlevel 81 in the FIRST line of autoexec
-You have almost the max of the frames you can get while still having acceptable graphics

edit
btw is impossible to reduce the actual ping with configs, but this should help. Just remember to tweal the interp and rate values
Thanks heaps. I've already adjusted my interpolation settings (cl_interp and cl_interp_ratio and all that).

Also is directX level adjusted through console or through steam?
You can do it through launch options http://i.imgur.com/YWiLpWD.png
Just add -dxlevel 81 and launch the game and you'll be in 8.1

(Be sure to remove it after launching as it resets your settings)

If you just want a config to copy and paste into your autoexec.cfg file
http://pastebin.com/uT9NqDV7
Last edited by SHOKK♥; Jan 10, 2016 @ 1:48pm
dad Jan 10, 2016 @ 6:47pm 
Originally posted by shokk_:
Originally posted by Vladimiracle:
Thanks heaps. I've already adjusted my interpolation settings (cl_interp and cl_interp_ratio and all that).

Also is directX level adjusted through console or through steam?
You can do it through launch options http://i.imgur.com/YWiLpWD.png
Just add -dxlevel 81 and launch the game and you'll be in 8.1

(Be sure to remove it after launching as it resets your settings)

If you just want a config to copy and paste into your autoexec.cfg file
http://pastebin.com/uT9NqDV7
Do I have to add it every time i start up steam?
SomeFearsomeDude Feb 17, 2017 @ 2:46am 
Thanks! This guide really helped!
h7 guy Jun 10, 2017 @ 10:12am 
Thanks.
nomorevideos Jun 10, 2017 @ 10:27am 
Originally posted by Gius:
-Download chris config
-Open maxframes with notepad++ or OR office word (normal notepad doesnt work for some reason)
-Copy everthing in autoexec
-add mat_dxlevel 81 in the FIRST line of autoexec
-You have almost the max of the frames you can get while still having acceptable graphics

edit
btw is impossible to reduce the actual ping with configs, but this should help. Just remember to tweal the interp and rate values
Changing lerp or whatever it's called does recude actual ping/lag though. It's set to 100ms by default to help smooth out animations and stuff. Setting it to the lowest possible value will indeed make it so there is less latency. I am not sure about the limit though, it differs from game to game.
fokuto Jan 20, 2018 @ 11:47pm 
Originally posted by Polkaslacis:
Do unbindall and then delete the game, so it wont lag anymore..
Do a "read the date" before posting something that isn't funny in any way.
Dave256 Jan 21, 2018 @ 12:28am 
Originally posted by twice the dog, double the bork:
Originally posted by Gius:
-Download chris config
-Open maxframes with notepad++ or OR office word (normal notepad doesnt work for some reason)
-Copy everthing in autoexec
-add mat_dxlevel 81 in the FIRST line of autoexec
-You have almost the max of the frames you can get while still having acceptable graphics

edit
btw is impossible to reduce the actual ping with configs, but this should help. Just remember to tweal the interp and rate values
Thanks heaps. I've already adjusted my interpolation settings (cl_interp and cl_interp_ratio and all that).

Also is directX level adjusted through console or through steam?
Don’t download chris’ config it’s incredibly outdated if you a dx 8 config for older computers get comanglias config
iongaf Apr 6, 2018 @ 1:34pm 
Thanks :)
Revan Apr 6, 2018 @ 2:03pm 
mat_specular 0
⛧Despair⛧ Apr 6, 2018 @ 2:10pm 
Originally posted by Mint:
try unbindall
don't try s h i t
< >
Showing 1-15 of 29 comments
Per page: 1530 50

Date Posted: Jan 10, 2016 @ 3:38am
Posts: 29