[CGMZ] Window Settings (Patreon)
Downloads
Content
Change any window's windowskin, tone, padding, and more! Even works with third party plugin windows.
! SEE BOTTOM OF POST FOR UPDATES !
Hi all, introducing [CGMZ] Window Settings!
Window Settings
This plugin changes various window properties on a per-window basis, so you can have complete control over any window in your game. It will not impact windows that you do not create settings for. The complete list of window properties you can change include:
Windowskin - Allows you to use a different windowskin image than the game default one.
Padding - Change how much empty space there is around the border of the window.
Background Opacity - Change how opaque or transparent the window's background is.
Tone - Set a custom tone (RGB) for the window.
Background Style - Select from either Window, Dim, or Transparent. This will function the same as the Show Text Event Command's background style option, but for any window.
Change Any Window
This plugin allows you to change any window in the game, including windows created through third party plugins, as long as your know the window's constructor name. This can be found in the code. If you do not know how to find this, or if the third party plugin is obfuscated, you would need to ask the plugin author for the window constructor name.
Preset System
This plugin can also create presets of settings, which you can then re-use over and over again by typing the preset id into anywhere that will accept it (such as a plugin that integrates with this one). This will become increasingly common in [CGMZ] plugins similar to how [CGMZ] Window Backgrounds works where you just need to type your preset id into the integrating plugin and the other plugin will load the settings from this plugin.
Example
As an example, I have created different settings for the various windows in the Status scene. You can see that you will have complete control over all windows in your game:
However, windows without any settings specifically created for them will be unaffected. This means you will not be annoyed trying to figure out how to keep the defaults for windows you don't want to edit. In the below screenshot, I have left my Skill scene alone and it looks the same as before:
Roadmap
This plugin will open up a lot more possibilities with editing various window properties, however to start with I included the most common window properties already set up throughout many [CGMZ] plugins. Some additional properties that will be added in future updates are things like the margin, frame visibility, and more.
Do you have anything you want to edit about windows in your game? Let me know in the comments below! Even if it does not get added right away, I add all suggestions to my to-do list.
Quick Facts
✅RPG Maker MZ✅No obfuscated code✅Mined directly from the JavaScript mines without any AI assistance
Thanks for supporting Casper Gaming,
Happy RPG Making!
This version adds a few new window settings. These are as follows:
Margin - Set the margin of the window. This controls how far from the window edge the windowskin background begins.
Opacity - Set the window's opacity (not including contents). This controls opacity for things like the window frame.
This version adds the option to try and refresh the window when settings change. Not all settings will benefit from this, and some windows could have issues if refreshed so it was added as an option. It can help with padding changes or other times the window needs to re-create its contents.
A debug option was added to log the window constructors. When enabled, any window that loads will log its constructor name to the dev tools console.
This version adds the option to hide the window frame. This is a default effect you might be familiar with on the battle actor window, which is now available to every window.
This update also added the option to hide selectable window item backgrounds, which by default are the dark rectangles behind things you can select.
This update makes the window background type parameter a bit easier to use, since it is also affected by the opacity so you could previously have your opacity set to full opacity and effectively override the transparent background type. Now, the background type will take precedence over other parameters that also affect the same variables behind the scenes.
This version adds the option to change a window's translucent opacity property, which determines the opacity of text or other items that are disabled in selectable or command windows.
This update also adds a function for better compatibility with other plugins that need to read window padding.