View Single Post
  #1  
Unread 04-10-2005, 12:20 PM
Humudce's Avatar
Humudce Humudce is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Oct 2004
Server: Blackburrow
Posts: 352
Default Using Custom Style.xml without Including them in the EQ2UI.XML file

Ok All I have a general fear of adding any <Include>'s to the eq2ui.xml in any custom UI folder. Maybe it's a throw back to the old EQ Live days of Interface work, where SoE would change the Core UI file on a whim. The only time I would not have an issue with a cutsom EQ2UI.XML is if I totally re-skinned the entire UI (which I have yet to try). Many of my Mods are just upgraded or enhanced versions of the Default UI peices.

I applaud the authors that have broken up their complete UI's in to individual UI Peices for download so that those that do not want to use the entire UI mod but only a peice can download the components they want to use.

Why do I bring this up, well my guild mates asked me to create them a Side by Side, instead of an Up and Down Quest Journal window. I explained that I thought there were several Side by Side Mods here on EQ2Interface, and I would check out what was available before I started my own mod. I looked at the Fetish Journal (pre HTML version by Zonx), the Mook Journal (by Deathbane27), and Jaxel's Skinned Journal (by Jaxel). I ended up going with the Fetish Journal because it was the closest to the Default UI's journal window.

One thing I noticed with Fetish's Journal was he included style files and a custom EQ2UI.XML file so that the custom styles could be included correctly. As I said early on in this post I shy away from using a custom EQ2UI.XML file. So I started looking at how I could give my guild mates a Journal window with out including the EQ2UI.XML file. I looked at all of these mods in the UIBuilder. I noticed that Deathbane27 with the Mook Journal included the required Mook Styles within the eq2ui_journals_quest.xml. In the UI Builder it was in a folder called Mook that was contained in the eq2ui_journals_quest.xml file it self.

I took Deathbane27's method and applied it to the Fetish Journal window, by copying the Fetish Styles folder from the UI Builder directly into the eq2ui_journal_quest.xml file. I noticed that anytime Zonx called a style within the Fetish Journal it appeared similar to this example - "/Fetish.ScrollStyles.vscroll". In looking at Deathbane27's implementation of styles in the Mook Journal I noticed that his appeared something like this example - "Mook.ScrollStyles.vscroll". The difference I discovered was that with Deathbane27 including the Style within the eq2ui_journal_quest.xml he didn't require the forward slash (/) in front of the Style call out. I then applied Deathbane27's method to the Fetish Journal so that all the style call outs in the Fetish Journal looked similar to this example - "Fetish.ScrollStyles.vscroll". I then deleted the eq2ui.xml file and the Fetish Style files from my Custom Folder and tired it out. Voila everything worked on the Mod without the need to have a custom EQ2UI.XML file.

If any one wants to include a Custom Style file but doesn't want to have to use a custom EQ2UI.XML file also (that has includes for the custom styles) I would suggest using Deathbane27's method of including the Style within the Custom Mod and calling the style without the forward slash (/).
__________________

[Guild Leader] Tiggler is my Main, Humudce is my Alt on Blackburrow.
Reply With Quote