Ok, I've been working making my own gauges. I've made my image file, containing the gauge background and gauge fill. This file is 128 x 32 pixels in size, since both dimensions need to be a power of 2. I have double checked, and triple checked my locations and positions, and that the correct file (customgauge.tga) is in the correct folder.
Now in my equi_groupwindow.xml file, I've added
<TextureInfo Item="customgauge.tga">
<size>
<CX>128</CX>
<CY>32</CY>
</size>
</TextureInfo>
<Ui2DAnimation item="GW_GaugeBG">
<Cycle>true</Cycle>
<Frames>
<Texture>customgauge.tga</Texture>
<Location>
<X>0</X>
<Y>0</Y>
</Location>
<Size>
<CX>107</CX>
<CY>8</CY>
</Size>
<Hotspot>
<X>0</X>
<Y>0</Y>
</Hotspot>
<Duration>1000</Duration>
</Frames>
</Ui2DAnimation>
<Ui2DAnimation item="GW_GaugeF">
<Cycle>true</Cycle>
<Frames>
<Texture>customgauge.tga</Texture>
<Location>
<X>0</X>
<Y>9</Y>
</Location>
<Size>
<CX>107</CX>
<CY>8</CY>
</Size>
<Hotspot>
<X>0</X>
<Y>0</Y>
</Hotspot>
<Duration>1000</Duration>
</Frames>
</Ui2DAnimation>
and
<GaugeDrawTemplate>
<Background>GW_GaugeBG</Background>
<Fill>GW_GaugeF</Fill>
<!--<Lines>A_GaugeLines</Lines>-->
<!--<LinesFill>A_GaugeLinesFill</LinesFill>-->
<!--<EndCapLeft>A_GaugeEndCapLeft</EndCapLeft>-->
<!--<EndCapRight>A_GaugeEndCapRight</EndCapRight>-->
</GaugeDrawTemplate>
for the desired gauges.
But my ui doesn't load. I get this error in my uierrors.txt
[Wed Jul 28 14:33:12 2004] [Line:5 Source:UIFiles\Test\EQUI_GroupWindow.xml] Schema error - Expecting a item
[Wed Jul 28 14:33:12 2004] Error reading XML.
[Wed Jul 28 14:33:12 2004] Error loading skin: loading default skin instead.
Line 5 is the line with <TextureInfo Item="customgauge.tga">
My guess is I'm doing something wrong with the alpha channels in the image file. I use Photoshop 7.0.
If anyone can help me, I'd greatly apreciate it