View Single Post
Old 11-11-2003, 07:15 AM   #1
Adarii
A Gray Wolf
 
Join Date: Aug 2002
Posts: 5
Interface Author - Click to view interfaces
Default Modifying Target Window to show /con colour

Hi All

I'm having a problem where I'm about to rip my hair out. I've read through all the tutorials and it has helped me tremendously on part of my problem but I'm really stuck now.

This is what I'm talking about.



As you can see the graphic does not fit the target window and I cannot work out why.

My target window is 150 x 35 px, my graphic is 150 x35 (on a 256 x 128 canvas) all references that I can see in the XML are correct but I must be missing something somewhere and I can't find it!!

I belive this is the relevent XML code, can also download my graphics file + full xml file here: Click ME!

<TextureInfo item = "TargetBox.tga">
<Size>
<CX>256</CX>
<CY>128</CY>
</Size>
</TextureInfo>

<Ui2DAnimation item = "A_TargetBox">
<Cycle>false</Cycle>
<Frames>
<Texture>TargetBox.tga</Texture>
<Location>
<X>3</X>
<Y>3</Y>
</Location>
<Size>
<CX>150</CX>
<CY>35</CY>
</Size>
</Frames>
</Ui2DAnimation>

<StaticAnimation item = "A_TargetBoxStaticAnim">
<ScreenID>A_TargetBoxStaticAnim</ScreenID>
<Animation>A_TargetBox</Animation>
</StaticAnimation>


<Screen item = "TargetWindow">
<ScreenID/>
<RelativePosition>false</RelativePosition>
<Location>
<X>197</X>
<Y>240</Y>
</Location>
<Size>
<CX>150</CX>
<CY>35</CY>
</Size>

I really hope someone can help me its driving me nuts!

Thanks in advance

-- Adarii
Adarii is offline   Reply With Quote