A Snow Griffin
Join Date: Jul 2002
Server: Zebuxoruk
Posts: 55
|
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?
|