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 08-03-2002, 04:54 AM   #1
Deadman
A Ghoul
 
Join Date: Aug 2002
Posts: 10
Interface Author - Click to view interfaces
Default Resizing gems with no graphic edits

I hated the tiny little spell decals for my spell gems and wanted to make the bar the same as my buff icons (30x30). So this is what I found out about the spell gems.

EQUI_Animations

<TextureInfo item = "gemicons01.tga">
<Size>
<CX>320</CX>
<CY>320</CY>
</Size>
</TextureInfo>
<TextureInfo item = "gemicons02.tga">
<Size>
<CX>320</CX>
<CY>320</CY>
</Size>
</TextureInfo>

<Ui2DAnimation item = "A_SpellGems">
<Cycle>false</Cycle>
<Grid>true</Grid>
<Vertical>false</Vertical>
<CellHeight>30</CellHeight>
<CellWidth>30</CellWidth>
<Frames>
<Texture>gemicons01.tga</Texture>
<Location>
<X>0</X>
<Y>0</Y>
</Location>
<Size>
<CX>320</CX>
<CY>320</CY>
</Size>
<Hotspot>
<X>0</X>
<Y>0</Y>
</Hotspot>
<Duration>1000</Duration>
</Frames>
<Frames>
<Texture>gemicons02.tga</Texture>
<Location>
<X>0</X>
<Y>0</Y>
</Location>
<Size>
<CX>320</CX>
<CY>320</CY>
</Size>
<Hotspot>
<X>0</X>
<Y>0</Y>
</Hotspot>
<Duration>1000</Duration>
</Frames>
</Ui2DAnimation>


EQUI_CastSpellWnd

<SpellGem item = "CSPW_Spell0">
<ScreenID>CSPW_Spell0</ScreenID>
<RelativePosition>true</RelativePosition>
<Location>
<X>0</X>
<Y>0</Y>
</Location>
<Size>
<CX>30</CX>
<CY>30</CY>
</Size>
<SpellGemDrawTemplate>
<Holder>A_SpellGemHolder</Holder>
<Background>A_SpellGemBackground</Background>
<Highlight>A_SpellGemHighlight</Highlight>
</SpellGemDrawTemplate>
<SpellIconOffsetX>0</SpellIconOffsetX>
<SpellIconOffsetY>0</SpellIconOffsetY>
</SpellGem>


In the EQUI_CastSpellWnd is a simple change to make the decal for the button 30x30 but you can see in the EQUI_Animations Its not so easy when you need the pictures to all line up. Originally the settings were 24x24 for size and 256 for picture size. I changed to 30x30 and 320 for same ratio and everything worked fine without changing the gemicons01/02 size. As long as the ratio is always the same like 48x48 and 512 you can change the decals that make up your spell icons.
Deadman 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 04:35 PM.


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