Home Forum Downloads My Favorites Register FAQ Mark Forums Read

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

Reply
 
Thread Tools Display Modes
Old 02-24-2010, 11:19 AM   #1
a_ceara01
A Ghoul
 
Join Date: Feb 2010
Posts: 17
Default Removing balls from corners of windows

Hi all,

This is probably a pretty easy question, but I have not been able to figure it out. I'm using the WDT_Rounded template on most of my windows; however, there are still four small balls on each window, one for each corner. Can anyone please tell me which file I'll need to edit to smooth out the corners to make them perfectly square? Will this be the same file for all windows?

Thanks!
a_ceara01 is offline   Reply With Quote
Old 02-24-2010, 11:42 AM   #2
valaury3169
Enhanced Imperial Golem
 
Join Date: Jun 2008
Posts: 204
Interface Author - Click to view interfaces
Default

The easy answer is Windows_Pieces01.tga. There are several border pieces in that file, so I will also give the long answer.

In order to be sure that you have the right place, begin by looking in the EQUI_Templates.xml file, and search for the entry for WDT_Rounded. Under there, find the <border> tag. In there, all of the pieces are defined (bottom, top left, etc). These will be names of animations.

Next, look in EQUI_Animations.xml file. Search for the border piece from the templates file; in this case for example, A_RoundedFrameBottom. One of the tags describes the source texture file. In the default, this is described as Windows_Pieces01.tga.

I mention the long answer, because if you are using a custom UI, these may not necessarily be in the default locations. This means, you may can find custom templates and animations defined directly in the UI piece it is used in, so knowing how to track it down can be handy.

Below is samples from the default UI to illustrate what I am referring to.

EQUI_Templates.xml:

Code:
<Border> <TopLeft>A_RoundedFrameWithTitleTopLeft</TopLeft> <Top>A_RoundedFrameWithTitleTop</Top> <TopRight>A_RoundedFrameWithTitleTopRight</TopRight> <RightTop>A_RoundedFrameWithTitleRightTop</RightTop> <Right>A_RoundedFrameRight</Right> <RightBottom>A_RoundedFrameRightBottom</RightBottom> <BottomRight>A_RoundedFrameBottomRight</BottomRight> <Bottom>A_RoundedFrameBottom</Bottom> <BottomLeft>A_RoundedFrameBottomLeft</BottomLeft> <LeftTop>A_RoundedFrameWithTitleLeftTop</LeftTop> <Left>A_RoundedFrameLeft</Left> <LeftBottom>A_RoundedFrameLeftBottom</LeftBottom> <OverlapLeft>0</OverlapLeft> <OverlapTop>0</OverlapTop> <OverlapRight>0</OverlapRight> <OverlapBottom>0</OverlapBottom> </Border>


EQUI_Animations.xml (A_RoundedFrameBottom):

Code:
<Ui2DAnimation item="A_RoundedFrameBottom"> <Cycle>true</Cycle> <Frames> <Texture>window_pieces01.tga</Texture> <Location> <X>190</X> <Y>182</Y> </Location> <Size> <CX>5</CX> <CY>5</CY> </Size> <Hotspot> <X>0</X> <Y>0</Y> </Hotspot> <Duration>1000</Duration> </Frames> </Ui2DAnimation>
valaury3169 is offline   Reply With Quote
Old 02-24-2010, 12:19 PM   #3
a_ceara01
A Ghoul
 
Join Date: Feb 2010
Posts: 17
Default

This worked perfectly, thank you so much for explaining it to me!
a_ceara01 is offline   Reply With Quote
Reply



Thread Tools
Display Modes

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 01:40 PM.


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