Hey, I got a new plugin extension for Mog_BattleHub, that checks for the equipped weapons ID and the armors ID for the actors battle image (bust).
My game will have upgradable weapons/armor through crafting which means the weapon/armor + multiple crafting materials = new weapon/armor (with new ID).
Is there a way to put another ID in those upgraded weapons'/armors' notetags so they would behave like the original weapon/armor before it got upgraded? Or is that a horrible idea?
(I can do without this, this is just a means to minimize effort + storage of my game because I'd have to copy&paste a lot of .pngs which could build up some unnecessary storage.)
Hi!
These crafted weapons/armors will be dynamically generated by the player? Or all possible combinations will be already made on the database?
Change Id or generate a new weapon Id, only with a plugin that can dynamically change the database. And I don't know if someone has made this or not.
You can use note tags to set static information, like:
<NewId:10>
when you type
$dataWeapons[1].meta.NewId this will return '10'(as a string)
They are already predefined in the database, for example I'd have a Glaive (WeaponID 10) and a Glaive II (WeaponID 11) but want the Glaive II to have the weapon ID 10 too.
I haven't found a script that could do that. It is not necessary, but it would greatly decrease the storage space I'd need in the img/battlehud folder because I'd not need duplicated images for the actors in battle.
Basically, normally the actor battler image is named "Face_ActorID.png" with MOG_BattleHub.
Now, with my new plugin it's called "Face_ActorID_WeaponID.png" for example.
I want that the Glaive and Glaive II look the same, so by just having both be Weapon ID 10 I wouldn't need to have a duplicate of "Face_ActorID_10.png" that's called "Face_ActorID_11.png") (if Glaive II would be Weapon ID 11).
I don't know if your example will help me with that, because I don't actually do any conditions in events or something... right? D:
Ohhh... now I get it!
Maybe you can use a variable value instead of weapon Id?
But I think that would require to change the way the plugin reads the file.
If you could change it to read a variable value, instead of the weapon or armor Id, you can do something like that:
when a player equips weapon X, set the variable value to 10.
So, whenever the player equips a list of weapons( in your case Glaive I and Glaive II), the variable will be set to 10.
If the plugin is using weaponId, there must be something in the plugin like $dataWeapons[ID].
But you know, it is only a hint. Because I don't know what else the plugin can do, so don't know if this unique change can affect other things.