View Single Post
Old 10-15-2008, 12:21 AM   #81
Thong3320
A Snow Cougar
 
Join Date: Aug 2002
Posts: 45
Interface Author - Click to view interfaces
Default

thought I made these changes before and it didn't work

<Ui2DAnimation item="TW_GaugeFill4">
<Cycle>true</Cycle>
<Frames>
<Texture>ovalbar.tga</Texture>
<Location>
<X>-12500</X> --------changed from -5000
<Y>15</Y>
</Location>
<Size>
<CX>25000</CX> ----------changed from 10000
<CY>15</CY>
</Size>
<Hotspot>
<X>0</X>
<Y>0</Y>
</Hotspot>
<Duration>1000</Duration>
</Frames>
</Ui2DAnimation>

At 51% (which should be all green) I was getting green from 0 to 40%, yellow from 41-50% and one pixel of green and the end of the gauge. weird.

edit: got it figured it out....I was using 10000 (100x) for the texture...changed it to 25000 to match my 250pixel gauge....duh!!! Also changed the fill1.
Thong3320 is offline   Reply With Quote