EQInterface Forums

EQInterface Forums (http://www.eqinterface.com/forums/index.php)
-   XML Tutorials & Info. (http://www.eqinterface.com/forums/forumdisplay.php?f=48)
-   -   Tutorial: Your own window themes (It's here, but it's incomplete) (http://www.eqinterface.com/forums/showthread.php?t=533)

psychogears 08-02-2002 10:01 AM

Tutorial: Your own window themes (It's here, but it's incomplete)
 
1 Attachment(s)
Welcome back. Now you want to make your own window graphics. This includes the borders, background, vertical and horizontal scroll bars only.

Tools I need:
* Text editor - notepad, text editor of the gods. If notepad doesn't work, use edit in the command console. Or just use whatever word processor you have available that can support text files.
*AboutSIDL.doc - Please for the love of God download this file and stop banging your head trying to figure out what all the tags mean!

Now that we have our own custom graphics added into the EQUI_Animations.xml file, let's figure out how we can use this new pretty picture to make our pretty ui.

I'm going to divide the EQUI graphic usage into 2 categories: Window art, and Everything-else art.

Dealing with Window art
So you want to make a new window? Is the gray-black marble not really doing it for you anymore? Here's how you do it.

1) Open file: EQUI_Templates.xml

You say: "OH MY GOD! SO MUCH CODE!"

breathe in... breathe out. If this intimidates you, then let's go back one step:

optional step before step 1) View EQUI_Templates.xml

Okay, I'm not sure if you can do this, but in MSIE 6.0 (the version that comes with XP), you can drag the *.xml file into your IE window, and you get to see the xml file color coded with little pluses and minuses next to some tags. Click the minus tag next to any WindowDrawTemplate, SliderDrawTemplate, ButtonDrawTemplate, and FrameTemplate item
that you see, and go from top to bottom. Now the scary code got tucked away into about fourteen distinguishable parts. These items are the default configurations for the default windows and window parts in the default UI. If you can't view the EQUI_Templates.xml in the IE browser, the big blocks of code are located at the following line numbers in the default UI:

WindowDrawTemplate items - These are the templates for the different window styles. These sections are probably what you're most interested in.

4 - 118: WDT_Def - a default window configuration.
119 - 233: WDT_Def2 - a default window configuration #2.
234 - 348: WDT_Inner
349 - 463: WDT_Rounded
465 - 579: WDT_RoundedNoTitle

SliderDrawTemplate items - This template dictates how the little scroll bars on the right and bottom of the window show up. If you don't know what I'm talking about, think of the loot window when you loot your corpse, usually you have to move the bar on the right of the window down so you can get the rest of your items, that's the bar this Template describes

581 - 592: SDT_DefSlider - default art for a slider

ButtonDrawTemplate items - not sure where this is used, it looks like it uses the vertical scroll bar(down) picture art to define itself. I think it's just the defaults for when you use any button, like the buffs in the buff window or your hot box.

594 - 600: BDT_Combo

FrameTemplate items - I really don't know what this is for. :P sorry.

602 - 610: Header_Listbox
613 - 619: Header_PlatCoin
620 - 626: Header_GoldCoin
627 - 633: Header_SilvCoin
634 - 640: Header_CoppCoin
644 - 658: FT_DefTabBorder
659 - 676: FT_DefPageBorder

phew. Okay, so like I said, 14 different items.

2) Edit stuff.

Let's pretend you want to make a new left border frame for your window. What you do is copy an entire section that defines a window (let's pick lines 4 to 118), duplicate it, and rename the item to something different, like "My_new_pretty_window". Now scroll down until you see the <Border> tag. Under the Border tag you see a bunch of lines, find the one that says <Left>. Let's pretend we want to use "MyPrettyRedCircle" from our last tutorial. What we do is replace "A_BorderFrameLeft" with "MyPrettyRedCircle", and now you have a new left border!

If you want to find out more about what you can edit in a Template, read the AboutSIDL.doc file that Dolby has made available via sticky thread in General Help section.

With windows, you need to specify a set of art for a window template, you can't specify individual parts of the window each time you use it. Like if you want to change just the left frame, you need to make an entire WindowTemplate item with the default values filled in, and then change the Left value to the name of your art asset as you declared it in EQUI_Animations.xml.

*SPECIAL CASE!!!: If you're messing around with the background, find the <Background> tag and put in the image file name for your background, apparently this isn't specified through EQUI_Animations.xml.

Now you want to use your window/slider/button/whatever art in your UI. You join everyone else in the next section...

Everything-else art will be covered later. :P

-TJ

DONTcallMEdr00d 10-08-2003 04:29 PM

re:
 
vBulletin Message
Invalid thread specified.

ugh, do you have a mirror to the doc?

Dolby 10-08-2003 04:32 PM

Should be in your Everquest Directory (EverQuest\uifiles\default\AboutSIDL.doc).

DONTcallMEdr00d 04-25-2063 02:58 AM

*feels UBERdumb*


All times are GMT -5. The time now is 08:27 AM.

vBulletin Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.