EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Unread 04-12-2005, 05:28 AM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Talking Spanning UI Branches: PROBLEM SOLVED!

Noticed this a few weeks back and just now got around to testing.

Turns out every top level page is a placeholder in UIBuilder only. Their only function is to control positioning and visibility of child pages relative to screensize.

Everything under top level pages in UIBuilder gets copied into an in-game working space named _HUD.

For example, to move the Inventory window with a button in the Player window:

OnPress="parent.parent.Inventory.location="100,100"

Button parent is the Player window
Player window's Parent is _HUD
Inventory window's parent is _HUD

Basically, every window is adjacent inside _HUD.

There may be a few exceptions. While testing I found at least one set of windows (PlayerHousing) that didn't seam to be under _HUD but my testing was cut short with server maintenance. Could be I just setup the test wrong.

MainHUD, HUD, Journal, Inventory and Popup were all confirmed to be replaced with _HUD.
Reply With Quote
  #2  
Unread 04-12-2005, 07:38 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

Interesting. WOOT!

What if you've got both MainHUD.Inventory (Sunthas's Ammo window or... uh... the other one... MiniInventory?) and Inventory.Inventory, though?
__________________
If it ain't broke, it needs more features!
Reply With Quote
  #3  
Unread 04-12-2005, 08:03 AM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default

I'm guessing its EXACTLY the same as duping Inventory without moving it. Slots are rendered but whichever one is second in the tree doesn't accept Drag and Drop.

Was gonna test that actually since I just included a MainHUD.Inventory in my set.

Oh and it seams everything is under _HUD, there's just a few spots where the UI doesn't want to allow new pages injected.
Reply With Quote
  #4  
Unread 04-12-2005, 08:11 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

Well, I was referring to what your example button would do. Move MainHUD.Inventory? Inventory.Inventory? Neither? Both? Lemme know.

Dang, there was something I really wanted to do with this but now I forgot what it was.
__________________
If it ain't broke, it needs more features!
Reply With Quote
  #5  
Unread 04-12-2005, 08:12 AM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default

I'm checking now, but I think manipulating the copy will be an issue. The sample button does move the original.
Reply With Quote
  #6  
Unread 04-12-2005, 08:33 AM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default

INTERESTING! Relative paths thru _HUD to windows with identical names point to whichever happens to be on top in Z-order.

Confirmed using 2 identical buttons in 2 different branches and 2 versions of Inventory in the same 2 branches.

Make sense though, they have the same name and whichever is on top should be moved higher in the tree, so when the client goes looking for Inventory, it grabs the first one it sees.
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 08:21 AM.


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