Game Development Community

Torque Script Doku

by Lennart Steinke · in Torque Game Builder · 03/13/2005 (3:20 am) · 9 replies

Hi!

I only own t2d and realized that I have no torqueScript documentation. It would be really great if somebody could provide me with link so I can download a PDF with the TorqueScript docs as well.

Thanks in advance,
Lennart

#1
03/13/2005 (3:42 am)
Thanks.
But while this covers the language, it doesn't seem to include a list of object independent functions, like the schedule() method. (I guess it's object independent? At least a search for "schedule" in the t2d reference didn't find anything)

Another thing I'm looking for is a table containing the logical names for all keys. The example uses normal keys for the action mapping, but how would I check for the right shift key, for example?

Also, I'd really prefer something I can download and use offline, since I do lots of my private coding while commuting to/from work on the train. Do you know if there is a download link for the docs?
#2
03/13/2005 (5:10 am)
One more thing: Is the GUI editor documentation available for download / online viewing? I'm fighting with it at the moment, and it seems like the Editor is about to win :)

Help would really be appreciated.
#3
03/13/2005 (10:10 am)
The script examples for TGE are great but personally, I don't really know whats no longer included with T2D. Meaning that I'm not sure what objects have been or have not been included with T2D.

T2D objects derive from sim object so simgroups are there.

I know that The GUI stuff and the sound layer are there and I know that missions aren't there. So missioncleanup would be useless. I guess it is a matter of time.

Hopefuly, when I have time to run through the engine docs, I will have a better answer.

It's only matter of time before someone puts up a t2d specific learning tutorial.
The one in the docs is cool but its still not for complete scripting noobs.
#4
03/13/2005 (11:22 am)
Well, right now I only have 3 PDFs:
- an overview
- the basic tutorial
- tile map editor description

Then I've the HTML link given above. That's it.
#5
03/13/2005 (3:36 pm)
Torque 2D Unofficial FAQ

this answers some questions involving T2D (some about torquescript and even the schedule command).

look for the included .html file to click to get an easier to use file
#6
03/13/2005 (5:21 pm)
Search resources for minapp.

A couple of tutorials that will get you started.
#7
03/13/2005 (5:40 pm)
TorqueScript functions and commands. Very worthwhile reference! Linked from this page.

Also, this question has been asked and answered several times on the forums already, but I understand they are pretty busy / full and it's already getting hard to find stuff. So, the next release of the T2D SDK will have links to common documentation like this. Actually, the Linux and OS X versions already include this list. :) The Windows SDK will be updated soon as well.
#8
03/13/2005 (9:10 pm)
What I had decided to do turned out to be a little more. I basically grabbed a list of all the console objects and put them in a viewable hierarchy list like the engine does. I was surprised that it was bigger then I thought.

What I want to do now, is make it so that when you click on any of those objects it will show another html page with all of the functions and methods for scripting purposes. Sort of like the TGE engine docs do but with a little clearer information that only lists the scriptable stuff.

I realize that it isn't really a necessary thing, but I thought it would be handy to have all of the classes viewed like that so people new exactly what classes link to what classes and all the shared methods and stuff.

It should be fun!

I will probably make it a chm file and password protect it so that it doesn't violate any rules. If that's not ok, then please tell me.
#9
03/24/2005 (9:22 am)
I've abandoned the above due to this

www.garagegames.com/mg/forums/result.thread.php?qt=27635