Game Development Community

Tutorial help.

by Francis · in Torque Game Engine · 09/11/2006 (12:15 pm) · 6 replies

Ok, so I got to the tutorial scripting part.
And its all fine up until the point where it wants me to save my document as a .cs
Which Textedit doesnt want to do. Any idea of how I can make the file a .cs?

#1
09/11/2006 (12:21 pm)
Let it save it however it wishes, then manually rename it.
When you get tired of doing that, buy an emulator or Mintel, so you can run Torsion, the only REAL scripting editor there is!
#2
09/11/2006 (12:27 pm)
Context is a free editor that I use without any problem.

http://www.sharewareriver.com/products/13768.htm
#3
09/11/2006 (12:30 pm)
Um... Context is windows based.
No happy go name changing me.
#4
09/11/2006 (12:33 pm)
@Francis

I left you some editor advice in your other thread about Mac editing programs to use. Just wanted to make sure you didn't miss it. Short version: TextWrangler from Bare Bone Software will get you started.

=Tod
#5
09/11/2006 (12:47 pm)
Oh i just went back to it, I went to delete it, hasnt been yet, thankfully.
Worked great, I'm getting textwrangler now, and i put the plaintext style on which allowed the .cs to work.
My thanks.
#6
09/14/2006 (7:21 pm)
@ALL:
This one is really simple, guys.
In TextEdit, when you go to save, there are 2 checkboxes you may want to uncheck.

Uncheck the following checkboxes:
- - If no extension is provided, use '.txt'.
- - Hide Extension

I also recommend selecting:
- - Plain Text Encoding: Unicode (UTF-8)

Also, it helps to set the Finder to show all extensions:
- - In the Finder, from the menu bar, choose Finder->Preferences...
- - Choose the Advanced tab
- - Check the checkbox: Show all file extensions.

Finally, see this resource:
Edit TorqueScript Files in Xcode -- Installer

Share and Enjoy.

/Paul