top of page

ON THIS PAGE

Adding new Item Types

Item types are defined by child classes of the PDA_ID_ItemBase Primary Data Asset class. To add a new item type, go to /Blueprints/DataAssets/ItemDefinitions, add a subfolder for your new item class in the appropriate place, then create a new child class of PDA_ID_ItemBase.

You can then add any new variables or functions as needed, and you can set custom default values for all variables for any item made using this class.

To add your new item type to the inventory, you have two options. Add it to the default value in the inventory component class’ Inventory Details, or add it to selected actors’ inventory components by modifying the Inventory Details on the component belonging to those actors.
 

01_InventoryDetails.png

 

Any items belonging to this item type can now be picked up and added to inventory components that include it in their Inventory Details.

bottom of page