Additional, custom parameters

Hi dwellers of the forums,

I need help for something the title explicitely explains. I looked over 2015-16 threads but the answers weren't exactly what I was looking for.
There are 8 base parameters MHP MMP ATK DEF MAT MDF AGI and LUK. How to add an extra one? Like, say, Stamina, or Power, or Weight, or Dexterity, or any other new custom stat?

This "new stat" would work like most others : it's displayed in the Status screen (right below Luck) with its value, it would have a code-name so it could be used in formulas (i.e user's stamina ==> a.sta , target's power ==> b.pow , and so on), and I could give it a formula with notetags or something to define its Parameter Curve for classes (such as "20 + 5*level". I doubt I'll be able to use the Database's Parameter curving since it's custom content here).

I don't want to rename the 8 already existing stats, neither D: because my game would have like ~11-12 base stats anyway

Thanks in advance if you halp :^:
A quick search of the forums and I found this. https://forums.rpgmakerweb.com/index.php?threads/plugins-for-adding-more-parameters.64241/

Good luck on your quest
as indicated by the first poster, you'll need a plugin to do this.
Moved to: Plugin Request
@Andar Sorry I wasn't sure if this required a plugin, I thought it would be possible to edit the source code to add a 9th parameter, right after luck. Thats' why I posted it in the "how to" section... anyway, mb, will take care next time

@Skunk Yup I've been searching on this page as well, yet actually, most of the plugins proposed there don't fulfill the job

mrcopra's http://yanfly.moe/2016/02/12/yep-69-extra-parameter-formula/ plugin is about modifying the formula for Extra Parameters.
I think he just got confused with the plugins name, Extra refering to the Extra Paramaters on their own, not actually adding new fresh parameters

Ice bear's post is referring to some plugins, but it's like if someone edited his post because there are no link or no plugin names D:
The only one he mentionned, https://forums.rpgmakerweb.com/index.php?threads/bobstahs-custom-stats-1-3-2.48551/ I tried it but it plain doesn't work properly (also Bobstah, the developper, doesn't seem to be active anymore) here some screens 🙂 I'll go with a stat called Power

Spoiler: Big pic
l5D157Z.jpg

Bobstah's plugin works if you have a flat, non-using-variable value. A NUMBER basically
But if you input a variable that needs to be evaluated, it doesn't work, like level. My character was level 1 and did 0 damage
The formula on the second row of pic is literally copy-and-pasted from the plugin help, I just changed Stat into Power.

Cheah's -I guess- not what I'm looking for, I want my new parameter to be below Luck in the main status windows, not in another "Variable tab", my new stat would be an important one like ATK, DEF, etc.
Even though, stocking a character's base parameter into a variable, and changing this variable whenever the actor equips, desequips, gets a stat buff, debuff, levels up so the stat increase... as this Actor Variable script suggests, would be over-complex 🙁

So I went with ICF-Soft's plugin, which is the only one which is relevant, actually works and also accepts customization. Now it makes me wonder, the new stat I freshly invented (Power in my case), there's no way to display it + its value in the status window akin to that, right? :
Spoiler: Big pic episode 2
7ZFfBUM.jpg
To edit the display, you'd need a plugin.
Yeah, nailed it T^T
PMFQaec.jpg

I tried to add my stat manually in the source code (rpg_objects.js, I ctrl-F'd for some stats names) but I didn't have any hope of this working lol, I can't JS very good
The basic params are numbered from 0 to 7. Using this.param(8) will give an error.

You can show the new created params with ICF-Soft Status Menu with up to three columns plus equipment.

What params core plugin version do you use?
Regarding parameters/stats I use Yanly's core and Yanfly's parameter control (one of the main reason being setting the Paramater limit over >999), I use Yanfly's class base parameters for better non-spaghetti parameters formula, and his extra parameter formula plugin as well.
And of course, your plugin v1.0. Thanks for answering btw helps a lot since you made it 😀

So I gave a try about your Status Menu plugin, I didn't know you had one. I am doing something wrong? It doesn't seem to work, take a look (I only have the plugins I mentioned above, and your Status menu plugin is correctly UNDER the Params Core one) :

Spoiler: big pic the complete trilogy
c0zLlrU.jpg
BIyQ0tz.jpg
KGPWn7z.jpg

EDIIIIIT : I managed to display my Power stat on my menu with highly unprofessional coding but at least it works.

Now tragic turn of events I had a problem with your plugin @ICF-Soft it just plain doesn't work '^'
v1.0 worked but I wanted to update to your v1.03b version, and thats where it stopped working.
Even in a new, pluginless project :

Spoiler: spoiler here
1) I create a new project. No plugin inside aside from ICF-Soft Params Core v1.03b
MJFHFYB.jpg

2) I call my NParam0 stat strength. I let the formula by default like you wrote it, 30 base stats + 15 for each level. That's all what I customized in the plugin, I didn't even add custom actor formula via notepads or anything
tQOxlWh.jpg

3) Giving a skill (the default basic attack) a simple formula to test out my new stat, it should deal like 30 or 30+15 damage, something like that I guess
AZyHygu.jpg

and well

Or am I doing something wrong?
There are more advanced versions of these plugins in my blog. You'll also seed Main Utility before Params Core.
Spoiler
Attach1.png
Attach2.png
Attach3.png
Edit: I didn't see you have latest version. It needs Main Utility to work. You can open console by pressing F8 and see where are problems.
There are more advanced versions of these plugins in my blog. You'll also seed Main Utility before Params Core.

oh heck yes the problem was that I didn't add the main core program utility to make it work, derp
Now that I added it, my custom stats work again. I'll credit you for the plugins 😛

Thanks a lot 😀 all my issues are solved now


EDIT : @ICF-Soft it's not possible to have a formula for the NParam's Grow stat, right?
like going <NPARAM: Power 5 Math.pow(level,2)> for instance

My stat curve isn't linear like straight line, it goes exponential depending on user's level 😮
Glad it works.

You can add formulas inside classes for param and nparam grow stats.

<CUSTOM NPARAM BASE Power>
value = 5;
value += (this.level - 1) * Math.pow(2,log(50));
</CUSTOM NPARAM BASE>

All info can be found inside help section of the plugin.
Ohh alright it's an actual javascript expression used for the formula, <NPARAM: NParam Base Grow> is just for simple, linear/constant curves.

I couldn't have figured out I should have written this.level instead of a.level. I did see the lunatic formulas in the help, but was slightly confused about how to manipulate it. Probably because I suck at JS

It correcly works now tank 🙂

Original thread: https://forums.rpgmakerweb.com/threads/additional-custom-parameters.81659/