-
-
Notifications
You must be signed in to change notification settings - Fork 4
Dialogue line attribute #133
Copy link
Copy link
Open
Labels
DialogueDialogue-related stuff: resource class, import system, etc.Dialogue-related stuff: resource class, import system, etc.enhancementNew feature or requestNew feature or requestparserAnything related to Dialogue parser functionAnything related to Dialogue parser function
Milestone
Description
Metadata
Metadata
Assignees
Labels
DialogueDialogue-related stuff: resource class, import system, etc.Dialogue-related stuff: resource class, import system, etc.enhancementNew feature or requestNew feature or requestparserAnything related to Dialogue parser functionAnything related to Dialogue parser function
Metadata/attributes thingy for each line of the dialogue. I think we can use the existing syntax, just maybe with a different special token or something, like:
And then, on the function data:
{ ..., Key.ATTR: { "portrait": "dia_happy.png", "voice_line": "dia_1.wav" } }For those who prefers declarative stuff more.
Limitation
Scope. I won't say stuff like this is impossible:
But, I've been stalling this milestone for eons, and so, for now, attributes will only be just for static values.
Performance
The dialogue resource will get slightly bigger, with the attribute data column added. But everything is done on parse-time, so I don't think I see any runtime performance issue here.