Game Development Community

Animations are duplicating

by Erik Madison · in Artist Corner · 03/14/2005 (3:18 pm) · 1 replies

I'm getting the strangest error here....
I'm using my dsq files to group similar animations, ie all forms of walk are in one dsq. In TSTPro, most of my animations are listed many many times. Walk for example, I have 3 forms. 1 will be listed 5 times, another is listed at 15, etc. I thought this was just a fluke until I tried running them in game, and it kept crashing. I tracked the crashes down to too many animations, something like 250+ were being read by the game. I should only have 25 or so at the moment. With a hex editor, I took a look in my dsq files. I'm not real sure what I could look for, but I do notice each animations name is only listed once. The dump file for each dsq also only shows the animations being exported once each.
My only possible other clues, are I'm using a non-standard rig but with biped naming for future compatibility, and I'm also using a lot of keyframes each animation, probably more than I need.
Anyone have a clue where I should look next? The animations look really good in TSTPro, I'd really like to start using them!

#1
03/15/2005 (2:01 am)
Answering my own question:
When the dsq contains multiple animations, you don't list each one with sequence names in the datablock constructor. You simply list each dsq once with no names.