Team Fortress 2

Team Fortress 2

60 ratings
Useful Commands For TF2: Autoexec, launch options, and more!
By DAMSEL
A guide which focuses on useful commands for tf2.
   
Award
Favorite
Favorited
Unfavorite
Introduction
Hello! I see you have stumbled upon this guide?
First of all thank you very, very much for choosing to view this guide.

This guide will show you some useful commands that can improve your gameplay, or cosmetic commands that are completely preferencial. Enjoy!
Autoexec Intro
The autoexec file is a file where you put certain commands to run everytime you play tf2.


Where is the autoexec folder?

Deafault: C: -> Steam -> steamapps -> common -> Team Fortress 2 -> autoexec

I dont have an autoexec folder!


Autoexec Part 1
Autoexec can also bypass some things that sv_pure 1 blocks (i.e Skins, Custom models, overhauls[/h1]

map itemtest;wait 10;disconnect

Null Movement Script
This script makes that you dont stop if you press 2 buttons at once.

bind w +mfwd
bind s +mback
bind a +mleft
bind d +mright
alias +mfwd "-back;+forward;alias checkfwd +forward"
alias +mback "-forward;+back;alias checkback +back"
alias +mleft "-moveright;+moveleft;alias checkleft +moveleft"
alias +mright "-moveleft;+moveright;alias checkright +moveright"
alias -mfwd "-forward;checkback;alias checkfwd none"
alias -mback "-back;checkfwd;alias checkback none"
alias -mleft "-moveleft;checkright;alias checkleft none"
alias -mright "-moveright;checkleft;alias checkright none"
alias checkfwd none
alias checkback none
alias checkleft none
alias checkright none
alias none ""


Autoexec Part 2
No Gibs/Ragdolls script
Theese comands make you have better fps by disabling ragdolls.

cl_ragdoll_fade_time 0
cl_ragdoll_forcefade 1
cl_ragdoll_physics_enable 0
g_ragdoll_fadespeed 0
g_ragdoll_lvfadespeed 0
ragdoll_sleepaftertime 0
cl_phys_props_enable 0
cl_phys_props_max 0
props_break_max_pieces 0
r_propsmaxdist 1
violence_agibs 0
violence_hgibs 0


Binds/Bindtoggles
Binds are commands to make that a key does a certain action.

Examples
bindtoggle F1 r_drawviewmodels 1
Disables Viewmodels when pressing F1

bind UPARROW net_graph 1
Shows the net_graph 1 "thing" when pressing the uparrow.
Autoexec Part 3
Other very useful autoexec/console commands

sv_allow_point_servercommand always
Useful for maps like tr_target where the map does other specific commands

cl_vote_ui_active_after_voting 1
Shows the voting popup even after done voting. Useful if you want to keep track of votes.

Reccomended Interp Settings
Theese settings adjust interp, interp is explained here after the last command shown to autoexec.
cl_interp 0.0325
cl_interp_ratio 1
cl_updaterate 66
cl_cmdrate 66
cl_pred_optimize 2
cl_smooth 0
cl_smoothtime 0.01
rate 80000



javascript:InsertYouTubeVideo()
This guide is not yet complete.
Please keep in mind that this guide is not complete.

Want to help? Comment a comment in this guide or in my profile!
5 Comments
Ballslover1289 Oct 1, 2023 @ 3:24am 
Is there a way for me to auto exec any mod? If so, what should I type in my autoexec?
78392947389285858683778387 Jul 12, 2018 @ 9:03am 
yeet
DAMSEL  [author] Jun 9, 2018 @ 2:02am 
@PurpleSpeeh

You might want to bind net_graph 1 to a key unless youre okay with it being on the screen all the time.
PurpleTests Jun 7, 2018 @ 9:49am 
so,
Commands that change like mat phong should Look like this :
mat_phong 0
mat_motion_blur_enabled 0
r_rimlight 0
net_graph 1
Anything i need to add for it to work or is it fine that way
cate Jun 3, 2018 @ 12:36am 
very nice