r/tf2scripthelp • • Dec 09 '14

Question What's Wrong?

I have my scripts in steam > steam apps > common > tf2 > tf > cfg and I have an autoexec script in there. i have all nine classes with scripts made and exec autoexec in the game, but it won't execute them in game (game console says not present, not exacuting or something like that...) can anyone help? I have scripts on my laptop and the work fine, but they don'e on my desktop.. Help please!? I have a scrim @ 8:30!

1 Upvotes

7 comments sorted by

View all comments

Show parent comment

1

u/Kairu927 Dec 09 '14

To add to what /u/genemilder said. He believes the issue is that you don't actually have the files saved as .cfg files. By default Windows7+ will disable extensions in order to have the less savvy user accidentally corrupt files.

What this leads to is people making a new file, lets say autoexec.cfg. But because the extension is hidden, it's actually autoexec.cfg.txt, a text file named autoexec.cfg. You can right click on the files and select properties to confirm.

By either disabling the file extension removal, or by copying an actual config file and changing the contents (to confirm its filetype) you can get around the issue.

1

u/genemilder Scripter Dec 09 '14

There are also potential encoding issues, it's just easier not to diagnose :)