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 06-11-2003, 12:57 PM   #1
youngbull
A Hill Giant
 
Join Date: Dec 2002
Posts: 30
Interface Author - Click to view interfaces
Default icons from spells taga

ive done several searches and looked at a few examples but still cant find an answer to this question.

is it possible to pull a spell icon out of the spell taga and display it in a ui window as a lable. im trying to avoid adding another taga to the ui im moding and was trying to figure out how.

if it is possible please paste some code so i can see how it looks
youngbull is offline   Reply With Quote
Old 06-11-2003, 01:04 PM   #2
Empere
A Hill Giant
 
Join Date: Feb 2003
Posts: 39
Default

I'm not certain what you mean by "Use a spell gem as a label". Can you explain in more detail what you mean? The best answer I could come up with to put a spell gem into another window is to load the texture out of the correct .tga file and use that texture as a Ui2dAnimation in your new screen. Take a look at the EQ_SpellCastWindow.xml to get a feel for what's going on there, and be sure to look into the EQ_Animations.xml to understand what the base animation classes for A_SpellGemholder and A_SpellGemBackground are actually doing.

HTH
__________________
[My Toon Haiku]
Empere Staticlaws,
a Godless Vah Shir Beastlord
who plays on Povar.
Empere is offline   Reply With Quote
Old 06-11-2003, 01:17 PM   #3
Haliken
Quintessence of EQUI XML
 
Haliken's Avatar
 
Join Date: Sep 2002
Posts: 773
Interface Author - Click to view interfaces
Default

Yes you can youngbull.

<Ui2DAnimation item = "B_CSPW_SpellBook_Btn">
<Frames>
<Texture>gemicons02.tga</Texture>
<Location>
<X>48</X>
<Y>96</Y>
</Location>
<Size>
<CX>24</CX>
<CY>24</CY>
</Size>
</Frames>
</Ui2DAnimation>

for example pulls out a certain spell icon that I use as a sort of background for my spellbook button.

Enok

P.S. - If you want a full size spell use textures spells01.tga - spells05.tga and their height and width is 40.
Haliken is offline   Reply With Quote
Old 06-11-2003, 01:40 PM   #4
youngbull
A Hill Giant
 
Join Date: Dec 2002
Posts: 30
Interface Author - Click to view interfaces
Default

thanks i think thats what im looking for time to play
youngbull is offline   Reply With Quote
Old 06-11-2003, 02:07 PM   #5
Empere
A Hill Giant
 
Join Date: Feb 2003
Posts: 39
Default

/bow Haliken
Empere 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 11:29 AM.


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