Dialog based Inventory

Dialog based Inventory preview 4

This project hasn't been updated in a long while.
Check this location for a more up to date version of an inventory system which you can use in your maps: Dialog Based Asset System

This is a Dialog Based Inventory.
It makes use of the default sc2 inventory for equiping items, and using items.

The difference with the default SC2 inventory:

  • Allow precise positioning of equipment slots compared to a background image
  • Allows different item size (1x1, 1x2, 5x5), these aren't limited to just those mentioned here. (Max size: 9x9, Min size: 1x1)

The way information is retrieved:

  • It reads the items Button (Face) for the icon to use in the inventory.
  • It reads the items Button Tooltip for the tooltip to use in the inventory.
  • It reads the items size from the item class it has (1x1, 1x2, 5x5). for example: 1x1Misc = a 1 by 1 slot item. 2x3Armor = a 2 by 3 slot item.


  • The unit that uses the inventory must have a SC2 inventory to be able to use items, equipment bonusses.
  • The unit must have restricted slots for equipment that match the restriction of the equipment panel.

This Asset has not yet been tested outside of my own map in which I created it

Fixed Problems

  • You can now drop items from the inventory at this time. (Fixed in v1.1)
  • You cannot see which item you're moving about in the inventory. (Fixed in v1.2)

Change log v1.3 Added:

  • Dialog retrieval functionality
  • Detection when an unit picks up an item
  • Fixed the Dragged Item Title Location.
  • Semi-fixed the Tooltip not disappearing
  • Might be some undocumented changes.

Planned Features

  • Setting Level Requirements to Items

Forum thread about this library: library-dialog-based-inventory

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Mugen245 Mugen245 Mar 04, 2013 at 08:51 UTC - 0 likes

    Just a question tho' How do I use these files? Thee easy way bro. ^_^

    Last edited Mar 04, 2013 by Mugen245

    If you think its useless, CHEAT / If you think its worthwhile, LEARN - Mugen Row

  • Avatar of Helral Helral Aug 27, 2010 at 00:27 UTC - 0 likes

    The stuff below needs to be added into a manual page so people will know how to use this library.

    hmmm there are several functions that need to be called for usage...
    I need to make a wiki explaining each function and the usage XD

    Basicly there are 3 functions to created the inventory and equipment bit:

    Create Inventory Setup (creates an inventory of the given size)
    Create Equipment Setup (creates an equipment panel)
    Add Equipment Slot (creates equipment slots in the equipment panel)
    Then you have functions for adding and removing items from the inventory.
    (the item removing is already handled by the system itself, so no need to call it unless you want to forcibly remove a certain item from the inventory)

    Add Item To Inventory (returns true if the item fits, false if the item doesn't fit)
    Remove Item from Position (currently just returns true)
    The SC2Inventory requirements are as follows:

    Instead of picking up items like you normally do you need to call the Add Item To Inventory action for it.
    Using items is only possible if you have an inventory slot that supports the item classes that can be used. (usable item classes may not match with equipable item classes)
    Equiping items is only possible if you have inventory slots that match the correct item class, which is set to equip in the data editor.
    This is the list in short. I'll be creating a somewhat bigger list in the feature, and I might even make picking up items work correctly automatically, instead of the need to call that add item to inventory bit manually.

    Helral's Lair
    Meow meoow meeow. I'm ze evil SC2MapsterKitten.

    UI Tutorials listing

    current projects:

  • Avatar of Helral Helral Aug 27, 2010 at 00:25 UTC - 0 likes

    Open up the trigger editor, click on the library button (or press ctrl+l) rightclick in the library area, select library, click on import. now find the sc2library file and open it this way.

    ps. the program you're using to open this file isn't correctly set. try rightclick and save as.

    Last edited Aug 27, 2010 by Helral
  • Avatar of joecab joecab Aug 25, 2010 at 23:26 UTC - 0 likes

    for some reason i cannot download it it keeps giving me something that says [Dialog_Inventory (3).SC2Lib] Trigger Libraries may be imported from the Trigger Editor. (Moduels> Triggers ... Data > Library > Import Library) I'm soooo confused =( I'd live it if someone who understands why i cant dl this would explain. (15 hours later) its still not working =(

    Last edited Aug 26, 2010 by joecab
  • Avatar of tFighterPilot tFighterPilot Aug 25, 2010 at 19:47 UTC - 0 likes

    Did anyone say Diablo :p



Date created
Aug 15, 2010
Last update
Sep 20, 2010
Development stage
  • enUS
Public Domain
Recent files