Game Development Community

DSQs work in showtool, but not engine

by Seth Kendall · in Artist Corner · 04/15/2006 (4:30 pm) · 3 replies

Hi guys,

What's the general problem when DSQs work great in showtool, but do not show up at all in the engine? I am using 3DSMax7 with the max7_2dts exporter. I am also using the TS_MAX1.5.4 skeleton that someone offered for free on the forums. If I include these animations in the DTS, they work fine in engine, but not DSQs.

Unfortunately, I need DSQs for partial blend animations (like "look").

My config files include every node, and my .CS file looks like the following:

datablock TSShapeConstructor(PlayerDts)
{
baseShape = "./mesh/grunt_mesh.dts";
sequence0 = "./mesh/grunt_mesh.dts root";
sequence1 = "./mesh/grunt_run.dsq run";
sequence2 = "./upperbody/grunt_look.dsq look";
};

Any ideas?

Thanks.

About the author


#1
04/15/2006 (6:53 pm)
Well, right off...your first sequence in the index[0] is labeled a .DTS object and not a .DSQ...

...and I'm not certain if the engine will assemble with the .DSQ files in separate folders, as sequence2 is...???
#2
04/15/2006 (7:01 pm)
Seth,

are you sure it's ok to use DTS as sequence as in this line:

Quote:
sequence0 = "./mesh/grunt_mesh.dts root";

usually i'm using separate DSQ even for the "root"

and also for blend animation, have you make sure of these:
- frame 0 have the same pose as root pose
- the sequence begin at frame 1 (instead of frame 0) and
- set the Sequence Object as Blend Sequence (default is cyclic sequence)

here is a guide that i usually used for setting blend animation:
Blend Animation SMDLAb Tutorial


i hope you'll resolve the problem,

EDIT: woops.... looks like Rex already explain everything while i'm typing cubixstudio.com/images/cheeky.gif
evi
=======
www.cubixstudio.com
3D Characters for sale
#3
04/16/2006 (12:33 am)
Thanks guys. Problem might've been that I was storing them in seperate folders...
Anyhow, I got the partial blends to work even from within the DTS... If there is no animation on a bone, there is no blend...so it all works out actually.