View Single Post
Old 07-31-2002, 05:52 AM   #6
Wolfran
A Tundra Mammoth
 
Join Date: Jul 2002
Posts: 68
Default Found it!

Okay...Instead of using the UI_Animations.xml file included in Geddine's zip file, use the default one. Just add the following lines to the <texture info> list:
Quote:
<TextureInfo item = "target.tga">
<Size>
<CX>512</CX>
<CY>64</CY>
</Size>
</TextureInfo>


You also want to add the following:

Quote:
<!-- Target Gauge Parts -->

<Ui2DAnimation item = "A_TargetGaugeBackground">
<Cycle>true</Cycle>
<Frames>
<Texture>target.tga</Texture>
<Location>
<X>0</X>
<Y>0</Y>
</Location>
<Size>
<CX>400</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.tga</Texture>
<Location>
<X>0</X>
<Y>10</Y>
</Location>
<Size>
<CX>400</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.tga</Texture>
<Location>
<X>0</X>
<Y>20</Y>
</Location>
<Size>
<CX>400</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.tga</Texture>
<Location>
<X>0</X>
<Y>30</Y>
</Location>
<Size>
<CX>400</CX>
<CY>8</CY>
</Size>
<Hotspot>
<X>0</X>
<Y>0</Y>
</Hotspot>
<Duration>1000</Duration>
</Frames>
</Ui2DAnimation>



From what I understand, these can be added anywhere in to file. As I said...still learning.
__________________
---Wolfran Funkenstein, 56 Barbarian Shaman, Drinal
Wolfran is offline   Reply With Quote