Inventory Pro Add-On Documentation
  • Welcome to Inventory Pro Add-On for FPS Engine!
  • BEFORE WE START
    • Early Considerations
    • Add-On Compatibility
    • List of Tutorials
  • GETTING STARTED
    • 01. Basic Set-Up
    • 02. Roadmap
  • CONTENT
    • 03. Content
      • 03.1 CRAFTING
        • Recipe_SO
          • Ingredient
        • CraftingButton
        • CraftingProcess
        • CraftingUI
        • CraftingBench
        • IngredientUIIcon
      • 03.2 FAV MENU
        • FavItemSlot
        • FavItemsMenu
          • FavItemReference
      • 03.3 INTERACTABLES
        • InventoryItemPickeable
      • 03.4 INVENTORY
        • InventoryGridData_SO
        • InventoryProManager
        • GridGenerator
        • InventorySlot
        • SlotData
        • InventoryProManagerInputActions
      • 03.5 ITEMS
        • AppleItem_SO
        • EnergyDrinkItem_SO
      • 03.6 OTHERS
        • 03.6.1 TRADE HUB
          • TradeButton
          • TradeUI
          • TradeHub
        • Chest
        • ExamineItem
      • 03.7 SHOP
        • PurchasableItem
        • Shop
          • ShopItemData
        • ShopUI
        • ShopButton
      • 03.8 UI TOOLKIT
        • ContextMenu
        • HighlightInteractions
        • Padding
        • TooltipManager
    • 04. Shared Content for Add-Ons
  • HOW TO USE & GUIDES
    • Uninstalling the Add-On: Fixing Errors
    • Creating, Updating & Deleting Recipes
    • Inventory Designer: Creating, Updating & Deleting Inventory Grid Data
    • Working with Crafting Benches
    • Working with Chests
    • Working with Shops
    • Working with Purchasable Items
    • Working with Item Examination
    • Favorite Pinned Items Menu Considerations
    • Inventory, Hotbar & Chests Considerations
    • Tetris Inventory Considerations
    • Weapons & Ammo from the Inventory
    • Custom Item_SOs
    • Adding a New Inventory
  • FAQ
    • FAQ
  • SUPPORT
    • Support
Powered by GitBook
On this page
  • Inventory Style: Difference Between Grid & Tetris
  • Configuring Slot Right Click Event
  • What´s the Hotbar and what Items can it hold?
  • Increase Hotbar Size
  • Swapping & Stacking Items
  • Assigning Attachments from the Inventory
  • Customize Inventory Slots UI & Style
  • Modifying Inventory, Hotbar & Chest Position in the UI
  • Inventory Inputs
  1. HOW TO USE & GUIDES

Inventory, Hotbar & Chests Considerations

PreviousFavorite Pinned Items Menu ConsiderationsNextTetris Inventory Considerations

Last updated 1 month ago

This set of guides provides instructions on customizing and configuring general settings for the Hotbar, Inventory, and Chests.

Inventory Style: Difference Between Grid & Tetris

  • Grid: Items take a single slot from the Inventory Grid ( 1x1 Size )

  • Tetris: Items can take different spaces & slots from the Inventory Grid ( 1x1, 2x1, 1x2, 2x2, 3x1 etc... ). In Tetris Inventory Style, Items can also be rotated and oriented accordingly. For more information about the Tetris Inventory, please refer to .

Configuring Slot Right Click Event

In the InventoryProManager component, you can configure the action to perform on right-clicking an Inventory Slot. Here, you have 3 options to consider: None, Drop, ContextMenu.

  • None: Nothing is performed.

  • Drop: Drops the right-clicked Item.

  • ContextMenu: A small Menu appears next to the Inventory Slot, allowing you to use, pin, split or drop the Items.

When using a Tetris Inventory Slot style, only ContextMenu can be used.

What´s the Hotbar and what Items can it hold?

The Hotbar is a dedicated row of inventory slots, typically displayed at the bottom of the inventory interface. It is specifically designed to hold weapons only. Once a weapon is placed in the Hotbar, the player gains the ability to equip and use it directly.

Hotbar in Inventory Pro Add-On expands the "Inventory" from FPS Engine´s WeaponController.

Increase Hotbar Size

Hotbar in Inventory Pro Add-On expands the "Inventory" from FPS Engine´s WeaponController. Therefore, the hotbar size is directly based on the InventorySize value from WeaponController.

Swapping & Stacking Items

When moving items in the inventory, you can drop a dragged item onto another slot containing an item of the same size. ( Sizes only matter in Tetris Inventory Style ).

  • If the dragged item and the target item are the same type, they will automatically stack together, up to the item’s maximum stack limit.

  • If they are different items but share the same size, they will simply swap positions in the inventory.

Assigning Attachments from the Inventory

To assign an attachment to a weapon in the inventory, you can just drag the inventory on drop it on the desired weapon. If the attachment is valid and is compatible, it will be assigned. If not, the items will be swapped as no other action can be performed. A Toast Notification will be shown indicating the action.

Customize Inventory Slots UI & Style

To customize this Inventory Slot, it´s highly recommended to duplicate it first as a back-up. This way, if the style changes don´t go as expected, we can only assign the Back Up Inventory Slot Prefab back.

You can access the Prefab and modify the position of the Icon, the Amount Text, Colors, Images, Adding Animations etc...

Modifying Inventory, Hotbar & Chest Position in the UI

It’s important to understand that Grid-based Inventory Slots are generated starting from the top-left corner, which acts as the anchor point or origin of the grid layout.

Both Inventory and Chests are typically structured as multi-row and multi-column grids, allowing for a larger number of items to be stored. In contrast, the Hotbar is a simplified grid consisting of a single row with multiple columns, designed specifically for quick-access weapons.

Take Padding, spacing & other Style customization settings into account.

Inventory Inputs

You can configure Inputs specifically used by the Inventory System in the Navigation & Inputs Tab inside InventoryProManager.

Inventory & Chests are generated & populated based on their InventoryGridData_SO files, generated in the . Each InventoryGridData_SO file has a Button Prefab. This prefab stands for the Inventory Slots.

Tetris Inventory Considerations
Inventory Designe
r