Show Parameters

DreamX

Veteran
Veteran
Joined
May 30, 2015
Messages
816
Reaction score
821
First Language
English
Primarily Uses
show param equip core.png


Current Features


Define the parameters shown on the Yanfly's menu plugins. You can use custom parameters from Quasi Param Plus, too.


Future Updates


1. Be able to define the parameters shown individually for each equipment (optional).


2. Be able to show only parameters that are effected by the equipment (optional)


3. Integrate with Yanfly's Status Core so that you can define the parameters shown there too.


4. Integrate with Yanfly Shop Menu Core


5. Integrate with the default status menu


Script

Code:
 * ============================================================================
 * How To Use
 * ============================================================================
 * When defining parameters, you can either use the parameter number or
 * parameter abbreviation. Use lowercase. If you are using Quasi Params Plus, 
 * you can use the abbreviations from that plugin as well. 
 *
 * 0 - mhp
 * 1 - mmp
 * 2 - atk
 * 3 - def
 * 4 - mat
 * 5 - mdf
 * 6 - agi
 * 7 - luk
 *
 * For Parameter "General Parameters", use lo or hi after each parameter to
 * designate whether is displayed with a long box or a short one.
 * ============================================================================
 * Terms Of Use
 * ============================================================================
 * Free to use and modify for commercial and noncommercial games, with credit.
 * Credit Quasi for their parameter plugin.
 * ============================================================================
 * Credits
 * ============================================================================
 * DreamX
 * Thanks to Yanfly for their plugins.
 
Last edited by a moderator:

jojarth

Villager
Member
Joined
Oct 16, 2012
Messages
9
Reaction score
1
First Language
English
Primarily Uses
I sure did mean attack! Thanks for catching that.


At first I couldn't figure out why it wasn't working, but it turns out one of the plugins I was using was taking over the status menu (Not sure which, as none of them should). However, when I try the above in a new game with no plugins, it works like a champ! Now I start the process of making the change in all the other menus, and figuring out which plugin held it. 


And by reading your code, I learned something, which is even better. Thanks a ton for your help DreamX! I'll keep an eye out on your plugin, and make sure you get credit if I ever actually release!
 

Goldschuss

A.K.A. Lye
Veteran
Joined
Dec 4, 2015
Messages
192
Reaction score
71
First Language
German
Primarily Uses
RMMV
Is there an option to hide certain stats, when leveling up with yanflys aftermath plugins?
 

DreamX

Veteran
Veteran
Joined
May 30, 2015
Messages
816
Reaction score
821
First Language
English
Primarily Uses
v0.2


Updated a lot, unless I missed something I've enabled the showing/hiding of any battler parameter in Item Core, Equip Core, Status Core and Victory Aftermath Level Up

Is there an option to hide certain stats, when leveling up with yanflys aftermath plugins?
In the newest update!
 

ICF-Soft

Veteran
Veteran
Joined
Aug 15, 2015
Messages
228
Reaction score
104
First Language
Spanish
Primarily Uses
RMMV
I haven't tested your plugin in particular but any custom stats that are integrated with the Game_BattlerBase.prototype.param function would probably work.
I'll check when finished.


It uses new Game_BattlerBase.prototype.NParam and Game_BattlerBase.prototype.PParam types but I'm thinking about adding even more types.
 

kovak

Silverguard
Veteran
Joined
Apr 3, 2016
Messages
1,256
Reaction score
1,558
First Language
PT - EN
Primarily Uses
RMMV
I'm kinda confuse about how i should display my parameters.
So far i aways get this erro when i try to display a ex-param or sp-param


TypeError: Cannot read property '1' of undefined
    at Game_Actor.paramBase (rpg_objects.js:3832)
    at Game_Actor.paramBase (/D:/Drive/The%20Last%20Princess/js/plugins/YEP_CoreEngine.js:1145)
    at Game_Actor.Game_BattlerBase.param (rpg_objects.js:2441)
    at Game_Actor.Game_BattlerBase.param (/D:/Drive/The%20Last%20Princess/js/plugins/DreamX_ShowParam.js:317)
    at Window_StatCompare.drawCurrentParam (/D:/Drive/The%20Last%20Princess/js/plugins/YEP_EquipCore.js:824)
    at Window_StatCompare.drawCurrentParam (/D:/Drive/The%20Last%20Princess/js/plugins/VE_DualWield.js:1331)
    at Window_StatCompare.drawItem (/D:/Drive/The%20Last%20Princess/js/plugins/YEP_EquipCore.js:800)
    at Window_StatCompare.refresh (/D:/Drive/The%20Last%20Princess/js/plugins/DreamX_ShowParam.js:537)
    at Window_StatCompare.setActor (/D:/Drive/The%20Last%20Princess/js/plugins/YEP_EquipCore.js:780)
    at Scene_Equip.refreshActor (/D:/Drive/The%20Last%20Princess/js/plugins/YEP_EquipCore.js:957)
 

DreamX

Veteran
Veteran
Joined
May 30, 2015
Messages
816
Reaction score
821
First Language
English
Primarily Uses
Can you show me the parameter setting you were using?
 

kovak

Silverguard
Veteran
Joined
Apr 3, 2016
Messages
1,256
Reaction score
1,558
First Language
PT - EN
Primarily Uses
RMMV
it happened when i wrote this in the Equip Param


0 1 2 3 5 cnt

i've tried to add the lo and hi/ sh and the error persisted
 
 
Last edited by a moderator:

DreamX

Veteran
Veteran
Joined
May 30, 2015
Messages
816
Reaction score
821
First Language
English
Primarily Uses
it happened when i wrote this in the Equip Param


0 1 2 3 5 cnt
 
I tried this in the equip scene with equip core. Works for me. Try turning plugins off to narrow it down.
 
Last edited by a moderator:

kovak

Silverguard
Veteran
Joined
Apr 3, 2016
Messages
1,256
Reaction score
1,558
First Language
PT - EN
Primarily Uses
RMMV
EDIT: issue is with VE Dual Wield

Maybe it's cuz it changes how right and left hand damage is displayed in the equip scene.
I had to figure out that the def slot displays the off hand damage.


I've noticed that i can't use other things like elementRate(1) as well.
 
Last edited by a moderator:

DreamX

Veteran
Veteran
Joined
May 30, 2015
Messages
816
Reaction score
821
First Language
English
Primarily Uses
EDIT: issue is with VE Dual Wield

Maybe it's cuz it changes how right and left hand damage is displayed in the equip scene.
I had to figure out that the def slot displays the off hand damage.


I've noticed that i can't use other things like elementRate(1) as well.
Okay, I'll work on it.


Element rate isn't really a parameter. I'll think about adding the option, though.
 

kovak

Silverguard
Veteran
Joined
Apr 3, 2016
Messages
1,256
Reaction score
1,558
First Language
PT - EN
Primarily Uses
RMMV
Forget the element resistance, though it would be nice to have it compatible with AP block instead.
 
 
Last edited by a moderator:

DreamX

Veteran
Veteran
Joined
May 30, 2015
Messages
816
Reaction score
821
First Language
English
Primarily Uses
0.3


Fixes for showing xparam, sparams and custom parameters from Quasi Params Plus
Compatibility with Yanfly Shop Menu Core
Please use the latest version of Quasi Params Plus for custom parameters

Forget the element resistance, though it would be nice to have it compatible with AP block instead.
 
Try asking Alistair if they could use Object.defineProperties so I can more easily make it compatible.
 

kovak

Silverguard
Veteran
Joined
Apr 3, 2016
Messages
1,256
Reaction score
1,558
First Language
PT - EN
Primarily Uses
RMMV
So i can't use Quasis's Param Plus to display Alistar's AP Block, right?



I'm still gettin an error when i try to add the Counter Rate, but i think it's a different error now.
 
 
Last edited by a moderator:

DreamX

Veteran
Veteran
Joined
May 30, 2015
Messages
816
Reaction score
821
First Language
English
Primarily Uses
So i can't use Quasis's Param Plus to display Alistar's AP Block, right?
No, it's handled differently.

TypeError: Cannot read property '10' of undefined


    at Game_Actor.paramBase (rpg_objects.js:3832)
    at Game_Actor.paramBase (/D:/Drive/The%20Last%20Princess/js/plugins/YEP_CoreEngine.js:1145)
    at Game_Actor.Game_BattlerBase.param (rpg_objects.js:2441)
    at Game_Actor.Game_BattlerBase.param (/D:/Drive/The%20Last%20Princess/js/plugins/DreamX_ShowParam.js:313)
    at Window_StatCompare.drawCurrentParam (/D:/Drive/The%20Last%20Princess/js/plugins/DreamX_ShowParam.js:718)
    at Window_StatCompare.drawItem (/D:/Drive/The%20Last%20Princess/js/plugins/YEP_EquipCore.js:800)
    at Window_StatCompare.refresh (/D:/Drive/The%20Last%20Princess/js/plugins/DreamX_ShowParam.js:710)
    at Window_StatCompare.setActor (/D:/Drive/The%20Last%20Princess/js/plugins/YEP_EquipCore.js:780)
    at Scene_Equip.refreshActor (/D:/Drive/The%20Last%20Princess/js/plugins/YEP_EquipCore.js:957)
    at Scene_Equip.create (/D:/Drive/The%20Last%20Princess/js/plugins/YEP_EquipCore.js:877)
I am not getting this error. Can you tell me the steps to recreate this error in as few steps as possible? Or you can prepare a small demo.
 
Last edited by a moderator:

kovak

Silverguard
Veteran
Joined
Apr 3, 2016
Messages
1,256
Reaction score
1,558
First Language
PT - EN
Primarily Uses
RMMV
Let me guess, you've updated it to RMMV 1.3, right?

I haven't updated mine cuz my project uses plugins that are old and may break my game if i update.
 

DreamX

Veteran
Veteran
Joined
May 30, 2015
Messages
816
Reaction score
821
First Language
English
Primarily Uses
Let me guess, you've updated it to RMMV 1.3, right?

I haven't updated mine cuz my project uses plugins that are old and may break my game if i update.
Yes, I did update.
 

Zarsla

Veteran
Veteran
Joined
Jan 23, 2015
Messages
708
Reaction score
227
First Language
English
Primarily Uses
Um... where to place this plugin in relation to Yanfly's and Quasi's Plugins?
 

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

Latest Threads

Latest Profile Posts

I noticed random Japanese dialogue in the FF7 remake while playing in English. More than once. Just now I saved a vid where Tifa spoke Japanese after a battle. We all make mistakes lol, this is kinda funny though
I wonder if the new RPG Maker will have a built-in ABS for maps or a light effect system plugin out of the box.
Not having false expectations, but if it has both, then wow. I am gonna party all night. Nah I lie. I will party all night anyway, just searching for a good excuse. :stickytongue:
And BAM!, the moment you do understand Python setters by studying JS prototypes. That's called SERENDIPITY, coming with something when you was searching for something else. From "The three Princes of Serendib", a persian novel.
The sinking feeling when you realize your grandmother probably isn't long for this world, and the frustration when you know that this pandemic will take her away...not because she has Covid, but because no doctor is willing to see a patient to even run simple diagnostics anymore if one of her symptoms happens to be a recurring fever, even if her primary care physician gives her the test and it comes back negative.
Will be revealing my project to the forum soon.

Forum statistics

Threads
99,616
Messages
967,338
Members
131,291
Latest member
Lucafont
Top