Game Development Community

Can you have more than one IFL animation?

by Stanley Tsang · in Artist Corner · 10/13/2006 (10:54 pm) · 3 replies

I finally got an IFL animation exporting correctly thanks to the information on these forums.

I was wonder if there's a way to get more than one IFL animation for an object though. I tried adding another seqence marker with a different action name at the end and create a new .ifl file for it. TST Pro shows that 2 sequences are available for when playing either sequence, playback uses the same set of textures from the first .ifl file.

Thanks

#1
11/05/2009 (1:44 am)
Same problem here... any help?
#2
11/05/2009 (5:32 am)
It can be tricky, but I have gotten multiple IFL animations in a single object. It comes down to how many Animation Threads the stock engine has[4], and how many of those you want to use for a 'second' IFL sequence. Also setting up the .IFL file to keep the 'other' IFL sequence from running concurrently is needed.

I'll see if I can find my 'multi' IFL DTS shape Source file....
#3
11/05/2009 (6:17 am)
I know that you can put multiple IFL sequences on a shape. I'm not sure how playing those blended sequences would work out. I assume you would be fine if you were doing stuff that didn't overlap: Shirt, Shoes, Pants, Hat, Face, etc. Just remember you can only play 4 threads at any time unless you expand your engine to support more. those thread numbers are: 0, 1, 2, 3.
Thats all I see support for in the engine code.