EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

RigClip

One clip of a rig: its keyframes and how the engine plays it.

Signature

{ asset: ClipAssetId, audio: (AudioCueId)?, cloud: (Name)?, expression: (FaceExpression)?, grounded: (boolean)?, high: (Name)?, impact: (ClipImpact)?, loop: (boolean)?, low: (Name)?, name: Name, play_ms: (GestureMs)?, plays: (ClipPlays)?, prop: (PropName)?, prop_from_hand: (boolean)?, seated: (boolean)?, talking: (boolean)?, travel_mm_s: (PresentationSpeed)? }

Fields

NameTypeMeaning
assetClipAssetIdKeyframes: a baked native clip or a glTF animation on the rig's bones. Length and looping come from it.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: asset:animation_clip
audioAudioCueIdSound when it starts.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: audio_cue
cloudNameThought-cloud motif shown over the figure (`ui-system/assets/emotes/<cloud>.png`); a player emote needs one.
Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$
expressionFaceExpressionFace while it plays; absent: neutral.
groundedbooleanFeet stay on the ground (foot IK) while it plays. Absent: true.
highNameVariant for a high target (a clip of the same rig).
Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$
impactClipImpactWhen a blow or stroke lands inside the clip, bound to the bake it was measured on.
loopbooleanglTF clips only: whether it repeats (a native clip says so itself). Absent: false.
lowNameVariant for a low target (a clip of the same rig).
Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$
nameNameName within the rig (snake case).
Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$
play_msGestureMsUpper bound of a gesture's length; a gesture lasts `plays` times the clip, at most this.
Range: 1…60000; Unit: ms
playsClipPlaysTimes a gesture plays the clip (1 to 4); absent: once.
Range: 1…4; Unit: count
propPropNameHand prop shown while it plays (a prop of the world library).
Length: 1…64; Pattern: ^[A-Za-z][A-Za-z0-9_]{0,63}$
prop_from_handbooleanA work clip: the figure shows the tool it holds, the prop only when its hands are empty.
seatedbooleanMay play while the figure sits.
talkingbooleanThe mouth moves while it plays.
travel_mm_sPresentationSpeedForward travel of the figure while it plays (a leap); absent: none.
Range: 1…2147483647; Unit: mm/s