Last night I was finalizing a series of cross-triggered animations, adding/shifting frames around, attaching actionparts and choosing sound effects when at some point I realized that there are some ghost frames and sounds that play even though they no longer appear in the timeline for me to manipulate! Opening the .ved file in sublime text
indicates that there are still references of the ogg file in question... Here's a frame that definitely shouldn't exist:
<AnimationFrame name="ahamoment - Property Frame" id="185" order="2" lastModified="-1" AnimationFrameIndex="6" AnimationFrameSound="audio/sfx/button_press.ogg" AnimationFrameSoundVolume="73" AnimationFrameSoundBalance="0"> <AnimationFrameAction parentLink="T" id="116" tableId="7" LinkAny="F"/> </AnimationFrame>
Regarding this particular animation that is quite small and easy to debug here are a few possible culprits (I'm unsure what is the cause since I'm not familiar with the ved file format internals)
- In the Editor the timeline displays 6 frames, but in the file there are 7 <AnimationFrames> defined
- Each <AnimationFrame> has a unique AnimationFrameIndex="0" to "6. There are only 6 <sprites> defined though
- each frame has an order property defined but no frame has oder="1" - They start from order="0" to order="7" skipping "1"
- The frame sequence implied by the order of elements in <AnimationPropertyFrames>, is different to that of the order property and in turn different to the that defined by the AnimationFrameIndex...
Any suggestion on how to move on from here? I was hoping not to have to delete all animations and recreate them anew, but I also need to know that there is longer anything that propagates the corruption...