Yanfly Message Plugins...

I am a bit confused. I read a thread that said to use Yanfly's Message Core and Extended plugin's if I wanted to be able to shape the size of, and move, the message box.

Basically, I have my own message box picture. It's centered on the screen and doesnt take up the entire screen either. So I want to be able to control where the dialogue appears to have it appear directly within the message box.

http://www.yanfly.moe/wiki/Message_Core_(YEP)

http://www.yanfly.moe/wiki/Extended_Message_Pack_1_(YEP)

I was trying to figure out how to do that, but I couldnt actually find anything that worked. There is a part that talks about x and y coordinate plugins, but it makes it sound like they are an option I can configure on the side. There isnt any such option that I can see... at least, it aint appearing for me. One would think one of the packs would have that as one of the configurations since they have everything else, haha.

Am I just missing it? Or is there a script call I am obviously missing?

Thank you!
I don't know which pack these commands belong to (how about getting all the packs?) but here you go:
\msgposx[position]
\msgposy[position]
These are the escape codes to be used from within the show text command.

MessagePositionX
MessagePositionY
These are plugin commands for you to set the message window to the position of your choice.
I don't know which pack these commands belong to (how about getting all the packs?) but here you go:
\msgposx[position]
\msgposy[position]
These are the escape codes to be used from within the show text command.

MessagePositionX
MessagePositionY
These are plugin commands for you to set the message window to the position of your choice.

There was only one other pack I am aware of, and it didnt seem to have anything I needed. I am trying to limit the number of plugins I will ultimately have to avoid conflictions down the road. I would normally hit up my programmer but he has been too busy to get back to me for a while and lives far away in another country, haha.

But yes, I did see those mentioned in the comments. But only in the comments, so I wasnt sure how to USE them. The second set that is. The ones that go into the message box only pertain to the message they are in. But I want it to just be a one time set, so the second set of options seemed to be what I needed.

However, the notes made it sound like there was something on the other side (the presets pertaining to the plugin I guess you would call them? This plugin thing is new to me, used to just scripts, haha. In the middle of trying to port my game and finding as many plugins that already exist for the systems I already had in place... to lesson the overall workload of the upgrade from XP to MV).

Do I use a script call for them?

MessagePositionX
MessagePositionY

Or am I missing something obvious?
They're plugin commands. I've bever used these. I always use the text code ones. I think it's MessagePosition800 or something like that.
It would really help if you show us screenshots of what you have done (the event pages, not how it looks on the map)

plugin commands are entered by the event command "plugin command" when that command is triggered in an event. and then they simply work - unless you have multiple plugins that are incompatible to each other that are causing problems.

I strongly suggest you take some time to learn all the event commands avilable on the three pages of event commands - that is the basic for everything done in a project after all, and beside minor changes (like the choice command having six options instead of four in MV, there is also the plugin command added to the list.
It would really help if you show us screenshots of what you have done (the event pages, not how it looks on the map)

plugin commands are entered by the event command "plugin command" when that command is triggered in an event. and then they simply work - unless you have multiple plugins that are incompatible to each other that are causing problems.

I strongly suggest you take some time to learn all the event commands avilable on the three pages of event commands - that is the basic for everything done in a project after all, and beside minor changes (like the choice command having six options instead of four in MV, there is also the plugin command added to the list.

Plugins is something I am not used too. I usually play around in each system, but I have been playing with these commands since rm2k, haha. And this is SUPER new. A plugin. I am used to doing script based commands, so completely missed it.

However, I am either still doing it wrong, or the system actually doesn't do what I want it to do and I will need a different plugin. No matter what numbers I type into the plugin, it will not seem to push its X and Y default any further in the direction I want. THis seems to be the furthest I can push them. Uploaded two files for your viewing pleasure.

Thank you kindly for the support! I am learning, albeit a bit slower than I want too. New engine, yay!
the coordinates are absolute, which means they can't become negative (negative would be outside the screen).
you need to think about where the message window should start on the screen and then give that position as the X/Y position for the map window.
what is your game's screen size?

EDIT: Plugins are nothing other than scripts, just that those scripts are placed in their own text files instead of slots of a script editor
the coordinates are absolute, which means they can't become negative (negative would be outside the screen).
you need to think about where the message window should start on the screen and then give that position as the X/Y position for the map window.
what is your game's screen size?

EDIT: Plugins are nothing other than scripts, just that those scripts are placed in their own text files instead of slots of a script editor

That was just a test. Because I was trying to see if it would move with a negative because all positives werent moving it, haha. I was treating it like an x/y graph, which can go up/down left/right. Just seeing if I was being restricted in some form. I tried measuring the difference in pixels from where I wanted it and typing in those as well. It remains steadfast in where it wants to remain.

The resolution is currently 2000x1117.

Yeah, I understood that much. But my hangup I guess is the plugins still work a lot differently than scripts. There are no preset options you can set in XP like in the plugin's install screen. And now there is a plugin command that can be used rather than a script call. This is basically what is new to me and I am learning. In the past, I would just go into the script and edit the x/y coordinates. Now, we can just use a plugin to call a system that can automatically do that without altering the script itself. Its amazing. But new to me, haha.
Still can't seem to figure it out. I keep putting in different numbers. I can put in 1 for x/y or I can put in 1000 and it wont budge *cries* I just want to move it so that it aligns with the message box image.
This confused me, too... 😅

For absolute coordinates, go to the Plugin Manager and change these parameters for YEP_X_ExtMsgPack1 (double-click to edit a parameter's value):
  • Set "Default X" to left
  • Set "Default Y" to top
Then you should be able to use the plugin commands to position the message without any weird offsets. 🙏
This confused me, too... 😅

For absolute coordinates, go to the Plugin Manager and change these parameters for YEP_X_ExtMsgPack1 (double-click to edit a parameter's value):
  • Set "Default X" to left
  • Set "Default Y" to top
Then you should be able to use the plugin commands to position the message without any weird offsets. 🙏

It's odd, but even that didn't seem to let me move it at all with the plugin commands.

I tried using text commands, just to see. And it would ONLY let me move the Y coordinate. X didn't do anything.

I am able to change the width and the height as well.

I am beginning to think I need to find a new plug in that will easily let me set the exact x/y coordinates of the message box...
Strange, it seems to work OK for me. Could be a plugin conflict or incorrect load order; maybe screenshot your Plugin Manager, showing all the plugins you're currently using?
Strange, it seems to work OK for me. Could be a plugin conflict or incorrect load order; maybe screenshot your Plugin Manager, showing all the plugins you're currently using?

I have tried moving it above all other scripts. Disabling all scripts. And even installing it (with nothing else) into a brand new project. I dont know why the x/y coordinates are being jerks, haha.

I figured it out. This is something I had no idea about it. I sometimes renamed my plugins (the file), because I can be OCD in file names. Seriously OCD. But found someone else who couldnt get it to work from a while back, and a suggestion was to make sure to not change any plugin names.

This is a serious thing?? hahaha, I would have never guessed. Too new to this. I feel like an idiot.

However, that last tip did help once I changed the file name back. Because now it is working. THank you so much!
Oh! Yes, for most plugins if you change the filename, the plugin will not recognise its parameters. This is because, internally, a plugin's parameters are stored under its filename. 🙂

Good you found a fix, happy RPG Making! 😂

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-message-plugins.112461/