Game Development Community

Increasing number of mounting points

by Playware · in Torque Game Engine Advanced · 04/13/2006 (12:41 am) · 0 replies

Hi

In the older version of TSE, I was able to use max mounting point of 8.
After the merge of 1.4 into MS3, the MaxMountedImages is using 4.

What I did was instead of using
NextFreeMask = ImageMaskN << MaxMountedImages;

I change it to
NextFreeMask = ThreadMaskN << MaxScriptThreads;

With this changed, I am able to mount exactly 6 objects onto player.

If I modify the imageMask to get NextFreeMask << 9,
my staticshape object will not play animation...

I am very unsure what I'm doing is correct or not.
I hope someone can point out if I'm actually making a mistake.

Thanks in advance.