Zum Inhalt springen
Medium 1 für Eintrag Modular Inventory Component - Code Plugins - C++/GameplayTag

Beschreibung

This is a code plugin that contains a new Inventory Component , the system is extremely modular and relies on GameplayTags to filter your Inventory.

Just add the component to any Actor and create GameplayTags for each Item type. It's scalable and modular, so the actual "Items" don't matter. The system will handle it just by the GameplayTag. (Example in the project).

  • Component is done in C++ and can be used as parent class for a Blueprint Class version.

  • All functions are done in C++ for efficiency and accessible via Blueprint.

  • Delegate are also in place and called when the inventory values are changed. So you can for example subscribe to it within your UI and it will be called automatically when any changes are done to the inventory. And only when changes are done - so you don't have to check constantly.

  • It comes with a recipe system, so you can remove/transfer/add full inventory to another inventory (with built-in checks that allows or not the transfer).This is great for example to automatically add/remove/transfer multiple items at once with check to make sure the inventory has what it needs, or pay/refund recipes - again all based on GameplayTags.

  • The component doesn't rely on the actor it is added to. (So it could be use for things like Chest/Storage/Crafting system...etc.. while using all the same system and able to communicate to each other).

This is an extremely modular and scalable system that is also extremely fast and efficient in term of performance, only making call and change when it is needed and not relying on explicit inventory item, everything you want can be an item inside the Inventory. This is a Code plugin, please make sure to enable the plugin after installing it, the component will show up in the list for you to add to any actor or modify in Blueprint to add your own twist to it. (Every functions are exposed to Blueprint).

Documentation : https://docs.google.com/document/d/1cxPK_awi_78Iher3YFU_G_an7MdzIGo22s543OfDJo0/edit?usp=drive_link

Enthaltene Formate