TorqueScript & C++
by Manuel M · in General Discussion · 02/15/2010 (11:53 pm) · 11 replies
Hello.
I'm noob in Torque 3D. Currently I'm trying the demo version, but I don't know where to program. I have experience in C++ and I prefer this lenguaje. Can I use C++ in Torque 3D?,if so, Can I use the visual c++ express of Microsoft or need to Torsion? (I working with Windows).
Thanks.
I'm noob in Torque 3D. Currently I'm trying the demo version, but I don't know where to program. I have experience in C++ and I prefer this lenguaje. Can I use C++ in Torque 3D?,if so, Can I use the visual c++ express of Microsoft or need to Torsion? (I working with Windows).
Thanks.
#2
Other questions...
About networking..., Can I create an online game with Torque 3D? (games similar to "left 4 dead" of Valve for example), Torque 3D has networks functions for creating a network games?, if so..., ¿Where is the documentation?.
About the add-ons, I want buy various:
- Cirrus Skies.
- SSAO Kit.
- Verve.
- Universal AI Starter Kit.
Do all these add-ons can be used in Torque 3D? (in the indie version no the pro version).
02/16/2010 (7:21 am)
Oks, thanks!.Other questions...
About networking..., Can I create an online game with Torque 3D? (games similar to "left 4 dead" of Valve for example), Torque 3D has networks functions for creating a network games?, if so..., ¿Where is the documentation?.
About the add-ons, I want buy various:
- Cirrus Skies.
- SSAO Kit.
- Verve.
- Universal AI Starter Kit.
Do all these add-ons can be used in Torque 3D? (in the indie version no the pro version).
#3
Networking is one of the best parts of Torque. So yes, Multiplayer Games are possible (LAN and Internet). When you play with the Torque3D Demo, click on "Play" in the Mainmenu and then click on "Host". This way you can host a game. The other way, when you want to join a game, click on "Join" in the Mainmenu.
Documentation: Multiplayer is described in the book "Multiplayer Gaming and Engine Coding for the Torque Game Engine". Link
Multiplayer Programming in Torque3D is similar to TGE.
02/16/2010 (7:35 am)
Quote:
About networking..., Can I create an online game with Torque 3D? (games similar to "left 4 dead" of Valve for example), Torque 3D has networks functions for creating a network games?, if so..., ¿Where is the documentation?
Networking is one of the best parts of Torque. So yes, Multiplayer Games are possible (LAN and Internet). When you play with the Torque3D Demo, click on "Play" in the Mainmenu and then click on "Host". This way you can host a game. The other way, when you want to join a game, click on "Join" in the Mainmenu.
Documentation: Multiplayer is described in the book "Multiplayer Gaming and Engine Coding for the Torque Game Engine". Link
Multiplayer Programming in Torque3D is similar to TGE.
#4
In order to use the SSAO kit and other kits which modify the way the engine itself works, you will need the pro version as the source code must be modified and recompiled into an executable.
02/16/2010 (10:55 am)
Networking and FPS games work with Torquescript, pretty much automatically out of the box.In order to use the SSAO kit and other kits which modify the way the engine itself works, you will need the pro version as the source code must be modified and recompiled into an executable.
#5
Cirrus Skies and the SSAO Kit are both addons I'm not too familiar with myself. They both require source code access so you'll have to have a Pro license to use them. T3D has it's own built-in SSAO now and there is a new sky system called Skatter Sky in it as well.
Verve and UAISK both are compatible with Torque 3D. Verve requires source access while the UAISK is a script based addon.
02/16/2010 (11:01 am)
@ManuelCirrus Skies and the SSAO Kit are both addons I'm not too familiar with myself. They both require source code access so you'll have to have a Pro license to use them. T3D has it's own built-in SSAO now and there is a new sky system called Skatter Sky in it as well.
Verve and UAISK both are compatible with Torque 3D. Verve requires source access while the UAISK is a script based addon.
#6
02/16/2010 (11:16 am)
And can I use Universal AI Starter Kit with indie version?
#7
As the UAISK is script based you can use it and any other script based addon/resource with Torque 3D Binary.
02/16/2010 (11:26 am)
I assume you mean the binary version? Just to make things clear, with Torque 3D we started phasing out the use of the terms Indie and Commercial in regards to engine licensing. Torque 3D comes in three flavors, Torque 3D (binary only, this is the version currently price at $100), Torque 3D Professional (the whole enchilada with complete source code), Torque 3D Studio (this is required for companies that need transferrable seats).As the UAISK is script based you can use it and any other script based addon/resource with Torque 3D Binary.
#8
So can I use AI Starter Kit with in the binary version, no?
02/16/2010 (12:08 pm)
Yes, I'm sorry, I talk about the binary version.So can I use AI Starter Kit with in the binary version, no?
#9
02/16/2010 (2:51 pm)
Yes, as I said in my last post the Universal AI Starter Kit(UAISK) is script based and can be used with Torque 3D Binary version.
#10
Well, thank all for your help!
02/16/2010 (3:32 pm)
Ops, I didn't understand that "UAISK" meant "Universal AI Starter Kit", I had not thought.Well, thank all for your help!
#11
Sometimes I still slip up. ;)
02/16/2010 (4:36 pm)
No worries, that one was my bad. I try to not use acronyms as often as I did when I was just a community member since newer members may not know them.Sometimes I still slip up. ;)
Associate Scott Burns
GG Alumni
Don't worry though, TorqueScript is easy to pick up if you're familiar with C++. It's a C-styled scripting language best described as a typeless C. You can edit the scripts using most text editors but if you'd like an IDE for debugging the go to one is Torsion. If you don't like that one there is also TorqueDev which was created by a community member.
Just remember not to edit the scripts using wordpad, it's encoding adds binary garbage to the file that makes them unreadable by the engine. If you want a safe text editor for quick edits with waiting for an IDE to load I suggest Notepad++.