EQInterface Forums

EQInterface Forums (http://www.eqinterface.com/forums/index.php)
-   XML modification help. (http://www.eqinterface.com/forums/forumdisplay.php?f=30)
-   -   Round inventory hotbuttons (http://www.eqinterface.com/forums/showthread.php?t=20932)

Makavien420 05-01-2011 11:10 AM

Round inventory hotbuttons
 
Hi I created some nice round buttons for my hotbar. I ran into a problem trying to make the background of the inventory slots rounded also . I kept some blank round buttons and added them like so

<Ui2DAnimation item="makablank">
<Frames>
<Texture>hotbuttons3.dds</Texture>
<Location>
<X>0</X>
<Y>188</Y>
</Location>
<Size>
<CX>50</CX>
<CY>47</CY>
</Size>
<Hotspot>
<X>0</X>
<Y>0</Y>
</Hotspot>
<Duration>1000</Duration>
</Frames>
</Ui2DAnimation>

Then in all the first hotbars inventory slots i put the background as makablank

But it seemed not to do anything any one know how to change this or is it hard coded ? They came out blank but square without any of the graphic I added .

Drakah 05-01-2011 11:34 AM

The Ui2DAnimation tag is for telling the game where the graphic is in the graphic file, but you need to tell the game that it has that file.

You will need this someplace to have that graphic file added to its memory to utilize.

<TextureInfo item="hotbuttons3.dds">
<Size>
<CX>256</CX>
<CY>256</CY>
</Size>
</TextureInfo>


....assuming it is a 256x256 image....though I wouldnt use DDS...I would stick with TGA.

Makavien420 05-01-2011 11:44 AM

Thats already added . All the normal hot buttons are round it is just the inventory hotbuttons say if you click and hold on a bag in your inventory and drop that hotkey into the hot bar it comes out square as normal instead of the background i defined. Just to add where it says transparant i tried changing that back and forth also to just have the item show but it doesnt seem to do anything either./

<InvSlot item="HB_InvSlot1">
<ScreenID>HB_InvSlot1</ScreenID>
<RelativePosition>true</RelativePosition>
<Location>
<X>4</X>
<Y>4</Y>
</Location>
<Size>
<CX>50</CX>
<CY>47</CY>
</Size>
<Background>makablank</Background>
<EQType>-2</EQType>
<Style_VScroll>false</Style_VScroll>
<Style_HScroll>false</Style_HScroll>
<Style_Transparent>true</Style_Transparent>
</InvSlot>

Drakah 05-01-2011 11:48 AM

Ohoh that...

window_pieces06.tga
window_pieces07.tga

defines what the hotbuttons look like


All times are GMT -5. The time now is 04:55 AM.

vBulletin Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.