Flying Donkey Inventory
Every item, recipe, loot table, affix pool and currency of Flying Donkey Inventory in one window, with checks that catch mistakes before your players do, Grip Studio to set held items in the hand by eye, and one switch for how your game equips: survival belt or RPG slots.
Flying Donkey Inventory keeps everything a game knows about its items as data: what each item is and does, what can be crafted from what, what drops from a chest or a creature, which bonuses a weapon can roll and which currencies a wallet holds. The Inventory Toolkit is the one window where all of that is written: a page for each kind of data, the editor's familiar details panel to fill it in, buttons to create, save, check and find each asset, and Grip Studio, where a character holds each tool and weapon so its grip can be set by eye. It is one plugin, with nothing else to buy or install. This guide installs it, walks through the window, explains every field and what it does in play, works through the plugin's example data step by step, and lists every message the checks can give with how to fix it.
About Flying Donkey Inventory · Flying Donkey Inventory on Fab · Download the guide as a PDF
Install and set up
Flying Donkey Inventory is one plugin: the inventory itself (items, bags and storage, equipment, the hotbar, wallets, crafting and loot), ready-made widgets, an optional bridge to Unreal's Gameplay Ability System, example data, and the Inventory Toolkit with Grip Studio, the editor window most of this guide is about. It needs no other product. This chapter installs it, says what comes with it and what your own code needs.
Requirements
| Engine | Unreal Engine 5.8. |
| Platform | Built and tested with the Windows editor. |
| Engine plugins | Gameplay Abilities and Niagara. They come with Unreal and switch on with Flying Donkey Inventory: there is nothing to install. |
| Other products | None. The inventory works on its own; Gameplay Abilities is used only by the optional bridge (below), so a game without GAS uses everything else. |
| Project type | Blueprint or C++. Installed from Fab, the plugin comes built and works in the editor of a Blueprint project too. Packaging a game needs Visual Studio 2022 with its C++ tools installed, whatever the project type: Unreal compiles the plugin into your game (for a Blueprint project it makes the C++ build target it needs by itself). A C++ project is needed to build the plugin from source (copied into the project's Plugins folder), and for code of your own that uses its classes. |
Install and enable
- Install Flying Donkey Inventory from Fab (the Epic Games Launcher › Fab Library › Flying Donkey Inventory › Install to Engine). Or copy the plugin's FlyingDonkeyInventory folder into your project's Plugins folder: it is then built from its source with your project, which must be a C++ project.
- Open your project. In , search for Flying Donkey Inventory and tick Enabled. Gameplay Abilities and Niagara switch on with it.
- Restart the editor when it asks.
- Open the toolkit from , and choose your game's Game Style (chapter 6) before making items.
The plugin's parts
| Module | What it gives you | Add it to your Build.cs when your code uses |
|---|---|---|
| FlyingDonkeyInventory | Items, bags and storage, equipment, the hotbar, wallets, crafting, loot. No GAS. | The components (FDInventory, FDEquipment, FDWallet, FDHotbar, FDCrafting) or the item assets in C++. |
| FlyingDonkeyInventoryGAS | The bridge to Gameplay Abilities: equipping grants abilities and stats, consumables apply their effects, affixes become attributes. | The bridge's classes; add GameplayAbilities too. |
| FlyingDonkeyInventoryUI | Ready-made widgets: the bag, equipment, hotbar, wallet, crafting with its queue, a two-pane container window (chests, storage, loot), a vendor, a feed of items gained, a character screen that holds them, item description and slot. Each can be replaced by a Widget Blueprint of your own. | The widget classes in C++. |
| FlyingDonkeyInventoryEditor | The Inventory Toolkit and Grip Studio. Editor only. | Nothing: never a game module's dependency. |
In a game, the components go on the player's pawn: FD Inventory for the bag, FD Equipment for what is worn and held (with FD Equipment Visualizer to show it on the body), FD Wallet for money, FD Hotbar for the quick slots, FD Crafting if players craft, FD Inventory Commands and FD Container Session for requests the server checks, and FD Inventory HUD to put it all on screen. The next chapter does exactly that in ten minutes.
What comes with it
The plugin carries its own content. The Content Browser shows it once Show Plugin Content is ticked (the Content Browser's Settings button); it is then under Plugins, in Flying Donkey Inventory's content folder (its path in the editor is /FlyingDonkeyInventory).
| Folder | What is in it |
|---|---|
| Examples | A small, complete set of data to read and copy: fifteen items (resources, food, potions, four tools), eight recipes, two loot tables, a weapon affix pool and a gold currency. This guide's pictures and examples use them. |
| Examples/Meshes | The four example tools' models (an axe, a dagger, a hammer, a pickaxe), each with its material. They are public-domain (CC0) models from Poly Haven, credited in the plugin's THIRD_PARTY.txt. The tools are set up to be held in the right hand of Epic's Manny and Quinn (the hand_r bone). |
| UI | The ready-made widgets as Widget Blueprints (WBP_FDInventory, WBP_FDHotbar, WBP_FDCharacterScreen and the rest), to use as they are or to copy and restyle. |
| Examples/Map | L_FDInventoryExample, a map to play straight away: open it and press Play. The example character with every component and things to start with, a chest, four crafting stations (a workbench, a chemistry table, a cooking fire, an enchanting table) and a trader, each block labelled with the key that uses it. BP_FDExampleCharacter (made from the plugin's FD Inventory Example Character) has no body: set a Skeletal Mesh and Anim Class on its Mesh to see what it holds. |
The example data needs nothing outside the plugin. Copy what you want to keep into your own folders rather than editing the examples in place: a later version of the plugin may replace them.
Your first inventory in ten minutes
The quickest way to see the plugin is to play it. Here you give the Third Person template's character a bag, a hotbar and the character screen, then play: put the example axe on the hotbar and hold it, drink a potion, forge a second axe, and empty a chest. Nothing here changes the plugin's examples.
Just want to look around first?
Open the example map, Examples › Map › L_FDInventoryExample, and press Play: everything below is already there, labelled.
- Open the character. In a project made from the Third Person template, open Content › ThirdPerson › Blueprints › BP_ThirdPersonCharacter.
- Add the components. In the Components panel press + Add and add each of these (type FD to find them): FD Inventory, FD Equipment, FD Equipment Visualizer, FD Hotbar, FD Wallet, FD Crafting, FD Inventory Commands, FD Container Session and FD Inventory HUD.
- Starting items. Select FD Inventory. Beside Starting Items press ⊕ four times, and set the entries to DA_Item_IronAxe 1, DA_Item_HealthPotion 3, DA_Item_IronOre 6 and DA_Item_Wood 12. (The asset list shows the plugin's examples once Show Plugin Content is ticked in its settings.)
- Some gold. Select FD Wallet. Beside Balances press ⊕: Currency Tag Item.Currency.Gold, Amount 100.
- A recipe. Select FD Inventory Commands. Beside Allowed Recipes press ⊕ and choose DA_Recipe_IronAxe.
- Compile and save the Blueprint, then press Play.
- The screen. The hotbar sits at the bottom of the screen. Press I: the character screen opens with the bag, the equipment, crafting and the gold. Drag the axe from the bag onto the hotbar's first slot. Right-click a potion: it is drunk, one fewer. Press Esc.
- In hand. Press 1: the axe is in the character's right hand. Each number key chooses its hotbar slot, and the mouse wheel moves along the bar. (This is the Survival style, the plugin's default: the chosen slot is what you hold. Chapter 6 explains the styles.)
- Craft. Press I, choose Forge Iron Axe in the crafting list and press Craft. Four seconds later a second axe is in the bag, for three ore and ten gold, and it has taken a free hotbar slot by itself.
- A chest. Stop playing. In the Content Browser, right-click › Blueprint Class, open All Classes, choose FD Loot Container and name it BP_Chest. In it, add a Static Mesh component with the engine's Cube (scale 0.8, 0.5, 0.5) so it can be seen and looked at, and set Loot Table to DA_Loot_Combat in the Details panel. Drag BP_Chest into the level near the Player Start and play.
- Open it. Walk up to the chest, look at it and press E: its window opens beside your bag. Press Take all (or R): what it held moves into the bag, and the items gained are listed for a moment at the right of the screen. Press Esc.
That is the whole loop: data from the toolkit, on a character, in play. The chapters that follow cover each page of the toolkit; chapter 13, In play, covers the screens, the keys, crafting stations and traders.
What the Inventory Toolkit is
Flying Donkey Inventory runs on data. An iron axe is not code: it is a small asset that says what the axe is called, how it looks in the hand, how long it lasts, what it costs to repair and which bonuses it may roll. A recipe is another asset that says three iron ore and ten gold make one. A loot table says what a fallen bandit leaves behind. The Inventory Toolkit is the one window where all of these are made and changed.
The idea in one minute
- Item
- Anything a player can carry: a resource, a potion, a tool, a weapon, a piece of armour. One asset per kind of item (one for every iron axe in the game).
- Item Tag
- The item's name for the rest of the game, a gameplay tag such as Item.Resource.Wood. Recipes, repairs and item counts find items by it.
- Recipe
- What goes in (items by their tag, and currency), what comes out (items), where it can be made and how long it takes.
- Loot table
- A list of possible drops with their chances, rolled when a chest is filled or a creature falls.
- Affix and affix pool
- An affix is a rolled bonus on one particular item (+12 physical damage). An affix pool lists the bonuses an item can roll, with their ranges.
- Currency
- Money a wallet can hold: gold, silver, tokens. A game can have as many as it likes.
- Fragment
- An optional piece added to an item that gives it a behaviour: grant abilities while equipped, restore health when drunk.
- Game Style
- One project-wide choice: do players hold tools and weapons from the hotbar (Survival), or equip weapons into hand slots on the character screen and keep tools on the hotbar (RPG)?
How the pieces connect
| This | Uses | By |
|---|---|---|
| A recipe's inputs | Items | Their Item Tag |
| A recipe's outputs | Items | The item asset itself |
| A loot table's entries | Items | The item asset itself |
| An item's affixes | An affix pool | The pool asset |
| Prices, costs, currency drops | Currencies | Their Currency Tag |
| An item's repair cost | Items and currencies | Their tags |
Two rules follow from this table. Give every item its own Item Tag, because a recipe asking for Item.Resource.Wood accepts any item tagged exactly that. And keep each tag the same once the game is played: renaming a tag means every recipe and cost that names it must change too.
About the pictures
The pictures in this guide show the plugin's example data (chapter 1): an iron axe, potions, ore, a combat loot table. Your own project shows your own assets beside them.
Before you start: gameplay tags
Flying Donkey Inventory names things with gameplay tags: short dotted names such as Item.Resource.Wood or Equip.Slot.Head. The toolkit's tag fields offer a list of your project's tags to pick from. Add new tags in .
| Tag family | Used for | Examples |
|---|---|---|
| Item.… | Item Tags and category tags | Item.Resource.Wood, Item.Weapon.Axe, Item.Tool.Hammer |
| Item.Consumable | Marks an item that can be used up (eaten, drunk) | Item.Consumable.HealthPotion |
| Item.Tool | Marks a tool: under RPG it lives on the hotbar (chapter 6) | Item.Tool.Pickaxe |
| Item.Currency.… | Currency Tags | Item.Currency.Gold |
| Equip.Slot.… | Equipment slots | Equip.Slot.Head, Shoulders, Chest, Wrists, Hands, Waist, Legs, Feet, Mainhand, Offhand, Neck, Trinket, Ring (worn in Ring.1 or Ring.2) |
| Station.… | Crafting stations | Station.Workbench, Station.CookingFire |
| Affix.… | Affix Tags | Affix.Damage.Physical, Affix.AttackSpeed |
| Loot.Category.… | Optional loot table labels | Loot.Category.Dungeon |
Tags that come with the plugin. Item.Consumable, Item.Tool and the Equip.Slot tags above are defined by the plugin itself, so every project has them. The example data's own tags (Item.Resource.Wood, Station.Workbench and the rest) are in the plugin's Config/Tags/FlyingDonkeyInventoryExamples.ini, and are in the tag list of every project with the plugin switched on. Use them, or make your own beside them.
The window
A tour
| Part | What it is for | |
|---|---|---|
| 1 | Game Style | How your game equips: Survival (the hotbar holds tools and weapons), RPG (main-hand and off-hand slots) or Custom (chapter 5). The gear beside it opens the toolkit's own settings (which folders its lists look in). |
| 2 | Pages | One page for each kind of data (Items, Recipes, Loot Tables, Affix Pools, Currencies), and Grip Studio for how held items sit in the hand. Click one to switch. |
| 3 | Asset and its buttons | The asset this page shows (click its name for a searchable picker; a * after it: unsaved changes). + New makes another of this kind, Save saves it (checked out first under source control) and reports what its checks find, Check looks for mistakes without saving, Browse shows it in the Content Browser. |
| 4 | Asset list | Every asset of this kind by name, with its folder under it (and how many there are; here only the plugin's examples, as the toolkit's folders are set to them). Click one to show it, or type in the search box to narrow the list. An item's own icon shows beside it; an empty frame means it has none yet. |
| 5 | Details | The asset's fields, in the editor's own Details panel. Its search box finds a field by any part of its name. |
| 6 | Preview | Items only: the item's mesh (left-drag turns it, right-drag tilts it, middle-drag slides it, the wheel comes closer, F frames it again), or its icon when it has no mesh. |
| 7 | With your settings | What the project's Inventory settings make of this item under the Game Style in use: whether it goes on the hotbar, where it equips, how it stacks, wears and rolls affixes. It follows the Game Style as you switch it. |
Each page opens on the first asset of its kind in name order. User Guide at the top right opens this guide.
Opening it
Open it from . It opens as a tab you can dock anywhere, like any editor window: drag its tab beside the Content Browser, or onto a second screen.
To open it on a particular asset, right-click that item, recipe, loot table, affix pool or currency in the Content Browser and choose Edit in Inventory Toolkit. The toolkit opens (or comes to the front) on the right page, showing that asset.
Your game's own menu
A project can move the toolkit's menu entry into a menu of its own with two lines in Config/DefaultEditor.ini: [GameplayAuthoring] and Menu= followed by the menu's name. If the entry is not under Tools in your project, ask whoever set the project up where it went.
Working with assets
Pick an asset
The asset list down the left of the page (part 4 of the tour) holds every asset of the page's kind, by name, with its folder under it. Click one to show it. The search box above the list narrows it as you type any part of a name.
An item shows its own icon beside its name (its Icon field); an empty frame means it has none yet. Icons are yours to make: the plugin's examples carry three, to show the slot at work.
The asset's name above the list (part 3) is a picker too, the editor's own: click it, type, and pick.
In a large project, the gear in the top bar opens the toolkit's own settings, where Content Folders limits the lists to the folders you are working on (chapter 15).
Make a new one
- Press + New. The editor's save window opens, titled Create New Asset.
- Choose the folder on the left and type a name at the bottom. Name assets by kind (DA_Item_Lantern, DA_Recipe_Lantern, DA_Loot_Wolf): the asset list's search then finds each kind by its prefix.
- Press Save. The new asset is created, empty, and shown on the page, with a * after its name: it exists in the editor but not yet on disk.
- Fill it in (the following chapters explain every field), press Check, then Save.
Fill it in
The fields are the editor's ordinary details panel. If you have used one before, nothing here is new:
| You see | It means |
|---|---|
| A triangle beside a group name | Click to fold or unfold the group. |
| A tag box with a ▾ | Click to pick a gameplay tag from the project's list; the × beside a tag clears it. |
| An asset box (a picture and a ▾) | Click the ▾ to pick an asset of the right kind. The arrow button beside it puts in the asset selected in the Content Browser; the folder button shows the chosen asset there. |
| N Array elements with ⊕ and a bin | A list: ⊕ adds an entry at the end, the bin empties the list. Each entry's own ▾ inserts, duplicates or deletes that entry. |
| A curved arrow at the right end of a row | The field differs from its default; click to put the default back. |
| A flag beside a text box | The text can be translated (Unreal's localization). |
List rows sum up their entry on one line, so a list can be read without opening it: Iron Ore × 1–4, weight 3 (92% a pick).
Changes take effect in the editor at once (play in the editor and you play with them), and the asset name gains a * until it is saved.
Save, check and find
Save saves the asset shown, and only it. When the editor is connected to source control (Perforce, Git and so on), Save checks the file out first, or marks a new asset to be added. The line under the buttons says what happened: Saved DA_Item_IronAxe., or why it was not saved.
Check looks for anything that would stop the asset working in play, without saving it. Save runs the same checks, so you see them either way.
| Part | What it tells you | |
|---|---|---|
| 1 | Unsaved changes | The * after the name: the asset has changes that are not saved yet. |
| 2 | What Check found | One line for each finding. Problem: the asset will not work in play as it is (the message turns red). Note: it works, but probably not as you meant (gold when there are only notes). |
| 3 | The entry at fault | Entries [1], whose row summary shows the impossible range: 4 to 2. |
A Problem is something that will not work in play as it is: a recipe that can never be crafted, a loot table that drops nothing. A Note is something that works but is probably a mistake: a weapon with affix slots and no pool to roll them from. Chapter 14 lists every message.
Browse shows the asset in the Content Browser, to rename it, move it or see what uses it (right-click › Reference Viewer).
Check a whole folder
The same checks run in the editor's own data validation: right-click a folder in the Content Browser › Validate Assets in Folder, or select assets › right-click › Asset Actions › Validate Assets. The results open in the Message Log. Unreal also runs them whenever an asset is saved.
Choosing a Game Style
The three buttons at the top right set how your whole game equips. Choose once, early.
| Style | The hotbar | The equipment panel shows | Weapons and tools |
|---|---|---|---|
| Survival (the default) | Players choose a slot with the number keys (1 to 0) or the mouse wheel; the chosen slot is lit. A tool or weapon there is taken in hand; a potion or food there is ready to use. One thing is in hand at a time. A tool or weapon the player gets (crafted, looted, bought) takes the first free slot by itself (the hotbar component's Auto Place New Tools, on by default). | Helmet, Shoulders, Chest, Wrist, Gloves, Belt, Legs, Boots, Charm: what is worn, no hand slots | Live on the hotbar and are held in the Survival Hand Slot |
| RPG | Holds tools and usable items. A tool's key takes it in hand; the weapon stays the Main Hand item but is put away (its abilities and stats off; hidden, or on its Put Away Socket). Pressing the key again puts the tool away and the weapon is back out. A potion's key drinks one. No slot is chosen or lit, the mouse wheel does nothing, and nothing is put on the bar by itself. | Helm, Spaulders, Chest, Bracers, Gloves, Belt, Legs, Boots, Main Hand, Off Hand, Ring 1, Ring 2, Amulet, Trinket | Weapons and shields are equipped into Main Hand and Off Hand from the bag or the panel, and never take a hotbar slot. Tools (a category tag under Item.Tool) live on the hotbar |
| Custom | Takes anything allowed on it; pressing a slot equips or puts away its item, or uses it. | Nothing by default: each equipment panel lists its own slots | As you design |
Both styles use the same slot tags and name them their own way: Equip.Slot.Head is the Helm under RPG and the Helmet under Survival, Equip.Slot.Trinket the Trinket or the Charm. Blueprint's Get Slot Name gives a slot's name in the current style.
Rings. A ring's Equip Slot Tag is Equip.Slot.Ring. A slot tag with numbered tags directly below it is a kind of slot: the ring goes in whichever of Equip.Slot.Ring.1 and Ring.2 is free, or the one the player drops it on. Make your own the same way (Equip.Slot.Earring.1 and .2).
The keys are your game's: bind the number keys and the mouse wheel to the hotbar widget's Select Slot and Scroll Selection (Blueprint nodes).
In every style the hotbar is a belt beside the bag: an item put on it leaves the bag's grid and takes no bag room, and taking it off the belt needs room in the bag.
Click a style to choose it. It takes effect at once, and a message at the bottom right of the editor says whether it was saved to your project's Config/DefaultGame.ini (checked out first under source control). Share that file with your team like any other change: everyone's editor and every build reads the style from it.
Switching while playing. A change of style reaches a game that is running in the editor at once. The hotbar follows it: switching to Survival takes off the bar anything Survival does not allow there, and the tool or weapon already in hand is put on the bar, if it was not there, and chosen; switching to RPG takes weapons off the bar (they stay in hand). The equipment panel shows the new style's slots. A game can switch style itself, for example for a server that runs in RPG mode: Blueprint's Set Game Style (C++: UFDInventorySettings::SetGameStyle) changes it for that one running program, not in the project's settings, so call it on the server and on every player's machine; Get Game Style reads it.
The style does not retag your items
Each item says which slot it equips into (its Equip Slot Tag, chapter 7). Changing the style changes how slots are used, not which slot an item names. The simplest set-up works in both: give one-handed tools and weapons Equip.Slot.Mainhand, the default Survival Hand Slot, and give tools a category tag under Item.Tool. In Survival they all go on the hotbar and into the hand; in RPG a weapon equips into Main Hand and a tool goes on the hotbar. The example tools are set up this way. Give shields and other off-hand items Equip.Slot.Offhand: they are RPG-only.
The Survival Hand Slot is a project setting: › Survival Hand Slot. Left empty it is Equip.Slot.Mainhand. Only equippable items whose Equip Slot Tag is this slot can go on the hotbar in Survival. A project can name a slot of its own (say Equip.Slot.Held) when the thing in hand should never be confused with an RPG weapon slot.
Items
An item asset has four groups of fields: Item (what it is), Equipment (how it is worn or held), Affixes (the bonuses it may roll) and Fragments (behaviours added to it). Only Item matters for every item; a log of wood leaves the other three empty.
What the item is
| Field | What it does |
|---|---|
| Item Tag | The item's name for the rest of the game (Item.Weapon.Axe). Recipes, repairs and item counts look for exactly this tag: Item.Resource does not match Item.Resource.Wood. Give each item its own. |
| Display Name | The name players read. |
| Description | The text in the item's tooltip and description panel. Fragments add their own lines under it (a potion lists what it restores). |
| Icon | The picture in inventory slots, the hotbar and tooltips. |
| World Mesh | The model shown when the item lies in the world. |
| Category Tags | Groups the item belongs to: for filters in the inventory, and for tool requirements (a recipe that needs a hammer asks for Item.Tool.Hammer). A tag also counts for its parents: an item tagged Item.Tool.Hammer.Iron is a hammer. Add Item.Consumable (or a tag under it) to make an item usable (eaten, drunk). |
| Rarity | The colour of the item's slot frame: Common grey, Uncommon green, Rare blue, Epic purple, Legendary orange. |
| Max Stack Size | How many fit in one slot. 1: each one takes its own slot (tools, weapons, armour). |
| Weight | The weight of one unit, for inventories that limit weight. |
| Base Value | What one unit is worth, in the currency's smallest unit. Vendors sell it for Base Value × their Buy Markup and buy it for Base Value × their Sell Ratio (0.4 by default). 0: vendors do not buy it, and sell it only if their stock gives it a price. |
| Allow in Hotbar | Turn off for things that should never sit on the hotbar, such as raw materials. |
How it is worn or held
| Field | What it does |
|---|---|
| Equip Slot Tag | The slot the item is equipped into. Empty: the item cannot be equipped. In Survival, tools and weapons use the Survival Hand Slot (chapter 6). |
| Equip Mesh | A skeletal model, for armour and clothing: it follows the character's animation. With an Attach Socket set, it is fixed to that socket instead (an animated weapon). |
| Covers Slots | Slots this item hides while worn: long gloves over bracers. What is worn there stays equipped and keeps its bonuses; it is just not drawn. |
| Equip Static Mesh | A plain model, for most tools and weapons, fixed to the Attach Socket. If Equip Mesh is also set, Equip Mesh is used. |
| Aura | A glow and particles for an item that is magical by nature: an overlay material, a Niagara effect, their colour and size. Affix auras (chapter 15) win over this one. |
| Attach Socket | The socket or bone of the character's mesh the item is fixed to (hand_r, the right hand of Epic's Manny and Quinn). If the character's mesh has no such socket, the item is not drawn and the Output Log says why. |
| Put Away Socket | RPG: where a weapon hangs while a tool is out in its place: a socket on the body (back, hip, baldric), holding it as the socket is turned. Empty, or not on the body: the weapon is hidden until the tool is put away. |
| Equip Relative Transform | Moves, turns and scales the item from that socket, to sit it right in the hand. Set it by eye in Grip Studio (chapter 12). |
| Equip Attachment Overrides | A different fit for particular skeletons or body meshes whose hands sit differently. An exact body mesh wins over a skeleton. Grip Studio makes and edits these too. |
| Max Durability | How much use the item can take. 0: it never wears out (no durability bar). |
| Durability Per Use | How much it loses each use or hit. At 0 durability the item is broken: it stays equipped but gives nothing (no abilities, no bonuses) until repaired. A game that destroys a tool as it breaks takes it off from its handler of the equipment's On Item Broke. |
| Fit › Body Fits | A different Equip Mesh for particular body meshes (garments made for each body shape). Require Exact Body Fit: show nothing on bodies with no fit of their own, rather than a mesh that may not fit. |
| Repair › Repair Cost | Items (by Item Tag and count) taken for a full repair. |
| Repair › Repair Currency Cost | Currency taken for a full repair. |
An item that stacks and is held (throwing knives, bombs, torches: an Equip Slot Tag and a Max Stack Size above 1) goes into the hand as its whole stack, and comes back to the bag as the same stack, on the same hotbar slot. Your game uses one up with the equipment's Consume Equipped; the last one empties the hand and the slot.
Bonuses it may roll
| Field | What it does |
|---|---|
| Affix Slots | How many affixes each copy of the item may roll. 0: none. |
| Affix Pool | The pool they are rolled from (chapter 10). |
Affixes are rolled when a copy of the item is made: dropped from a loot table, or crafted. Two iron axes from the same chest can carry different bonuses. An item that already exists keeps its affixes.
Behaviours: fragments
Press ⊕ on Fragments, then choose a type from the new entry's list:
| Fragment | What it does | Its fields |
|---|---|---|
| GAS: Grant on Equip | While the item is equipped: grants abilities (a weapon's attack), applies gameplay effects (an aura) and adds stat modifiers. All of it is removed when the item is unequipped or breaks. | Granted Abilities; Ability Input Tags (input routing for the granted abilities); Equip Effects; Equip Stat Modifiers (an attribute, how it is changed, by how much) |
| GAS: Consume Effects | When the item is used up: restores attributes and applies gameplay effects to the user (restore health, sate hunger). | Restore by Name (an attribute's name, such as Health, and an amount); Restoration Row (a data table row of attribute amounts); Effects to Apply; Effect Level |
| Weapon: Contact Shape | The capsule a weapon hits with, in the model's own centimetres. | Start, End, Radius |
The two GAS fragments come with the plugin's Gameplay Ability System bridge: they work with any ability system component, and need the character to carry the bridge's component, FDGASEquipmentBridge (add it in the character's Components panel). It applies both fragments.
Three ways to say what a consumable restores. Restore by Name names attributes by their name alone: Health 25 restores 25 to whichever of the user's attribute sets has an attribute called Health. It suits data that should not depend on one game's attribute sets, and is what the example health potion uses, so the potion heals in any project whose characters have a Health attribute. A name the user's sets lack is skipped. Restoration Row points at a row of a data table (row type FDConsumeAttributeRow) that lists exact attributes and amounts, for tuning many consumables in one table. Effects to Apply takes your own gameplay effects, for anything more than adding to an attribute: an effect over time, a buff, a cure. An item can use all three; the tooltip lists what the first two restore.
Recipes for common items
| A… | Set |
|---|---|
| Raw material (wood, ore) | Item Tag; Display Name; Icon; Max Stack Size 50 to 99; Weight; Allow in Hotbar off. |
| Food or potion | As above, plus a Category Tag under Item.Consumable, Allow in Hotbar on, and a GAS: Consume Effects fragment. |
| Tool or weapon | Max Stack Size 1; Equip Slot Tag Equip.Slot.Mainhand (the Survival Hand Slot); Equip Static Mesh and Attach Socket; Max Durability and Durability Per Use; Repair Cost; a GAS: Grant on Equip fragment for its attack. A tool also gets a Category Tag (Item.Tool.Hammer): recipes can require it, and under RPG it lives on the hotbar. |
| Armour | Max Stack Size 1; Equip Slot Tag Equip.Slot.Chest (and so on); Equip Mesh; a GAS: Grant on Equip fragment with its armour stat. |
| Ring | Max Stack Size 1; Equip Slot Tag Equip.Slot.Ring (worn in Ring 1 or Ring 2, RPG); a GAS: Grant on Equip fragment with its bonus. |
| Magic weapon | As a weapon, plus Affix Slots and an Affix Pool; or an Aura if it is magical whatever it rolls. |
Recipes
| Field | What it does |
|---|---|
| Recipe Tag | An optional name for the recipe, for your own game's use (unlocks, quests). |
| Display Name | The recipe's name in crafting windows. |
| Inputs | What it takes: an Item Tag and a Count for each. Entries with the same tag add up. |
| Outputs | What it makes: an item asset and a Count for each. Each copy made rolls its own affixes. |
| Currency Cost | Money it takes: a Currency Tag and an Amount for each. |
| Required Station Tag | The kind of crafting station it is made at. Empty: crafted by the player directly (see below). |
| Required Station Level | The station level that offers it: 1 at the station as built, higher once the station is upgraded. |
| Required Tool Tag | A tool the crafter must have equipped: an equipped item whose Category Tags hold this tag (or a tag under it). Empty: no tool needed. |
| Craft Seconds | Time for each item made. 0: instant. A batch of several takes its inputs when it is queued, and gives them back if it is cancelled. At a station, what the player's bag gave goes back to that bag, and what the station's own storage gave goes back to the station; anything the bag has no room for goes to the station's storage. |
| Presentation › Description | What the recipe makes and why, for crafting windows. Empty: the first output's description is shown. |
| Presentation › Flavor Text | An optional short line of lore or wit under the description. |
Where a recipe can be crafted
| Crafted at | Offers a recipe when |
|---|---|
| The player directly (a crafting component on the player) | The recipe has no Required Station Tag and a Required Station Level of 1. |
| A crafting station | The recipe is in the station's own Recipes list, its Required Station Tag is exactly the station's Station Tag, and its Required Station Level is no higher than the station's level. |
A station's Recipes list, Station Tag and upgrade levels are set on the station itself (the crafting station actor, or a Blueprint made from it), not in the toolkit. A station with no Station Tag offers only recipes with no Required Station Tag that are in its list.
The example recipes
Forge Iron Axe has no station: players craft it anywhere from 3 iron ore and 10 gold. Craft Dagger needs a Station.Workbench; Craft Pickaxe (Tier 2) needs the workbench upgraded to level 2. Brew Health Potion needs a Station.Chemistry, and Enchant Dagger takes a dagger and 2 rubies at a Station.Enchanting and makes a fresh dagger, with new affixes.
Loot tables
| Field | What it does |
|---|---|
| Category | An optional label (Loot.Category.Dungeon) your game can use to keep kinds of loot apart. The plugin itself does not read it. |
| Currency | Money the table pays: a Currency Tag, a Min Amount and Max Amount, and a Chance from 0 to 1 (1: always). Each is rolled on its own; two drops of one currency add up. |
| Entries | The weighted picks: an Item, a Min Count and Max Count, and a Weight. |
| Guaranteed | Items dropped on every roll, before the picks (a hunted animal always leaves meat). Their weights are ignored. |
| Num Rolls | How many weighted picks each roll makes, from 1 to 1024. |
How a roll works
- Every Guaranteed entry drops, with a count between its Min and Max Count. A count of an item that does not stack, or that rolls affixes, drops as that many separate items, each with its own roll (at most 128 from one entry); an item that stacks and wears drops in full stacks.
- Then Num Rolls picks are made from Entries. Each pick chooses one entry, with a chance of its Weight over all the weights added up, and drops it with a count between its Min and Max Count. The same entry can be picked more than once.
- Each Currency drop pays, or not, at its own Chance.
Weights are relative, not percentages: weights of 2 and 1 give the same chances as 200 and 100. Each list row shows its entry's chance on one pick, worked out for you.
Working through the combat table
The weights add up to 100 (30 + 25 + 25 + 10 + 5 + 5), so each weight is its chance on one pick: leather 30%, ruby 5%. With Num Rolls 2, a fallen enemy drops two items. The chance of at least one ruby is 1 − 0.95 × 0.95, about 10%; of at least one leather, 1 − 0.7 × 0.7, about 51%. To make rubies rarer without touching anything else, lower the ruby's weight: the rows' percentages update as you type.
One bad entry empties the whole table
If any entry has a Min Count below 1, a Max Count below its Min Count, or a negative Weight, the table drops nothing at all, with no message in play. Check finds it (the picture in chapter 5 shows one).
Who rolls a loot table? The plugin's loot container (a chest or a dropped bag) has a Loot Table to fill itself from, Roll On Begin Play to fill it when it appears, and Despawn Seconds to clear it away after a time (0: never). A drop the container has no room for is left out, and the Output Log says how many. Your game can roll a table anywhere else from code or Blueprint (its Roll and Roll Currency functions).
How players loot it. The plugin's container window shows the player's bag beside the container: right-click an item, or drag it across, to move its stack, and Take all (or the R key) moves everything that fits. Your game opens it when the player uses the container (the player's FDContainerSession component's Open Container, after your own interaction). Anyone may open a loot container; a Blueprint child can lock it by overriding Can Access Container.
Affix pools
Possible Affixes lists the bonuses: an Affix Tag (what the bonus is), a Min Magnitude and Max Magnitude (how big it can be) and a Weight (how likely it is, against the others).
When a copy of an item is made, it rolls up to its Affix Slots affixes from the pool: each pick weighted like a loot table, never the same affix twice on one item, and each at a random size between its Min and Max Magnitude.
The weapon pool
Physical damage (weight 1) and attack speed (weight 0.5). An item with 1 affix slot gets physical damage two times in three, attack speed one time in three. The iron axe has 2 slots and the pool holds only two affixes, so every axe rolls both, each at its own size.
What an affix does in play. On its own an affix is a tag and a number carried by the item. With the plugin's Gameplay Ability System bridge, an Affix Mapping asset (a data asset made from FDAffixMapping, edited by double-clicking it in the Content Browser) says which attribute each Affix Tag changes and how (add, multiply, …); point the Affix Mapping of the character's FDGASEquipmentBridge component at it. While the item is equipped, its affixes are added to its equip bonus. To make enchanted items glow, see Affix Auras in chapter 15.
Currencies
| Field | What it does |
|---|---|
| Currency Tag | The currency's name for the rest of the game (Item.Currency.Gold). Wallets, prices, costs and loot all name currencies by it. |
| Display Name | The name players read. |
| Icon | Its picture in the wallet. |
Amounts are whole numbers. A game with coins of several sizes can make each coin its own currency, or keep one currency in its smallest unit and let its interface show it as gold, silver and copper: an item's Base Value is counted in the smallest unit either way.
Grip Studio
A tool or weapon in a character's hand is fixed to a socket of the character's mesh and moved from there by its grip, the item's Equip Relative Transform. Typing those numbers and pressing Play to look is slow. Grip Studio shows the item in a character's hand, in the pose your game holds it, and you move it there by eye: the item, or the socket itself.
Opening it
Grip Studio is the toolkit's last page: click Grip Studio, the last of the page tabs. To open it on one item, right-click that item in the Content Browser › Open in Grip Studio.
The page lists every item that is held at a socket: an item with an Attach Socket and an Equip Static Mesh or Equip Mesh (chapter 7). An item without them is not in the list; give it both on the Items page first.
| Part | What it is for | |
|---|---|---|
| 1 | Body | The character mesh that holds the items: your player's body. Any skeletal mesh. |
| 2 | Pose | A Pose Asset of the body's skeleton, and which of its poses the bodies hold. Yours from pose mode, or any other. |
| 3 | Animation | Or an animation of the body's skeleton, held at the moment the timeline is at. One or the other: choosing one clears the other. |
| 4 | Line up | Every item in the list at once, each in its own copy of the body. |
| 5 | Pose the body | Pose mode: turn the body's bones and close its hands, then save the pose. |
| 6 | Held items | Every item held at a socket, with where it attaches. The search box narrows the list: here, to the example tools. |
| 7 | The view | The body holding the chosen item, with the gizmo on it and a small marker where it attaches. Left-drag spins the body, right-drag tilts, middle-drag pans, the wheel zooms, F frames the item. |
| 8 | The timeline | Shown with an animation: step a frame back or on, play and pause, or drag to any moment. |
| 9 | Which grip | Which grip this body uses: the one for every body, or an override for its skeleton or for this body. |
| 10 | The gizmo moves | The item (its grip) or the socket it attaches at (every item on it follows). |
| 11 | Edit the grip for | Where your edits go: every body, this skeleton or this body. Remove this override takes a skeleton's or body's own grip off. |
| 12 | The numbers | Location, rotation and scale from the socket, to type exact values (the socket's own offset when the gizmo moves the socket). |
| 13 | Save, Snap | Save what changed here. Snap to the socket puts the item exactly at the socket, unturned. |
Set a grip
- Choose the Body: your player character's mesh (any skeletal mesh). The body is the one thing the page needs.
- Give it the hand your game holds things in: a Pose (a Pose Asset and one of its poses) or an Animation with the timeline at the right moment (below). Left empty, the body stands in its mesh's own pose, usually with an open hand.
- Click the item in the list. The body holds it, with the gizmo on it.
- Drag the gizmo: W moves, E turns, R scales. Or type the grip into the numbers under the view. Snap to the socket puts the item exactly at the socket, unturned, at its own size: a clean start.
- Each change goes onto the item at once, as one undo step (Ctrl+Z takes it back), and the page notes that the item has changed but is not saved yet. Press Save to save it. Under source control the item is checked out first.
Play in the editor and the character holds the item as the page showed it.
Moving round
| Do this | And the view |
|---|---|
| Left-drag | Spins the body where it stands, to look at the hand from any side. |
| Right-drag | Tilts the view up or down. |
| Middle-drag | Slides the view sideways or up and down. |
| Mouse wheel | Comes closer or goes back. |
| F | Frames the chosen item again. |
Choosing an item turns the view to its hand's side of the body, so the body never hides it. A drag that starts on the gizmo moves the gizmo instead. Drag the line between the item list and the view to give the view more room; the page remembers it.
Pose and Animation
The body can hold the items in one of two ways, and choosing one clears the other:
- Pose: a Pose Asset of the body's skeleton, and in the box beside it which of its poses. The poses you save in pose mode (below) are kept in such an asset; one made in the Animation editor works too.
- Animation: any animation of the body's skeleton. A timeline appears under the view: < and > step one frame back or on, Play plays the animation on every body (Pause stops it where it is), and the slider goes to any moment. The bodies hold the moment it is at. Use it to check a grip through a swing or a walk, then leave it at the moment your game holds the tool in.
Both lists offer what the body's skeleton can play: its own assets and those of skeletons marked compatible with it (a copy of the skeleton that came with another pack, for example). Choosing another body lets go of a pose or animation its skeleton cannot play.
Posing the body yourself
| Part | What it is for | |
|---|---|---|
| 1 | What is posed | The body being posed, and the bone the gizmo turns. |
| 2 | Bones | Every bone of the body; type to find one, click it to put the gizmo on it. |
| 3 | Grip sliders | Close each hand's fingers together, open at the left, a fist at the right. Here the right hand is closed most of the way round the handle. |
| 4 | Reset | The chosen bone, or every bone and both hands, back to what the body plays. |
| 5 | Save pose | Name the pose and keep it in the skeleton's Grip Studio pose asset; it is chosen in the Pose field at once. |
| 6 | Done | Back to the grips. Asks first if bones were turned and not saved as a pose. |
When no pose or animation holds the hand the way your game does, make one. Press Pose the body: the page shows every bone of the body in place of the grip controls. Pose mode works on top of what the body already holds, so start from the nearest animation moment.
- Click a bone in the list (type part of its name to find it). The gizmo sits on it; drag it to turn the bone.
- Drag a hand's grip slider to close its fingers together round the handle, open at the left and a fist at the right.
- Reset bone puts the chosen bone back; Reset all puts every bone and both hands back.
- Type a name and press Save pose. The pose goes into the skeleton's Grip Studio pose asset, PA_<Skeleton>_GripPoses in the Grip Poses Folder (chapter 15), made the first time, and is chosen in the Pose field at once. Saving a name again replaces that pose. Save writes the pose asset to disk.
- Press Done to go back to the grips. If bones were turned and not saved as a pose, the page asks before dropping them.
While posing, the item list, the body, pose and animation fields and the line-up wait, so nothing drops a pose half made.
Moving the socket
When every item sits too high or too low in the hand, the trouble is usually not the items' grips but the place they all attach. Move that instead: under The gizmo moves, choose The socket. The gizmo goes onto the chosen item's socket; drag it (W moves, E turns) or type its offset from its bone, and every item attached there follows. A socket on the skeleton, the usual place, moves for every body on that skeleton; a socket of the body mesh's own moves for that mesh. The line above the numbers says which.
Items can also attach to a bone itself rather than a socket: their Attach Socket names a bone. A bone's place is its joint, so for a hand bone the items sit at the wrist, and there is no socket to move. Press Add a grip socket: the page adds a socket on that bone, at the bone, named after it (hand_r_Grip for hand_r), and switches every item attached at the bone to it, all as one undo step. Nothing moves yet; then drag the socket into the palm, where the hand holds things.
A body whose skeleton lacks the grip socket still shows the item: it sits at the bone the socket is named after (hand_r for hand_r_Grip), and the Output Log carries a warning naming the body and the socket, so you know which skeleton to give the socket to.
| Part | What it is for | |
|---|---|---|
| 1 | Switched | Every item that attached at hand_r now attaches at hand_r_Grip. |
| 2 | The socket's gizmo | Drag it where the hand holds things (W moves, E turns); every item on it follows. |
| 3 | Where the socket is | Its bone, whose it is (the skeleton's: every body on it shares it) and how many items move with it. |
| 4 | Its offset | The socket's place and turn from its bone, to type exact values. |
| 5 | What changed | Not saved yet: Save writes the skeleton and the switched items. |
Save writes the skeleton (or the body mesh) with the socket, and the items that were switched to it.
One grip for every body, or its own for some
Most items need one grip for every character. When a body's hand sits differently, the item can carry a grip of its own for that body:
| Edit the grip for | What changes | Use it when |
|---|---|---|
| Every body | The item's Equip Relative Transform. | Always first. Most items need nothing else. |
| This skeleton | An override for every body on this body's skeleton. | Another skeleton holds the item: a creature, a different rig. |
| This body | An override for this body mesh alone. | Bodies that share a skeleton but not a shape: broad hands, long fingers. |
The line under the view says which grip this body uses. A grip for the exact body wins over one for its skeleton, and both win over the grip for every body. Choosing a body that has its own grip switches the page to it. If you edit a grip that a more particular one hides on this body, the line says so: remove that override, or edit it instead. Remove this override takes this skeleton's or this body's grip off the item, so the next one down applies again.
Line up every item
Tick Line up every item to see every item in the list at once, each in a copy of the body, side by side and labelled, seen from the side they are held on. A grip that is wrong stands out at a glance. Search the list first to line up one kind of item (axe, DA_Item_). The item chosen in the list has the gizmo. Lined up, Save saves every item that has changed.
The body, pose, animation, line-up choice and the list's width are remembered for you, in your own editor settings: they are not saved in any asset, and your teammates choose their own.
From scripts
Editor scripts can read and set grips and sockets: in Python, unreal.FDInventoryToolkitLibrary.get_grip(item, body) (the grip this body uses, and which one it is), get_grip_for, set_grip, clear_grip_override, find_held_items, open_in_grip_studio, and for sockets get_attach_point, is_socket, count_items_at, add_grip_socket, get_socket_offset and set_socket_offset; in an Editor Utility Blueprint, the same names as nodes (Get Grip, Add Grip Socket, …). A changed item or skeleton is saved like any other asset.
In play: the screens and keys
Everything a player sees and presses comes from one component on the player's character, the **FD Inventory HUD**: the hotbar along the bottom of the screen, the character screen, the windows of chests, crafting stations and traders, and a feed of the items gained. It acts only while a local player controls the character, so one character class serves every player in multiplayer.
The keys
| Key | Does |
|---|---|
| I | Opens and closes the character screen (bag, equipment, crafting, gold, carried weight). |
| Esc | Closes the character screen or the open window, and nothing else. With none open the plugin leaves it to your game (its pause or game menu). |
| 1 to 0 | Survival: chooses that hotbar slot (its tool or weapon in hand). RPG: uses the slot's item, or takes its tool out while the weapon is put away (again: puts the tool away, the weapon comes back out). Custom: uses, equips or puts away the slot's item. |
| Mouse wheel | Survival: moves the chosen slot along the bar. |
| E | Opens the chest, crafting station or trader the character looks at within reach. |
| R | In a chest's or station's window: takes everything. |
| Right mouse (on an item) | Uses it (drinks a potion); puts a tool or weapon the style holds from the hotbar on the hotbar (Survival: tools and weapons; RPG: tools); equips anything else. Drag items between the bag, the hotbar, the equipment and a chest. |
Every key is a setting of the component, no input assets needed. Set one to None and call the matching function from your own input instead: Toggle Character Screen, Press Hotbar Slot, Cycle Hotbar, Use Looked At. The hotbar keys and the wheel never consume the press, so your game can bind the same keys too.
The FD Inventory HUD's settings
| Setting | What it does |
|---|---|
| Show Hotbar, Hotbar Class, Hotbar Bottom Margin | The hotbar on screen, its widget (empty: the plugin's), and its distance from the bottom edge. |
| Hotbar Keys, Mouse Wheel Cycles Hotbar | The hotbar's keys, slot by slot, and the wheel (Survival only; with Alt held the wheel is left alone). |
| Character Screen Class, Character Screen Key | The character screen's widget (empty: the plugin's) and its key (I). |
| Lock Gameplay While Open | Movement and combat stop while the screen is open and the game dims behind it. Off: play on behind a see-through screen. |
| Hide Other Widgets While Open | The player's other widgets on screen (a health bar, a minimap) hide while the character screen is open. |
| Stats Panel Class | A widget for the screen's stats column. Empty: Flying Donkey GAS's stats panel when that plugin is installed and the character has an ability system; otherwise the screen has no stats column. |
| Show Container Window, Container Window Class | The window that opens with a chest or station. |
| Show Item Feed, Item Feed Class | Items gained, listed at the right of the screen for a few seconds. |
| Use Key, Use Reach | The key that opens what the player looks at (E), and how far away it can be (300 cm). |
The portrait. The character screen shows the player's character turning in a lit portrait (drag it to turn it). The portrait lights the character itself, so it reads the same at noon, at night or underground: its Portrait Light Intensity (8) sets how bright, Portrait Lights off leaves only the level's own light. While the screen is open the character's parts take lighting channel 2, which the portrait's lights use; they get their own channels back when it closes.
The plugin's widgets are plain and functional. Each has a Widget Blueprint copy in the plugin's UI folder (WBP_FDHotbar, WBP_FDCharacterScreen and the rest) to restyle and set here, and their frames, slots and sounds can be skinned from Project Settings.
A game without a hotbar
Untick Use Hotbar in . Nothing goes on a hotbar, none is drawn on screen or on the character screen, its keys and the wheel are free, and under Survival tools are held from the equipment panel's hand slot instead.
Chests
A chest is a Blueprint of FD Loot Container (fills itself from its Loot Table when play begins) with a mesh to look at, or any actor of yours that implements the FD Container Access interface. The player opens it with E, or your own interaction calls the HUD's Open Container with it. The server checks the player is within reach (the FD Container Session's Access Distance, 350 cm) and can see it, and closes the window if the player walks away. Items move one stack at a time (right-click or drag) or all at once (Take all).
Crafting stations
A station is a Blueprint of FD Crafting Station with a mesh: its Station Tag (Station.Workbench), its Recipes and its Levels (each level's upgrade cost). Opened with E, its window shows its recipes with what each needs, the queue, Craft, the station's level with an Upgrade button showing the next level's cost, and what it has made beside the bag; take that out as from a chest. Crafting there takes the materials from the player's bag. The server checks the player stands within the station's Use Distance (400 cm) and meets its Use Requirement.
Traders
Any actor with an FD Vendor component is a trader: its Shop Name, its Stock (an item and its price, or its Base Value times Buy Markup), the Currency Tag prices are in, and Sell Ratio, the share of an item's Base Value it pays. Opened with E, or with the HUD's Open Vendor, its window lists what it sells and what of the player's goods it buys. The server checks every trade, and the player within the vendor's Trade Distance (400 cm); the window closes when the player walks away. Items without a Base Value are not bought.
Gear is listed piece by piece in the player's goods (an item that does not stack, or one that carries affixes or wear), with its affixes and condition, so the player chooses which piece goes. Plain stacks are listed once for each kind, with Sell and Sell all, and never take a piece of gear with them. A vendor sells gear that rolls affixes too: each piece bought rolls its own.
With Flying Donkey GAS on the same character
Both plugins use the number keys and the wheel: Inventory for its hotbar (a toolbelt of items), GAS for its skill bar (abilities). The Game Style shares them out:
| Game Style | 1 to 0 | Shift + 1 to 0 | Mouse wheel | Alt + wheel |
|---|---|---|---|---|
| Survival | The hotbar | The skill bar | The hotbar | The camera's zoom |
| RPG, Custom | The skill bar | The hotbar (its slots read S1 to S0) | The camera's zoom | The camera's zoom |
Each plugin alone keeps the plain keys, and so does the hotbar when the skill bar is switched off (GAS's Use Skill Bar, in ). Neither depends on the other: they share through component tags (ClaimsNumberKeys, UsesShiftNumberKeys, UsesNumberKeys, ClaimsMouseWheel), which your own components can carry too. With GAS installed the character screen also shows the GAS stats panel, and the FD GAS Equipment Bridge component (on the character) makes potions restore their attributes and equipment grant its abilities and stats.
Multiplayer
Everything a player does goes through the FD Inventory Commands and FD Container Session components on the character: the client asks, the server checks ownership, reach and sight, and the result replicates to everyone. Put both components on the player character, and the HUD on the same character: it shows the windows for the local player only.
Each player's requests are limited on the server (a burst of five, then ten a second), counted in real time, so a paused game still takes them. A request that is turned away is answered, and the window shows why.
The plugin is tested with a listen server and clients. Dedicated server support is in active development. On a dedicated server the FD Equipment Visualizer builds no worn pieces unless its Build On Dedicated Server is ticked: tick it when your server's own code reads a weapon's sockets or shape (its Get Visual Mesh); what players see does not depend on it.
Every message the checks give
Problems (the asset will not work in play as it is) are marked ✖; notes (it works, but probably not as you meant) are marked ✱.
| Asset | Message | What to do |
|---|---|---|
| Item | ✱ No Item Tag | Give it its own Item Tag. |
| Item | ✱ Affix Slots is N but no Affix Pool is set | Choose an Affix Pool, or set Affix Slots to 0. |
| Item | ✱ An Affix Pool is set but Affix Slots is 0 | Set Affix Slots, or clear the Affix Pool. |
| Item | ✱ Durability Per Use is set but Max Durability is 0 | Set Max Durability, or Durability Per Use to 0. |
| Item | ✱ It has a repair cost but Max Durability is 0 | Set Max Durability, or empty the repair costs. |
| Item | ✖ Repair Cost [N] needs an Item Tag and a Count of 1 or more | Fill in that entry, or delete it: until then the item cannot be repaired at all. |
| Item | ✖ Repair Currency Cost [N] needs a Currency Tag and an Amount of 0 or more | As above. |
| Item | ✱ Fragments [N] is empty | Choose that entry's type, or delete it. |
| Asset | Message | What to do |
|---|---|---|
| Recipe | ✖ Outputs is empty | Add what the recipe makes. |
| Recipe | ✖ Outputs [N] needs an Item and a Count of 1 or more | Choose the item, or delete the entry. |
| Recipe | ✖ Inputs [N] needs an Item Tag and a Count of 1 or more | Choose the tag, or delete the entry. |
| Recipe | ✖ Currency Cost [N] needs a Currency Tag and an Amount of 0 or more | Choose the currency, or delete the entry. |
| Recipe | ✖ Craft Seconds must be 0 or more | Correct the time. |
| Asset | Message | What to do |
|---|---|---|
| Loot table | ✖ Num Rolls must be between 1 and 1024 | Correct Num Rolls. |
| Loot table | ✖ Guaranteed holds more than 1024 entries | Remove entries. |
| Loot table | ✖ Entries / Guaranteed [N]: Min Count must be 1 or more and Max Count at least Min Count | Correct that entry's counts: until then the table drops nothing at all. |
| Loot table | ✖ Entries [N]: Weight can't be below 0 | Correct the weight (0 turns an entry off). |
| Loot table | ✱ Entries / Guaranteed [N] has no Item | Choose the item, or delete the entry. |
| Loot table | ✱ Entries / Guaranteed [N]: its item is one to an item (it does not stack, or rolls affixes), so at most 128 drop at once | Lower Max Count to 128 or less, or let the item stack. |
| Loot table | ✱ No entry in Entries has both an Item and a Weight above 0 | Give at least one entry an item and a weight. |
| Loot table | ✱ Currency [N] has no Currency Tag / has a Chance of 0 / Max Amount must be above 0… | Fill in that currency drop, or delete it. |
| Loot table | ✱ The table is empty | Add entries, or stop using the table. |
| Asset | Message | What to do |
|---|---|---|
| Affix pool | ✱ Possible Affixes is empty | Add affixes. |
| Affix pool | ✱ Possible Affixes [N] has no Affix Tag / has a Weight of 0 | Fill in that affix, or delete it. |
| Affix pool | ✱ Min Magnitude is above Max Magnitude | Swap them. |
| Currency | ✖ No Currency Tag | Give it its tag. |
The number in brackets is the entry's index, as the details panel shows it (Index [ 1 ] is the second entry).
Project settings
holds the settings that apply to the whole project. They are saved in Config/DefaultGame.ini.
| Setting | What it does |
|---|---|
| Game Style | The same choice as the toolkit's buttons (chapter 6). |
| Survival Hand Slot | The slot a tool or weapon chosen on the hotbar is held in, in Survival style. Empty: Equip.Slot.Mainhand. |
| Affix Auras | Glows and particles for items by their affixes. Each entry: an Affix Tag; an Overlay material drawn over the item and a Niagara Effect attached to it; their Color and the Color Parameter that receives it; and Effect Scale (per metre of the item's longest side). An item shows the first entry whose Affix Tag it carries (a tag also covers the tags under it, so put the specific ones first). |
(the gear in the toolkit's top bar) holds the toolkit's own settings, yours alone (it is not shared through source control):
| Setting | What it does |
|---|---|
| Content Folders | The folders the toolkit's asset lists, its picker and Grip Studio's list look in, with everything below them. Empty: the whole project. |
| Grip Poses Folder | Where Grip Studio keeps the poses you save: one pose asset per skeleton, PA_<Skeleton>_GripPoses. Default /Game/GripStudio/Poses. |
Two more pages beside the project settings dress the ready-made widgets, with no Widget Blueprint needed:
| Page | What it holds |
|---|---|
| Flying Donkey Inventory UI Skin | Textures for the widgets' frames: the item Slot, section Panel, the screen Card, Header bars, the Hotbar Tray and the Hotbar Slot. Each is a texture stretched between its nine-slice Margin (fractions of the texture), at a Scale. A piece left empty keeps the plain colours. |
| Flying Donkey Inventory UI Sounds | A sound for each moment: Slot Hover, Slot Click, Drag Start, Drop, a screen's Open and Close, and a Volume for them all. The plugin ships no sounds; an empty one is silent. |
Tips and troubleshooting
Getting the most out of it
- Name by kind, file by kind. DA_Item_, DA_Recipe_, DA_Loot_, DA_AffixPool_, DA_Currency_, each kind in its own folder. The asset list's search, the Content Browser and your teammates all find things faster.
- Build tags as a tree. Item.Weapon.Axe.Iron under Item.Weapon.Axe under Item.Weapon: category tags and tool requirements can then name a whole family at once.
- Check, then Save. Check costs nothing and catches the mistakes that are silent in play. Before a release, validate the whole inventory folder (right-click › Validate Assets in Folder).
- Search the fields. The details panel's search box (part 9 of the tour) finds a field by part of its name: type dur for the durability fields.
- Copy a field between assets. Right-click a field's name › Copy, show the other asset, right-click the same field › Paste. It works for whole lists too.
- Weights as percentages. Make a loot table's weights add up to 100 and each weight reads as its chance on one pick.
- Open from scripts. Editor scripts can open an asset in the toolkit: in Python,
unreal.FDInventoryToolkitLibrary.open_in_toolkit(asset); in an Editor Utility Blueprint, Open In Toolkit.
Troubleshooting
- The tag I want is not in the tag list.
- Add it in , then pick it again.
- Save says Not saved: … could not be written.
- The file is read-only: usually source control has it locked and the editor could not check it out (no connection, or someone else has it). Check it out in your source control tool, then Save again. The Output Log says more.
- The Game Style message says not saved.
- Config/DefaultGame.ini is read-only. Check it out, then choose the style again. Until then the style applies only to this editor session.
- A recipe does not show at a station, or cannot be crafted.
- Compare its Required Station Tag with the station's Station Tag (they must be exactly the same), check it is in the station's Recipes list and that the station's level is high enough. A recipe with a Required Station Tag can never be crafted by the player directly. Then press Check on the recipe.
- A loot table drops nothing.
- Press Check on it: one entry with impossible counts or a negative weight empties the whole table.
- An item will not go on the hotbar.
- Its Allow in Hotbar is off; or, in Survival style, it is equippable but its Equip Slot Tag is not the Survival Hand Slot; or, in RPG style, it is a weapon, shield or armour (equipped on the character screen) rather than a tool (Item.Tool).
- An equipped weapon is invisible.
- The character's mesh has no socket named in its Attach Socket (the Output Log names it), or Require Exact Body Fit is on and this body has no fit, or it has no Equip Mesh or Equip Static Mesh.
- An equipped item gives nothing.
- It is broken (durability 0: repair it), or the character has no FDGASEquipmentBridge component, or the item has no GAS: Grant on Equip fragment.
- Items never roll affixes.
- Affix Slots is 0, the Affix Pool is empty, or every affix in the pool has a Weight of 0 or no tag. Remember that only copies made after the change roll; items already in the world keep theirs.
- My changes are gone after restarting the editor.
- They were not saved: an asset with a * after its name has unsaved changes. The editor also lists unsaved assets when it closes.
- An item is not in Grip Studio's list.
- It has no Attach Socket, or neither an Equip Static Mesh nor an Equip Mesh. Give it both on the Items page, then press Reload the list under the list.
- Grip Studio says the body has no socket or bone named for some items.
- Those items name an Attach Socket this body's mesh does not have, so the game draws them on no such body either. Pick the body your game uses, or add the socket to the body's skeleton (or change the items' Attach Socket).
- Every item sits at the wrist, or too high in the hand.
- They attach to a bone (or a socket placed at one), whose place is its joint: for a hand bone, the wrist. In Grip Studio choose The socket; on a bone, press Add a grip socket, then drag the socket into the palm. Every item on it follows (chapter 12).
- A held item is missing on one body.
- Its Attach Socket names a socket that body's skeleton does not have. A grip socket (hand_r_Grip) still shows the item, at its bone, with a warning in the Output Log naming the body and the socket: open that skeleton in Grip Studio and press Add a grip socket. Any other socket name shows nothing until the skeleton has it.
- Grip Studio's Pose or Animation list is empty.
- The lists offer only what the body's skeleton can play: assets of that skeleton, or of one marked compatible with it. A body on another copy of a skeleton (one that came with a pack) needs that copy marked compatible: open the skeleton, then Window › Asset Details › Compatible Skeletons.
- Save pose says the Grip Poses Folder is not a content folder.
- Set a /Game/... folder for Grip Poses Folder in the toolkit's settings (chapter 15).
- The grip I set does not show on one body.
- That body has a grip of its own (an override for it or its skeleton) which wins. The line under Grip Studio's view says which grip the body uses: edit that one, or remove it with Remove this override.
- The example potion does not heal.
- Its Restore by Name asks for an attribute called Health: the character needs an ability system component whose attribute sets have one, and the FDGASEquipmentBridge component. Change the name to your own attribute's, or add a gameplay effect under Effects to Apply.
- The Output Log warns No GameplayCueNotifyPaths were specified.
- Unreal's ability system logs it the first time it starts in a project; it is Unreal's, not the plugin's, and nothing is wrong. To settle it, tell Unreal where your gameplay cues are: add
[/Script/GameplayAbilities.AbilitySystemGlobals]to Config/DefaultGame.ini and on the next line+GameplayCueNotifyPaths=/Game/GameplayCues(your own folder). - A saved game from an earlier version of my game no longer loads its inventory.
- The plugin's save codec (for C++ games: FFDInventorySnapshotCodec) loads past what has changed since: an item whose asset was removed and an affix whose tag was removed are left out, and a stack bigger than the item stacks to today is split into several. Each is a warning in the Output Log, and the decoder hands the list to your code. Bytes that are not a save at all are still refused.
Glossary
- Affix
- A bonus rolled onto one copy of an item: a tag and a size.
- Affix pool
- The list of affixes an item can roll, with their ranges and weights.
- Asset
- A file in your project's Content folder: an item, a recipe, a texture.
- Category tag
- A group an item belongs to, for filters and tool requirements.
- Currency Tag
- A currency's name for the rest of the game.
- Fragment
- A behaviour added to an item (grant abilities while equipped, restore health when used).
- Gameplay tag
- A short dotted name the engine keeps in one list per project (Item.Resource.Wood).
- Grip
- How an item held at a socket sits in the hand: moved, turned and scaled from the socket. One for every body (the Equip Relative Transform), with optional overrides for a skeleton or a body mesh.
- Grip socket
- A socket Grip Studio adds on a bone, named after it (hand_r_Grip), for items that attached at the bone itself; drag it to where the hand holds things.
- Grip Studio
- The toolkit's page for setting grips by eye, on a body in a pose: the item's grip, or its socket.
- Item Tag
- An item's name for the rest of the game; recipes and costs ask for items by it.
- Loot table
- A list of weighted drops, rolled to fill a container or when a creature falls.
- Pose asset
- Unreal's asset of named poses of one skeleton. Grip Studio holds bodies in its poses and saves the poses you make into one.
- Station
- A placed crafting bench, fire or table, with a Station Tag, its own recipes and levels.
- Survival Hand Slot
- The equipment slot a hotbar tool or weapon is held in, in Survival style.
- Weight (loot)
- How likely an entry is on one pick, against the other entries' weights.
Quick reference
Open
- Right-click an asset › Edit in Inventory Toolkit
Each page
- Asset list on the left: click, or search by name
- + New · Save · Check · Browse
- * after the name: unsaved
- Items: preview, and what your settings make of it
Before you save
- Every item: its own Item Tag
- Consumables: Item.Consumable category
- Tools and weapons: Equip Slot Tag = Survival Hand Slot
- Tools: an Item.Tool category (RPG hotbar)
Loot
- Each roll: all Guaranteed, then Num Rolls weighted picks
- One bad entry: nothing drops (Check finds it)
Recipes
- No station tag, level 1: player crafts directly
- Station: in its list, tag exactly the same, level high enough
Grip Studio
- The toolkit's last page, or right-click an item › Open in Grip Studio
- Body, Pose or Animation, then the item: W move · E turn · R scale
- Left-drag spin · right-drag tilt · middle-drag pan · wheel zoom · F frame
- Edit for every body, this skeleton or this body
- The socket: move where every item attaches; Add a grip socket on a bone
- Pose the body: turn bones, grip sliders, Save pose
- Line up every item to check them all
Settings
- Project Settings › Plugins › Flying Donkey Inventory
- Game Style, Survival Hand Slot, Affix Auras
- The gear: the toolkit's Content Folders and Grip Poses Folder
Support and licence
Support
For help, bug reports and requests, use the support contact on Flying Donkey Inventory's Fab listing. Please include your engine version, the plugin's version (Edit › Plugins), what you did, what happened, and the toolkit's Check messages or the Output Log's lines from that moment.
Licence
Flying Donkey Inventory is licensed to you under the terms of its Fab listing (the Fab End User Licence Agreement). The items, recipes and other data you make with it are yours to use in your games.