Home Forum Downloads My Favorites Register FAQ Mark Forums Read

Go Back   EQInterface Forums > Tutorials & Info. > XML Tutorials & Info.
User Name
Password

Reply
 
Thread Tools Display Modes
Old 08-02-2002, 10:01 AM   #1
psychogears
A Shissar Disciple
 
psychogears's Avatar
 
Join Date: Jul 2002
Server: Xev
Posts: 106
Send a message via ICQ to psychogears Send a message via AIM to psychogears Send a message via Yahoo to psychogears
Exclamation Tutorial: Your own window themes (It's here, but it's incomplete)

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
Attached Files
File Type: doc aboutsidl.doc (266.0 KB, 797 views)
__________________
Hazul, Plik, Xzhamacharathae, Seis, Lyca, Pogi, Camm...

of Xev

Last edited by Dolby : 10-08-2003 at 04:36 PM.
psychogears is offline   Reply With Quote
Old 10-08-2003, 04:29 PM   #2
DONTcallMEdr00d
A Fire Beetle
 
Join Date: Oct 2003
Server: Fennin Ro
Posts: 3
Send a message via AIM to DONTcallMEdr00d Send a message via Yahoo to DONTcallMEdr00d
Default re:

vBulletin Message
Invalid thread specified.

ugh, do you have a mirror to the doc?
DONTcallMEdr00d is offline   Reply With Quote
Old 10-08-2003, 04:32 PM   #3
Dolby
Lord Dolby of Veeshan
 
Dolby's Avatar
 
Join Date: Jul 2002
Server: Veeshan
Posts: 2,397
Default

Should be in your Everquest Directory (EverQuest\uifiles\default\AboutSIDL.doc).
Dolby is offline   Reply With Quote
Unread 04-25-2063, 02:58 AM   #4
DONTcallMEdr00d
A Fire Beetle
 
Join Date: Oct 2003
Server: Fennin Ro
Posts: 3
Send a message via AIM to DONTcallMEdr00d Send a message via Yahoo to DONTcallMEdr00d
Default

*feels UBERdumb*
DONTcallMEdr00d 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 09:15 PM.


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