{{tag>part custom-animation}} {{htmlmetatags>metatag-keywords=(pac3, wiki, tutorial, guide, help, part, custom, animation) metatag-description=(Provides basic custom animation support from within the editor.) metatag-og:title=(Custom Animation | Part) metatag-og:description=(Provides basic custom animation support from within the editor.) metatag-og:site_name=(wiki.pac3.info) metatag-theme-color=(#3c5b7f) metatag-media-og:image=(<<<<< image or video, delete this line if not used >>>>>) }} ====== Custom Animation ====== Provides basic custom animation support from within the editor. Can be used for simple animation sequences or gestures. For more advanced features consider [[https://developer.valvesoftware.com/wiki/$sequence|including animations]] within your playermodel. ===== Location ===== This part can be found under: * Advanced > [[part:custom-animation]] {{page>:includes#location}} ===== Properties ===== ==== Generic ==== == name == {{section>property:name#include&inline}} == hide == {{section>property:hide#include&inline}} == draw order == --- == parent name == {{section>property:parent#include&inline}} == target entity == {{section>property:target entity#include&inline}} == is explicit == {{section>property:is explicit#include&inline}} ==== Custom Animation ==== == url == An online link to a **.TXT** animation file. == data == The animation data. Usually, you don't want to edit this manually. (icon_danger) Trying to edit this field with a large animation file might crash your game. == stop on hide == Stops the animation when the part is hidden. == stop other animations == Stops other animations when this animation is triggered. == animation type == Control the animation behavior. |sequence| Sequences are keyframed animations that use the reference pose. Use Start Frame to specific the starting frame of the animation and Restart Frame to specify a frame to go to when the animation loops. | |stance| Stances are keyframed animations that use the current position and angles of the bones. Use Start Frame to specific the starting frame of the animation and Restart Frame to specify a frame to go to when the animation loops. | |posture| Postures are static animations that use the current position and angles of the bones. | |gesture| Gestures are keyframed animations that use the current position and angles of the bones. They play once and then stop automatically. | == interpolation == The type of blending between keyframes. |none| No blending at all, the animation will 'jump' from keyframe to keyframe. | |linear| Straight linear movement between keyframes. | |cosine| Smooth motion between keyframes, this option should have the best quality / compatibility balance for most animations. | |cubic| Smooth motion between keyframes, theoretically the best-looking option but might cause issues with some animations. | == rate == The overall playback rate of the animation. Can be used to slow down / speed up the animation without editing keyframes. == bone power == The overall influence of the bone values of the animation. For example, setting this to ''**0.5**'' will move the bones half of the distance defined on the keyframe. == offset == ---