Team Fortress 2
This topic has been locked
Coverdrave Jul 24, 2015 @ 3:38am
How to use autoexec.cfg?
Hello, I want to know how do I put commands in autoexec.cfg.
Does someone can to explain me?
< >
Showing 1-15 of 25 comments
Mashpit Jul 24, 2015 @ 4:24am 
Create an autoexec.cfg in C:/Program Files (x86)Steam/Steamapps/common/Team Fortress 2/tf/cfg or your install directory (note: some people like to put their cfgs in their custom folder, but if you don't know how to edit cfgs you'll probably fuck up the custom cfg folder installation like everyone else that doesn't know how to edit tf2 files).
Open autoexec.cfg (make sure it's not autoexec.cfg.txt) with notepad. Notepad++ is recommended.
Enter desired commands, or exec different cfgs that contain your desired commands.
The commands should "auto-execute" when you open the game.
Last edited by Mashpit; Jul 24, 2015 @ 4:25am
Coverdrave Jul 24, 2015 @ 5:14am 
Thanks bro.
Coverdrave Jul 24, 2015 @ 5:15am 
Also does someone knows how to fix the freezes for around 3 seconds and looping sound in that time? It's very bad thing, I had 10 killstreak and I losed it because of that thing.
shrub (Banned) Jul 24, 2015 @ 5:16am 
Put all the commands or scripts you want to automatically execute when you launch the game into the autoexec or autoexec.cfg folder (it was already there for me, you might have to create one).
shrub (Banned) Jul 24, 2015 @ 5:17am 
Originally posted by Coverdrave:
Also does someone knows how to fix the freezes for around 3 seconds and looping sound in that time? It's very bad thing, I had 10 killstreak and I losed it because of that thing.
That's just game stutter, usually happens if you instantly play tf2 after booting your computer, at least it does for me.
Mashpit Jul 24, 2015 @ 5:19am 
Originally posted by Coverdrave:
Also does someone knows how to fix the freezes for around 3 seconds and looping sound in that time? It's very bad thing, I had 10 killstreak and I losed it because of that thing.
Turn net_graph 3 on. If the blue bar at the bottom of the graph turns orange when that happens, it's your internet. Switch to ethernet in that case.
OLDMAN🎅 Jul 24, 2015 @ 6:11am 
Originally posted by Mashpit | I should study:
Create an autoexec.cfg in C:/Program Files (x86)Steam/Steamapps/common/Team Fortress 2/tf/cfg or your install directory (note: some people like to put their cfgs in their custom folder, but if you don't know how to edit cfgs you'll probably fuck up the custom cfg folder installation like everyone else that doesn't know how to edit tf2 files).
Open autoexec.cfg (make sure it's not autoexec.cfg.txt) with notepad. Notepad++ is recommended.
Enter desired commands, or exec different cfgs that contain your desired commands.
The commands should "auto-execute" when you open the game.

the best why is exec different cfgs that contain

my exec
exec "wind_autoexec.cfg"
exec "protect.cfg"
exec "gfx.cfg"


Coverdrave Jul 24, 2015 @ 7:49am 
Originally posted by Mashpit | I should study:
Originally posted by Coverdrave:
Also does someone knows how to fix the freezes for around 3 seconds and looping sound in that time? It's very bad thing, I had 10 killstreak and I losed it because of that thing.
Turn net_graph 3 on. If the blue bar at the bottom of the graph turns orange when that happens, it's your internet. Switch to ethernet in that case.
Here's a pic of what happens when I freeze:
http://postimg.org/image/os2l1vs15/e97739f1/
Just press the picture and it's getting bigger.
Cordas Jul 8, 2017 @ 12:12am 
How to delete this thing. Because when i press 0, my hands are standing invisible.
Cordas Jul 8, 2017 @ 12:19am 
What you mean?
ToxicGames Jul 8, 2017 @ 12:32am 
This was from 2015 why u necro it OP
Cordas Jul 8, 2017 @ 12:34am 
Someone is still using autoexec?
real aston martin (Banned) Jul 8, 2017 @ 12:50am 
no
Taz Oct 18, 2017 @ 11:19pm 
how do i open it in notepad?
Shillk Oct 20, 2017 @ 3:15pm 
Originally posted by Tazman53:
how do i open it in notepad?
right click the file, and select "open with" and then choose notepad or a notepad alternative
< >
Showing 1-15 of 25 comments
Per page: 1530 50

Date Posted: Jul 24, 2015 @ 3:38am
Posts: 26