View Single Post
  #13  
Unread 01-25-2009, 03:51 PM
dragowulf's Avatar
dragowulf dragowulf is offline
A man among men
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Nagafen
Posts: 934
Default

I need some help again hahaha. So the window I have been making is a separate/custom modification to the Maintained window. I made it a whole new window because I use the maintained for buffs.

I made this window only to show the timer of important spells like wards, reactives, DoTs, heals, etc. I chose Tyrannical Mind, Spell Lash, and Haruspex [New Coercer char].

I seem to have everything working, but one important key thing. I can't get it the Pages in the Volume to overwrite each other when none is visible. For example If I have until cancelled buffs/buffs on Maintained.Spell_1/2/3, it wont show them because I'm only letting it show those 3 previous spells I mentioned earlier, which is good. But those 3 buff slots are still active as if they are visible and take up the window space. But when I cast haru, tyran mind, or spell lash they show below the buffs that are not included in my code instead of taking their spot.

Is there way around this problem? Might have to request a dev to make it so when a cell is not visible, it shouldnt take up cell room, like the composite window. I didn't use the composite because of a different problem - spells overwrite each other's position in the composite whenever a new one becomes visible. For example: Page1 will always be before Page2, even if Page2 was visible first.


Here's part of the code, I would have posted the whole thing, but its gawd awfully long:
Code:
<?xml version="1.0" encoding="utf-8"?>
<Page eq2usescomwndcontrols="true" Location="248,321" MaximumSize="226,16384" MinimumSize="226,31" Name="SpellTimer" PackLocation="center,bottom" ScrollExtent="226,31" Size="226,31" UserMovable="true" UserResizable="true">
<VolumePage AbsorbsInput="false" CellCount="1,30" CellSelectable="false" CellSize="220,25" Enabled="true" Location="1,1" MinimumScrollExtent="224,812" Name="Volume" PackSize="a,a" ScrollExtent="224,812" Size="224,29">
<Page AbsorbsInput="false" Location="2,2" MaximumSize="220,25" MinimumSize="220,25" Name="Frame1" OnHide="Amount.DynamicData=&apos;&apos;
Icon.DynamicData=&apos;&apos;
Time.DynamicData=&apos;&apos;
Duration.DynamicData=&apos;&apos;" OnShow="Amount.DynamicData=&apos;/GameData.Maintained.Spell_1.AmountRemaining&apos;
Icon.DynamicData=&apos;/GameData.Maintained.Spell_1.Icon&apos;
Time.DynamicData=&apos;/GameData.Maintained.Spell_1.Duration&apos;
Duration.DynamicData=&apos;/GameData.Maintained.Spell_1.Duration&apos;" ScrollExtent="220,25" Size="220,25" Visible="false">
<Text AbsorbsInput="false" Font="/ProfitUI_Styles.Fonts.FontArial12T" Location="-2,14" Name="Amount" PackLocation="NFN,NFN" PackSize="a,f" ScrollExtent="30,12" ShadowStyle="/ShadowStylesNew.Outline.style" Size="30,12" TextAlignment="Center" TextColor="#FF0000"/>
<Icon AbsorbsInput="false" ActionData="maintained_spell" BackgroundTint="#000000" IconStyle="/IconStyles.effect" MouseOverColor="#FFFF00" Name="Icon" PackLocation="Left,Top" ScrollExtent="25,25" Size="25,25" Visible="false"/>
<Text AbsorbsInput="false" DynamicData="/GameData.Maintained.Spell_1.Name" Font="/ProfitUI_Styles.Fonts.FontArial13T" Location="30,-1" MaxLines="1" Name="BuffName" OnTextChanged="show_window Custom.SpellTimer
OnTextChanged=TMP" PackLocation="Left,Top" PackSize="a,f" ScrollExtent="162,15" ShadowStyle="/ShadowStyles.BlackOutlineNoShadow.Outline1" Size="162,15" TextColor="#98ACC2" TMP="1a=(Text == &apos;Cheap Shot&apos
2b=(Text == &apos;Haunting Strike&apos
3c=(Text == &apos;Side Blade&apos
COND=1a || 2b || 3c
z=COND ? true : false
Parent.DynamicData=COND ? &apos;/GameData.Maintained.Spell_1.Icon&apos; : &apos;&apos;"/>
<Text AbsorbsInput="false" Font="/ProfitUI_Styles.Fonts.FontArial12T" Location="190,12" Name="Time" PackLocation="NFN,NFN" ScrollExtent="30,12" ShadowStyle="/ShadowStylesNew.Outline.style" Size="30,12" TextAlignment="Center" TextColor="#DCC80A"/>
<Progressbar AbsorbsInput="false" BackgroundColor="#000000" Color="#00FF00" Location="28,11" Name="Duration" PackLocation="left,top" PackSize="a,f" Progress="1.000" ScrollExtent="163,13" Size="163,13" Style="/SpecialElements.SkillProgressBar.data.style"/>
<Page BackgroundColor="#FFFFFF" BackgroundOpacity="1.000" Location="27,8" Name="BarBkg" Opacity="0.300" PackLocation="left,top" PackSize="a,f" RStyleDefault="/SpecialElements.SkillProgressBar.data.progress.rect" ScrollExtent="166,14" Size="166,14"/>
</Page>
__________________
May Jesus Have Mercy On Us

Last edited by dragowulf : 01-25-2009 at 03:55 PM.
Reply With Quote