Ramza's Equipment Optimization on Class Change -=Updated Sept. 12 2017=-

ramza

Lunatic Coder
Veteran
Joined
Jan 28, 2013
Messages
776
Reaction score
487
First Language
English
Primarily Uses
RMMV

Ramza's Equip Optimization on Class Changev1.20 (that's a mouthful of a title isn't it?)
Updated to version 1.20! Window position customization from plugin parameters! Horraj!

What is it?:
  • Makes it so that when a class is changed using YEP_ClassChangeCore, equipment can be automatically optimized.
  • Uses Iavra generic popup to pop a small notification window on screen to show that the optimization happened
  • Adds an option to the in-game options menu to toggle the function on and off, at player preference.
Screenshot? Why not?
optimize.png
(note that the popup notification will by default, show in the upper left hand corner of the screen)


If you are already using Iavra generic popup plugin, this notification will appear where you've already got it set up.

If you are not using it already, you can change the screen position of the popup by modifying line 173. Below is what I have in mine:


Using the modified version of iavra generic popup I have attached to this post, this plugin will now allow you to set the x and y positions of the equipment optimization popup window independently from whatever other popup windows you might already be using.

Dependencies:
Change log:
V 1.20

  • Added plugin parameters to adjust the x/y position of the popup window independent from the normal position of other popup windows you might be using. This requires an updated version of the Iavra Generic Popup script which is attached to this post.
  • The popup is set so it will now only be visible on the class change scene, meaning if you change classes and then immediately back out to the main menu scene, the popup window won't remain in view for several seconds.
V1.1
  • Added parameter to disable the in-game popup window
  • Added parameter to change the name of the option on the options menu
  • Added parameter to adjust the text shown in the popup window
  • Added parameter to adjust the width of the popup window
  • Fixed compatibility with the YEP_X_Subclass plugin, optimization happens on subclass change as well as class change
  • Backend changes to conform more closely with my other plugins


Terms of use:

  • You may use this plugin in your commercial or non-commercial games, with credit to me, Ramza.
  • You may make changes to the plugin, to add features, or compatibility with other plugins, for your own personal use.
  • You may share these changes as their own plugin extension to this one.
  • You may not directly share modified versions of this plugin publicly.
  • You may not claim ownership of this plugin.
  • You must also abide by the terms of use of all dependency plugins.


Special Thanks:
  • Iavra + Yanfly for dependencies
  • Bluebooth for reasons
  • Maliki79 for assistance with the options menu
Link:
RamzaOptimizeOnJobChange.js
 

Attachments

Last edited:

ThePotatoOfFire

8-bit Obsessed
Veteran
Joined
Jan 15, 2016
Messages
157
Reaction score
58
First Language
English
Primarily Uses
RMMV
Great plugin! Question: Does this work in battle?
 

ramza

Lunatic Coder
Veteran
Joined
Jan 28, 2013
Messages
776
Reaction score
487
First Language
English
Primarily Uses
RMMV
I don't think that it would, because any class change you do in battle would not be using yanfly's classchangecore plugin. If you could call the class change scene from battle, and have the player choose to change classes that way, it would work.
 

Maldra

Veteran
Veteran
Joined
May 31, 2017
Messages
63
Reaction score
7
First Language
English
Primarily Uses
RMMV
Hey! I was trying this plugin out and unfortunately it broke the yanfly subclass plugin. When this optimization plugin is on, it causes the subclass to change to the main class instead of switching the subclass like it should. Any idea on how to make it compatible with the subclass plugin?
 
Last edited:

ramza

Lunatic Coder
Veteran
Joined
Jan 28, 2013
Messages
776
Reaction score
487
First Language
English
Primarily Uses
RMMV
I have a pretty good idea of why this doesn't work with the subclass plugin. I'll see if I can figure out how to resolve the issue in the next few days.
 

Maldra

Veteran
Veteran
Joined
May 31, 2017
Messages
63
Reaction score
7
First Language
English
Primarily Uses
RMMV
That would be most appreciated! :)
 

ramza

Lunatic Coder
Veteran
Joined
Jan 28, 2013
Messages
776
Reaction score
487
First Language
English
Primarily Uses
RMMV
I have updated the plugin to v1.10.

Changelog:
  • Added parameter to disable the in-game popup window
  • Added parameter to change the name of the option on the options menu
  • Added parameter to adjust the text shown in the popup window
  • Added parameter to adjust the width of the popup window
  • Fixed compatibility with the YEP_X_Subclass plugin, optimization happens on subclass change as well as class change
  • Backend changes to conform more closely with my other plugins
You can get the new version by clicking the link in this post, or downloading the attachment, or downloading the file/attachment from the OP.
 

Attachments

Maldra

Veteran
Veteran
Joined
May 31, 2017
Messages
63
Reaction score
7
First Language
English
Primarily Uses
RMMV
Awesome, thank you!!!
 

ramza

Lunatic Coder
Veteran
Joined
Jan 28, 2013
Messages
776
Reaction score
487
First Language
English
Primarily Uses
RMMV
I have uploaded version 1.20 of this plugin with the following changes:
  • Added plugin parameters to set the x and y values of the optimization popup separately from any other iavra generic popup windows your project might already be using.
  • Adjusted the popup window call to only be visible on the class change scene, meaning the window will not linger for a couple of seconds if you class change and then immediately back out to the menu.
In order to facilitate the first change, I needed to edit the iavra generic popup script to allow the window X and Y values to b set as an additional option. I have uploaded a modified version of the plugin for you to use here.
 

Attachments

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,860
Messages
1,017,040
Members
137,569
Latest member
Shtelsky
Top