EQInterface Forums

EQInterface Forums (http://www.eqinterface.com/forums/index.php)
-   General authoring help / discussion (http://www.eqinterface.com/forums/forumdisplay.php?f=12)
-   -   Changing clickable slots (http://www.eqinterface.com/forums/showthread.php?t=20905)

majandra 02-28-2011 10:44 AM

Changing clickable slots
 
I am using the Vert UI, and would like to change which items are clickable through the hotbuttons window. Can anyone direct me on how to start doing that?
I am new to UI editing, but would like to learn, and I figure that's as good a place as any to start playing around- I just don't know how to start.

Savok 02-28-2011 07:29 PM

Open the EQUI_HotbuttonWnd.xml file and search for newslot. Each slot has a background and an eq type that matches the slot you want to yous. Look in the EQUI_Inventory.xml file for the type of slot you want to use and change the 2 corresponding elements listed above.

majandra 03-01-2011 10:30 PM

thank you :)

majandra 03-01-2011 11:00 PM

I must be doing something wrong. When I changed a slot, the UI wouldn't load, and would divert back to the previous one I had loaded.

Savok 03-02-2011 08:13 AM

Ok this is the code in my Vert UI:

Code:
<InvSlot item="HBInvSlotA"> <ScreenID>HBInvSlotA</ScreenID> <RelativePosition>true</RelativePosition> − <Size> <CX>34</CX> <CY>34</CY> </Size> <Background>A_InvPrimary</Background> <EQType>inventory/Equip 13</EQType> </InvSlot> − <InvSlot item="HBInvSlotB"> <ScreenID>HBInvSlotB</ScreenID> <RelativePosition>true</RelativePosition> <Background>A_InvSecondary</Background> <EQType>inventory/Equip 14</EQType> </InvSlot> − <InvSlot item="HBInvSlotC"> <ScreenID>HBInvSlotC</ScreenID> <RelativePosition>true</RelativePosition> <Background>A_InvRange</Background> <EQType>inventory/Equip 11</EQType> </InvSlot> − <InvSlot item="HBInvSlotD"> <ScreenID>HBInvSlotD</ScreenID> <RelativePosition>true</RelativePosition> <Background>A_InvAmmo</Background> <EQType>inventory/Equip 22</EQType> </InvSlot> − <InvSlot item="HBInvSlot1"> <ScreenID>HBInvSlot1</ScreenID> <RelativePosition>true</RelativePosition> − <Size> <CX>34</CX> <CY>34</CY> </Size> <Background>A_RecessedBox</Background> <EQType>inventory/Equip 23</EQType> </InvSlot> − <InvSlot item="HBInvSlot2"> <ScreenID>HBInvSlot2</ScreenID> <RelativePosition>true</RelativePosition> <Background>A_RecessedBox</Background> <EQType>inventory/Equip 24</EQType> </InvSlot> − <InvSlot item="HBInvSlot3"> <ScreenID>HBInvSlot3</ScreenID> <RelativePosition>true</RelativePosition> <Background>A_RecessedBox</Background> <EQType>inventory/Equip 25</EQType> </InvSlot> − <InvSlot item="HBInvSlot4"> <ScreenID>HBInvSlot4</ScreenID> <RelativePosition>true</RelativePosition> <Background>A_RecessedBox</Background> <EQType>inventory/Equip 26</EQType> </InvSlot> − <InvSlot item="HBInvSlot5"> <ScreenID>HBInvSlot5</ScreenID> <RelativePosition>true</RelativePosition> <Background>A_RecessedBox</Background> <EQType>inventory/Equip 27</EQType> </InvSlot> − <InvSlot item="HBInvSlot6"> <ScreenID>HBInvSlot6</ScreenID> <RelativePosition>true</RelativePosition> <Background>A_RecessedBox</Background> <EQType>inventory/Equip 28</EQType> </InvSlot> − <InvSlot item="HBInvSlot7"> <ScreenID>HBInvSlot7</ScreenID> <RelativePosition>true</RelativePosition> <Background>A_RecessedBox</Background> <EQType>inventory/Equip 29</EQType> </InvSlot> − <InvSlot item="HBInvSlot8"> <ScreenID>HBInvSlot8</ScreenID> <RelativePosition>true</RelativePosition> <Background>A_RecessedBox</Background> <EQType>inventory/Equip 30</EQType> </InvSlot> − <InvSlot item="HBInvSlot9"> <ScreenID>HBInvSlot9</ScreenID> <RelativePosition>true</RelativePosition> <Background>A_RecessedBox</Background> <EQType>inventory/Equip 31</EQType> </InvSlot> − <InvSlot item="HBInvSlot10"> <ScreenID>HBInvSlot10</ScreenID> <RelativePosition>true</RelativePosition> <Background>A_RecessedBox</Background> <EQType>inventory/Equip 32</EQType> </InvSlot>


The code may look different to yours due to the fact that I use tilelayout boxes for my inventory slots.

The part highlighted in blue is the background picture of the slot, the red is the slot type. So EQ type inventory/Equip 13 is your primary, and would use the A_InvPrimary background.

All of the backgrounds and their corresponding EQ Types are listed in the EQUI_Inventory xml file.

majandra 03-03-2011 12:39 AM

Ok I see what I was doing wrong. The ui itself seems to have it wrong, so I will do it with the code you have listed rather than just the number that mine shows.

Savok 03-03-2011 09:17 AM

This is only part of the code, you need to look at the whole file.


All times are GMT -5. The time now is 06:04 PM.

vBulletin Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.