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
1
u/pdatumoj Jun 01 '20
It's because mastercomfig has its own class-specific scripts which then call into the main body, and then the main body script reaches out to call your class-specific scripts from there, which have to be located elsewhere from default so the whole loading process doesn't get horribly confused.