2025-11-06 11:07:22 +01:00

282 lines
5.8 KiB
JSON

{
"$schema": "../aces.schema.json",
"custom": {
"conditions": [
{
"id": "on-skeleton-loaded",
"scriptName": "OnSkeletonLoaded",
"isTrigger": true
},
{
"id": "on-animation-event",
"scriptName": "OnAnimationEvent",
"isTrigger": true,
"params": [
{
"id": "event",
"type": "string",
"initial-value": ""
},
{
"id": "track",
"type": "number",
"initial-value": -1
},
{
"id": "animation",
"type": "string",
"initial-value": ""
}
]
},
{
"id": "is-flipped-x",
"scriptName": "IsFlippedX",
"isTrigger": false
},
{
"id": "is-skeleton-loaded",
"scriptName": "IsSkeletonLoaded",
"isTrigger": false
},
{
"id": "is-playing",
"scriptName": "IsPlaying",
"isTrigger": false
}
],
"actions": [
{
"id": "set-skin",
"scriptName": "SetSkin",
"highlight": false,
"params": [
{
"id": "skin-name",
"type": "string"
}
]
},
{
"id": "flip-x",
"scriptName": "FlipX",
"highlight": false,
"params": [
{
"id": "is-flipped-x",
"type": "boolean"
}
]
},
{
"id": "set-animation",
"scriptName": "SetAnimation",
"highlight": true,
"params": [
{
"id": "track",
"type": "number"
},
{
"id": "animation",
"type": "string"
},
{
"id": "loop",
"type": "boolean"
}
]
},
{
"id": "add-animation",
"scriptName": "AddAnimation",
"highlight": true,
"params": [
{
"id": "track",
"type": "number"
},
{
"id": "animation",
"type": "string"
},
{
"id": "loop",
"type": "boolean"
},
{
"id": "delay",
"type": "number"
}
]
},
{
"id": "play",
"scriptName": "Play",
"highlight": false
},
{
"id": "stop",
"scriptName": "Stop",
"highlight": false
},
{
"id": "set-empty-animation",
"scriptName": "SetEmptyAnimation",
"highlight": false,
"params": [
{
"id": "track",
"type": "number"
},
{
"id": "mix-duration",
"type": "number"
}
]
},
{
"id": "set-attachment",
"scriptName": "SetAttachment",
"highlight": false,
"params": [
{
"id": "slot-name",
"type": "string"
},
{
"id": "attachment-name",
"type": "string"
}
]
},
{
"id": "create-custom-skin",
"scriptName": "CreateCustomSkin",
"highlight": false,
"params": [
{
"id": "skin-name",
"type": "string"
}
]
},
{
"id": "add-custom-skin",
"scriptName": "AddCustomSkin",
"highlight": false,
"params": [
{
"id": "custom-skin-name",
"type": "string"
},
{
"id": "skin-to-add-name",
"type": "string"
}
]
},
{
"id": "set-custom-skin",
"scriptName": "SetCustomSkin",
"highlight": false,
"params": [
{
"id": "skin-name",
"type": "string"
}
]
},
{
"id": "set-animation-speed",
"scriptName": "SetAnimationSpeed",
"highlight": false,
"params": [
{
"id": "speed",
"type": "number"
}
]
},
{
"id": "set-animation-time",
"scriptName": "SetAnimationTime",
"highlight": false,
"params": [
{
"id": "units",
"type": "combo",
"items": ["seconds", "ratio"]
},
{
"id": "time",
"type": "number"
},
{
"id": "track",
"type": "number"
}
]
},
{
"id": "set-animation-mix",
"scriptName": "SetAnimationMix",
"highlight": false,
"params": [
{
"id": "from-name",
"type": "string"
},
{
"id": "to-name",
"type": "string"
},
{
"id": "duration",
"type": "number"
}
]
},
{
"id": "set-physics-mode",
"scriptName": "SetPhysicsMode",
"highlight": false,
"params": [
{
"id": "physics-mode",
"type": "combo",
"items": ["none", "reset", "update", "pose"]
}
]
}
],
"expressions": [
{
"id": "double",
"expressionName": "Double",
"highlight": true,
"returnType": "number",
"params": [
{
"id": "number",
"type": "number"
}
]
},
{
"id": "slot-attachment",
"expressionName": "SlotAttachment",
"highlight": false,
"returnType": "string",
"params": [
{
"id": "slot-name",
"type": "string"
}
]
}
]
}
}