Bettermodel Animation Cinematic
Play a BetterModel model animation during a cinematic
Plays a BetterModel animation during a cinematic with configurable lerp in/out, speed, and play mode via segment data. Unlike [PlayerAnimationCinematicEntry], this entry uses a full model (not just a limb) and supports all animation playback modes.
Campos
| Campo | Tipo | Predeterminado | Descripción | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
modelId | Var<String> | — | The limb model ID from BetterModel/players folder (e.g., 'steve', 'alex') | ||||||||||||||||||||||||||||||||
segments | List<BetterModelAnimationCinematicSegment> | empty | —
|
| Campo | Tipo | Predeterminado | Descripción |
|---|---|---|---|
startFrame | Int | 0 | — |
endFrame | Int | 0 | — |
animation | Var<String> | — | The animation name to play |
playMode | PlayMode | entries.action.PlayMode.PLAY_ONCE | Animation play mode: PLAY_ONCE, HOLD_ON_LAST, or LOOPValores:PLAY_ONCEHOLD_ON_LASTLOOP |
lerpIn | Int | 6 | The duration of the lerp in effect (ticks) |
lerpOut | Int | 6 | The duration of the lerp out effect (ticks) |
speed | Float | 1.0 | The speed multiplier of the animation |
Campos comunes de TypeWriter (criteria)
| Campo | Tipo | Predeterminado | Descripción |
|---|---|---|---|
criteria | List<Criteria> | empty | — |
How to use it
modelId is a limb model from BetterModel's players folder. A model appears for the viewing player only, at the player's position when the first segment starts. Each segment gives an animation, a playMode, lerpIn and lerpOut in ticks, and a speed. Following segments with the same animation do not restart it. The model is removed at the end of the cinematic. To place the model at a fixed point, use Player Animation Cinematic.