Just a question: what are the main differences between this new "core: equip slots" series and your older "equip manager"?
From what I've seen so far you're optimizing and modularising the functions, but haven't yet ported all functions to the new variants.
Originally I planned to use your equip manager, but that was before you started this new script series for equipment. Since my game is still in the planning stage, I could change to the new approach without problems, but I would like to know if you plan to rewrite all of the old options or if you plan to implement only some of them, going in a different direction with the new equip scripts...
There are two key differences in design.
1. Core: Equip slots abstracts equip slots into its own entity while preserving the interface, which means I don't have to overwrite any methods beyond initialization. Therefore, increased compatibility between scripts.
2. Whether an equip can be equipped or not is based on two things:
-equip type, which determines whether the slot can take it or not
-armor/weapon type, which determines whether the actor can equip it
The equip manager eliminated the equip type and performed all checks based on the armor/weapon type.
The Equip Slots still use the default checks.
The only function that remains is the type checking, and have thought of a way to implement it.
Why are you using a hash with numeric keys for configuration?
That's an array.
Sorry to bother you Tsukihime,i got an error in the line 423:
comparision with nil failed,when i tried to use the equip slot 7 with other slots in a character,excuse me for my bad English and thanks for this great script.
PD:
The error only appears if you use the slot 7 along with other slot,standalone works fine...
Check Core Equip Slots and make sure Slot_Order has all of the equip type ID's.
Oops! Thanks you Tsukihihime,it is fixed now.
Tsukihime,
Is there a way to make an equip slot have multiple options? Let's say my character has the choice of equipping a ring or taking an extra herb into battle. It would add for a little more strategy than always giving the accessory only slot. I would like the same for weapons too. You could carry an extra weapon into battle but it would be in place of your item.
You are awesome Tsukihime! You are taking over the spot of "Most Used Scripts" in my game 🙂
Hello!
I was wondering if it's possible to seal an equip slot when equipping certain items.
For example: My game uses Gems, Orbs, and Badges. I want the player to be able to wear 1 at a time. So when the player equips "Gem", the player can no longer equip an Orb/Badge.
Thanks!
Suppose I had an actor who only uses one type of equip — let's say medals, for instance — could I use this script in order to allow all of their equip slots to be fitted with the same thing? e.g., rather than 'Weapon', 'Armour', etc., they have 'Medal', 'Medal', 'Medal'?
Ah, thank you for the heads-up! Much appreciated.
edit: it took me thirty seconds to accomplish what I wanted with that script — thank you
Hey man I'm looking to give one of my characters a different set of equipment slots than others (because he is a hound) is this possible via your script?
Very cool thanks was at work Nd didn't have script Iinfront off me