Game Development Community

Sequences confusion

by Andy Hawkins · in Artist Corner · 03/14/2006 (11:45 pm) · 2 replies

I'm confused by the whole sequence1, sequence2 thing when defining a PlayerDTS.

It's seems I HAVE to use the same sequence numbers used by Kork otherwise the animation don't play properly.

I would have thought the key word was what Torque is looking at such as (hope it's okay to post code here)

sequence1 = "./player_forward.dsq run";

Now I thought the "run" is the key word so I could do something like

sequence25 = "./player_forward.dsq run";

and it would know to use sequence25 for run - but it dont!

Anyone know how to work around this? Is this a code change thing?

#1
03/15/2006 (6:01 am)
Just a thought :

Have you tried exporting all the sequences inside the DTS instead of separated DSQs ? In this case you won't need the player.cs file that constructs the TSShape Datablock.All you have to do is assing the datablock to the .DTS files.

The animations would be named from the Lightwave exporter. The drawback is that all animations would be in the same Scene file.
#2
03/15/2006 (7:02 am)
I think that would probably do the trick. I think by using the built in PlayerDTS structure I have to conform to its design.