More as one AnimationSet

Topics: Developer Forum
Jun 21, 2007 at 9:55 AM
Edited Jun 21, 2007 at 12:18 PM
Hi,

what can i do, if i want to import a Models with more then one AnimaitionSet.

I tried to import the Counter-Strike (or Half-Life) models into the ACL..

I`m able to import the Model and some animations (the Half-Life models, seperate the Animations in ohter Files) into fragMOTION (it has a fine working DirectX exporter... )

The Problem is, that the fragMOTION tool creat for every importet animation a own AnimationSet in the X File.

But the following code don´t work :(

<animation>
<name>run</name>
<tickspersecond>15.0</tickspersecond>
<animationsubset>
<name>run</name>
<startframe>1</startframe>
<endframe>37</endframe>
</animationsubset>
</animation>
<animation>
<name>idle</name>
<tickspersecond>15.0</tickspersecond>
<animationsubset>
<name>idle</name>
<startframe>1</startframe>
<endframe>37</endframe>
</animationsubset>
</animation>
<animation>
<name>right</name>
<tickspersecond>15.0</tickspersecond>
<animationsubset>
<name>right</name>
<startframe>1</startframe>
<endframe>37</endframe>
</animationsubset>
</animation>
.

There is no root tag :(

Can somebody help?

(fragMOTION cant merge the animations :( )


Edit:

o, i solve the problem. I have to sourrund it with an root tag :)

<myroot>
...
</myroot>

an it works :).