Maybe I was not looking hard enough, but I noticed that i cant use variables for spells, weapons, etc. My idea was to have my skills(and some rare equipment) be able to be upgraded by consuming a item, and by doing this, i can call a common event, that part is easy, but I do not see a option for adding a variable as the weapon damage, or armor rating, or something in the damage formula. If I am just being blind, please tell me.
Variables for weapons, items, and/or skills.
RPG Maker MZ SupportThis is in MZ's instructions under the damage formula.
v[n]
v[n]
Wait, so I CAN use a variable? Nice, I didnt see that the first time I read it, thanks...but what about weapons and armor(and items like that)?
I'm not really sure what you're asking about that. If you're saying you want to consume an item and "upgrade" one weapon/armor to another...just use the event commands to remove that equipment from the party and add the other?
Then i would be making 100+ copies of the weapons, there should be a better way, upgrading skills and equipment is similar to consuming a stat boosting item, so it would be alot better if i could insert a variable to increase rather than just make copies with slightly better stats.
As I alluded in my last post, it's hard/impossible to give you good advice without you more clearly explaining exactly what you want to do and how you want it to work.
If you're upgrading one item to another, I see no reason that would require you to make any additional copies of the weapon.
If you're talking about keeping the item but changing attributes of it, I don't know of any plugins for MZ to do that.
If you're upgrading one item to another, I see no reason that would require you to make any additional copies of the weapon.
If you're talking about keeping the item but changing attributes of it, I don't know of any plugins for MZ to do that.
Damn, my apologies, yes, basically im just changing the attributes, like increasing the attack of a weapon, or increases the stat bonuses of armor or accesories, or increasing the healing or damage of a spell, things like that.
The confusing thing is you're talking the same way about things that are completely different.
Skills, Weapon and Armor are separate sections of the database, and the structure of a skill entry is entirely different from the two types of gear.
As already said, you can easily do what you're talking about with skills.
Weapons and armor do not work that way - the items in the game draw their attributes directly from the database entry every time they're checked. If you change one, you change it for all instances of that item in the game (and the change won't be saved).
There's a plugin by DungeonMind to make independent items that can be individually modified, but I don't know of any plugins that have been written to take advantage of it and provide any sort of interface or mechanics.
Skills, Weapon and Armor are separate sections of the database, and the structure of a skill entry is entirely different from the two types of gear.
As already said, you can easily do what you're talking about with skills.
Weapons and armor do not work that way - the items in the game draw their attributes directly from the database entry every time they're checked. If you change one, you change it for all instances of that item in the game (and the change won't be saved).
There's a plugin by DungeonMind to make independent items that can be individually modified, but I don't know of any plugins that have been written to take advantage of it and provide any sort of interface or mechanics.
I don't know what plugins exist for MZ, but in earlier variants of the RM's one solution were scripts or plugins for "Equipment Levels"
additionally, independent equipment was also a function of several Yanfly plugins, so there is a good chance that a similar option is included with Visustella - although that has other limits.
you might want to try searching with those terms
additionally, independent equipment was also a function of several Yanfly plugins, so there is a good chance that a similar option is included with Visustella - although that has other limits.
you might want to try searching with those terms
Apologies, I am still a little used to FES, which treats spells and items and equipment very similarly, and in that maker, you could select variables for them.
Thanks for trying, it seems weird that throughout all the plugins that exist, there isnt one for allowing to substitute a weapon or armor/accesory value with a variable.
they actually outright said before that that they have no intentions to port the independent items feature.
Instead of trying to change a weapon or armor stat, adjust the character stats directly. The player still consumes the item, but it changes the player's base stats instead. Use the Change Commands under the Actor section.
I did this on one of my projects. The player acquired them as rare random loot drops or rewards from defeating encounters.
Only the main protagonist could use the items.
I did this on one of my projects. The player acquired them as rare random loot drops or rewards from defeating encounters.
Only the main protagonist could use the items.
I suppose that is fine, but I wanted it to be like you find a rare material, and if you have this weapon and talk to this guy, it will enhance it, or this weapon's damage is based off of this ability's damage, etc.
Well, I've actually been trying to do a similar thing. Unfortunately, there's a lack of plugins for this.
You could have the weapon have a unique attack skill that scaled off a variable. Have an NPC that asks which weapon to use the item on, and increase that weapon's variable.
Use a conditional choice plugin to reduce clutter.
casper-gaming.itch.io
You could have the weapon have a unique attack skill that scaled off a variable. Have an NPC that asks which weapon to use the item on, and increase that weapon's variable.
Use a conditional choice plugin to reduce clutter.
[CGMZ] Conditional Choices for RPG Maker MZ by Casper Gaming
Add conditions to choices in the choice window
casper-gaming.itch.io
Original thread: https://forums.rpgmakerweb.com/threads/variables-for-weapons-items-and-or-skills.173630/