Home Forum Downloads My Favorites Register FAQ Mark Forums Read

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

Reply
 
Thread Tools Display Modes
Old 01-05-2018, 04:51 PM   #1
Angahran
Premium Member
 
Join Date: Sep 2002
Posts: 360
Interface Author - Click to view interfaces
Default Resize spell icon in hotbutton window

Hi,
I'm looking for a little help with resizing the spell icon in the hotbutton window.

I thought it would be as simple as changing the location, size and offset values but that doesn't appear to be the case.

Increasing the size value appears to make the icons smaller.

I'm obviously missing something.

[CODE]
<SpellGem item="HB_SpellGem">
<ScreenID>HB_SpellGem</ScreenID>
<Location>
<X>2</X>
<Y>2</Y>
</Location>
<Size>
<CX>36</CX>
<CY>36</CY>
</Size>
<Font>1</Font>
<TextColor>
<R>255</R>
<G>255</G>
<B>255</B>
</TextColor>
<SpellGemDrawTemplate>
<Holder>A_SpellGemHolder</Holder>
<Background>A_SpellGemBackground</Background>
<Highlight>A_SpellGemHighlight</Highlight>
</SpellGemDrawTemplate>
<SpellIconOffsetX>7</SpellIconOffsetX>
<SpellIconOffsetY>7</SpellIconOffsetY>
</SpellGem>
[CODE]
Attached Files
File Type: xml EQUI_HotButtonWnd.xml (49.4 KB, 1 views)
__________________
My UI files.
Angahran is offline   Reply With Quote
Old 01-06-2018, 02:43 PM   #2
Kellan
A Snow Cougar
 
Join Date: Jul 2002
Posts: 48
Default Additional changes

You need to resize more than just what you have done. All of these things have to match. Here is a chunk of the Vert hotbutton window code as an example:

<Ui2DAnimation item="HB_SpellGemHolder">
<Frames>
<Texture>spellgems.tga</Texture>
<Location>
<X>0</X>
<Y>0</Y>
</Location>
<Size>
<CX>40</CX>
<CY>40</CY>
</Size>
</Frames>
</Ui2DAnimation>
<Ui2DAnimation item="HB_SpellGemHighlight">
<Frames>
<Texture>spellgems.tga</Texture>
<Location>
<X>0</X>
<Y>40</Y>
</Location>
<Size>
<CX>40</CX>
<CY>40</CY>
</Size>
</Frames>
</Ui2DAnimation>
<Ui2DAnimation item="HB_SpellGemBackground">
<Frames>
<Texture>spellgems.tga</Texture>
<Location>
<X>40</X>
<Y>0</Y>
</Location>
<Size>
<CX>40</CX>
<CY>40</CY>
</Size>
</Frames>
</Ui2DAnimation>

<SpellGem item="HB_SpellGem">
<ScreenID>HB_SpellGem</ScreenID>
<RelativePosition>true</RelativePosition>
<Location>
<X>0</X>
<Y>0</Y>
</Location>
<Size>
<CX>40</CX>
<CY>40</CY>
</Size>
<Font>1</Font>
<TextColor>
<R>255</R>
<G>255</G>
<B>255</B>
</TextColor>
<SpellGemDrawTemplate>
<Holder>HB_SpellGemHolder</Holder>
<Background>HB_SpellGemBackground</Background>
<Highlight>HB_SpellGemHighlight</Highlight>
</SpellGemDrawTemplate>
<SpellIconOffsetX>8</SpellIconOffsetX>
<SpellIconOffsetY>8</SpellIconOffsetY>
</SpellGem>
Kellan is offline   Reply With Quote
Old 01-15-2018, 04:39 PM   #3
Angahran
Premium Member
 
Join Date: Sep 2002
Posts: 360
Interface Author - Click to view interfaces
Default Resize

The Holder, Highlight and Background sizes can't change can they ?
Those are the sizes of the graphics being pulled from the spellgems.tga file.

I know it's possible to show the spell icons in different sizes, I have another UI where the spell icons in the buff window are much bigger than in the castbar.

I'll have a poke around in both those files and see if I can figure it out.

Thanks.
Angahran is offline   Reply With Quote
Old 05-27-2020, 12:02 AM   #4
Pizzanomicon
A Fire Beetle
 
Join Date: Mar 2019
Posts: 3
Interface Author - Click to view interfaces
Default

I mostly messed with the sizes and got mine to work. I did a lot of comparison from other authors work. Hopefully I'm gonna post everything I've gotten done for a 2k resolution ui before launch.
Pizzanomicon is offline   Reply With Quote
Old 05-27-2020, 12:02 AM   #5
Pizzanomicon
A Fire Beetle
 
Join Date: Mar 2019
Posts: 3
Interface Author - Click to view interfaces
Default

Also to note, I had to increase the resolution on the gemicons/spellicons using upscaling via photoshop to get everything to work on a larger hot bar. Not sure if that helps.
Pizzanomicon is offline   Reply With Quote
Reply



Thread Tools
Display Modes

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 03:55 AM.


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