part: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:

Tip

You can easily find it by clicking on the sign and typing projectile.

Notes

  1. Add the Animation part to your entity or a ragdoll.
  2. Select the animation that you want to play by clicking next to sequence name.
  3. Tweak the settings to your liking.

pac_enable_animation 1/0 (1) Enables/Disables the animation part.

Generic

loop

Doesn't seem to do anything. Broken? More info needed. .

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.

sequence name

The animation sequence that you want to play.

rate

The animation rate. Default is 1. Changing this duplicates outfit parts/creates desync, which can be fixed with owner cycle. Broken?

offset

Offsets the animation.

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).

weapon hold type

More info needed.

owner cycle

Matches the owners animation cycle. This disables all other settings except for rate.

invert frames

Inverts the animation.

reset on hide

Resets the animation when hidden.

name

The name of this part. Keep this unique.

hide

Hides (disables) the part.

Orientation

parent name

Parent of this part.

generic

loop

Doesn't seem to do anything. Broken? More info needed.

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.

sequence name

The animation sequence that you want to play.

rate

The animation rate. Default is 1. Changing this duplicates outfit parts/creates desync, which can be fixed with owner cycle. Broken?

offset

Offsets the animation.

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).

weapon hold type

More info needed.

owner cycle

Matches the owners animation cycle. This disables all other settings except for rate.

invert frames

Inverts the animation.

reset on hide

Resets the animation when hidden.

name

The name of this part. Keep this unique.

hide

Hides (disables) the part.
orientation

parent name

Parent of this part.
  • Last modified: 3 years ago
  • (external edit)