Home Forum Downloads My Favorites Register FAQ

Go Back   EQInterface Forums > General Discussion > Help ! ? ! ?
User Name
Password

Reply
 
Thread Tools Display Modes
Old 03-31-2009, 05:08 PM   #1
Angahran
Premium Member
 
Join Date: Sep 2002
Posts: 360
Interface Author - Click to view interfaces
Default Spell Icon sizes

Possibly a dumb question but I can't seem to find a way to make my spell icons bigger in my hotbar.

I've tried everything I can think of but the spell icons stay the same size as they are in my Buff/ SD Buff and Castbar windows.

I can't seem to find anything that says how big the actual icon is supposed to by

Any help or suggestions much appreciated.

Thanks.

Ang.

Code:
<SpellGem item="HB_SpellGem1"> <ScreenID>HB_SpellGem1</ScreenID> <RelativePosition>true</RelativePosition> <Location> <X>2</X> <Y>2</Y> </Location> <Size> <CX>40</CX> <CY>40</CY> </Size> <SpellGemDrawTemplate> <Holder>A_HotButton1Normal</Holder> <Background>A_HotButton1Flyby</Background> <Highlight>CSW_SpellGemHighlight</Highlight> </SpellGemDrawTemplate> <SpellIconOffsetX>2</SpellIconOffsetX> <SpellIconOffsetY>2</SpellIconOffsetY> </SpellGem>
Angahran is offline   Reply With Quote
Old 03-31-2009, 11:01 PM   #2
Fnyyen
Premium Member
 
Join Date: Oct 2002
Posts: 96
Interface Author - Click to view interfaces
Default

Quote:
Originally Posted by Angahran
<Size>
<CX>40</CX>
<CY>40</CY>
</Size>

[/CODE]


is what i would be looking at.

see if by changing those 2 u can get the icon to shrink / grow to the size that u want it.

only other thing that i can think of that u would have to check for is that its not size locked some where else in the code.

would look something like this
<DecalSize>
<CX>30</CX>
<CY>30</CY>
</DecalSize>

if u happen to see anything with the same Screen ID or a similar Screen ID as the buff Icon that would be the Decal i would take a look at along with changing the size of them in the icon buff description.

the size of the Decal and the Source size must be the same or it will not change.
Fnyyen is offline   Reply With Quote
Old 04-01-2009, 04:18 PM   #3
Angahran
Premium Member
 
Join Date: Sep 2002
Posts: 360
Interface Author - Click to view interfaces
Default

Changing the <Size> changes the size of the hotbar button, but not the spell icon. There does not appear to be a <DecalSize> associated with spellgems

Ang.
Angahran is offline   Reply With Quote
Old 04-01-2009, 04:42 PM   #4
Fnyyen
Premium Member
 
Join Date: Oct 2002
Posts: 96
Interface Author - Click to view interfaces
Default

Hmm.. what part of ur UI are ya working on. ill take a look at it.
Fnyyen is offline   Reply With Quote
Old 04-01-2009, 09:41 PM   #5
Angahran
Premium Member
 
Join Date: Sep 2002
Posts: 360
Interface Author - Click to view interfaces
Default

Im working on the hotbutton window at the moment.
Trying to get the spell icons (for when you drag a spell to the hotbar) to be bigger. The seem to be a fixed size, changing the <Size> tag just made the button bigger, not the icon.
And <DecalSize> is not a valid tag for a 'SpellGem' item.

Thanks, this is really starting to bug me

Ang.
Angahran is offline   Reply With Quote
Old 04-01-2009, 10:46 PM   #6
Dimencia
Premium Member
 
Dimencia's Avatar
 
Join Date: Oct 2004
Posts: 204
Interface Author - Click to view interfaces
Default

Good news and bad news on the spell gem icons...

Good news found how to resize the icon (picture in the holder)...
EQUI_Animations.xml (NOT the hot key)

Quote:
<Ui2DAnimation item="A_SpellGems">
<Cycle>false</Cycle>
<Grid>true</Grid>
<Vertical>false</Vertical>
<CellHeight>24</CellHeight>
<CellWidth>24</CellWidth>
<Frames>


Change the 24's to your desired size....

Now for the bad news...
gemicons01.tga
gemicons02.tga
gemicons03.tga

all have to be resized to Grid the new spacing you selected...
so instead of 10x10 icons 24x24pxls you will have to make them 10x10 (your_new_size)x(your_new_size)

Also in your Hotbox you will need to adjust decal offset to comensate for the new size adjustment
__________________
Dimencia Everhate
Dimencia is offline   Reply With Quote
Old 04-02-2009, 09:21 AM   #7
Angahran
Premium Member
 
Join Date: Sep 2002
Posts: 360
Interface Author - Click to view interfaces
Default

Thanks,
So basically, the icons cannot be resized on a 'per window' basis you have to resize the actual graphic file which will effect the icons globally.

oh well.

Thanks

Ang.
Angahran is offline   Reply With Quote
Old 04-02-2009, 12:46 PM   #8
Dimencia
Premium Member
 
Dimencia's Avatar
 
Join Date: Oct 2004
Posts: 204
Interface Author - Click to view interfaces
Default

Quote:
So basically, the icons cannot be resized on a 'per window' basis you have to resize the actual graphic file which will effect the icons globally.

Maybe...

This is just an idea that has worked for other items such as guages and buttons...

Make a 2nd Set of graphic files for the alt size(s)
Orgional <----------> New
gemicons01.tga <--> gemicons01b.tga
gemicons02.tga <--> gemicons02b.tga
gemicons03.tga <--> gemicons03b.tga
Resize the B set to the size you want for the grid.

Define and write up a whole new set of UI2D_animation for the A_SpellGems, maybe call it A_SpellGemsB. Copy and make a new set of the xml code for the frame, border and background too.

These you should be able to leave in your hotbox xml file or what ever window your working with. and assign the calls in the xml to use your B version vs default.

This in theory should work... if their is any hard-coded parts to where you may only use A_SpellGems vs defining your own then your sol, however if it does work then you could have a seperate set of icons for buffs, hot boxes, and spell casting windows...
Dimencia is offline   Reply With Quote
Old 04-02-2009, 02:01 PM   #9
Angahran
Premium Member
 
Join Date: Sep 2002
Posts: 360
Interface Author - Click to view interfaces
Default

Thanks Dimencia,
However, it looks like the references to A_SpellGems ARE hardcoded as the only place that 'A_SpellGems' is mentioned is in EQUI_Animations.

There is also a definition for A_SpellIcons that are larger images (40x40) but these also appear to be hardcoded.

I hate hardcoded references

If I could just get the HotButtons using A_SpellIcons instead of A_SpellGems I think everything would be great.

Ang.
Angahran 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 10:34 AM.


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