[VisuStella MZ addon] Custom Parameters with leveling and gearing
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: > 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: +300> notetag to that item. Negative stats are
also possible.
⑥ Enemies. Add enemy notetag <cp: 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.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.
本贴来自国际rpgmaker官方论坛作者:JJMENET处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/visustella-mz-addon-custom-parameters-with-leveling-and-gearing.132760/
页:
[1]