EQ2Interface.com
Search Downloads


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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Unread 02-12-2005, 01:06 AM
Wyynd Wyynd is offline
A Forest Scavenger
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Guk
Posts: 16
Default troubles with dynamic data filters

Well, I have been trying to make some improvements to my UI mod and that has involved trying to use the dynamic data filters to control hiding some pieces of a window, or change the colors of some items. For example, on my target window, I'm trying to hide the level info and the mana gauge whenever the target doesn't have a level, or doesn't have power. I created pages to hold all the level components, and another page to hold all the power components.

sorta like this:
Code:
<Page DynamicData="/GameData.Target.Level" DynamicDataFilter="0001" 
Location="224,45" Name="LevelPage" 
ScrollExtent="67,18" Size="67,18">
but it still aways displays everything inside that page... (I have a level label and then the level dynamic text -- L: 50 .. and if you select a collection node it shows L: None .. i can't get it to hide)

same thing for the power... when a mob has no power the power bar disapears, but the gauge and the percentage text stills hows up... i can't figure out what i'm doing wrong..

and that brings me to the other problem. I am trying to use a border around the target info ... a small thin line that wraps around the target name and tier info, and I want that border to be the /con color. I again tried using the dynamic data for the target name (which is changed in game according to the con color), but i still only get white for the border when i filter the color.
Code:
<Image DynamicData="/GameData.Target.Name" DynamicDataFilter="0400" 
Name="Overlay" ScrollExtent="262,21" Size="262,21" SourceRect="0,100,260,121" 
SourceResource="/images/window_elements_stl.dds" Stretch="false" />
Anyone have any ideas what I'm doing wrong? Is what i'm trying to do even possible? I've found a few posts in the forums that seem to indicate that what i'm trying to do should be possible, but i just can't seem to get it to work right. I also tried to make the level text show up the same as the /con color, but that won't work for me either... i'm just totally lost.

Any help would be greatly appreciated... thanks,

Wyynd

Last edited by Wyynd : 02-12-2005 at 01:09 AM.
Reply With Quote
  #2  
Unread 02-13-2005, 01:45 PM
aalwein aalwein is offline
He Who Holds the XML
Premium Member
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Nektulos
Posts: 75
Default

I'm not sure about the color issue as I haven't played around with it, but I think your labels aren't dissappearing because neither is the power / mana bar. When a mob runs out of power / mana, the bar is still there its just transparent... thus as long as you have something targetted using dynamicdatafilter=0001 will show whatever data it's being fed by the game. the filter is limited to either showing everything when something is targetted, or nothing when nothing is targetted.
Reply With Quote
  #3  
Unread 02-13-2005, 01:51 PM
taco-man's Avatar
taco-man taco-man is offline
EQ2MAP Updater Author
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 1,349
Default

also as i recall the hiding for level only works when there truly in NOTHING example None != Nothing so it still shows it.
__________________
EQ2MAP Updater Download
EQ2MAP Website
How to Install a custom interface
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 12:28 PM.


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