But how does it work for attack animations for example? Every creature has different animations with different movement. The troll forward power attack for example makes him slowly walk two steps forward after a short delay, while the sabre cat jumps quickly over a large distance.
Things slowly unveil. I was looking into these troll attacks, and it appears that these attacks are combined animations.
There is a H2HAttackRightForwardPower, with a starttime 0.00, and a H2HAttackRightForwardPower_outro, with starting time 1.1333. I didn't follow through yet, how these things are combined, because it's really hard to follow. (does anyone know of a good XML Tree Viewr???). But these different starting times seem obvious.
Attack anim movement ~MUST~ be stored in the Behavior Files through Modifiers, I do not have the exact hierarchy for them as yet, but they are absolutely not stored in the animations, although there is a Behavior way to accum movement into the animation through "hkaAnimatedReferencedFrame" nodes and Beth themselves used this in a few of their anims instead of doing it in the Behavior Graphs.
Where did you find "hkaAnimatedReferencedFrame"? I checked in all relevant behavior files and couldn't find one. Are you using packed XML, or agged XML
Yeah, I had to make sure my animations mimiced what the behavior graph called for -> if your interested in the attack movement data go to the CK -> Race -> Attack Data -> Display Event Data, and this will tell you the exact translation offsets defined in the behavior files for each attack, it will also tell you exactly what Weapon Type and hit frame are defined.
This display Event Data has slipped through my observation before. Very interesting. But doesn't explain it all.
This animation translation really seems to be a factorized forward move transformation. The question is: where is it stored??? Because trollbehavior is much smaller and easier to comprehend, I was trying to figure out any relationship between this H2HAttackRightForwardPower, ans it's Animation Translation "216.00 (-2,216,0)". I can't find any record, which resembles anything like transformation, and especially this number "216" is nowwhere to be found.
The Hitframe is clear. That's an event, stored as annotation in the animation. Actually there are 2 of them in the hkx. I just cannot check where they are, as long as they are ignored in the hkxcmd conversion. Or is it possible with this AssetCC tool?
There are also 5 "FootBack" annotations. Can they have something to to with transformation data?