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 07-27-2002, 01:39 AM   #1
Karsan
A Tundra Mammoth
 
Join Date: Jul 2002
Posts: 62
Default Resizing Spell Gems

Resizing the spellgems is giving me some trouble. When I try to resize the spellgem, the border around the gem seems to "break away" from the gem and the spell-icon graphic starts to drift away. Both are still connected though. Any ideas?

The first gem was originally set at:

1,3 .. 31,23

and I'm trying to resize it to:
1,3 .. 39,31

With the other gems matching likewise at:

n,3 .. 39,31

Which would put them all in a horizontal line.
__________________
Karsan Titanstomper
The Shadow Shaman
Karsan is offline   Reply With Quote
Old 07-27-2002, 01:47 AM   #2
Amaprotu
A Snow Cougar
 
Join Date: Jul 2002
Posts: 47
Send a message via ICQ to Amaprotu
Default

These are the tags you are looking for: They are there in each spell gem slot description:
<SpellIconOffsetX>0</SpellIconOffsetX>
<SpellIconOffsetY>0</SpellIconOffsetY>
Amaprotu is offline   Reply With Quote
Old 07-27-2002, 02:28 AM   #3
Karsan
A Tundra Mammoth
 
Join Date: Jul 2002
Posts: 62
Default

What would the upper level tag for those items be? Where would they go inside the spell gem description?

I see:

<SpellGem item =

with lots of stuff under it, and

<SpellGemDrawTemplate>

with stuff under it as well. Would those go in the Draw Template?
Karsan is offline   Reply With Quote
Old 07-27-2002, 01:52 PM   #4
psychogears
A Shissar Disciple
 
psychogears's Avatar
 
Join Date: Jul 2002
Server: Xev
Posts: 106
Send a message via ICQ to psychogears Send a message via AIM to psychogears Send a message via Yahoo to psychogears
Default

Check the AboutSIDL.doc file, it has the description for every tag and tag value default in it.
__________________
Hazul, Plik, Xzhamacharathae, Seis, Lyca, Pogi, Camm...

of Xev
psychogears is offline   Reply With Quote
Old 07-28-2002, 08:56 PM   #5
Caen
A Gray Wolf
 
Join Date: Jul 2002
Posts: 7
Default

I too am trying to shrink the spellgems.

Shrunk the window itself.
Shrunk each gem "container" (the circle that goes around the squarish icon and is a different color depending on the type of spell)
Even shrunk the container when mouse dragging and placing on hotkeys....

BUT:
I can't shrink the spell icons! There seems to be no <size> tags as they pertain to the icons themselves.

So... I shrank the icon grids in gemicons01.tga and gemicons02.tga. (made them 192x192 instead of 256x256, I'm shrinking everything by 25%)

Then, changed the parameters about these files in EQUI_Animations.xml

The size then looks good, but guess what, I'm getting crap for the icons themselves, it's not picking them up correctly from the icon grids, most of the time I'm getting corners of 4 different icons in the image...

You know... somehow they're also trimming the corners off of the icons in the default interface... I wonder if they're using the background image as a mask...

Anybody else played with this?

Thanks,
Caen - Drinal server
Caen is offline   Reply With Quote
Old 07-29-2002, 03:57 AM   #6
Caen
A Gray Wolf
 
Join Date: Jul 2002
Posts: 7
Default Honey, I shrunk the Spell Gems!!

Woot! I got it!

Somehow I stripped out the alpha channel in the .tga files, fixed that and I was home free.

Will post a link here when I get the .zip posted somewhere, hopefully eqinterface.com...

Caen

edit: actually it looks like even though I shrank the file to 192x192, in the <Texture> tag of EQUI_Animations.xml, I needed to leave the specified size of 256x256. Go figure.

Last edited by Caen : 07-29-2002 at 05:13 AM.
Caen is offline   Reply With Quote
Old 07-30-2002, 03:22 AM   #7
Joril
A Gray Wolf
 
Join Date: Jul 2002
Posts: 4
Default

im doing the exact opposite, i want large spell gems. i have managed to get them the size i want, but like you, i cant get the pictures the correct size.

i tried resizing the gemicons file. the first time i again had a similiar experience to yours, got corners and such. i did manage to resize one correctly ( i see the entire correct icon with in the spell gem), but this is the wierd part. i only changed the size of one of the gemicon files, so i would have a control to see the image sizes, except all of the icons show up the same size. both the one i enlarged and the one i didnt. and yes i have some from each loaded as spells as a check.

any ideas? i left the animations file at 256 and have the offsets correct, the icons are centered properly. i just a small black border between the icon and spell gem.... no more then 1 or 2 pixels in size.

i increased the gemicons01 file to 402 from 256.
Joril is offline   Reply With Quote
Old 07-30-2002, 02:04 PM   #8
Caen
A Gray Wolf
 
Join Date: Jul 2002
Posts: 7
Default

Was the icon that worked correctly in the extreme upper left corner?

In any case... what i think is happening is this:

You HAVE to specify 256x256 for the textureinfo size in EQUI_Animations.xml (I believe this is a bug)

Then below that, in the Ui2DAnimation tag, your size can be SMALLER. If it's larger, I think the textureinfo size (above) invalidates anything larger than 256.

So... you *might* be able to get around this by putting as many LARGER icons in as many 256x256 files as it takes. Then just appending the extra files as <Frames> in the Ui2DAnimation for A_SpellGems. Now the hard part is figuring out what order to place the icons in all those files.

edit: I attached my mods for 25% smaller gems.

edit: I deleted the attachment, I'll post a new one in a new thread. (equi_animations.xml needed to be updated)

Last edited by Caen : 08-09-2002 at 02:37 PM.
Caen is offline   Reply With Quote
Old 07-30-2002, 09:54 PM   #9
Joril
A Gray Wolf
 
Join Date: Jul 2002
Posts: 4
Default

thanks, ill play with it somemore. but looks like ill just have to live with the small border.
Joril is offline   Reply With Quote
Old 08-01-2002, 03:11 AM   #10
Caen
A Gray Wolf
 
Join Date: Jul 2002
Posts: 7
Default

nice, i just glanced at psychogears post in the general forum and he points out that the file needs to be a multiple of 128x128 in size, so there ya go, make a files of size 512x512 or something.

actually, reading more of the posts there, Geddine points out that each size (x or y) needs to be factor of 2 (2 4 8 16 32 64 128 256 512 1024 2048 4096, etc.)

Last edited by Caen : 08-01-2002 at 03:29 AM.
Caen is offline   Reply With Quote
Old 09-12-2002, 11:18 PM   #11
Glayde
A Ghoul
 
Join Date: Sep 2002
Posts: 18
Default

Moo.

Anyone have any luck with this?

I actually got it to work with gemicons01 and gemicons02 but when you increase them they look choppy because the resolution won't hold up, however, one thing i would love to do is simply replace the gemicons with the bufficons which are 40x40 and much more detailed then simply blowing up a 24x24.
Glayde 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 09:38 AM.


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