I am attempting to direct code a custom image into the EQUI_Animations.xml and EQUI_Templates.xml files. I have successfully done this before, yet now, as I am trying to point it to a file, I get an error every time I try to open it up in SIDLWIDL. Heres the Animations code I editted:
Quote:
<TextureInfo item = "box.tga">
<Size>
<CX>64</CX>
<CY>512</CY>
</Size>
</TextureInfo>
<Ui2DAnimation item = "WDT_Box">
<Cycle>true</Cycle>
<Frames>
<Texture>hotbutton.tga</Texture>
<Location>
<X>0</X>
<Y>0</Y>
</Location>
<Size>
<CX>64</CX>
<CY>512</CY>
</Size>
<Hotspot>
<X>0</X>
<Y>0</Y>
</Hotspot>
<Duration>1000</Duration>
</Frames>
</Ui2DAnimation>
<TextureInfo item = "block.tga">
<Size>
<CX>256</CX>
<CY>1024</CY>
</Size>
</TextureInfo>
<Ui2DAnimation item = "WDT_Block">
<Cycle>true</Cycle>
<Frames>
<Texture>block.tga</Texture>
<Location>
<X>0</X>
<Y>0</Y>
</Location>
<Size>
<CX>256</CX>
<CY>1024</CY>
</Size>
<Hotspot>
<X>0</X>
<Y>0</Y>
</Hotspot>
<Duration>1000</Duration>
</Frames>
</Ui2DAnimation>
|
The "box.tga" part isn't working, "block.tga" gives me no problems at all.
Editd Templates text (just part of the box.tga area, what I changed):
Quote:
<WindowDrawTemplate item = "WDT_Box">
<Background>box.tga</Background>
<VSBTemplate>
<UpButton>
<Normal>A_VSBUpNormal</Normal>
<Pressed>A_VSBUpPressed</Pressed>
|
Included ina zip is the TGA files: