(05-10-2011, 06:03 AM)jens Wrote: You have to make sure that the text is "plain text" which you can set in the Format menu, then when you save you have to type the .hps as an extension. By default Textedit will append a .txt extension so you have to remove that part of the file name (in the Finder menu, under preferences you can turn on show file extensions.). You can change the default behavior of Textedit in the preferences, under Open and Save where you can uncheck the box that auto adds .txt extensions.
It might be better to use another text editor like Smultron or TextWrangler as they can color the text and do other things making it easier to script.
well do you have to color different sections of text when scripting, or can it be all black?
also i had another question, to make a script file correspond to a certain map to you just need to save the script file with the same name as the map or do you need to do some other setup?