Game Development Community

Problems with animation in Torque

by Korpos · in Torque Game Engine · 11/09/2004 (11:09 am) · 2 replies

Hi! i have the next problem with the torque engine , i have 14 diferent models in the game , each one with 37 animation sec. when i try to play in a network game the client Blow up ,in the forums i read a topic of a limit in the TSShapeConstructor (http://www.garagegames.com/mg/forums/result.thread.php?qt=16266) i modify the Source code of the engine but them i can't see the animation of the other player.... and blow up anyone can do that ? anyone solve this problem ?
thanks in advance.....

#1
11/09/2004 (5:06 pm)
I'm a little unclear what you're asking. If you have over 30-something animations you may need to modify the TSShapeConstructor code to send itself using multiple events rather than a single datablock.
#2
11/10/2004 (5:54 am)
Hi Ben , thanks for the fast reply , i will try to be more clearly with the problem, In our game we have 14 direferen models (the player can select one of this) so , we have 14 directories in each one of this directories we have the animation sequences texture files... and a player.cs , with TSShapeConstructor datablock with 37 animation sequence

so we hava 14 x 37 diferent animation sequences.... the problem is the limit of animation sequences , we solve this modifing the engine in the files gameconnectionevents.cc & shapebase.cc & event.h like Billy ScE say in http://www.garagegames.com/mg/forums/result.thread.php?qt=16266 , change the constant 1500 to 8500

and change NumSequenceBits = 7 in TSShapeConstructor.h to NumSequenceBits = 8 , but now when a meet other player in the game i can't see the animations in the server , and the client crash ...

Ben , thanks in advance for your help