Game Development Community

Compiling Script " Beginner tutorial

by Kasey McIntosh · in Torque Game Engine · 08/08/2007 (2:22 pm) · 4 replies

Hey, I just bought Torque 1.5.2, and I have followed the tutorial pretty closely, but when i had to write the script from scratch it just stayed as a .txt file, is there any program that will convert it, I am thinking that JCreator may work, but I haven't tried it yet.

#1
08/08/2007 (2:34 pm)
Remove the .txt and change it to .cs if it is for your game, there is torsion were you can write scripts and codewever, but torsion is better I tried the demo long ago.

Oh yea be sure to set your your operating system to show file extensions so you can make the change.
#2
08/08/2007 (3:02 pm)
Thanks so far for the info, i di save it as clientgame.cs, but it's a txt. How do you have the system show extensions?
#3
08/08/2007 (5:21 pm)
In Windows

start--> control panel-->> folder Options--> view (tab) -->> (scroll down)uncheck this box in advanced settings [box: Hide extensions for known file types] -->> Click apply --> then click OK

not when you look at your files it gives the extension .cs, .gui, etc.
#4
08/08/2007 (7:32 pm)
If i understand problem correctly. YOu saying you cant save the script as .cs it always saves as a .txt

I do all my script writing in notepad

All you got to do when you save
Go to "Save As Type" and click on "all files". Then name the file with a "cs" on the end. For example clientGame.cs