View Single Post
Old 04-10-2012, 11:14 AM   #3
firescue17
Premium Member
 
firescue17's Avatar
 
Join Date: Apr 2006
Server: Vox
Posts: 126
Interface Author - Click to view interfaces
Default

One would think so; however, if elements were defined incorrectly one of two things would happen: A) a UI error and / or crash to default;or B) a new border with messed up graphics due to incorrect Ui2DAnimations.

Neither of those results occur. Nothing occurs. The two templates in question are:

WDT_AchievementOpen (Filigree border with black background)
WDT_AchievementCompleted (Filigree Border with blue background)

WDT_AchievementOpen is called as a template in both EQUI_AchievementsWnd.xml and EQUI_AchievementWnd.xml. Nowhere can i find a reference to the blue background template WDT_AchievementCompleted. My hunch is that template is called on the backend when the game renders the window and checks for quest flags.

I don't have a full file. I trashed them since they don't work. It's easy to test yourself.

In the EQUI_AchievementsWnd.xml, replace:

<DrawTemplate>WDT_AchievementOpen</DrawTemplate>

with

<DrawTemplate>WDT_AchievementOpen_TEST</DrawTemplate>


Stick this code wherever you want:

<WindowDrawTemplate item="WDT_AchievementOpen_TEST">
<Background>yourgraphichere.tga</Background>
</WindowDrawTemplate>

You can even make a matching completed border:

<WindowDrawTemplate item="WDT_AchievementCompleted_TEST">
<Background>yourgraphichere.tga</Background>
</WindowDrawTemplate>

That should make both borders disappear with only a background of your choosing.
__________________

firescue17 is offline   Reply With Quote