[MZ] Phileas's Message Window Rect Settings (MZ message window customizer)

Plugin name: Phileas's Message Window Rect Settings

Author: Phileas

Version: 1.3.0 for MZ

Release date:
1.0.0 - 03.09.2022
1.1.0 - 08.05.2023
1.1.1 - 09.05.2023
1.2.0 - 01.28.2024
1.2.1 - 02.25.2024
1.3.0 - 02.10.2025

Plugin description:
Allows you to set custom message window sizes and the horizontal offset of the window.
The plugin aligns the position of the selection window to the width of the message window.

The plugin provides 4 commands:
  1. Change the message window - sets the width, height, horizontal offset, and Y for subsequent message windows. If Y is set, the position setting in the editor is ignored.
  2. Default message window - sets all settings to default values (from plugin parameters).
  3. Change the choice list - changes the position of all subsequent choice list windows.
  4. Default choice list - sets all settings to default values.

Using the plugin:
If the value of the width or height parameter is less than 1 or greater than the standard value, then the standard value is set.

How it looks like:

2024-01-29_03-54-55.png


2024-01-29_03-55-48.png


2024-01-29_03-55-58.png


2024-01-29_03-56-08.png


Code

License

This plugin is released under MIT license.
This means that you can freely use the plugin in non-commercial and commercial games and even edit it.
But be sure to include me in the credits!

Compatibility:
The plugin extends the methods of the engine's base code: Scene_Message.prototype.messageWindowRect and Window_ChoiceList.prototype.windowY. If the parameters are incorrect, the ones calculated in the original method are used. There may be a compatibility problem with the plugin, which also changes the rectangle of the message window or the vertical coordinate of the selection list.
The plugin also overrides the Window_ChoiceList.prototype.windowX method, which calculates the horizontal position of the selection list window. Thus, it is not compatible with any other plugin that overrides this method too.

If you have any problems - write.
Hello, I want to make each of my message windows different in size and position, is there any way?
Hello, I want to make each of my message windows different in size and position, is there any way?

The current implementation of the plugin does not allow you to do this. However, I can add a command that will change the configuration of the window.
The current implementation of the plugin does not allow you to do this. However, I can add a command that will change the configuration of the window.
Thanks for your reply, I've just found the key code that needs to be modified to solve my problem:
Window_Message.prototype.updatePlacement.
Updated to 1.2.0!

Added commands for runtime customization.
The plugin provides 4 commands:
  1. Change the message window - sets the width, height, horizontal offset, and Y for subsequent message windows. If Y is set, the position setting in the editor is ignored.
  2. Default message window - sets all settings to default values (from plugin parameters).
  3. Change the choice list - changes the position of all subsequent choice list windows.
  4. Default choice list - sets all settings to default values.

Hello, I want to make each of my message windows different in size and position, is there any way?
Done. Thanks for the idea)

Please write if the plugin is working successfully or unsuccessfully in your project.
Upgrade to 1.2.1!

Fixed the window settings change using the plugins command. Previously, the window changed only when the scene changed, now it changes immediately.
1.3.0
Now you can adjust the color and opacity of the message window with dimmer background.

You can configure it in a parameter or command of the plugin.

The settings apply to the selection window and the name window.

Original thread: https://forums.rpgmakerweb.com/threads/mz-phileass-message-window-rect-settings-mz-message-window-customizer.158531/