Game Development Community

Can I increase the number of mount point of an object from 32 to 128?

by Ji Xinyu · in Torque 3D Professional · 11/01/2012 (6:56 pm) · 4 replies

Hi, I want to increase the number of mount point of an object.Can I do it by modifying the value of NumMountPoints and NumMountPointBits in sceneobject.h?As the following code.
class SceneObject : public NetObject, private SceneContainer::Link, public ProcessObject
{
   public:

      ... ...
      enum 
      {
         ... ...
         NumMountPoints = 128;//I modify the value of NumMountPoints from 32 to 128
         NumMountPointBits = 7;//I modify the value of NumMountPointBits from 5 to 7     
      ... ...
}

#1
11/01/2012 (8:03 pm)
Does it compile?
#2
11/01/2012 (8:10 pm)
This old TGE resource might be a step in the right direction.

http://www.garagegames.com/community/resources/view/6723
#3
11/01/2012 (9:48 pm)
Thanks for Robert Fritzen's reply
#4
11/02/2012 (9:37 am)
Oh yes, be sure to post here if it worked for you and the changes you made to get it to work in T3D, I might be interested in using something like that in the future!