The Items page is showed when clicking on the items tab.
It has the name "inventory_items" that is the name used by the player to recognize and show it.
Items page contains the grid of
items slots.
The following image shows the
items grid with some reference to how the slots are composed and how slots and their components are named to be recognized by Player.
Item_slot0
<TODO>: Insert description text here...
|
|
item_slot_bg0
<TODO>: Insert description text here...
|
|
item_slot_count0
<TODO>: Insert description text here...
|
|
| As for every other component of the UI you can customize the graphics and the structure of the Items page keeping these names for the active elements.
|
NAVIGATING THE PAGE
By default, to select an item to use you have to press A/D keys to change the selection horizontally and W/S to change it vertically, as showed into the
commands panel.
CUSTOMIZING THE PAGE
In addition to the graphics of single slots (background, slot count number graphics) you can change other parameters like number and proportion of slots.
The grid is dynamic, in the sense that, when editing, you can insert as many as slots you want, even if they exit from visible area of the screen.
The important thing is that you set the exact number of
visible item slots in the
maxNumSlots Player Character parameter.
In this way, during item selection, when reaching the last visible item, the Player Character automatically will scroll down the grid.
You can also place the slots on a single horizontal row or on a single vertical column, the system automatically adapt to that configuration.
| The slots in the grid must have all the same dimensions.
|
DESCRIPTION GROUP
When an item slot is selected, if it contains an item an item description is showed.
The item description is visualized in a
widget container called
"inventory_item_description_group" that contains 2 active widgets
item_caption
<TODO>: Insert description text here...
|
|
item_description
<TODO>: Insert description text here...
|
|