Jump to content

Sign in to follow this  
icewindo

Create a custom Gesture (RTM)

Recommended Posts

Does anybody have insight or ideas on how to create a new custom gesture? Sadly there is 0.0% documentation about this aspect and the gesture files itself are binarized. I know how to create custom dynamic + static RTMs now but of gestures I have no idea.

This is what I gathered so far:

CfgGestures is similar to States, it holds the bone-masked or layered animations introduced in ArmAII. Welcome to reloading-while-running.

( http://community.bistudio.com/wiki/CfgMoves_Config_Reference )

That's the only documentation I could find. Yay.

I then went through the classes and found a gesture definition.

class GestureAttackStand: Default{  rightHandIKCurve[] = {0,1,0.05,0,0.95,0,1,1};  file = "\ca\Anims\Characters\data\Anim\Sdr\gst\GestureAttack.rtm";  looped = 0;
 speed = 0.5;  mask = "rightHand";};

The mask entry "rightHand" is then linked to blendAnims which defines how much the other parts should be affected by the gesture? (this is evidenced by the Dayz mod where a new gesture + blendanim is created).

class BlendAnims{rightHand[] = {"RightShoulder",0.3,"RightArm",1,"RightArmRoll",1,"RightForeArm",1,"RightForeArmRoll",1,"RightHand",1,"RightHandRing",1,"RightHandPinky1",1,"RightHandPinky2",1,"RightHandPinky3",1,"RightHandRing1",1,"RightHandRing2",1,"RightHandRing3",1,"RightHandMiddle1",1,"RightHandMiddle2",1,"RightHandMiddle3",1,"RightHandIndex1",1,"RightHandIndex2",1,"RightHandIndex3",1,"RightHandThumb1",1,"RightHandThumb2",1,"RightHandThumb3",1};
}

What I do not understand now:

- How do you setup the gesture rtm itself? Can you animate it like a normal animation and then all the parts which are not mentioned in the linked BlendAnim will use the regular animation and all other parts the new gesture anim?

- Or do only need to animate the parts that should be affected by the gesture and leave the other unaffected parts at the default posture?

- Or should the other parts not be referenced in the rtm at all?

(Or am I all wrong about this)

Thanks for any ideas, I'm abit at a loss here.

Share this post


Link to post
Share on other sites

Thanks Thromp, I'll have a look at that and try some stuff out. I just love stuff that's documentated in such a detail when you need it :hang:. I wouldn't even need documentation though, a lone unbinarized BIS gesture rtm would be all I need.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×