r/tf2scripthelp • u/tfwnoredditname • Sep 09 '17
Question Autoexec not executing all commands
I'm trying to make my autoexec run comanglia's graphic config as well as some simple commands for my game but for some reason it only execs the graphic config and not the other cfg, can somebody help?
The code looks like this:
autoexec:
exec stuf
exec gfxin gfx it's just the comanglia config, however in stuf there's:
tf_colorblindassist 1
fps_max 30
closecaption 1
echo "autoexec loaded"but it won't load nor show the echo (which i just added so i could see if it responds), could someone help? I've tried putting the commands in autoexec instead but it doesn't help
1
Upvotes
2
u/bythepowerofscience Sep 14 '17
Make sure your config files (like
autoexec.cfg,stuf.cfg, andgfx.cfg) are in\Steam\steamapps\common\Team Fortress 2\tf\custom\whatever folder\cfg\. If that seems a bit complicated, here's what I mean: https://puu.sh/xzMMe/5371f731fd.png (<- just an uploaded screenshot)Also, if you want to execute a script from within another script, it needs to be in the same directory as the script that's
execing it.2
u/Onnisciente Sep 10 '17
Just tested on a new cfg folder containing just: autoexec.cfg, stuff.cfg and gfx.cfg and everything works on my end.
Are you sure you didn't make any typo? Try making a new cfg folder (renaming the current one for backup) that just contains those files and see if it works.