How can I change resource bar colors for specific actors?

For example if I want a Yellow TP Bar and a Grey MP bar for a single specific actor.
I've moved this thread to RGSS3 Script Requests (Ace Scripts are for completed scripts that YOU have written and are sharing). Please be sure to post your threads in the correct forum next time. Thank you.


Window_Base, lines 156-170 are where the colours are selected. You would need to redefine those methods for the bars you want to change, and add your own rules for what colour to use for each actor. How simple or difficult this is depends on whether you want to hardcode it in the script (state Actor X uses colour Y) or set them up via notes on the Actor tab and make the methods read the notes.


Actually, it's probably more likely to be the hp_color, mp_color and tp_color methods that you'd want to change.

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-change-resource-bar-colors-for-specific-actors.17189/