EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Featured Projects > EQ2MAP

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Unread 02-11-2005, 01:39 AM
Quib Quib is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jan 2005
Posts: 720
Default We're modular!

Alrighty, here's the first version of the XML, fully modular.

Things to know:
- This is a beta version, no guarantees on performance, reliability, etc.
- Eloa, I've renamed your quests window from EM_eq2ui_mainhud_map_quests.xml to window_quests.xml and it's now located in a new eq2map subfolder. Let me know if this isn't alright, I put a "Created by Eloa" comment inside the file.
- All parts of the XML besides the top level eq2ui_mainhud_map.xml are located in a new eq2map subfolder, extracting the zip with folder structure intace will create this folder for you. In other words, all of the new XML files need to be in an eq2map subfolder of your custom UI folder.
- Deathbane27, Zonx and other potential modders, window_backdrop.xml and window_options.xml are meant for applying style mods to the main window. To do so, set the property Visible to false and use OnShow to perform commands. Those OnShow properties will get called once when the map window is first opened.
- I tried to credit the author of each icon page and various window parts. Yell at me if I made a msitake.

Quib
Attached Files
File Type: zip map_rev_5_1.zip (67.6 KB, 573 views)
Reply With Quote
  #2  
Unread 02-11-2005, 01:59 AM
Deathbane27's Avatar
Deathbane27 Deathbane27 is offline
aka Mook
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Nektulos
Posts: 1,451
Default

Thanks, Quib. Looking over this now, I'll let you know if I find any bugs or anything that looks like it should be changed.
__________________
If it ain't broke, it needs more features!
Reply With Quote
  #3  
Unread 02-11-2005, 02:36 AM
Deathbane27's Avatar
Deathbane27 Deathbane27 is offline
aka Mook
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Nektulos
Posts: 1,451
Default

eq2ui_mainhud_map.xml isn't as much of an empty shell as I'd hoped. There's still too much stuff in there that's subject to change. (Zonerects, the multimap selection buttons, etc.)

Quib, you relax (for once ) and I'll move more stuff into <include>s. I'll stop when it gets to the point where I know won't have to update anything when new maps are added, okay?
__________________
If it ain't broke, it needs more features!
Reply With Quote
  #4  
Unread 02-11-2005, 04:12 AM
Deathbane27's Avatar
Deathbane27 Deathbane27 is offline
aka Mook
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Nektulos
Posts: 1,451
Default

Curious about something... what's with this part of the OnShow script you have in there?

MapPage.Size=438,510
MapPage.WorldNames.Location=1,2
MapPage.QeynosNames.Location=1,2
MapPage.FreeportNames.Location=1,2
MapPage.WorldMap.Location=1,2
MapPage.CityMap.Location=1,2
MapPage.ZoneMap.Location=1,2

I can't think of any reason that anyone other than you would want to change any of those.
__________________
If it ain't broke, it needs more features!
Reply With Quote
  #5  
Unread 02-11-2005, 05:50 AM
tonyis3l33t's Avatar
tonyis3l33t tonyis3l33t is offline
a hedgehog
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Nagafen
Posts: 854
Default

mebbe a failsafe if someone changes one on accident? got me
________
Headshops

Last edited by tonyis3l33t : 09-16-2011 at 03:30 AM.
Reply With Quote
  #6  
Unread 02-11-2005, 05:52 AM
Deathbane27's Avatar
Deathbane27 Deathbane27 is offline
aka Mook
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Nektulos
Posts: 1,451
Default

Step 1: Don't panic!

This is the design philosophy (and, hopefully, result) of the changes I've made.
- Non-EQ2MAP team members should not have to touch the EQ2MAP folder, only eq2ui_mainhud_map.xml.
- EQ2MAP team members should not have to alter eq2ui_mainhud_map.xml to add new maps. Only radical new functionality additions should require altering this file.

Changes I've made:

- eq2ui_mainhud_map.xml
-- Moved all Includes to a central location
-- Added warning pages for UIBuilder users around includes letting them know not to touch the contents thereof. (Where Includes are used is not indicated anywhere in the UIBuilder.)
-- Moved QM_Overlay, Select/Hide Map buttons, MapPage, MapStyles, and IconStyles to <include>s.
-- Moved the Options button, Frame, and Backdrop back into the main file. (non-team modders shouldn't touch any files in the eq2map folder.)
-- Removed the old useless Help button altogether. Believe it or not, the script you had on it wasn't keeping it hidden for some reason, in the UIBuilder at least. I couldn't figure out why. There was no point in leaving it in at any rate.
-- Re-arranged existing objects for better grouping. Functionality above the includes, background below them.
-- Added SizeMinimized, SizeNormal, and SizeQuestAddon properties to main page, so that other modders wouldn't have to edit the scripts for the minimize/restore buttons, the Quest Addon button, or the titlebar.


- eq2map/window_titlebar.xml
-- Moved the minimize/restore buttons to a subpage so that a script can move them as a group.
-- Moved Eloa's Expand/Collapse Quest buttons to a subpage so that a script can move them as a group.
-- Altered scripts on all buttons and titlebars to use the SizeMinimized, SizeNormal, and SizeQuestAddon properties that were added to main page, and to accomodate subpage changes. (Note: Added function: Using Minimize/Restore buttons will now properly reset the Quest Addon buttons to their initial state.)

Changes the team will have to make:

-I believe Eloa's quest addon currently uses a script to set WC_HelpButton1's "Resize" property to the size that the window should be once expanded. That script should be altered to change the main page's "SizeQuestAddon" property instead.



Everything non-team modders shouldn't touch is in <includes>. Everything appears to be working as it should in-game. Please take a look over the changes. And please, for the ease of other map window modders and users needing to install those mods, decide to use it.
Attached Files
File Type: zip map_rev_deathbane.zip (7.2 KB, 501 views)
__________________
If it ain't broke, it needs more features!
Reply With Quote
  #7  
Unread 02-11-2005, 06:17 AM
Quib Quib is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jan 2005
Posts: 720
Default

Quote:
This is the design philosophy (and, hopefully, result) of the changes I've made.
- Non-EQ2MAP team members should not have to touch the EQ2MAP folder, only eq2ui_mainhud_map.xml.
- EQ2MAP team members should not have to alter eq2ui_mainhud_map.xml to add new maps. Only radical new functionality additions should require altering this file.
Unfortunately we differ on the basic philosophy, where I wanted end users making changes to the eq2map folder (throwing mods in and such) but only critical updates would require eq2ui_mainhud_map.xml be updated (adding new maps would be a critical update for example).

I'll explain some of my goals tomorrow, most of what you moved in and out were things I was particularly not doing, but I'll sleep on it, look it over and give a coherant reply (I just woke up in the middle of the night and am already asleep again).

Quib
Reply With Quote
Reply



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
Forum Jump


All times are GMT -5. The time now is 05:33 AM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI