I'm trying to make my target window longer. So I edited the EQUI_Animations.xml file and added these lines
<TextureInfo item = "target_pieces.tga">
<Size>
<CX>256</CX>
<CY>256</CY>
</Size>
</TextureInfo>
<Ui2DAnimation item = "A_TargetGaugeBackground">
<Cycle>true</Cycle>
<Frames>
<Texture>target_pieces.tga</Texture>
<Location>
<X>0</X>
<Y>0</Y>
</Location>
<Size>
<CX>160</CX>
<CY>8</CY>
</Size>
<Hotspot>
<X>0</X>
<Y>0</Y>
</Hotspot>
<Duration>1000</Duration>
</Frames>
</Ui2DAnimation>
<Ui2DAnimation item = "A_TargetGaugeFill">
<Cycle>true</Cycle>
<Frames>
<Texture>target_pieces.tga</Texture>
<Location>
<X>0</X>
<Y>10</Y>
</Location>
<Size>
<CX>160</CX>
<CY>8</CY>
</Size>
<Hotspot>
<X>0</X>
<Y>0</Y>
</Hotspot>
<Duration>1000</Duration>
</Frames>
</Ui2DAnimation>
<Ui2DAnimation item = "A_TargetGaugeLines">
<Cycle>true</Cycle>
<Frames>
<Texture>target_pieces.tga</Texture>
<Location>
<X>0</X>
<Y>20</Y>
</Location>
<Size>
<CX>160</CX>
<CY>8</CY>
</Size>
<Hotspot>
<X>0</X>
<Y>0</Y>
</Hotspot>
<Duration>1000</Duration>
</Frames>
</Ui2DAnimation>
<Ui2DAnimation item = "A_TargetGaugeLinesFill">
<Cycle>true</Cycle>
<Frames>
<Texture>target_pieces.tga</Texture>
<Location>
<X>0</X>
<Y>30</Y>
</Location>
<Size>
<CX>160</CX>
<CY>8</CY>
</Size>
<Hotspot>
<X>0</X>
<Y>0</Y>
</Hotspot>
<Duration>1000</Duration>
</Frames>
</Ui2DAnimation>
<Ui2DAnimation item = "A_TargetGaugeEndCapLeft">
<Cycle>true</Cycle>
<Frames>
<Texture>target_pieces.tga</Texture>
<Location>
<X>164</X>
<Y>20</Y>
</Location>
<Size>
<CX>4</CX>
<CY>8</CY>
</Size>
<Hotspot>
<X>0</X>
<Y>0</Y>
</Hotspot>
<Duration>1000</Duration>
</Frames>
</Ui2DAnimation>
<Ui2DAnimation item = "A_TargetGaugeEndCapRight">
<Cycle>true</Cycle>
<Frames>
<Texture>target_pieces.tga</Texture>
<Location>
<X>164</X>
<Y>10</Y>
</Location>
<Size>
<CX>4</CX>
<CY>8</CY>
</Size>
<Hotspot>
<X>0</X>
<Y>0</Y>
</Hotspot>
<Duration>1000</Duration>
</Frames>
</Ui2DAnimation>
I also edited the EQUI_TargetWindow.xml and added
<GaugeDrawTemplate>
<Background>A_TargetGaugeBackground</Background>
<Fill>A_TargetGaugeFill</Fill>
<Lines>A_TargetGaugeLines</Lines>
<LinesFill>A_TargetGaugeLinesFill</LinesFill>
<EndCapLeft>A_TargetGaugeEndCapLeft</EndCapLeft>
<EndCapRight>A_TargetGaugeEndCapRight</EndCapRight>
</GaugeDrawTemplate>
Here is my target_pieces.tga
and here is the result
It looks like its using pieces of window_pieces01.tga because of the slants and breaks in the bar. I don't understand why its trying to use window_pieces01.tga when the animations file tells it to use my target_pieces.tga. Any ideas?