Home Forum Downloads My Favorites Register FAQ

Go Back   EQInterface Forums > Developer Discussion > XML modification help.
User Name
Password

Reply
 
Thread Tools Display Modes
Old 05-31-2009, 11:48 PM   #1
NeroMorte
A Fire Beetle
 
Join Date: Jan 2005
Posts: 3
Question Size and Location Help

I'm Currently editing the EQUI_ShortDurationBuffWindow.xml

I Can't Seem to get Bard Song Icons to Move any Direction i'm Changing:

Code:

So is this Location 0 being Far left Size of button right?
Code:
<Location> <X>171</X> <Y>2</Y> </Location> <Size> <CX>23</CX> <CY>25</CY> </Size>


I don't get the Decaloffset? and i believe DecalSize is icon size right?
Code:
<DecalOffset> <X>1</X> <Y>1</Y> </DecalOffset> <DecalSize> <CX>23</CX> <CY>25</CY> </DecalSize>


Let me know if i should Post full XML or Screen shot of the Song Window.

if someone can please help me out with this

Thanks, Morte
NeroMorte is offline   Reply With Quote
Old 06-01-2009, 02:05 AM   #2
Desideratus
A Shissar Disciple
 
Desideratus's Avatar
 
Join Date: Feb 2005
Server: Venril Sathir
Posts: 125
Interface Author - Click to view interfaces
Default

You can't fix location on buffs and songs, they will load left to right, top to bottom in whatever size window you put them in. The Size is the size of the coloured background for a buff (blue, yellow, red) and the buff timer will appear in the bottom right corner of that sized area. The decal offset is the relative position (within the background) of the top left corner of the buff icon, and the decal size is the size of the buff icon.

So, for a small square buff image with a very narrow border,

<Size>
<X>30</X>
<Y>30</Y>
</Size>
<DecalOffset>
<X>1</X>
<Y>1</Y>
</DecalOffset>
<DecalSize>
<CX>28</CX>
<CY>28</CY>
</DecalSize>

For the same buff image with the timer set below the icon,

<Size>
<X>30</X>
<Y>40</Y>
</Size>
<DecalOffset>
<X>1</X>
<Y>1</Y>
</DecalOffset>
<DecalSize>
<CX>28</CX>
<CY>28</CY>
</DecalSize>

For the same buff image with the background extending to the right so you can add the buff name over it,

<Size>
<X>100</X>
<Y>30</Y>
</Size>
<DecalOffset>
<X>1</X>
<Y>1</Y>
</DecalOffset>
<DecalSize>
<CX>28</CX>
<CY>28</CY>
</DecalSize>

The "location" codes are ignored. If your buff images are 30 wide and high and your buff window is {70} wide, you'll get 2 buffs side by side: if your buff window is {760} wide, you'll get all 25 buffs lined up horizontally. Unless your buff window is less than about {40} pixels high - in which case you'd see nothing, because no buff image fits in the available space (overall window size includes the borders, so the actual size numbers required can vary a bit with the skin for borders).
Desideratus is offline   Reply With Quote
Old 06-01-2009, 12:37 PM   #3
NeroMorte
A Fire Beetle
 
Join Date: Jan 2005
Posts: 3
Default

Below is My Song Window & Buff Window you can see the Icons are off from where i would like them to be.




Song Window Size for TGA:
Width: 256
Height: 128

Song Window Size of Design:
Width: 255
Height: 31

---

Buff Window Size for TGA:
Width: 256
Height: 512

Buff Window Size of Design:
Width: 131
Height: 403

Should i make the TGA size the size of design? there has to be a way i can scoot them icons over into the Box's i Created for them.


Edit:
I Finally got it more less the way i wanted them now.


I think i'm starting to figure this out so the Button Blue Background has to be as big as i want my Spacing between each Icon then i offset it to middle to hide alot of the blue background.

Thanks alot for help

P.S. I also wanted to Add like 14m over Buff Icon or however many Minutes left on buff how would i do this?

Thanks, again
Attached Images
File Type: jpg Songs_Buffs.jpg (96.0 KB, 116 views)

Last edited by NeroMorte : 06-01-2009 at 07:18 PM.
NeroMorte is offline   Reply With Quote
Old 06-01-2009, 08:10 PM   #4
krowebar
ScareKrowe
 
krowebar's Avatar
 
Join Date: Dec 2003
Posts: 16
Interface Author - Click to view interfaces
Default Mq?



lol Posting a pic of your UI while using MacroQuest is priceless!
krowebar is offline   Reply With Quote
Old 06-02-2009, 11:15 AM   #5
NeroMorte
A Fire Beetle
 
Join Date: Jan 2005
Posts: 3
Default

lol thanks yeas i was ganna Crop it but then i got to Lazy and a raid started so i was like O.o this good enough.

Think im starting to get a hang of this UI creation though. We shall see as more parts i build. =)
NeroMorte is offline   Reply With Quote
Reply




Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -5. The time now is 12:08 AM.


vBulletin Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI