RMMV Unable to permanently resize and change position of Window_Message

Status
Not open for further replies.

DrBuni

Veteran
Veteran
Joined
Dec 27, 2020
Messages
192
Reaction score
129
First Language
.
Primarily Uses
RMMV
Hi! I use the SRD_HUDMaker plugin to make changes to the HUD of my game. It usually works fine, but when it comes to the Window_Message, there are two problems. The first problem is that I can't make permanent changes to it. I have tried resizing and repositioning the window multiple times, but upon reloading the game, it is back to its original position. The second problem is that when I tried to edit Window_Message in the map screen, the plugin tells me I can't use it on the map.

Does anyone have any idea of what might be causing the problem?

Now I have a ton of plugins installed, and I am going through them at the moment, but I think the only ones that could affect Window_Message are SRD_HUDMaker, YEP_MessageCore and WindowBackImage, but this last one has been disabled for weeks.

A few screenshots:

image.png

image.png

image.png

image.png

Plugins list:


Thank you!

Woops, I posted on the wrong category. Sorry mods, it wasn't intentional.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
37,319
Reaction score
10,180
First Language
German
Primarily Uses
RMMV
Plugins list:
it has likely nothing to do with your current problem, but you need to reorder your yanfly plugins.
those are known to only work correctly when placed in the exact order as they are on the yanfly website, and yours are completly ignoring that.

you should change that and then start new games because that change will make savefiles incompatible.
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
6,672
Reaction score
2,589
First Language
Dutch
Primarily Uses
RMMV
Like Andar said, check the website or check my plugin spoiler
for the ALOE plugin I updated for faster use to see which one
is out of place, as different plugins arent in the correct place.

fixed window message size is possible, as I did it for my own,
but messageCore mess more things up so I dont use that one.

Depending on the fix size should doable with messageCore and
plugin command or else the parameter if not mistaken.
 

DrBuni

Veteran
Veteran
Joined
Dec 27, 2020
Messages
192
Reaction score
129
First Language
.
Primarily Uses
RMMV
it has likely nothing to do with your current problem, but you need to reorder your yanfly plugins.
those are known to only work correctly when placed in the exact order as they are on the yanfly website, and yours are completly ignoring that.

you should change that and then start new games because that change will make savefiles incompatible.
Thank you, will do. I was trying to organize them in a way that made sense to me, completely ignoring compatibility.

@ShadowDragon Seems like an incredibly useful plugin, will give it a try.
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
6,672
Reaction score
2,589
First Language
Dutch
Primarily Uses
RMMV
PluginOrderChecker is for YEP plugins only, and the old version had
less than 100 plugins, I updated, re-ordered the order and clean
up the code a bit for 200+ plugins he had.

re-ordered from his website, so it is faster than going to editor => website
=> editor => website etc etc, so this one is really usefull for faster use.

but if there is still issues, we try to help you fix it where possible.
 

DrBuni

Veteran
Veteran
Joined
Dec 27, 2020
Messages
192
Reaction score
129
First Language
.
Primarily Uses
RMMV
PluginOrderChecker is for YEP plugins only, and the old version had
less than 100 plugins, I updated, re-ordered the order and clean
up the code a bit for 200+ plugins he had.

re-ordered from his website, so it is faster than going to editor => website
=> editor => website etc etc, so this one is really usefull for faster use.

but if there is still issues, we try to help you fix it where possible.
Done, but like Andar suggested, it was not the source of the Window_Message issue. I will keep looking into it, eventually I will stumble on the source of the problem.

 

caethyril

^_^
Global Mod
Joined
Feb 21, 2018
Messages
4,114
Reaction score
3,172
First Language
EN
Primarily Uses
RMMZ
YEP_MessageCore allows changing the size and position of the message window via plugin parameters (Plugin Manager) and/or plugin commands (events).

[Edit: nope, just the size. Check my following post.]
 
Last edited:

DrBuni

Veteran
Veteran
Joined
Dec 27, 2020
Messages
192
Reaction score
129
First Language
.
Primarily Uses
RMMV
YEP_MessageCore allows changing the size and position of the message window via plugin parameters (Plugin Manager) and/or plugin commands (events).
Hi. I was able to resize the width of the window with the "MessageWidth 400" command, but I am unsure about the command necessary to reposition it. In the page you linked, there are text codes (not commands) for repositioning the text, but not the window. What am I missing?

Thank you.
 

caethyril

^_^
Global Mod
Joined
Feb 21, 2018
Messages
4,114
Reaction score
3,172
First Language
EN
Primarily Uses
RMMZ
Sorry, my mistake! I was thinking of its extension plugin, YEP_ExtMesPack1, which has text codes like \msgposx[x] and plugin commands like MessagePositionX. Looks like you already have that plugin in your load order. :kaohi:

(Various windows, including the message, reposition themselves after init. SRD's plugin is quite generally-applicable so I don't know if it checks for an updatePlacement method on the target window. If not, then it wouldn't work as you want, regardless of potential plugin conflicts.)
 

DrBuni

Veteran
Veteran
Joined
Dec 27, 2020
Messages
192
Reaction score
129
First Language
.
Primarily Uses
RMMV
Sorry, my mistake! I was thinking of its extension plugin, YEP_ExtMesPack1, which has text codes like \msgposx[x] and plugin commands like MessagePositionX. Looks like you already have that plugin in your load order. :kaohi:

(Various windows, including the message, reposition themselves after init. SRD's plugin is quite generally-applicable so I don't know if it checks for an updatePlacement method on the target window. If not, then it wouldn't work as you want, regardless of potential plugin conflicts.)
Yep, I have it! Didn't consider that it could be used to reposition the window as well. That is a downside of having certain plugins installed before I needed to even use them.

Thank you very much!

I will give the plugin a try. If I understood Yanfly's wording right, I suppose I can use the "msgposy[x]" text code in every message if the window keeps trying to reposition itself. But right now I am theorizing about a problem that might not even happen.
 

caethyril

^_^
Global Mod
Joined
Feb 21, 2018
Messages
4,114
Reaction score
3,172
First Language
EN
Primarily Uses
RMMZ
You're welcome, hopefully it works!
 

DrBuni

Veteran
Veteran
Joined
Dec 27, 2020
Messages
192
Reaction score
129
First Language
.
Primarily Uses
RMMV
Hi again.

So the plugin suggested by Caethyril does the job just fine when it comes to regular message boxes, but there are a few I can't change, such as the window box regarding the experience points you get after winning a battle. So if anyone has any suggestions, I am all ears. I really need a way to move the dialogue box up, because right now it is outside of the "book" boundaries.

Man, RPG Maker sure is useful but I hate not knowing how to code xD Thank you ^-^
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
6,672
Reaction score
2,589
First Language
Dutch
Primarily Uses
RMMV
if you mean teh victory window, that different window, can be resized
or altered, depending what you seek.

coding can be a pain indeed :)

but there are people on this forum with knowledge that can help
with certain things :)
 

DrBuni

Veteran
Veteran
Joined
Dec 27, 2020
Messages
192
Reaction score
129
First Language
.
Primarily Uses
RMMV
if you mean teh victory window, that different window, can be resized
or altered, depending what you seek.

coding can be a pain indeed :)

but there are people on this forum with knowledge that can help
with certain things :)
Hi! I mean this window below. No matter how many times I reposition it, it comes back to that spot. Unfortunately, I can't use the YEP text codes to solve the problem this time.

 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
6,672
Reaction score
2,589
First Language
Dutch
Primarily Uses
RMMV
if it's not the message window, you need to know which window it is.
if you have steam version, use WindowIndentifier.js so you know
which window it exactly is.
 

DrBuni

Veteran
Veteran
Joined
Dec 27, 2020
Messages
192
Reaction score
129
First Language
.
Primarily Uses
RMMV
if it's not the message window, you need to know which window it is.
if you have steam version, use WindowIndentifier.js so you know
which window it exactly is.
It is Window_Message, and I can reposition it. However, it never stays repositioned.
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
6,672
Reaction score
2,589
First Language
Dutch
Primarily Uses
RMMV
if you want a fix point, you need to modify the plugin.
 

DrBuni

Veteran
Veteran
Joined
Dec 27, 2020
Messages
192
Reaction score
129
First Language
.
Primarily Uses
RMMV
if you want a fix point, you need to modify the plugin.
Yeah. Window_Message already has a default placement. I'd like to change it. Which plugin do I need to edit (and where)?
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
6,672
Reaction score
2,589
First Language
Dutch
Primarily Uses
RMMV
my guess on line 928:
JavaScript:
Window_Message.prototype.adjustWindowSettings = function() {
//coce
}
and try to fix a the widht and height, x position and y position else where.

if you want to move it else where later in game, it needs more adjustment,
but I cannot tell for sure how the position exactly work in messageCore though.

so I cannot really help you on the part.
 

DrBuni

Veteran
Veteran
Joined
Dec 27, 2020
Messages
192
Reaction score
129
First Language
.
Primarily Uses
RMMV
my guess on line 928:
JavaScript:
Window_Message.prototype.adjustWindowSettings = function() {
//coce
}
and try to fix a the widht and height, x position and y position else where.

if you want to move it else where later in game, it needs more adjustment,
but I cannot tell for sure how the position exactly work in messageCore though.

so I cannot really help you on the part.
I will try that out, thanks!

When it comes to dialogue, I can adjust the window with Yanfly's plugin, so that is not a problem.

Edit: I failed :~~

Edit: @ShadowDragon send help!
 
Last edited:
Status
Not open for further replies.

Latest Threads

Latest Profile Posts

Don't you hate when you're trying to sleep and suddenly the smoke detector needs batteries? That's exactly what happened to me. Now I'm sluggish and tired after that darn thing started chirping at 11:30 at night. Man I wish I had one of those smart smoke detectors that sends a message to your phone way before it starts chirping.
Interior of a bus, may do more vehicle interiors :kaoswt2:
1670089782219.png
I can hardly believe it is the third day of Christmas and I have yet to put up decorations! Spending my morning cooking breakfast and getting them up.
https://itch.io/s/83641/1-week-sale Do you want a Roguelike game like a turn-based Hades? Get Zodiac Hunters now while it's on sale!
2-0!!
1670083194124.png

Sorry to my fellow RPG maker users who are in the USA... We're kicking your butts! :)
(It's 2-0 at half time in the 8th finals of the WC Soccer. Loser goes home.)

Forum statistics

Threads
127,011
Messages
1,183,169
Members
166,875
Latest member
LottaSpice
Top