Data/Item Containers

From SC2Mapster Wiki
Jump to: navigation, search

Item Containers[edit | edit source]

(Editor Screenshot) needs pic of a container

Description[edit | edit source]

An inventory expansion UI layout for storing and using held units with items

Hints[edit | edit source]

  • Beware that container UIs can overlap causing difficulties when moving or transfering items
  • Plan your container layout in advance because it is hard to remove slots in the data editor
  • Needs an Ability - Info - Empty Face button from the Buttons data type if linked directly from the Inventory ability

Example Usage[edit | edit source]

WoW Character[edit | edit source]

A container designed to mimic the inventory of WoW including placement of specific equipment class slots

URL[edit | edit source]

As the WoW Character container is already in the campaign dependencies, no URL is needed

Fields Description[edit | edit source]

Model[edit | edit source]

  • The model from the Models data type shown in the background of the container UI
  • If set to (None) uses the model of the Unit actor of the casting unit

Model Height[edit | edit source]

  • Sets the vertical scale of the model from the Model field

Model Width[edit | edit source]

  • Sets the horizontal scale of the model from the Model field

Slots - Classes[edit | edit source]

  • The classes from the Item Classes data type used to filter what items can be placed in each slot
  • The left index value is the slot number
  • The right index value allow several classes of item to be put in the same slot
  • Leaving this field empty allows any item class to be put in the slot

Slots - Column[edit | edit source]

  • The Horizontal position of each slot
  • 0 is the far left with increasing numbers going right

Slots - Empty Face[edit | edit source]

  • (Unknown) appears to have no effect
  • Uses buttons from the Buttons data type

Slots - Equip[edit | edit source]

  • Are items in the slot known as equiped
  • Only items in slots with the Equip flag enabled give their Equip bonuses
  • The Carry bonuses of items apply even if this field is disabled for the slot

Slots - Requirements[edit | edit source]

  • Requirements that have to be met by the unit with the inventory to use the slot
  • (Unsure) if disabling while holding an item forces the item to drop or not

Slots - Row[edit | edit source]

  • The vertical position of each slot
  • 0 is the far top with increasing numbers going down

Related[edit | edit source]