MZ visumz - assigning custom params to armor / weapons etc

i just cant figure this one out. ive been having chat gpt help me with code and so far ive gotten a custom parameter to work and show up in the menus and equipment screen, and ive figured out how to add and subtract from the parameter using scripts and events.

what i cant figure out, is how to attach a value to the custom param to a piece of armor, and have it actually alter the param when its equipped and unequipped. i have a test strength parameter and its call is customStrength. is there not a notetag to account for this? ive read over the core and items core over and over and all i can find are note tags to alter the basic params in the engine but not anything custom. i cant imagine theyd put the function to code in custom ones and not be able to call them on equipment though...would they?!
ive been having chat gpt help me
Folks here have seem to have come to a consensus that they won't help anyone who is using ChatGPT to code for them.

The reason being is that it often adds gobbledigook code, it doesn't really know how to program, and winds up creating a bigger mess than if a real programmer made it from scratch.

Good luck, hopefully someone will be interested in helping.
Folks here have seem to have come to a consensus that they won't help anyone who is using ChatGPT to code for them.

The reason being is that it often adds gobbledigook code, it doesn't really know how to program, and winds up creating a bigger mess than if a real programmer made it from scratch.

Good luck, hopefully someone will be interested in helping.

Well I'm not a real programmer and thankfully having chat gpt help me learn how to write JavaScript is extraneous information pertaining to the issue im asking about. Without getting into the fact that ai assistance has been available to programmers through things like copilot for years now....

I'm a construction worker and dad who likes to tinker and although this isn't relevant to you or anything else, I'm just trying to piddle around and make a little game my kids can play and can say their dad made it.

I can forgo the custom stats and just go a different direction, but what I want to know is if I'm misreading something, or if there's a note tag call I'm not aware of to get these stats to work, or if this is a bigger programming issue that Im faced with.

Thanks for your response but it wasn't really necessary, but I'll take the free bump.
So contrary to however you perceived my response, this was not some passive aggressive jab at hoping you never get an answer. I spend a lot of time on the forums, hoping to assist people make their games.

I was simply informing you that the consensus amongst the programmers here is that they generally do not assist with any plugins that have been made or tampered by ChatGPT.

It's cool you're doing that for your kids, though.

Good luck.
So contrary to however you perceived my response, this was not some passive aggressive jab at hoping you never get an answer. I spend a lot of time on the forums, hoping to assist people make their games.

I was simply informing you that the consensus amongst the programmers here is that they generally do not assist with any plugins that have been made or tampered by ChatGPT.

It's cool you're doing that for your kids, though.

Good luck.

I feel like I'm in the twilight zone. It says right in the visumz core that if you want to manipulate the custom stats you have to use JavaScript. I'm not tampering with the plugin, im doing as instructed and the script it spat out for me made sense and doesn't seem extraneous.

Are you familiar with any of the visumz plugins or are you just here to tell me I won't get help?
I think what @TheAM-Dol is trying to get at is that it would've saved you time and frustration to ask people when you first had the question. As sanctioned lawyers who presented fabricated cases to judges can attest, ChatGPT is not a reliable research tool.

As a side note, per the section guidelines, please provide links to the plugins you're asking about. I had to poke through VisuStella documentation to figure out what plugin you might be using in the first place for custom parameters.

I believe you've approached the entire thing from a misunderstanding of the plugin you're using, and asking a computer doesn't tell you that. From the Core Engine documentation:
1718991383040.png


The only thing you're doing in those plugin parameters is essentially creating a variable with a name and displaying it in your menu. The VisuStella plugin suite does not give you any way to manipulate that variable to make your game treat it as a parameter.

You would have to use some other plugin for that functionality. In MV, there's waynee95's On Equip Eval. Using that, you'd give your armor the notetags - for example -:
Code:
<Custom On Equip Eval>
user.customStrength += 2;
</Custom On Equip Eval>

<Custom On Remove Equip Eval>
user.customStrength -= 2;
</Custom On Equip Eval>
to affect your customStrength on that actor by 2.

Now, that is an MV plugin; it doesn't have to do with any parts of the engine that were drastically changed by MZ, so I suspect it may just work. But if it doesn't, you'll have to see if anyone knows of something made natively for MZ that offers the same functionality - I'm not familiar with one.
I think what @TheAM-Dol is trying to get at is that it would've saved you time and frustration to ask people when you first had the question. As sanctioned lawyers who presented fabricated cases to judges can attest, ChatGPT is not a reliable research tool.

As a side note, per the section guidelines, please provide links to the plugins you're asking about. I had to poke through VisuStella documentation to figure out what plugin you might be using in the first place for custom parameters.

I believe you've approached the entire thing from a misunderstanding of the plugin you're using, and asking a computer doesn't tell you that. From the Core Engine documentation:
View attachment 309111

The only thing you're doing in those plugin parameters is essentially creating a variable with a name and displaying it in your menu. The VisuStella plugin suite does not give you any way to manipulate that variable to make your game treat it as a parameter.

You would have to use some other plugin for that functionality. In MV, there's waynee95's On Equip Eval. Using that, you'd give your armor the notetags - for example -:
Code:
<Custom On Equip Eval>
user.customStrength += 2;
</Custom On Equip Eval>

<Custom On Remove Equip Eval>
user.customStrength -= 2;
</Custom On Equip Eval>
to affect your customStrength on that actor by 2.

Now, that is an MV plugin; it doesn't have to do with any parts of the engine that were drastically changed by MZ, so I suspect it may just work. But if it doesn't, you'll have to see if anyone knows of something made natively for MZ that offers the same functionality - I'm not familiar with one.

Solved

Thank you for your time. I see you all over the forums regularly. The plugin you mentioned worked as intended, but I couldnt get the equip screen to update the numbers and whatnot and it ended up not being very user friendly for me. I also scrapped everything else that chat gpt made me. I ended up landing on this guys plugin ( https://forums.rpgmakerweb.com/inde...-parameters-with-leveling-and-gearing.132760/ ) , which directly piggybacks off of the visumz core custom parameters and i got it working.

So for those who end up here looking for a way to use custom stats on armor get that plugin. Its very basic and doesn't have a whole lot of features, but it works with the visumz equip core windows and whatnot.

Original thread: https://forums.rpgmakerweb.com/threads/visumz-assigning-custom-params-to-armor-weapons-etc.169675/