Weapon Hand Slots
This section defines the Weapon Hand Slots.
Weapon Hand Slots are used to define in which UI slot the weapon item can go, for example Any Hand can go in both Main Hand and Off Hand UI slots. Then Main Hand can only go in the Main Hand UI slot and Off Hand only in to the Off Hand UI slot. If a weapon is marked as Two Hand then the item can only go in to the Main Hand UI slot.
The default entries are: Any Hand - Main Hand - Off Hand - Two Hand.
Learn more about how Weapon Slots are used here
This editor module is locked due to the Weapon Hand Slots being hard coded.
Meaning you can not create new entries for this module by default. If you wish to unlock it then go to RPGBuilderEditorModuleWeaponHandSlotModule.cs and put // in front of line 120, now you can create entries in this module. However these entries won't function because of the default ones being hard coded. If you want to make use of your newly created Weapon Hand Slot entries you will have to adjust the code accordingly, you can do so starting from InventoryManager.cs line 285.
Fields
Field Name | Function |
---|---|
Weapon Hand Slot | Name of the asset data in the project and editor. |
Display Name | The name that will be displayed to the player. |
On This Page
Weapon Hand SlotsThis section defines the Weapon Hand Slots.Weapon Hand Slots are used to define in which UI slot the weapon item can go, for example Any Hand can go in both Main Hand and Off Hand UI slots. Then Main Hand can only go in the Main Hand UI slot and Off Hand only in to the Off Hand UI slot. If a weapon is marked as Two Hand then the item can only go in to the Main Hand UI slot.The default entries are: Any Hand - Main Hand - Off Hand - Two Hand.Fields