Game Development Community

3D player model animation, next problem...

by Wasik Slawomir · in Torque Game Engine · 04/09/2002 (3:21 am) · 2 replies

MilkShape 3D will not be able export .dsq (animation) file. I create my 3D model and export all (model + animations) to .dts file, but I don't know how to play animation from .dts file in Torque engine! Replace Player.cs script file from:

datablock TSShapeConstructor(PlayerDts)
{
baseShape = "./player.dts";
sequence0 = "./player_root.dsq root";
sequence1 = "./player_forward.dsq run";
...
};

to:

datablock TSShapeConstructor(PlayerDts)
{
baseShape = "./player.dts";
sequence0 = "./player_root.dts root"; // change from .dsq to .dts
sequence1 = "./player_forward.dts run"; // chcange from .dsq to .dts
...
};

not work! Whether is possible play animation from .dts file in Torque engine? How? Somebody help me...

#1
04/09/2002 (10:41 am)
You are further than me... how do you get multiple animations in the same DTS? I can only seem to get one and it is always named "ambient" or whatever.

Give me a tip in the right direction and I'll be able to help you with your problem...
#2
04/09/2002 (11:02 am)
I can see one big problem there.

baseShape = "./player.dts";
sequence0 = "./player_root.dts root";

There isn't a file created called player_root.dts.
There is a seperate file called player_root.dsq (when using Max).

I'd like to know how to reference the animation sequence within a .dts object created with MilkShape too.