Game Development Community

Max number of animations per model

by Tim Newell · in Torque Game Engine · 03/10/2002 (1:55 pm) · 4 replies

I was told that there is a max of 39 animations per model. How tough is it to change this? My main character is gonna need somewhere around 300 probably and the other characters are going to need a 100 or so. Any info would be helpful.

-Tim aka Spock

#1
03/10/2002 (2:02 pm)
Who the heck is going to create all of those anims!?

I dont think it is very hard to change. I stumbled upon it one time, but I forgot where it was. :/ They define like 60 total animations, hard code the first 21, and then leave the rest open (or something like that). It should probably just be a matter of moving the last anim number from 60 to something like 300. However, there may have been a reason for the limitation, perhaps something with the netcode, in which case changing the limit could be a bit harder.

One work-around would be to create more than one of the same player datablock, but use a different player.cs file so that different animations could be used. This would work best if you needed those extra anims for cinematics, you could simply load the new player with the correct anims for the scene, then switch back to the normal player.
#2
03/10/2002 (2:58 pm)
Well, my system uses hand to hand and normal gun play...plus you have reaction animations...most of those animations are gonna need to be accessible from the controls so I dont know if the multidatablock option is going to be possible.

-Tim aka Spock
#3
03/10/2002 (4:50 pm)
Well, it was just a suggestion. :)

I would be interested in whatever you find spock, since my game will also have a good deal of animations (surely alot more than 60), and I may run into the same problem.
#4
03/11/2002 (1:23 am)
Look in the "tsShapeConstruct.h" in the "\Engine\ts" Folder. There is a declarion of "MaxSequences"