Register a New Expression!
Here’s how to register a new expression in the Expressions File. The process is quite simple, requiring just a few key fields.
Expression Example
{
id = "angry", -- Unique expression identifier
label = "Angry", -- Display name for the expression
thumbnailcdn = "http:/examplecdn/ultimate_sync_thumbnail", -- CDN URL for thumbnail (optional)
-- thumbnail = "expression_image" -- Local path for the preview image (optional)
expression = "mood_angry_1", -- Animation expression
category = "expressions", -- Expression category
vip = false,
}Required Fields
id:
stringThe unique identifier for the expression.label:
stringA user-friendly name for the expression.expression:
stringThe specific expression animation to be used.category:
stringDefines the category for the expression.thumbnailcdn:
stringURL pointing to the animation's preview image hosted on a CDN.thumbnail:
stringLocal path for the preview image if hosted within the application (alternative tothumbnailcdn)vip:
boolean(optional) Indicates if the animation is VIP-only.
Last updated