Window Upgrade – MV Plugin

      7 Comments on Window Upgrade – MV Plugin

This plugin requires the Game Upgrade plugin:
http://sumrndm.site/game-upgrade/

Upgrades and adds various features to the existing window system within one’s game. This plugin provides additions to the window classes such as open/close callbacks, better stretch control, etc.


Look at the code or download the Plugin:


Window Upgrade
SumRndmDde

Upgrades and adds various features to the existing window system within
one’s game. This plugin provides additions to the window classes such as
open/close callbacks, better stretch control, etc.

=======================================================================
Information Window
=======================================================================

Information windows are windows that protray a large amount of information
to the player all at once. These require a bit more set up than Question
Windows, but have even greater power when it comes to giving information.

To start, one must go to the “Info Windows” parameter to setup an Info
Window. An Info Window requires Text, Width, Line Height, and a Default
Font Size. Once these four things have been setup, one may display
that specific Info Window by using the ID listed next to it in the
Plugin Manager’s list.

CreateInfoWindow [windowId]

In order to show the Info Window, use this plugin command and place its
window ID next to it. That specific window with the specified information
will be shown.

When customizing the text of the window, one may use text codes. Furthermore,
one may also use a “<hr>” tag to generate a horizontal line.

=======================================================================
Choice Window Creation
=======================================================================

The plugin provides an alternative choice window with more options including
row, column, and alignment control, along with the capability to add an
indefinite number of choices.

In order to set this up, simply use the plugin command:

CreateChoiceWindow [variableId] [choice1, choice2, choice3, …]

This will create a choice window with the defined choices and have the result
be placed within a variable defined by the “variableId”. If the first choice
is chosen, 0 will be placed into that variable. Choice2 will input a value
of 1, choice 3 will be 2, etc.

=======================================================================
Choice Window Setup Data
=======================================================================

In order to customize the columns, rows, and alignment for the Choice
window, the following plugin command must also be used before creation:

SetChoiceWindowData [cols] [rows] [align]

This will set the columns, rows, and alignment respectively.

For example:

SetChoiceWindowData 1 4 right

If you wish to reset the data, you can use the plugin command:

ResetChoiceWindowData

=======================================================================
Question Window Setup Choices
=======================================================================

Questions windows are windows that contain both information and the ability
to select a choice within itself. These are more stylized than normal
choice windows, providing a better alternative for developers in specific
situations.

SetQuestionWindowChoices [choice1, choice2, choice3, …]

To start, once must call this plugin command to set up the names of the
choices that will be shown on the question window. For example, if someone
wanted to create a “yes”/”no” question, they could do:

SetQuestionWindowChoices Yes, No

==============================================================================
Question Window Setup Data
==============================================================================

In order to customize the columns, rows, and alignment for the Question
window, the following plugin command must also be used before creation:

SetQuestionWindowData [cols] [rows] [align]

This will set the columns, rows, and alignment respectively.

For example:

SetQuestionWindowData 2 2 left

If you wish to reset the data, you can use the plugin command:

ResetQuestionWindowData

=======================================================================
Question Window Creation
=======================================================================

Once the choices are set up, one may call upon the Question window using
this plugin command:

CreateQuestionWindow [variableId] [message]

Once the choices are set up, this plugin command creates the question
window itself. The first input, “variableId”, should be a number representing
the ID of the variable the result will be stored in. The result will be
a number value, starting from 0, representing which choice was selected.

Here’s an example:

CreateQuestionWindow 3 Do you like cake?

This will create a Question Window that asks, “Do you like Cake?” and stores
the result in variable ID 3. Since we set up 2 choices from before, “Yes”
and “No”, the variable will be set to 0 is Yes is chosen, and 1 if No is
chosen.


Screenshot:

7 thoughts on “Window Upgrade – MV Plugin

  1. Dasheek (Runako)

    Thank you sumrndde for the manipulation of choice columns. Thats an awesome feature. All of this is great and visually appealing.
    I do have a question however.
    When creating a choice menu, will I have to assign every different choice pop up window I create to a specific variable id every time I create a new choice window?
    Also, Is this compatible with Himeworks disable choice condition and hide choice condition. It doesn’t appear to be, but maybe you can provide further information.

    Reply
  2. Coolnerd108

    I can’t change the colors of the HP and MP bar for some reason, like i did everything right but it dose not work (i’m using the KH menu btw).

    Reply
  3. David L Phillips

    will the picture choices plugin of yours work with this? if not can i request that it be added in? if you have time, thanks in advance.

    Reply

Leave a Reply

Don't worry. Your email will not be shown. :)
Also, I would recommend a leaving comment on the YouTube video in order to receive a faster reply.