Inventory System

#For the past couple of days I’ve been working on the new Inventory System for Tower Unite.

####The inventory system consists of a data backend that can be saved / loaded / and networked to clients and a UMG frontend that dynamically populates a grid with Inventory Slot UI Elements.

####The backend is divided up into 3 basic components:

  • Inventory Items
  • Inventory Slots
  • Inventory Containers

Inventory Items are Unreal Actors that can be placed in the world, and can also be stored internally as UObjects for the purposes of serialization and data storage.

They are also Blueprintable, allowing designers / modders to create their own items for the game.

Items are loaded at runtime using the AssetManager so they can be added without needing to recompile the game.

Inventory Slots can each contain a specified class of Inventory Item.

The items in this new system stack based on type.
So if you have 4 trampolines you only need a single slot to store them in.

Inventory Containers can be anything that contains items, like a backpack, or a vault.

An inventory container basically has a list of Inventory Slots and manages the overall networking / synchronization of the player’s inventory.

There is also a set of utility functions to control how items get distributed among individual slots.

###Now that I’ve bored you to death with technical details, here’s an early screenshot of the UMG frontend working in-game.

very early prototype

####I’ll keep you all posted as I work on this core component of the game.


Looks awesome Zak. And don’t worry about boring us (or well at least me) with the details hahaha!


Those are not boring technical details. They’re useful! At least we now know that the inventory will have a stack system :slight_smile:


Definitely loving the stacking system!

1 Like

Looking forward to seeing how this eventually works with the Steam Inventory system :grin:

So does this mean that we have a setting to sort items in an inventory? Or does it mean that it remembers where we place things in the inventory via a stored matrix?

It means that when you receive an item in the game, the inventory system will figure out the ideal slot to put it in based on quantity and type.

Inventory is already stored in place, so however you organize your stuff, it’ll stay like that.

Sorting and filtering are also possible, I’ll be looking into those features soon.

###Status update: Drag and Drop support finished

Goodnight :smile:



I’m also going to assume that the scaling isn’t finalized in terms of your character and the furniture.

Working on a concept for the new inventory.

Basically we’re considering getting rid of the Vault/Trunk all together and creating a Stash that you will always have access to everywhere. It’s the same concept, but you don’t have to move yourself to a physical spot to access it. It’ll always be there for you.

Since we have the ability to stack items on top of each other, I also have a concept for what that would look like (it’s the circle with the 2 in it).

Hotbar will return, but it’ll be part of the backpack - which is your active wear inventory that you carry around with you and, just like GMod Tower, you will have limited slots for that. The Stash will have as many slots as you need.

Oh and it’s colored grey because you’ll be able to color it however you like.


Looks really lovely! And loving the ideas as well!


( •_•)>⌐□-□
You are working fast.

1 Like

It looks simply amazing. Much more dynamic and fluid than the GMT system. The more time that passes, the clearer is that you’re an amazing team!

1 Like

Wow, it works so smooth.

Cant wait for that. It looks nice and its highly usable.

Got another update to the UI concept. I’m thinking of having the right two buttons lead to Quick Settings and Appearance for quick access to the things you typically need to adjust while playing.

As for the backpack, I’m considering making all equippable/active wear remain there and all furniture and placeable items would be in the furniture (or stash).

I might have one more revision before I’m happy - there still isn’t wearable slots for the backpack.


It looks even better! Keep going!

Alright after some feedback (and UI done by @Spriteclad), I’ve got another revision of the inventory UI.

That’s right, sorting, filters, and a search bar!

On top of that, I wanted a way for users to know when inventory has been added so I put a little notification (the ‘!’) to let them know to check out what’s changed:


It looks amazing and practical. I think all the changes are great. I really appreciate sorting and searching in all kind of inventories :slight_smile:

1 Like

Oh man, that search bar…

I think I’m in love.

1 Like

This looks fantastic so far.