Game Development Community

Vehicle Mount Nodes

by Ronald J Nelson · in Torque Game Engine · 08/27/2006 (5:08 pm) · 2 replies

I have been looking all over and only found that someone had said there was a maximum of 8 mount nodes for a vehicle. What I wanted to know was if anyone else had ever increased this number, and how?

I realize that it is going to effect the exporter if it isn't done correctly.

#1
08/28/2006 (10:47 pm)
I have also been told now that there are 32 mount nodes. The TDN lists from 0 to 11. So what is the truth?

Also I added two mount nodes to the buggy for demo purposes to see if I could mount a weapon to it. I confirmed the mount nodes are there through the Torque Show tool but it won't mount them, they don't even show up. I am using code from the deathcar system previously released in a resource for the time being, as far as I can tell it should work.

Here is the code I used to mount them:

%vehicle.mountImage(CarbowImage,8);
   %vehicle.setImageAmmo(8,1000);


I made this work once on another node that I didn't want to use. Any help would be appreciated.
#2
08/29/2006 (2:55 am)
Hi Ron.

Vehicle inherits from shapebase and on a shapebase there are 32 mountable points, but only 8 mounted ShapeBaseImages. Weapons fall under ShapeBaseImages.

Read this.

Resource to add more mount points.

Cheers