Placeholder Message Faces

Help spread the word!Share on FacebookShare on TumblrTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditFlattr the author

In RPG Maker MV, you can create dialog through a series of messages.

placeholderMessageFaces1

To set up these messages, you would use the event editor’s “Show Text” command. Here, you can type in the message you want to show, a face to go with it, along with some other properties like the position of the message.

placeholderMessageFaces2

Now, what happens if you’re making a game where players can choose who they will use as the leader? For example, maybe your game offers players the option to choose between a man or a woman, or from a set of characters each with different backgrounds.

In these cases, it would be strange if the face shown in the dialog didn’t match the face of the player’s chosen character.

placeholderMessageFaces3

However, now we have another problem: how do we actually set up our messages to show different faces depending on the characters? Should we just create conditional branches to handle every possible option?

But what if the players can submit their own custom faces for their character? Now you would have no control over the graphics!

This plugin offers a solution that allows you to easily set up messages that will display the appropriate faces depending on the actor’s current face.

Download

Plugin: download here (right-click, save-as)

Installation

Download the plugin and place it in the “plugins” folder in your project’s “js” folder. Then open your Plugin Manager (F10), double-click an empty row, and select the PlaceholderMessageFaces plugin.

Once it is in your list of plugins, turn the plugin on.

Usage

(日本語の説明はこちらです)

We will be using images that will serve as placeholders. These images will be replaced by correct images during the game. How the game determines what to replace them with is based on their filename.

This means that you can draw anything on them yourself; what’s important is the filename. The purpose of the picture is just to make it obvious what it represents.

Then in your message box, just use these pictures and the game will handle the rest.

There are different types of placeholders available.

Placeholder Actor

This placeholder takes the face of a specific actor based on ID.
Start by creating some images will serve as placeholders. For example you might do something like this

PlaceholderActor1

Then name them based on the following pattern:

PlaceholderActor###

Where the ### is the ID of the actor. When the game needs to load that face image, it will look up the specified actor’s face.

For example, if you wanted to use the face of actor 32, you would use a picture with the name

PlaceholderActor32

Placeholder Party

This placeholder takes the face of an actor based on their position in their party.

The leader is in position 1. The second member is in position 2. For example, if you wanted to show the second party member in the message, you might use a picture that looks like this

  PlaceholderParty2

And name it with the following pattern

   PlaceholderParty###

So let’s say you wanted to use the leader of the party. You would name the file

   PlaceholderParty1

Here is an example of how it might look in the editor:

placeholderMessageFaces4

Placeholder Variable

This placeholder uses the value of a variable to determine the ID of the actor to show.

For example, to use variable 4 as your placeholder, you would use a picture called

PlaceholderVariable4

Now, if variable 4 contained the value 6, then actor 6’s face would be used. If variable 4 contained the value 12, it would use actor 12’s face.

Help spread the word!Share on FacebookShare on TumblrTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditFlattr the author

You may also like...

16 Responses

  1. Hi, everything is going fine here and ofcourse every one
    is sharing information, that’s actually excellent, keep up writing.

  2. Anonymous says:

    Is there a way to also load image of no, or 2 or more images for one single actor actor?
    So my game has a character generation, so I use your plugin to make sure your character always uses his correct face. But now I want to bring emotions into this aswell. So I have a face sheet with 2 images, first image is the normal look of your character, and the second is supposed to show the player with closed eyes (You start sleeping). But I have no idea how to use the plugin so that you see the sleping face picture instead of the normal one for as long as you are sleeping.

  3. Liam says:

    So what about events? Like if you wanted other characters whom the played has chosen the look of to appear as the graphic for an event without using variables. I think you had that in RPGVXAce.

  4. TTKOZ says:

    Honestly, I’m sick of these 8 actors a sheet dynamic face systems, One thing I’m constantly looking for but never finding is a plugin like this, that supports the use of emosets.

    As in instead of using 1 graphic for 8 different actors, use 1 place holder graphic for each actor, and use the current graphic from the database, but use the index in the placeholder.

    For example.

    Placeholder Graphic: PHActor1.png, 6

    Actor 1 Face graphic: DamienEmoset.png, 3

    Face that shows in game: DamienEmoset.png, 6

    It seems like anyone who can make a plugin like this should be able to make a plugin like that, but no one ever does.

    I’d get down on my knees and beg for it, but I’m not sure I could convey that as effectively through internet comments.

    So I’ll say it like this: Please make that.

  5. Anonymous says:

    Can you make a new “old” version of this plugin?
    Please?

    • Hime says:

      Rather than creating a new version I could potentially update it to support variables.

      • Anonymous says:

        Hoooo, thank you. I really appreciate.
        I’m trying to make a game where, in the middle of fighting, the enemy speaks with the player. And it is difficult to create a common event that fits all the enemies without using you scrip. You’re a lifesaver.
        But since i change to MV things get so complicated! Thank you for you work. I can breathe again now.

        • Hime says:

          I have updated the plugin to version 1.1 to support placeholder variables.

          • Anonymous says:

            Sorry, but again i need your help.
            For some strange reason i got a message when using you plugin:
            “Cannot read property ‘name’ of undefined.”
            Any ideas of what is happening?
            I turned off all my plugins and still got the same message. I changed the faces of the actors. Same message. I changed the variable (current using 21 and 22). Same message. I checked the name of the placeholder file twice. Same message. I cried. Same message.
            Help!

          • Anonymous says:

            I have to add that when i tried use the yanflix status menu core i got the same mesage, even when you plugin is disable.
            That makes me confuse. I don’t know what happened.

          • Anonymous says:

            And the placeholdparty works just fine in all the cases above. Including with all the plugins on. I jusk checked.

          • Anonymous says:

            After a loooooong research i found tha you plugin doesnt work with:
            Actor Battle Commands – (hime)
            I don’t know the reason, but that plugin bug not only the placeholder plugin but also the yanflix plugin.
            I don’t have any ideas why that happen.

          • Hime says:

            Where does the problem occur? How do you reproduce the issue?

          • Anonymous says:

            Not sure, but i think the message: “Cannot read property ‘name’ of undefined.” appears because your plugin (Actor Battle Commands) isn’t compatible with the (placeholder faces) plugin that you made for me.

  6. Anonymous says:

    I don’t know, i think the old one was better.
    This one, for vx ace.
    I can use variables on it.
    http://himeworks.com/redirect.php?type=script&name=placeholder_graphics

  7. Jon says:

    Oh my gosh, this is exactly what I needed. Thank you.

Leave a Reply

Your email address will not be published.

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax