Animation
Description
The animation part allows you to play in-game animations on your playermodel or ragdolls. If you're looking for custom animations see Custom Animation.
Location
This part can be found under:
Notes
- When rate is set above 1, ping pong loop is disabled, this also causes some weird desync which can be fixed with owner cycle.
- Rate set to 1 + owner cycle disables animation looping.
- Owner cycle disables all the other options except for rate.
- The animation rate on the Entity part also affects animation rate.
Basic usage:
- Add the Animation part to your entity or a ragdoll.
- Select the animation that you want to play by clicking
…
next to sequence name. - Tweak the settings to your liking.
Related commands:
pac_enable_animation | 1/0 (1) | Enables/Disables the animation part. |
Properties
Generic
ping pong loop
Instead of going back to frame 1 when starting a new loop, inverts the animations and plays it from end to start.
rate
The animation rate. Default is 1. Changing this duplicates outfit parts/creates desync, which can be fixed with owner cycle. Broken?
min
Controls the start frame of the animation where 0 is the first frame and 1 is the last frame. Values below 0 add delay before the animation starts. Setting this above max completely breaks the part.
max
Controls the end frame of the animation where 0 is the first frame and 1 is the last frame. Values above 1 add delay after the animation ends (before starting the next loop).
owner cycle
Matches the owners animation cycle. This disables all other settings except for rate.
Orientation
generic | |
---|---|
Doesn't seem to do anything. Broken? More info needed. | |
Instead of going back to frame 1 when starting a new loop, inverts the animations and plays it from end to start. | |
The animation sequence that you want to play. | |
The animation rate. Default is 1. Changing this duplicates outfit parts/creates desync, which can be fixed with owner cycle. Broken? | |
Offsets the animation. | |
Controls the start frame of the animation where 0 is the first frame and 1 is the last frame. Values below 0 add delay before the animation starts. Setting this above max completely breaks the part. | |
Controls the end frame of the animation where 0 is the first frame and 1 is the last frame. Values above 1 add delay after the animation ends (before starting the next loop). | |
More info needed. | |
Matches the owners animation cycle. This disables all other settings except for rate. | |
Inverts the animation. | |
Resets the animation when hidden. | |
The name of this part. Keep this unique. | |
Hides (disables) the part. | |
orientation | |
Parent of this part. |