EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   XML Modification Help & Info (https://www.eq2interface.com/forums/forumdisplay.php?f=22)
-   -   troubles with dynamic data filters (https://www.eq2interface.com/forums/showthread.php?t=1435)

Wyynd 02-12-2005 01:06 AM

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

aalwein 02-13-2005 01:45 PM

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.

taco-man 02-13-2005 01:51 PM

also as i recall the hiding for level only works when there truly in NOTHING example None != Nothing so it still shows it.


All times are GMT -5. The time now is 08:42 PM.

vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI