Skip to main content

Basic Player Setup

This is the minimal setup to get inventory working:
  1. Open your Player Character Blueprint (or C++ class)
  2. Add InventoryComponent:
    • In the Blueprint editor, click Add Component
    • Search for InventoryComponent
    • Add it to your character
    • Configure in the Details panel:
      • Max Slots: 30 (or your desired amount)
      • Max Weight: 100.0 (or 0 for unlimited)
      • Inventory Type: Standard
  3. Add PlayerProfileComponent:
    • Add Component > PlayerProfileComponent
    • This will be auto-configured on BeginPlay to find your inventory

Advanced Player Setup

For full functionality, add these additional components: 1. Equipment System
Steps:
  1. Add EquipmentComponent to your character
  2. Add skeletal mesh components for each equipment slot (Head, Chest, etc.)
  3. In the EquipmentComponent details:
    • Set Base Mesh to your character’s main skeletal mesh
    • Click Setup Standard Armor Slots or Setup Weapon Slots for presets
    • Or manually configure slots in the Equipment Slots array
2. Hotbar System
Steps:
  1. Add HotbarComponent to your character
  2. Configure Max Slots (typically 9 for number keys)
  3. Enable Auto Refill Enabled for automatic refilling
  4. The component will automatically link to your main inventory on BeginPlay
3. Interaction System On Player Controller (not Character):
Steps:
  1. Open your Player Controller Blueprint
  2. Add InteractionComponent
  3. Configure trace settings
  4. Bind to Enhanced Input (or create Input Action)
4. Ability System Component (GAS) If using Gameplay Abilities (required for weapons/consumables):
Steps:
  1. Add AbilitySystemComponent to your character
  2. Link it to PlayerProfileComponent (happens automatically)
  3. Grant default abilities on BeginPlay if needed

Full Player Setup Example (Blueprint)

In your Player Character Blueprint:
  1. Components:
    • InventoryComponent (Main Storage)
    • InventoryComponent (Equipment Storage)
    • HotbarComponent
    • EquipmentComponent
    • PlayerProfileComponent
    • AbilitySystemComponent (if using GAS)
  2. Event Graph - BeginPlay:
Blueprint Example:
In your Player Controller Blueprint:
  1. Components:
    • InteractionComponent
  2. Enhanced Input Setup:
    • Bind Interact input to InteractionComponent → Handle Interaction Input
    • Bind Hotbar inputs to HotbarComponent → Use Hotbar Slot
    • Bind Inventory toggle to PlayerProfileComponent → Toggle Inventory