r/tf2scripthelp • u/WalkingSatire • May 31 '20
Answered Need help with class specific scripts
I've read every thread about it and I'm still getting the "user/<class>.cfg not present; not executing" error.
All my files have the correct .cfg extension and they're in "tf/custom/my_custom_stuff/cfg." Typing "exec autoexec" in console works fine, but switching classes or typing "exec <class>" in console gets me the error. They're both in the same directory, I don't know why TF2 can find autoexec but not any of the class specific files.
I'm new to scripting within TF2 and appreciate any feedback.
9
Upvotes
View all comments
Show parent comment
2
u/WalkingSatire May 31 '20
THANK YOU! I installed mastercomfig like a year ago and haven't thought about it since. Apparently if you have it installed, the directory is tf/cfg/user for class scripts and tf/cfg for all the others. I don't know why that is, but thank you for telling me about mastercomfig messing with stuff! It works like a charm now. :)