flysouth wrote:As a noob starting with T3d about a month ago I agree. I have done some of the tutorials and some of them don't work. Perhaps they are for an earlier version. I have downloaded all the doc I can find and things such as the state have very little explaining how it works. And yes as a C programmer I do know how state machines work.
As you might have seen in my other posts I have been trying to mount a turret on a vehicle but with little success. There is not much info how to do this and no examples. As much as I appreciate the tutorials people have done, I find most of them to be the stuff that is well documented. The stuff like mounting a turret is not documented and there are no tutorials.
I do have time and am tempted to offer my services depending on exactly what is expected
Have you tried to create a mountXX in the model editor and then mount the model their?
Click the model in the world editor.
Enter the model/object editor.
Click on Node in the right side of the screen.
Click on the node in the model you wish to mount something on
When that is marked you click on the white paper(add new node) icon beside the trash can icon
name that new node mountXX
Now you have a node.
Read more here:
https://www.garagegames.com/community/f ... ead/101015and here(for mounting on the models and how it works):
https://www.garagegames.com/community/f ... read/21142Now you might find that the turret is not aligned correctly etc.
That you fix by going into the AdvancedProperties also under Object Editor.
click Mounting
click browse under shape
click Node and select you newly created node.
Let type stand as shape for now.
Then you will see how the model is aligned.
Start to tweak it by selecting the model
use the rotate and move select as needed
You might be frustrated about this... but it does work.
All the above works. I have done it for like 10 different models so far and like 20+ weapons and shapes.
Now it is mounted. Then YOU have to find out how to rotate it with scripting.
I manage to find out how to do this with some searching on the GG website and
most of all tweaking around with the editor.
Learning something new can be a frustrating process, but Mounting a turret/shape/weapon in T3D are pretty easy... when you know how to do this.
Oh and this book:
https://www.amazon.com/Game-Programmers ... 1_1&sr=8-1Is still good for getting into the idea how to use TorqueScript. I still use it for inspiration... In fact then get them all. You can buy them used. Just remember that you want the CD included(you want the code to read as well).