Hello All! I hope this is in the right place. But I have hit a bit of a snag in my game development.
I know how to lock an equipment slot. However, I have a unique circumstance.
I have a character that can DUAL WIELD. And I simply want one hand to be locked. So one weapon remains equipped for the rest of the game, but the other weapon can be changed out freely. Right now if I add a trait to "LOCK:WEAPON" it locks BOTH weapons, but I need to be able to designate just ONE.
Is there a notetag or simple plugin I can use to get away with this?
yanflys plugins can help. create different slot names for each hand using equip core to assign these custom slots to actors. then lock the specific slot.
by dual wield im assuming the battler can use 2 weapons, one in each hand. its kinda hard to figure it out _ to me, at least) because the 1st final finatasy translations used 2 weapons and dual grip, and then, somewhere in time, the terminology changed - many times over.
It doesn't work. All that does is create an equipment called 'Weapon', which is only recognized as an armor.
The closest thing I can find to a solution is to create a weapon type that only that character can use, set it so that this is the ONLY weapon type they can use, set that weapon to Dual Wield and set it to unlock the weapon types of all the other weapons that the character can use. The problem of doing it this way is that certain skills require certain weapons to be able to use them, and it still allows the player to have no weapon equipped at all. All this means is that, if they want to give this character a weapon, they need to have that specific weapon equipped first.
man... you have to notice 2 things:
1 - you gotta read the entire plugin help and ADAPT to your case.
2 - whenever you change main core "vanila" mechanics via plugins, you have to either be prepared to skip some mechanics or redo them with other plugins.
heres what i do:
rename the weapon slot to something like main weapon;
create another type called 2nd weapon;
create other slots as my heart desires;
give the main and 2nd slots to a battler via notetags (yanfly equip core);
if theres a skill that needs a weapon equiped, make a custom show condition (yanfly skill core) and make so that the weapon gives a specific state that make it so that the skill will only be shown on the battlers skill list if the state is present (i find it easier to check for present states, you can find other checks);
if i need the state to be shown, so that the player kind of knows its there but cant use it without a weapon, id use the custom requirement condition instead of custom show (both yanfly skill core).
create, in the skills that would show 2 weapons in action, the 2 weapons animations (yanfly action packs 1~3);
modify the attack in the battle command window to use another skill instead to easily represent the 2 weapons attack (yanfly weapon unleash + action seq. packs 1~3).
im sorry, kid. i dont know of a plugin that would already do all of that for you; i can only recommend ways to program your own way of doing these things.