06-23-2013, 02:09 PM
|
#1
|
A Snow Griffin
Join Date: Feb 2003
Posts: 56
|
Remove Templates.xml ???
I was messing around with my UI and removed my Animations file by adding the [TextureInfo item] and [Ui2DAnimation item] straight to my player window. was very happy about that, then moved on to my Templates file, i only have one custom drawtemplate but I use it on most of my windows. so I thought I could just add the info for [WindowDrawTemplate item] to all my files, that didn't work. but by mistake I forgot to remove it from my first window mod(AAWindow), also forgot to change the [DrawTemplate] for them all too. Then loaded the UI again, well was surprised to see the custom titlebar was there.. because I was having a very forgetful day and also forgot to replace the Templates.xml. I did see it didn't change the cascading windows IE EQMain sub-windows and CastSpell sub-windows. I just changed the window_pieces graphics for them to look how I wanted to and now I seem to have a working UI with a custom [DrawTemplate] without the Templates.xml.
My Question is has anyone ever done this or can anyone foresee a problem with this? I really want to get away from using the Templates.xml.
Thanks,
Last edited by Stice : 06-23-2013 at 02:27 PM.
|
|
|
06-23-2013, 05:31 PM
|
#2
|
Premium Member
Join Date: Apr 2006
Server: Vox
Posts: 126
|
In my opinion, this is the best way to do it.
|
|
|
06-23-2013, 05:41 PM
|
#3
|
A Snow Griffin
Join Date: Feb 2003
Posts: 56
|
So just having it in one file in my UI will work without problems? I assume it just reads the first file and fills that for the rest on my WDT_Simple DrawTemplate I made.
Also this would be nice for stand alone files for sharing too If I just added the custom window_pieces?
Thank you for the reply.
|
|
|
06-24-2013, 06:31 AM
|
#4
|
Premium Member
Join Date: Apr 2006
Server: Vox
Posts: 126
|
Yep.
I put all my custom templates in the chat window. I figure it's the least likely to be stripped out by someone who wants a different buff/group/pet/spellbook window. Secondly, it has the least amount of code itself. there's only three parts to it.
|
|
|
06-24-2013, 11:13 AM
|
#5
|
A Snow Griffin
Join Date: Feb 2003
Posts: 56
|
awesome, thanks.
|
|
|
06-24-2013, 11:59 AM
|
#6
|
Featured Artist
Join Date: Aug 2002
Posts: 176
|
Quote:
Originally Posted by firescue17
Yep.
I put all my custom templates in the chat window. I figure it's the least likely to be stripped out by someone who wants a different buff/group/pet/spellbook window. Secondly, it has the least amount of code itself. there's only three parts to it.
|
That is a really good idea.
|
|
|
09-17-2013, 04:52 PM
|
#7
|
Featured Artist
Join Date: Aug 2002
Posts: 317
|
The only flaw I see with this is if someone changes out a specific component of your UI that just happens to have the template in it. Some possible solutions for you...
1) Duplicate the templates in each window as you did before but name them differently. PlayerCustomTemplate, GroupCustomTemplate, etc. It duplicates code but would make each component independant of the other.
2) Create a custom EQUI.xml file, that includes default version, and then add a custom Template file with a unique name. By include, I mean the include command.
<Include>../default/EQUI.xml</Include>
__________________
"Ah, but you HAVE heard of me."
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|