Editing Modding/Inventory

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 3: Line 3:
 
The '''Inventory''' composes of anything to do with items from their use to their storage.
 
The '''Inventory''' composes of anything to do with items from their use to their storage.
  
βˆ’
== Custom Item Data ==
+
=== Custom Item Data ===
  
 
Information about items and their stats are stored in UInventoryItemDataAssets. To create a custom item based on an existing item type would you create an instance of an item data asset in the content browser:
 
Information about items and their stats are stored in UInventoryItemDataAssets. To create a custom item based on an existing item type would you create an instance of an item data asset in the content browser:
Line 11: Line 11:
 
Which class you pick is based on what type of item you want to create. For example to create a backpack you would use UWearableInventoryItemDataAsset. If you cannot find the class you are looking for you can open an existing item data asset similar to the one you want and view its type.
 
Which class you pick is based on what type of item you want to create. For example to create a backpack you would use UWearableInventoryItemDataAsset. If you cannot find the class you are looking for you can open an existing item data asset similar to the one you want and view its type.
  
βˆ’
== Custom Item Types ==
+
=== Custom Item Types ===
  
 
If the item you want to create is wildly different from anything currently in-game your best bet is to create a subclass of UInventoryItemDataAsset, or the closest existing item class. From there you can add extra information and behavior to your item, and override item data functions.
 
If the item you want to create is wildly different from anything currently in-game your best bet is to create a subclass of UInventoryItemDataAsset, or the closest existing item class. From there you can add extra information and behavior to your item, and override item data functions.
  
βˆ’
== Advanced ==
+
=== Advanced ===
  
 
* For custom item overlays, context menus or inspectors: [[/Item menu builders|Item menu builders]].
 
* For custom item overlays, context menus or inspectors: [[/Item menu builders|Item menu builders]].
  
 
{{Navbox tutorials (U4)}}
 
{{Navbox tutorials (U4)}}
Cancel Editing help (opens in new window)

This page is a member of 1 hidden category: