CONTENT CONTRACT · VERSION 1
ToolAnimation
The clips of a tool's strokes on the rig that wields it in hand (the hold comes from the rig's handling of the item's model). A blow plays its clip stretched to `strike_ms`; its impact moves along.
Signature
{ charge: {ChargeClips}, combo: {Name}, draw: (Name)?, run: (Name)?, sprint: (Name)?, strike: Name, strike_ms: GestureMs, windup: (Name)?, work: (Name)? }Fields
| Name | Type | Meaning |
|---|---|---|
charge | {ChargeClips} | Charge stages, from the first: holding and letting go; a release needs an impact. Items: 0…4 |
combo | {Name} | Melee: blows of the rhythm by combo step; empty: `strike`. Items: 0…8 |
draw | Name | Ranged: the first half of a shot and an AI wielder's wind-up. Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$ |
run | Name | Melee: a blow while running. Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$ |
sprint | Name | Melee: a blow while sprinting. Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$ |
strike | Name | Stroke clip; needs an impact. Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$ |
strike_ms | GestureMs | Playing length of a stroke. Range: 1…60000; Unit: ms |
windup | Name | Wind-up of a human foe; absent: `strike`. Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$ |
work | Name | Working loop after a stroke (reeling in a line). Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$ |