hello, I was wanting to add some simple cosmetic options to my game, and was wondering if their was a way, either through variables or otherwise where I could swap one image file with another, for example for my leading character they select an alternate hair color, could i have all instances of their text box portrait replaced with one with the proper color, presumably by swapping the image file to another stored in the game.
replacing an image game wide!
RPG Maker MZ Supportthat specific task is usually better handled in a different way.
please search for a messaging plugin, those add new text codes to the show text command.
and one of the most often added text codes is to select the face based on an actor, no matter which face is used for that actor.
please search for a messaging plugin, those add new text codes to the show text command.
and one of the most often added text codes is to select the face based on an actor, no matter which face is used for that actor.
Yeps Message Core and extended Messages could help you do that.
And use the note for when your actor speaks.
FaceIndex Effect:
\faceindex[x] - Changes the face index of the currently used face
graphic to index x at the start of the message.
*Note: Works for the message window only.
As you can change the face graphic of your main character with event commands, so each time they do have a change, you can use the event to change the graphic.
I haven't tried this out but it should do what you want it to do.
And use the note for when your actor speaks.
FaceIndex Effect:
\faceindex[x] - Changes the face index of the currently used face
graphic to index x at the start of the message.
*Note: Works for the message window only.
As you can change the face graphic of your main character with event commands, so each time they do have a change, you can use the event to change the graphic.
I haven't tried this out but it should do what you want it to do.
much appreciated for the information, I will look into it!
Original thread: https://forums.rpgmakerweb.com/threads/replacing-an-image-game-wide.183871/