- Joined
- Sep 11, 2012
threw some stuff together, see if this worksAh this is very sweet.
But I'm a bit concerned about this way of doing, you're not gonna update your mod each time someone plan to use a new color.
For example, if one have a dialog with several characters, and want to define colors matching their hair and/or eyes color for each character to ease identification, they probably won't match the hardcoded colors and will come to you with an update request.
Further more, as background and textcolors have to be contrasted, it would require a lot of different colors.
You're already doing so much for the community, I don't want you to add more work uppon yourself dude!
I don't know much about AS flexibility, it probably requires every variable declared, so I understand that my proposition would probably imply using arrays and cycling them all several times if you had to parse a configuration file with a structure that could change, then cycling them over again to check if the trigger is requesting something defined, that I know to be quite anoying.
So here is my idea:
why not adding one more alt style, called custom, that could be set over triggers like [dde_setcustom_bgmult_<red_mult_value>_<green_mult_value>_<blue_mult_value>], [dde_setcustom_textmult_<red_mult_value>_<green_mult_value>_<blue_mult_value>], and [dde_setcustom_bgcolor_<######>] (using the web rrggbb format) and [dde_setcustom_textcolor_<######>], used with {"style":"SpeakCustom"}, {"style":"ThoughtCustom} and {"style":"HimCustom"}
That way, every user could define any bg and text color for one specific style at any time.
You could even add the possibility to use [dialogdisplayedit_<style>_custom] for more flexibility.
What do you think about this?
dialogdisplayedit