View Single Post
Old 04-11-2012, 09:20 PM   #6
valaury3169
Enhanced Imperial Golem
 
Join Date: Jun 2008
Posts: 204
Interface Author - Click to view interfaces
Default

Ok, after extensive testing in game, I can confirm without a doubt that, no, you can not edit that part of the achievement window without editing the templates file. When it renders that window, they have hardcoded to use WDT_AchievementOpen and WDT_AchievementCompleted depending on its state, regardless of what you define in the Screen element. You can, however, change the definition of the Draw Template, but since you can't have more than one element with the same name (as I am sure you know), you have to edit it in the Templates xml.

As far as your background being jacked, I did discover one interesting thing. The texture definition in the Animations file is set to 1x1, even though the file is 32x32. Since 1x1 is still powers of 2, it dosen't mangle anything, but I found that odd. If you change the texture definition to 32x32, you can edit the Achievement_unlock_color.tga texture to be an actual texture instead of just a 1 pixel fill color.

You should also be able to change the 'Border' elements in the WDT_AchievementOpen template to different border pieces without a hitch, assuming they are all defined correctly. I changed all of the borders to my custom 'InnerFrame' animations, and they showed perfectly.

One additional thing I learned a while back, when creating your own textures, and defining them in a <TextureInfo> tag, it is case sensative. It will not throw an error anywhere. For example, if your texture is named MyTexture.tga, but the definition has mytexture.tga, it just won't display anything.

Good luck.
valaury3169 is offline   Reply With Quote