View Single Post
  #247  
Unread 11-23-2008, 05:42 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

Quote:
Originally Posted by oldweasel View Post
Any way to post this "officially"?

Would love to try it (even in beta shape), but am not really sure how to install and bring it up in-game (new at this).
When it is ready for release I'll upload it officially.

Quote:
Originally Posted by reins View Post
As far as the secondary weapon, just use gm9's logic tree that he posted, that gives you the entire flow you need to use.
I'm not sure about that.

After thorough testing I see now that it works well with ShadowStyles/TextColor. It will no longer reset when getting hurt, or using a combat art. Again, the problem is the Secondary weapon. Whether the SecondaryPage is there or not, the Combat bubbles will fire two different autoattacks, which will reset the bars. As of now I see no way around this.

I'll take a look at his tree, but till then here's the newest code:
Code:
<?xml version="1.0" encoding="utf-8"?>
<Page eq2usescomwndcontrols="true" Location="263,327" MaximumSize="16384,54" MinimumSize="44,54" Name="AutoAttackTimer" PackLocation="center,bottom" ScrollExtent="385,54" Size="385,54" UserMovable="true" UserResizable="true">
<Composite AbsorbsInput="false" DynamicData="/GameData.Self.AutoAttack" Name="TimerPages" OnHide="hide_window Custom.AutoAttacktimer" OnShow="MeleePage.Visible=true
show_window Custom.AutoAttacktimer" PackSize="a,f" ScrollExtent="385,54" Size="385,54" SpacingType="Fill" Visible="false">
<Button AbsorbsInput="false" Name="CombatBubbleOnShow" OnPress="Parent.Parent.Parent.Parent.ProxyActor.CombatBubble.OnActivate=TMP2
Parent.Parent.Parent.Parent.ProxyActor.CombatBubble.OnShow=TMP" TMP="Activated=(LowerText.ShadowStyle=='/ShadowStyles.Outline.BlackOutline1')" TMP2="Activated=false
Parent.Parent.AutoAttackTimer.TimerPages.Trigger.Activated=(LowerText.TextColor=='#FF8000')" Visible="false"/>
<Button AbsorbsInput="false" Name="Trigger" OnActivate="Activated=false
Parent.SizeLocationCalc.Press=true
Parent.MeleePage.Primary.ProgressPage.ProgressTimer.Activated=(Parent.MeleePage.Visible=='true')
Parent.MeleePage.Secondary.ProgressPage.ProgressTimer.Activated=(Parent.MeleePage.Visible=='true')
Parent.Ranged.ProgressPage.ProgressTimer.Activated=(Parent.Ranged.Visible=='true')" Visible="false"/>
<Button AbsorbsInput="false" Location="-350,0" Name="SizeLocationCalc" OnPress="Calc1=Size
Calc2=Calc1*2/2
Calc3=Calc2-TMP
Calc4=Calc3/5
Calc5=Calc4/2
LocationCalc=Calc5-Calc4
SizeCalc=Calc5" PackSize="a,f" ScrollExtent="350,8" Size="350,8" TMP="5" Visible="false"/>
<Page AbsorbsInput="false" Name="MeleePage" ScrollExtent="385,54" OnShow="Secondary.Visible=false
Secondary.Visible=Secondary.DelayValue.Visible
Parent.CombatBubbleOnShow.Press=true" PackSize="a,f" Size="385,54" Visible="false">
<Page AbsorbsInput="false" Name="Primary" PackSize="a,f" ScrollExtent="385,37" Size="385,37">
<Text AbsorbsInput="false" Font="/TextStyles.Large.LargeStyle" Location="25,2" Margin="1,0,2,2" Name="AutoAttackText" PackSize="a,f" ScrollExtent="356,21" ShadowStyle="/ShadowStylesNew.OutlineDrop.style" Size="356,21" TextAlignment="Center" TextAlignmentVertical="Center" TextColor="#F0D080">Melee Auto Attack</Text>
<Text AbsorbsInput="false" DynamicData="/GameData.Stats.Primary_Delay" Enabled="false" Font="/TextStyles.Small.SmallStyle" Location="0,24" Name="DelayValue" ScrollExtent="24,12" ShadowStyle="/ShadowStylesNew.Drop.style" Size="24,12" TextAlignment="Right" TextAlignmentVertical="Center" UserScrollable="false"/>
<Page AbsorbsInput="false" Location="28,26" Name="ProgressPage" PackSize="a,f" ScrollExtent="350,8" Size="350,8">
<Page BackgroundOpacity="0.475" Location="68,0" Name="Marker20" PackLocation="npn,nfn" ScrollExtent="1,8" Size="1,8"/>
<Page BackgroundOpacity="0.475" Location="137,0" Name="Marker40" PackLocation="npn,nfn" ScrollExtent="1,8" Size="1,8"/>
<Page BackgroundOpacity="0.475" Location="205,0" Name="Marker60" PackLocation="npn,nfn" ScrollExtent="1,8" Size="1,8"/>
<Page BackgroundOpacity="0.475" Location="274,0" Name="Marker80" PackLocation="npn,nfn" ScrollExtent="1,8" Size="1,8"/>
<Button AbsorbsInput="false" AMT="',0'" Location="-350,0" Name="ProgressTimer" OnActivate="Activated=false
Press=true" OnEffectFinished="Location=Parent.Parent.Parent.Parent.SizeLocationCalc.LocationCalc ## AMT" OnPress="SpeedCalc=Parent.Parent.Parent.Parent.SizeLocationCalc.SizeCalc/Parent.Parent.DelayValue.Text
Parent.TimerTriggerPrimary.Speed=SpeedCalc ## ',0'" OnPressEffector="TimerTriggerPrimary" PackSize="a,f" ScrollExtent="350,8" Size="350,8" Style="ProgressTimerStyle" Visible="false"/>
<LocationEffector Name="TimerTriggerPrimary"/>
</Page>
<Image AbsorbsInput="false" Location="28,26" Name="Bkg" PackSize="a,f" ScrollExtent="350,8" Size="350,8" SourceRect="220,472,380,478" SourceResource="/images/window_elements_generic.dds"/>
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Location="25,23" Name="Frame" PackSize="a,f" RStyleDefault="/rectlist.chat_bubble_frame" ScrollExtent="356,14" Size="356,14"/>
</Page>
<Page AbsorbsInput="false" Location="0,36" Name="Secondary" PackSize="a,f" ScrollExtent="385,14" Size="385,14" Visible="false">
<Text AbsorbsInput="false" DynamicData="/GameData.Stats.Secondary_Delay" Enabled="false" Font="/TextStyles.Small.SmallStyle" Location="0,1" Name="DelayValue" OnHide="Parent.Visible=false" OnShow="Parent.Visible=true" ScrollExtent="24,12" ShadowStyle="/ShadowStylesNew.Drop.style" Size="24,12" TextAlignment="Right" TextAlignmentVertical="Center" UserScrollable="false" Visible="false"/>
<Page AbsorbsInput="false" Location="28,3" Name="ProgressPage" PackSize="a,f" ScrollExtent="350,8" Size="350,8">
<Page BackgroundOpacity="0.475" Location="68,0" Name="Marker20" PackLocation="npn,nfn" ScrollExtent="1,8" Size="1,8"/>
<Page BackgroundOpacity="0.475" Location="137,0" Name="Marker40" PackLocation="npn,nfn" ScrollExtent="1,8" Size="1,8"/>
<Page BackgroundOpacity="0.475" Location="205,0" Name="Marker60" PackLocation="npn,nfn" ScrollExtent="1,8" Size="1,8"/>
<Page BackgroundOpacity="0.475" Location="274,0" Name="Marker80" PackLocation="npn,nfn" ScrollExtent="1,8" Size="1,8"/>
<Button AbsorbsInput="false" AMT="',0'" Location="-350,0" Name="ProgressTimer" OnActivate="Activated=false
Press=true" OnEffectFinished="Location=Parent.Parent.Parent.Parent.SizeLocationCalc.LocationCalc ## AMT" OnPress="SpeedCalc=Parent.Parent.Parent.Parent.SizeLocationCalc.SizeCalc/Parent.Parent.DelayValue.Text
Parent.TimerTriggerSecondary.Speed=SpeedCalc ## &apos;,0&apos;" OnPressEffector="TimerTriggerSecondary" PackSize="a,f" ScrollExtent="350,8" Size="350,8" Style="ProgressTimerStyle" Visible="false"/>
<LocationEffector Name="TimerTriggerSecondary"/>
</Page>
<Image AbsorbsInput="false" Location="28,3" Name="Bkg" PackSize="a,f" ScrollExtent="350,8" Size="350,8" SourceRect="220,472,380,478" SourceResource="/images/window_elements_generic.dds"/>
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Location="25,0" Name="Frame" PackSize="a,f" RStyleDefault="/rectlist.chat_bubble_frame" ScrollExtent="356,14" Size="356,14"/>
</Page>
</Page>
<Page AbsorbsInput="false" DynamicData="/GameData.Self.RangedAutoAttack" Name="Ranged" OnHide="Parent.MeleePage.Visible=true" OnShow="Parent.MeleePage.Visible=false" PackSize="a,f" ScrollExtent="385,37" Size="385,37" Visible="false">
<Text AbsorbsInput="false" Font="/TextStyles.Large.LargeStyle" Location="25,2" Margin="1,0,2,2" Name="AutoAttackText" PackSize="a,f" ScrollExtent="356,21" ShadowStyle="/ShadowStylesNew.OutlineDrop.style" Size="356,21" TextAlignment="Center" TextAlignmentVertical="Center" TextColor="#F0D080">Ranged Auto Attack</Text>
<Text AbsorbsInput="false" DynamicData="/GameData.Stats.Ranged_Delay" Enabled="false" Font="/TextStyles.Small.SmallStyle" Location="0,24" Name="DelayValue" ScrollExtent="24,12" ShadowStyle="/ShadowStylesNew.Drop.style" Size="24,12" TextAlignment="Right" TextAlignmentVertical="Center" UserScrollable="false"/>
<Page AbsorbsInput="false" Location="28,26" Name="ProgressPage" PackSize="a,f" ScrollExtent="350,8" Size="350,8">
<Page BackgroundOpacity="0.475" Location="68,0" Name="Marker20" PackLocation="npn,nfn" ScrollExtent="1,8" Size="1,8"/>
<Page BackgroundOpacity="0.475" Location="137,0" Name="Marker40" PackLocation="npn,nfn" ScrollExtent="1,8" Size="1,8"/>
<Page BackgroundOpacity="0.475" Location="205,0" Name="Marker60" PackLocation="npn,nfn" ScrollExtent="1,8" Size="1,8"/>
<Page BackgroundOpacity="0.475" Location="274,0" Name="Marker80" PackLocation="npn,nfn" ScrollExtent="1,8" Size="1,8"/>
<Button AbsorbsInput="false" AMT="',0'" Location="-350,0" Name="ProgressTimer" OnActivate="Activated=false
Press=true" OnEffectFinished="Location=Parent.Parent.Parent.SizeLocationCalc.LocationCalc ## AMT" OnPress="SpeedCalc=Parent.Parent.Parent.SizeLocationCalc.SizeCalc/Parent.Parent.DelayValue.Text
SpeedCalc=SpeedCalc*2
Parent.TimerTriggerRanged.Speed=SpeedCalc ## &apos;,0&apos;" OnPressEffector="TimerTriggerRanged" PackSize="a,f" ScrollExtent="350,8" Size="350,8" Style="ProgressTimerStyle" Visible="false"/>
<LocationEffector Name="TimerTriggerRanged"/>
</Page>
<Image AbsorbsInput="false" Location="28,26" Name="Bkg" PackSize="a,f" ScrollExtent="350,8" Size="350,8" SourceRect="220,472,380,478" SourceResource="/images/window_elements_generic.dds"/>
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Location="25,23" Name="Frame" PackSize="a,f" RStyleDefault="/rectlist.chat_bubble_frame" ScrollExtent="356,14" Size="356,14"/>
</Page>
</Composite>
<ButtonStyle Name="ProgressTimerStyle" RStyleDefault="Progress_Timer.progress_timer_rect"/>
<Namespace Name="Progress_Timer">
<ImageStyle Name="progress_timer_fill">
<ImageFrame Name="progress_fill" Source="images/window_elements_generic.dds" SourceRect="218,464,219,470"/>
</ImageStyle>
<RectangleStyle Center="progress_timer_fill" CenterShrinkV="true" CenterStretchH="false" Name="progress_timer_rect" NorthStretch="false" SouthStretch="false" TitleStretch="false" WestStretch="false"/>
</Namespace>
<Page AbsorbsInput="false" Name="WindowFrame" PackSize="a,f" ScrollExtent="385,54" Size="385,54">
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Location="-1,-2" Name="Frame" PackLocation="left,top" PackSize="a,f" RStyleDefault="/WindowElements.DesktopWindowFrame.data.frame.rect" ScrollExtent="387,57" Size="387,57"/>
<Page AbsorbsInput="false" BackgroundOpacity="1.000" Location="-1,-2" Name="Bkg" PackLocation="left,top" PackSize="a,f" RStyleDefault="/WindowElements.DesktopWindowFrame.data.bkg.rect" ScrollExtent="390,59" Size="390,59"/>
</Page>
</Page>
Attached Files
File Type: xml eq2ui_custom_autoattacktimer.xml (9.5 KB, 640 views)
__________________
May Jesus Have Mercy On Us

Last edited by dragowulf : 11-23-2008 at 05:52 PM.