Hello!
Recently I decided to try and make an equipment menu that would be focused on icons, like in the style of the Diablo games (example picture added below).
I've started doing small adjustments to the menu windows and such, like adding additional equipment slots for equipment and renaming the slots themselves all of that works great, but soon after I made these small adjustments I ran into a few problems that I can't seem to find an actual workaround for.
First being that I can't seem to find a function that determines which type of equipment should be seen by which slot and whether or not it is equipable by said slot. For example, I renamed the first (0) slot to "Head" and I want that slot to only see and be able to equip equipment that is headgear. Now, I know how to check whether or not a particular item is headgear or armor, or gloves, or something else, but I don't understand how to set this specific item to a specific slot. At this moment what I get is that the equipment slot for headgear can only see and equip weapons, whilst the slot for the left hand can only see armors, and so on (example picture added below). And thus I wanted to find out, whether or not can I somehow change which equipment slot sees and equips which item?
The second problem is that I can't adjust the equipment slot positions and their height and width. I want the general layout of the inventory window to resemble that of Diablo's . So for this problem I wanted to ask whether or not I can somehow directly edit the height, width and position of each individual slot or do I have to rework the window itself from scratch to fit my needs?
Example picture of the Diablo II inventory menu:
Example picture of how the menu that I have looks so far:
Also, sorry for the awful and long explanation, and thanks in advance for any answers!
Recently I decided to try and make an equipment menu that would be focused on icons, like in the style of the Diablo games (example picture added below).
I've started doing small adjustments to the menu windows and such, like adding additional equipment slots for equipment and renaming the slots themselves all of that works great, but soon after I made these small adjustments I ran into a few problems that I can't seem to find an actual workaround for.
First being that I can't seem to find a function that determines which type of equipment should be seen by which slot and whether or not it is equipable by said slot. For example, I renamed the first (0) slot to "Head" and I want that slot to only see and be able to equip equipment that is headgear. Now, I know how to check whether or not a particular item is headgear or armor, or gloves, or something else, but I don't understand how to set this specific item to a specific slot. At this moment what I get is that the equipment slot for headgear can only see and equip weapons, whilst the slot for the left hand can only see armors, and so on (example picture added below). And thus I wanted to find out, whether or not can I somehow change which equipment slot sees and equips which item?
The second problem is that I can't adjust the equipment slot positions and their height and width. I want the general layout of the inventory window to resemble that of Diablo's . So for this problem I wanted to ask whether or not I can somehow directly edit the height, width and position of each individual slot or do I have to rework the window itself from scratch to fit my needs?
Example picture of the Diablo II inventory menu:
Example picture of how the menu that I have looks so far:
Also, sorry for the awful and long explanation, and thanks in advance for any answers!