[VisuStella MZ addon] Custom Parameters with leveling and gearing

JJMENET

Warper
Member
Joined
Jan 29, 2021
Messages
2
Reaction score
2
First Language
Korean
Primarily Uses
RMMZ
Motivation:
Deviating from built-in system from RM is always my thing. Team VisuStella have had a great job making nice plugins, in this time especially custom parameter in core engine.

Unfortunately, my greed turns out to be greater than what it provides: I wanted those custom parameters to grow along leveling up and to be affected by equipment. I couldn't find how to do those, so I just made those myself.

============================================================================

Introduction

============================================================================



This Script will be managed only while VisuStella MZ not implementing this.



What this plugin does:

* Add per-level base parameter configuration by Classes

* Add base parameter configuration by Enemies

* Enables equips to affect your custom parameters flat

* Enables custom traits to affect your custom parameters in Actor, Class, Equip



so that we can design some 'progress' on these parameters.



============================================================================

How to Use

============================================================================



Requirement: VisuStella MZ Core Engine. Place this plugin below that.



① Set your custom parameters in VisuMZ_0_CoreEngine.

Then you decide and write somewhere down the relation between some number and

your custom parameter. Just use 1, 2, 3, not 42, 1000000 or such.

i.e.,

STR ↔ 1

DEX ↔ 2

CON ↔ 3 and so on.(we will use this example onward)



② In each custom parameter setting, replace Value Javascript with following:



// Declare Constants

const user = this;

// Calculations

return user.customParam(1);



number is 1 if it is for STR, 2 for DEX, and such. Done with VisuMz_0_CoreEngine.



③ In this plugin, set Parameter with your largest number of your custom parameters.

Make a miss here and you see your game cannot even start.

Done here with this window.



④ This plugin is for classes and equips, and enemies. for class, this plugin gives

a level curve to the classes. More precisely just a level straight line.



You want your Swordsman's CON to be 18 on level 1 and 300 on level 99, you add notetag

<cp[3]: [18, 300]> to your Swordman class. you can change 18 and 300 as you want,

but not levels because I have no time. Growth is just linear because I have no time.



⑤ Then Equip flats. Say you want your Skimpy Swimsuit to give your character

+300 DEX. then just add <cp[2]: +300> notetag to that item. Negative stats are

also possible.



⑥ Enemies. Add enemy notetag <cp[1]: 18> for 18 STR of that enemy.

For now, this plugin do not cover Enemy Levels Plugin.



⑦ Last, custom traits with % inc/decs. this works on actor, class, equips.

If you want your Hero to be have 50% increased STR(that's 150%),

write <cpr[1]: 1.5> in Hero's notetag.



============================================================================

What this plugin cannot do (for now)

============================================================================



* No custom parameter buff.

Maybe I can add them later if I can.



* Limitation on how to make parameter curve.

I guess you can edit this plugin to suit your needs. That part is in the

'Game_Actor.prototype.customParamBase' function. I can also work on this sometime,

but priority is low.



============================================================================

Terms of Use

============================================================================



Use freely. No Credit needed but appreciated.

In case of credit just put 'JJMENET' somewhere.



============================================================================

Note

============================================================================



* This plugin will be no more maintained if Team VisuStella cover this feature.

I just made a working sample, not a maintainable software and making

such a software should be appreciated.



* Thank you whole RM community including Team VisuStella for ongoing great work.



============================================================================

Version History

============================================================================



1.01

Added support for enemies.



1.00

Initial and unnoted updates.



============================================================================

End of Helpfile

============================================================================

It's my first plugin and posting. Any comment constructive will be appreciated. Thank you.
 

Attachments

  • JJMENET_CustomParametersPlus.js
    9 KB · Views: 17
Last edited:

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
42,127
Reaction score
14,643
First Language
English
Primarily Uses
RMMV

I've moved this thread to MZ Plugin Releases. Please be sure to post your threads in the correct forum next time. Thank you.

 

CrocPirate

Veteran
Veteran
Joined
Sep 1, 2020
Messages
32
Reaction score
15
First Language
English
Primarily Uses
RMMZ
Excellent plugin. Great job.

But I do have a question. Would the notetag <cp[1]: [x,y]> work for enemies as well?
Basically, could assign the custom parameters (or even parameter growth, in case we make enemies that can change level using the Visustella Enemy Levels Plugin) to enemies?

Also will, in the future, this plugin would support the option to alter the custom parameters using States?
(i.e., adding <cpr[1]: 0.5> to a State's notes to temporary cut the target's custom parameter 1 in half.)
 

JJMENET

Warper
Member
Joined
Jan 29, 2021
Messages
2
Reaction score
2
First Language
Korean
Primarily Uses
RMMZ
Excellent plugin. Great job.

But I do have a question. Would the notetag <cp[1]: [x,y]> work for enemies as well?
Basically, could assign the custom parameters (or even parameter growth, in case we make enemies that can change level using the Visustella Enemy Levels Plugin) to enemies?

Also will, in the future, this plugin would support the option to alter the custom parameters using States?
(i.e., adding <cpr[1]: 0.5> to a State's notes to temporary cut the target's custom parameter 1 in half.)

Thank you for the comment. my bad, I almost forgot to set enemy parameter. I just added the functionality now. You can <cp[1]: 18> on enemies now with updated file. Unfortunately, I haven't checked the Enemy Level plugin by now, so implementing that will be difficult for now, so not <cp[1]: [10, 100]>. Sorry for that.

Custom parameter rate change using States is in my plan, though! It's just matter of time. Keep watching. Thanks!
 

CrocPirate

Veteran
Veteran
Joined
Sep 1, 2020
Messages
32
Reaction score
15
First Language
English
Primarily Uses
RMMZ
Cool. Thanks for your hard work!
 

Latest Threads

Latest Posts

Latest Profile Posts

Alisa: Prophecy of the Falling Stars. Join Alisa, a quiet girl with a heart filled with love and hope, on her journey to prevent a calamity. My next RPG Maker music pack is my largest and most focused pack yet. It's a musical story that focuses on a young heroine named Alisa who has been assigned the ultimate task to prevent a calamity.

SnJj_O.png
Alien Worlds, Minecraft Blocks, Extend Options, Fine Speed Control, Art by Muggu | RPG Maker News #33

Rest in Peace vlog gun...
vloggunsmallface.png
Another unnamed character, and probably last one for now.
She's a dragon girl inspired by fafnir dragon. as always, name suggestion is welcomed.
Dragon_Girl.jpg

Dragon_Girl_1.png

Forum statistics

Threads
111,164
Messages
1,058,883
Members
144,408
Latest member
Bretzel68440
Top