Hello, I have a question about equipping and unquipping items on a character. I used these resources to try and get it to work, but I was not able to get all the information that I need.
Video from Opsive Youtube Tutorial Series about the Inventory System:
Documentation: https://opsive.com/support/documentation/ultimate-inventory-system/item-objects/equipping-items/
I think I followed the instructions in these sources and checked multiple times if I was missing something, but maybe I have been overlooking something. My setup is clearly not done yet, as I think it is missing the input to equip/uneqip. I thought maybe I need an ItemAction for this, but I dont think there is one and I don't think it was mentioned in either source, that it was necessary. Or is it and I should try to code my own InputAction for that purpose?
So far I am able to add ItemPickUps from the scene to an inventory and I was also able to write a new version of the DropItem ItemAction for my game, where the item then is fed to a creature in the scene and a small tweening animation is played. However I do not want to use that anymore and instead equip/unequip the item.
I think overall the Ultimate Inventory System might be too complex for my skill level and my needs for the project and maybe I should try and code a simple inventory system on my own, but I have committed some time to try and get this system to work, so I thought I will ask here before trying something new on my own.
Thank you for any help!
On my character I have these components:
On my Inventory UI I have these components:
And these other components: (only 5 screenshots are attachable)
- Item View Drop Handler
- Item View Slot Drag Handler
- Item View Slot Move Cursor
Video from Opsive Youtube Tutorial Series about the Inventory System:
I think I followed the instructions in these sources and checked multiple times if I was missing something, but maybe I have been overlooking something. My setup is clearly not done yet, as I think it is missing the input to equip/uneqip. I thought maybe I need an ItemAction for this, but I dont think there is one and I don't think it was mentioned in either source, that it was necessary. Or is it and I should try to code my own InputAction for that purpose?
So far I am able to add ItemPickUps from the scene to an inventory and I was also able to write a new version of the DropItem ItemAction for my game, where the item then is fed to a creature in the scene and a small tweening animation is played. However I do not want to use that anymore and instead equip/unequip the item.
I think overall the Ultimate Inventory System might be too complex for my skill level and my needs for the project and maybe I should try and code a simple inventory system on my own, but I have committed some time to try and get this system to work, so I thought I will ask here before trying something new on my own.
Thank you for any help!
On my character I have these components:
On my Inventory UI I have these components:
And these other components: (only 5 screenshots are attachable)
- Item View Drop Handler
- Item View Slot Drag Handler
- Item View Slot Move Cursor