Home Forum Downloads My Favorites Register FAQ

Go Back   EQInterface Forums > Developer Discussion > XML modification help.
User Name
Password

Reply
 
Thread Tools Display Modes
Old 01-20-2003, 07:42 PM   #1
weapon
A Bat
 
Join Date: Aug 2002
Posts: 1
Interface Author - Click to view interfaces
Default Problem with custom .tga file

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?
weapon is offline   Reply With Quote
Reply




Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -5. The time now is 06:40 AM.


vBulletin Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI