Home Forum Downloads My Favorites Register FAQ

Go Back   EQInterface Forums > Developer Discussion > Graphics modification help.
User Name
Password

Reply
 
Thread Tools Display Modes
Old 12-21-2004, 10:24 AM   #1
Faeriemage
A Snow Griffin
 
Join Date: Jul 2002
Server: Zebuxoruk
Posts: 55
Default Graphic will not display

I have tried everything except for throwing my computer out the window, and all I think that would do is increase my heating bill.

I am doing fine modifying .tga files that come from EQ...usually (strange problems with transparency and the target indicator, but that is something else I am working on and not too worried anyway)

Ok, so I create this cool looking image using truSpace (they do the reflections in 3d better than I do free hand) and saved the result as a .tga file. I went into PSP and edited the .tga file so that it was broken up into six different pieces. 3 of them are 256x256 and the other 3 are 256x128

I want to use these as the background for my spell book, but I can not get them to load at all. Right now I am ignoring the rest of the book and concentrating on the upper left image, so here is the code I am playing with:

Here is the Animation declare code
<Ui2DAnimation item="A_SpellbookUpLeft">
<Cycle>true</Cycle>
<Frames>
<Texture>spellbookupleft.tga</Texture>
<Location>
<X>0</X>
<Y>0</Y>
</Location>
<Size>
<CX>255</CX>
<CY>255</CY>
</Size>
<Hotspot>
<X>0</X>
<Y>0</Y>
</Hotspot>
<Duration>1000</Duration>
</Frames>
</Ui2DAnimation>

Here is the call code in the spell book:
<StaticAnimation item="SBW_SpellBook1">
<ScreenID>SBW_SpellBook1</ScreenID>
<RelativePosition>true</RelativePosition>
<Location>
<X>0</X>
<Y>0</Y>
</Location>
<Size>
<CX>255</CX>
<CY>255</CY>
</Size>
<Animation>A_SpellbookUpLeft</Animation>
</StaticAnimation>

Here is my book declare code:
<Screen item="SpellBookWnd">
<RelativePosition>false</RelativePosition>
<Location>
<X>190</X>
<Y>80</Y>
</Location>
<Size>
<CX>985</CX>
<CY>446</CY>
</Size>
<Text>My Spell Book</Text>
<Style_Transparent>true</Style_Transparent>
<TooltipReference />
<DrawTemplate>WDT_Rounded</DrawTemplate>
<Style_Titlebar>false</Style_Titlebar>
<Style_Closebox>false</Style_Closebox>
<Style_Minimizebox>false</Style_Minimizebox>
<Style_Border>false</Style_Border>
<Style_Sizable>false</Style_Sizable>
<Pieces>SBW_SpellBook1</Pieces>
<Pieces>SBW_SpellBook2</Pieces>
<Pieces>SBW_Spell0</Pieces>
<Pieces>SBW_SpellName0</Pieces>
<Pieces>SBW_Spell1</Pieces>
<Pieces>SBW_SpellName1</Pieces>
<Pieces>SBW_Spell2</Pieces>
<Pieces>SBW_SpellName2</Pieces>
<Pieces>SBW_Spell3</Pieces>
<Pieces>SBW_SpellName3</Pieces>
<Pieces>SBW_Spell4</Pieces>
<Pieces>SBW_SpellName4</Pieces>
<Pieces>SBW_Spell5</Pieces>
<Pieces>SBW_SpellName5</Pieces>
<Pieces>SBW_Spell6</Pieces>
<Pieces>SBW_SpellName6</Pieces>
<Pieces>SBW_Spell7</Pieces>
<Pieces>SBW_SpellName7</Pieces>
<Pieces>SBW_Spell8</Pieces>
<Pieces>SBW_SpellName8</Pieces>
<Pieces>SBW_Spell9</Pieces>
<Pieces>SBW_SpellName9</Pieces>
<Pieces>SBW_Spell10</Pieces>
<Pieces>SBW_SpellName10</Pieces>
<Pieces>SBW_Spell11</Pieces>
<Pieces>SBW_SpellName11</Pieces>
<Pieces>SBW_Spell12</Pieces>
<Pieces>SBW_SpellName12</Pieces>
<Pieces>SBW_Spell13</Pieces>
<Pieces>SBW_SpellName13</Pieces>
<Pieces>SBW_Spell14</Pieces>
<Pieces>SBW_SpellName14</Pieces>
<Pieces>SBW_Spell15</Pieces>
<Pieces>SBW_SpellName15</Pieces>
<Pieces>SBW_Memorize_Gauge</Pieces>
<Pieces>SBW_Scribe_Gauge</Pieces>
<Pieces>SBW_MemPage0_Button</Pieces>
<Pieces>SBW_MemPage1_Button</Pieces>
<Pieces>SBW_PageDown_Button</Pieces>
<Pieces>SBW_PageUp_Button</Pieces>
<Pieces>SBW_LeftPageNum</Pieces>
<Pieces>SBW_RightPageNum</Pieces>
<Pieces>SBW_DoneButton</Pieces>
</Screen>
I have attached the graphic I am working with. Could someone please give me some pointers as to what I have done wrong?
Attached Files
File Type: zip spellbookupleft.zip (10.9 KB, 2 views)
Faeriemage is offline   Reply With Quote
Old 12-21-2004, 10:48 AM   #2
Taleisin
Guest
 
Posts: n/a
Default

nothing appears wrong graphic wise but uhm....... do you have a texture call for this TGA?

say

<TextureInfo item="spellbookupleft.tga"><Size><CX>256</CX><CY>256</CY></Size></TextureInfo>

you don't state it in the code you posted
  Reply With Quote
Old 12-21-2004, 12:43 PM   #3
Faeriemage
A Snow Griffin
 
Join Date: Jul 2002
Server: Zebuxoruk
Posts: 55
Default Doh

Realized that myself, and have finished it up. I just love when things are so obvious that you cant see them. Thanks
Faeriemage is offline   Reply With Quote
Old 12-21-2004, 12:55 PM   #4
Taleisin
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Faeriemage
Realized that myself, and have finished it up. I just love when things are so obvious that you cant see them. Thanks


you can't see the forest for the trees...........
  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 07:14 AM.


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