Hi. On a plane converted from FS9, there are some animations that show OK on MCX, but loading the plane on simulator, those animations behave strange. You can see the result on this thread http://www.alpha-india.net/forums/index.php?topic=25522.msg260324#msg260324 . Sniffing into the .xanim file, found that the strange behavior is caused by animations like this:
</AnimStream>
<AnimStream name="Rotation" id="0" partName="node82" length="200.000">
<Keyframe time="101.000" type="Quaternion" data="0.430511;0.000000;0.000000;-0.902585"/>
<Keyframe time="200.000" type="Quaternion" data="0.000000;0.000000;0.000000;-1.000000"/>
</AnimStream>
As you can see, it lacks a Keyframe time="0.000" line. Animation starts at 101.
So, investigating, I copied the first keyframe and added it with a time value of zero. Like this:
</AnimStream>
<AnimStream name="Rotation" id="0" partName="node82" length="200.000">
<Keyframe time="0.000" type="Quaternion" data="0.430511;0.000000;0.000000;-0.902585"/>
<Keyframe time="101.000" type="Quaternion" data="0.430511;0.000000;0.000000;-0.902585"/>
<Keyframe time="200.000" type="Quaternion" data="0.000000;0.000000;0.000000;-1.000000"/>
</AnimStream>
Made same thing to all animations without a zero in .xanim recompiled and... voilá. Works perfect.
So, it seems that MCX converting from FS9 routine, should check that no animations are created without a zero time line and in that case, a copy of first line should be copied with time zero.
</AnimStream>
<AnimStream name="Rotation" id="0" partName="node82" length="200.000">
<Keyframe time="101.000" type="Quaternion" data="0.430511;0.000000;0.000000;-0.902585"/>
<Keyframe time="200.000" type="Quaternion" data="0.000000;0.000000;0.000000;-1.000000"/>
</AnimStream>
As you can see, it lacks a Keyframe time="0.000" line. Animation starts at 101.
So, investigating, I copied the first keyframe and added it with a time value of zero. Like this:
</AnimStream>
<AnimStream name="Rotation" id="0" partName="node82" length="200.000">
<Keyframe time="0.000" type="Quaternion" data="0.430511;0.000000;0.000000;-0.902585"/>
<Keyframe time="101.000" type="Quaternion" data="0.430511;0.000000;0.000000;-0.902585"/>
<Keyframe time="200.000" type="Quaternion" data="0.000000;0.000000;0.000000;-1.000000"/>
</AnimStream>
Made same thing to all animations without a zero in .xanim recompiled and... voilá. Works perfect.
So, it seems that MCX converting from FS9 routine, should check that no animations are created without a zero time line and in that case, a copy of first line should be copied with time zero.
