Windowskin Changer

windowskinChanger1

By default, RPG Maker uses the file called “Window” stored in the Graphics/System folder, and only supports one windowskin throughout the game.

This script allows you to change window skins dynamically during the game using script calls. For example, you can change window skins depending on the character that’s currently speaking, or to reflect the player’s current alignment.

Here’s a video of windowskin changing in action

Download

Script: download here

Installation

In the script editor, place this script below Materials and above Main

Usage

Place all windowskins in the Graphics/System folder.

To change windowskins, make a script call

set_windowskin(NAME)

Where the NAME is the name of the windowskin that you want to change to.

Example

Suppose you have a windowskin called

grassy

To use this window skin, make the script call

set_windowskin("grassy")

Note the quotes.

Compatibility

First, window skin affects the look and feel of the window including the font colours. This means that if you change the skin while a window is open, the fonts do not automatically change because the bitmap has already been created. Instead, I call the refresh method which is defined in most windows by default. If you are using a window that does not use a refresh method to redraw the contents, then your fonts will not change automatically.

You can address that by moving all of the drawing methods into a refresh method. You may need to define the method yourself.

Second, Some scripts assume the window skin is hardcoded. If you find that your game does not load the correct windowskin, look for code like this

Cache.system("Window")

and change it to something like this

Cache.system($game_system.windowskin)

You may also like...

136 Responses

  1. Anonymous says:

    Hi Hime, I want ask, Yanfly’s message core let you put a name box to know the name of the player who is talking, the skin of this name box does not change with your plugin, could you upgrade it > .>?

  2. Bo says:

    I don’t understand how to install this? What do you mean “In the script editor, place this script below Materials and above Main” place in what .js? or is this supposed to be it’s on .js in which this won’t let me download.

  3. Anonymous says:

    Hime, what size does the custom windowskin need to be?

  4. Arsist says:

    When I try using this script, I get the error:

    Script ‘Game_Interpreter’ line 1411: ArgumentError occurred.

    wrong number of arguments (0 for 1)

    I believe the error occurs at the

    $game_system.windowskin = name

    part of

    class Game_Interpreter

    def set_windowskin(name)
    $game_system.windowskin = name
    end
    end

    Would you happen to know why this is?

  5. Anonymous says:

    get error in catch line 88 with this or any other window changer. Using Many of yanfly scripts but not his core system.

    • Hime says:

      You will need to determine whether it is a compatibility issue with another plugin.
      I’m not sure why “line 88” would crash with “any other window changer”, but if that is true, then it probably isn’t this plugin.

  6. Jackie says:

    I don’t have the fucking graphics, where do I get them???

  7. Anonymous says:

    Thanks,it’s very useful for the project I’m making

  8. Anonymous says:

    Is it compatible with Yanfly’s message system?

Leave a Reply

Your email address will not be published. Required fields are marked *