I'm trying to change the text color of different battle log messages. I've been using yanfly battle engine core with the note <Display Text: x> to make my battle log text, but I noticed it doesn't appear to be compatible with "\C[n]" from yanfly message core. Same goes for other message core options to change text size or show icons.
Is there a way to display icons, change colors, and change the font size of the combat log?
you have some misconceptions, so it might be better if I explain to you the chain how the color is determined,
first. \C[n] has absolutely nothing to do with yanfly's plugin or any other plugin, it is a default code that works without any plugins.
the lowest level of the color definition is the windowskin picture. that defines which colot number is assigned which colorby counting the squares in that picture (which is in the ysytem folder if I remember correctly. This defines the n in the \c textcode.
the next level is somewhere in the code, where different areas define there color used by pointing to numbers. That is what the yanfly plugin overrides by declaring "use this color number instead of the default color number".
Now the combat log consists mostly of skill messages, and that is where you have to make the color changes. A notetag is always on a higher level than the message code, but I don't know if that notetag is compatible with skills.
So now you have three levels of changing colors. You can use an image program like GIMP or Photoshop to change the windowskin - but that will replace the color everywhere it is used.
you can use a text code (where that functions) to replace the color temporarily.
you can use a plugin to replace the color assingmennt for the entire function, either using yanfly's plugin or a custom plugin.
Thank you for helping me understand. I wrongly assumed this was a Yanfly function. So far I have found I can change the text color using \C[n] in a skill message window. It doesn't work with the <Display Text: x> option. It just reads it out as if it were text. So now I'm trying to call on the battle log with the script:
eval: SceneManager._scene._logWindow.addText("Test Text")
However I'm still working out how to change the color and text size with this same script. Then I can build a common event for every skill.
Oh man I'm doing a terrible job at explaining myself. I'm putting <Display Text: x> in the correct location and it works fine. It just won't change the color using the \C[n] option. So I'm wondering if I can change the text size and color with a script along with the one I posted to as a workaround to the other option not working.