Game Development Community

Programming (script) Language Reference

by Terrance Simkin · in Torque Game Builder · 10/02/2006 (4:43 am) · 10 replies

Well I am a newbie at TGB but been programming in lots of languages for a long time. Would like to know where I might find a reference (like a book) that I could read and use as a reference. I plan to be teaching with TGB in the near future.

Second question, is the script based on some standard in the industry? Yep I know is sorta kinda looks like C++, but is there a international standard it is based on?

Professor Terrance "Terry" Simkin

Program Coordinator Animation and Graphic Game Programming
Professor Computer Engineering Technology
New Hampshire Technical Institute
31 College Drive
Concord, NH 03301
tsimkin@nhctc.edu

#1
10/02/2006 (5:05 am)
Well I sorta found the answer to my own question in TGB help documentation and on my own computer after installation of TGB.

C:\Program Files\TorqueGameBuilder\documentation

Documentation Overview.html
Overview_Images
reference
tutorials

But I am old and like to have paper (books) in my had. Any hard copy documentation I can order? Where?

Any one write any books on the scripting language used in Torque?

On Amazon I found:

Maximum Torque: The Ultimate Guide to Game Scripting (GarageGames) by Kenneth Finney (Paperback)
Buy new: $39.00 Available for Pre-order BUT NOT AVAILABLE YET!!!! WHEN WILL IT BE AVAILABLE???

I own these two:
The Game Programmer's Guide to Torque: Under the Hood of the Torque Game Engine (GarageGames) by Edward F. Maurina III (Paperback - Mar 28, 2006)

3D Game Programming All in One
Finney

WOULD LIKE HARD COPY DOCUMENTATION, HELP!

Program Coordinator Animation and Graphic Game Programming
Professor Computer Engineering Technology
New Hampshire Technical Institute
31 College Drive
Concord, NH 03301
tsimkin@nhctc.edu
#2
10/02/2006 (6:46 am)
As far as hard-copy TS docs go, it doesn't get better than Maurina's GPGT.
#3
10/02/2006 (8:07 am)
Hi Ben,

Thanks for the forum post to me.

"As far as hard-copy TS docs go, it doesn't get better than Maurina's GPGT."

Currently reading this book. The target of the book is TGE. Hopefully this also applies to the TGB which I am currently learning.

Hopefully my need to fully understand the script will soon end as I plan on using the TorqueX with C#. I am well aquanted with C#.

Terry Simkin
Program Coordinator Animation and Graphic Game Programming
Professor Computer Engineering Technology
New Hampshire Technical Institute
31 College Drive
Concord, NH 03301
tsimkin@nhctc.edu
#4
10/02/2006 (8:08 am)
The book for TGB is not complete. It is being worked on. We put all of the docs for TGB in PDF format so they print out very nicely.
#5
10/02/2006 (8:14 am)
Hi Jeff,

You wrote,
"The book for TGB is not complete. It is being worked on. We put all of the docs for TGB in PDF format so they print out very nicely."

Any chance of getting copies of the early chapters? I am going to boot camp for TGB in early Nov and am getting up to speed now....

Professor Terrance "Terry" Simkin

Program Coordinator Animation and Graphic Game Programming
Professor Computer Engineering Technology
New Hampshire Technical Institute
31 College Drive
Concord, NH 03301
tsimkin@nhctc.edu
#6
10/02/2006 (8:26 am)
TorqueScript is TorqueScript. There are some differences in the core functions exposed to script from the engine between TGE and TGB. The TorqueScript language itself is identical across both platforms. That means all the syntax, usage rules, behaviors, etc. are the same. I've been using GPGT as a reference for scripting in TGB. Also, the TGB Reference Guide functions very nicely as API documentation and the TorqueScript Quick Reference is a nice language reference.
#7
10/07/2006 (3:27 pm)
So it is a good idea use that maurina book to learn TGB?

thanks!
#8
10/07/2006 (5:14 pm)
The Maurina book is a good reference for TorqueScript, not TGB. The book doesn't teach anything that is TGB specific.
#9
10/08/2006 (5:09 am)
I read what I belived were the important chapters in Maurina book on TorqueScript. It helped some. But not focused on TGB. A book on TGB would be good!!!!!

I am working my way through the TGB tutorials that came with the download. If any one would like to discuss those here please do so.

Professor Terrance "Terry" Simkin

Program Coordinator Animation and Graphic Game Programming
Professor Computer Engineering Technology
New Hampshire Technical Institute
31 College Drive
Concord, NH 03301
tsimkin@nhctc.edu
#10
10/08/2006 (5:11 pm)
If you would like a hard copy then I would recommend printing out the TGBReference.pdf and any tutorials + references that cover what you need to know. The references aren't as complete as they could be though they are fairly complete and do cover quite a bit of information that is very useful :)