Complex, slot-based inventory system

Part 2 deals with creating our item master class and 3 different example items: A potion, a map and a ring.

Link: https://www.youtube.com/watch?v=OwKF1WcWJ10

Part 3

Link: https://www.youtube.com/watch?v=gFbmbejZ38M

Having finished the preparation work, we can now start to work on the core of the system: The inventory class.
First we create some helper functions before scripting the functionality to add items.

Part 4

Link: https://www.youtube.com/watch?v=_GDsLKioJOQ

Before creating the pickup class and testing the “add item” function, we create one more function inside our inventory and change the “add item” function so that it also returns the amount of items that could not be added.

I am liking the tutorials so far. I ran into an issue when doing that change in “add item”, needed to reconnect all of the node links for the class nodes (may have been the 4.13 upgrade conversion).

Thanks for the feedback and for bringing up the issue :slight_smile:
Pretty sure it is related to 4.13 since i did not update and did not get the error.

Part 5

Link: https://www.youtube.com/watch?v=8Osr1UsuEvA&feature=youtu.be

After we added our pickup actor and some debugging techniques in the last video, we can now address our current problem: The lack of visual aspects of our inventory system.
To do that we design and script our first widget which is the SlotWidget.

Part 6

Link: [Eng] Slot-based Inventory System: Creating the Inventory Widget #006 - YouTube

Since we created the widget for all of our individual slots in part 5, we can now go ahead and design/script our inventory widget which is a container for all of our slot widgets. Furthermore we create a function to populate the slots at runtime and create a main widget to put our inventory widget inside of.

thank you!

Part 7

Link: https://www.youtube.com/watch?v=o8m9SY9QoWo

This time we add the ability to reopen/close our inventory widget by pressing “i” or clicking the close button on our widget. Also we create our first drag and drop operation with which we can drag around our inventory and change its position in the viewport.

Your English is fine. Dude this is really cool of you. and i love your tutorial so far. i just watched the first 2 and find myself opening up unreal atm lol. thankyou!
maybe ill do some tutorials soon of things i learned as well.

Thanks guys :slight_smile:
This feedback really keeps me wanting to upload the next videos !

This is great! Subscribed

Part 8

Link: https://www.youtube.com/watch?v=NC8mrMhCRaw

In this episode we return to our inventory class and add more functions that we will need later in the series. Now our inventory is able to remove items, swap slots, split stacks and use items.

Part 9

Link: [Eng] Slot-based Inventory System: Adding the Action Menu #009 - YouTube

In this video we create a action menu which appears when we click a slot. The menu allows us to use the item on the slot, remove it or split the stack.

Nice Work there some feedback i see a lack of select nodes and to many branches used :p.

Just because i think it is easier for beginners to follow when you can see the different paths of a branch. When im working privately i use next to no branches :slight_smile:
Thanks for the feedback though!

Part 10

Link: https://www.youtube.com/watch?v=DlXvMA76rzM

Before we start working on dragging and dropping our items in the next episode, we create a “throw widget” with which we can control a counter to remove multiple items at once.

Part 11

Link: https://www.youtube.com/watch?v=S5gIELRnS5E

Today we add the ability for the player to doubleclick on an item to use it, add some inventory functions once again and create a widget to display while we drag an item so that in the next episode we can finish implementing the drag and drop functionality for our item slots.

Part 12

Link: https://www.youtube.com/watch?v=NcjWb2CMzPo

After we started the preparation for dragging our items in the last video, we can now go ahead and finish implementing drag and drop for the item.

Part 13

Link: https://www.youtube.com/watch?v=628hqEib7kM

Today we create a detail widget that appears when we hover over a slot and gives us additional information about the name of the icon, the category and the description.