Starter Inventory And Items

The Starter Inventory system easily adds pickup-able items and a straightforward inventory menu into your project. You can quickly customize item details to make unique instances, and simple UI elements allow quick customization to your specific project.

Category:
Tags: , , , , , , , , , , , , , , , ,

Description

The Starter Inventory system easily adds pickup-able items and a straightforward inventory menu into your project. You can quickly customize item details to make unique instances, and simple UI elements allow quick customization to your specific project.

By adjusting the exposed variables in the Item_Base Class, you can create items that have a variety of specific pickup behaviors. Examples include: an item that picks-up instantly when the player is near, items that require a button push to pickup, or an item that requires a button be held for a duration of time.

By creating Children of the Item_Base Class, you can create item specific actions to be executed, such as using an “ammo pack” has a different in game action than using a “health kit”. The Item_base class comes with 4 built in actions that can be turned on or off per instance, including “Use”, “Drop”, “Dismantle” and “Equip”. Instructions on adding more actions can be found in the Documentation.

The inventory is a slot-based system where you can set the overall size of the allowed inventory, as well as create stacking rules per item type that you have. This system allows items to be stacked to a variable quantity, like collecting lots of “small” items that can all share one slot or allowing you to create “unique” or large items that take up a whole slot by themselves.

Smart logic is used to fill item stacks before attempts to fill an inventory slot. The system also has logic to handle “spill over” in the case that too many items are added to the inventory, and there is no room in stacks or slots. More detailed Placing and Stacking functions can be found in the Documentation.

Technical Details

Extendable “Item_Base” Blueprint Class supporting:

UI Messages and feedback:

Included Example Item blueprints:

Additional Details:

Supported Engine Versions

4.19 – 4.27, 5.0 – 5.3