EQInterface Forums

EQInterface Forums (http://www.eqinterface.com/forums/index.php)
-   XML modification help. (http://www.eqinterface.com/forums/forumdisplay.php?f=30)
-   -   Resize spell icon in hotbutton window (http://www.eqinterface.com/forums/showthread.php?t=22074)

Angahran 01-05-2018 04:51 PM

Resize spell icon in hotbutton window
 
1 Attachment(s)
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]

Kellan 01-06-2018 02:43 PM

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>

Angahran 01-15-2018 04:39 PM

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.

Pizzanomicon 05-27-2020 12:02 AM

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 05-27-2020 12:02 AM

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.


All times are GMT -5. The time now is 02:27 PM.

vBulletin Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.