hi hello hi!! for example, i need character's A name in namebox always yellow, and character's B always blue. is there a way to do this?
assigning certain colours to certain characters in name box
RPG Maker MZ SupportHello, @kasheka. There is a function built into RMMZ to change the color of text.
When typing in text boxes, you can use "\C[value]" to change the color of all the following text, where "value" is a number from 0 to 31. The numbers correspond to the colors laid out in the "Window.png" file in RMMZ's System folder. I've inserted the Window.png image in this post for your reference. The 32 text colors are on the bottom right of the image.
White text is index 0. There are many shades of blue available, but the first instance of a blue hue is at index 1. So if I wanted to make character B's name blue, in the namebox for character B's dialogue, I would type "\C[1]Character B". I believe yellow is at index 17, so you would type "\C[17]Character A" for character A.
When typing in text boxes, you can use "\C[value]" to change the color of all the following text, where "value" is a number from 0 to 31. The numbers correspond to the colors laid out in the "Window.png" file in RMMZ's System folder. I've inserted the Window.png image in this post for your reference. The 32 text colors are on the bottom right of the image.
White text is index 0. There are many shades of blue available, but the first instance of a blue hue is at index 1. So if I wanted to make character B's name blue, in the namebox for character B's dialogue, I would type "\C[1]Character B". I believe yellow is at index 17, so you would type "\C[17]Character A" for character A.
oh, thanks, but in this case, do i have to do it manually for every dialogue?
Yes. I'm afraid so. I wouldn't know how to do it automatically, if there even is a way.
Edit: I tried to find a plugin for RMMZ that might help, and I found this one that allows you to change fonts of different texts in your game. I don't think it will accomplish exactly what you want, but I'm going to link it anyway.
https://hakuenstudio.itch.io/eli-font-manager-for-rpg-maker
Original thread: https://forums.rpgmakerweb.com/threads/assigning-certain-colours-to-certain-characters-in-name-box.165398/