This script allows you to use formulas to define parameters for weapons and
All attributes that the equip holds can be referenced, including custom
attributes defined in other scripts.
For example, if you were using a script that provided equip levels, you can
define a formula that uses the level to determine the weapon’s parameters.
Script: download here
Place this script below Materials and above Main
To specify a parameter formula, note-tag a weapon or armor with
<param formula: TYPE> FORMULA </param formula>
Where the TYPE is one of
mhp - Max HP mmp - Max MP atk - Attack Power def - Defense Power mat - Magic Attack Power mdf - Magic Defense Power agi - Agility luk - Luck
The formula can be any valid formula that returns a number
The following formula variables are available
p - game party t - game troop s - game switches v - game variables
I can't decide between having basic weapons multiply ATK by 61% percent then weaker or stronger ones have a higher or lower multiplier, or to simply have it so that it is an additive value to where at any given point, an average weapon's ATK value will generally be about 60% of the main character's assumed level in that point in the game.
Multiplier values seem like it would make it so that there is less of a sense of material progression (unless you add special features and passive states to weapons), but as for an additive value, I feel like you'd just be throwing your old long sword in the trash mid-game, then your lightning blade away later on… you get the point. Hm…
I'd probably introduce an upgrade system where old weapons are required to create new ones.
for some reason, using this script, the fps drops a bit during the battle.
Does it drop a lot when you try it in a new project? How many equips are all of your actors wearing?
there was a decrease of 8 fps. It is a considerable value (mainly because I'm using a system of lateral battle, and it consumes processing – Battle Symphony) .
Was with 3 heroes, each hero had one equipment.
Unless the problem is my computer.
Hi, Hime. This script sounds really great, thank you.
I'm wondering if it would be possible to use the parameters of the equiped actor in the parameter formula. For example, for a weapon that would increase the attack of the equipded actor depending on the actor luck.
That was my original plan but some compatibility issues came up with the default scripts and I had to stick with just the equip attributes themselves.