EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   ProfitUI (https://www.eq2interface.com/forums/forumdisplay.php?f=41)
-   -   Group click buff/heals (https://www.eq2interface.com/forums/showthread.php?t=9378)

optein 10-17-2007 12:52 PM

Group click buff/heals
 
I was wondering how difficult it would be to add a few more buttons to the group frame to make it similar to the raid window, essentially adding 3 buttons next to the cure icons with macros attached.

I have been looking at the eq2ui_mainhud_groupmembers.xml file but am not seeing where to insert the buttons, any ideas?

gm9 10-17-2007 01:01 PM

erm, maybe dowload the latest version first, those buttons are already there.

optein 10-17-2007 01:08 PM

OK, awesome. is there a setup thread that shows where to insert line text for the button tooltips and spells?

gm9 10-17-2007 01:16 PM

------> FAQ

optein 10-17-2007 01:55 PM

thanks, it didnt work at first for some reason, but after reloading the UI a few times it's working.
If I wanted to add say another 3 buttons to the left of the orginial three - would I just...

- cut and paste the button code of the existing buttons into the eq2ui_mainhud_groupmembers.xml file for each group member

- then modify the button location cordinates in the group frame for each button

- then add another three spell inserts in the quickraidbuttons.xml file for my class?

three buttons really isnt enough imo. I'd like three for heals, and three for buffs.
thanks again!

gm9 10-17-2007 02:05 PM

I asked a while ago whether people wanted more than 3 buttons but there was only one response. /shrug

To add more you'll need to do what you said and also add the code for them to the "ConfigQRB" Button in the window. Ugly repeating code btw, but I was lazy. :o

optein 10-17-2007 02:39 PM

err ok here is the code

change to quickraidbuttons.txt file
Code:

<Page Name="Fury">
                <Data Name="Button1" Macro="useabilityonplayer Parent.Target Lucid" Tooltip="Buff1"/>
                <Data Name="Button2" Macro="useabilityonplayer Parent.Target Spirit of the Wolf" Tooltip="Buff2"/>
                <Data Name="Button3" Macro="useabilityonplayer Parent.Target Bristleskin" Tooltip="Buff3"/>
                <Data Name="Button4" Macro="useabilityonplayer Parent.Target Greater Salve" Tooltip="Heal1"/>
                <Data Name="Button5" Macro="useabilityonplayer Parent.Target Regrowth" Tooltip="Heal2"/>
                <Data Name="Button6" Macro="useabilityonplayer Parent.Target Elixir" Tooltip="Heal3"/>
        </Page>

added to each group member in eq2_mainhud_groupmember.xml
Code:

<Button Location="48,1" Name="B4" OnHoverIn="Tooltip=Parent.Parent.ProfitUI_QuickRaidButtons.B4.Tooltip" OnPress="Parent.Parent.ProfitUI_QuickRaidButtons.B4.Press=true Parent.Parent.ProfitUI_QuickRaidButtons.Target=Parent.Parent.GroupMember0.MemberInfoPage.Name.Text" ScrollExtent="16,16" Size="16,16" Style="/ProfitUI_Styles.ButtonStyles.box_button">4</Button>
<Button Location="64,1" Name="B5" OnHoverIn="Tooltip=Parent.Parent.ProfitUI_QuickRaidButtons.B5.Tooltip" OnPress="Parent.Parent.ProfitUI_QuickRaidButtons.B5.Press=true Parent.Parent.ProfitUI_QuickRaidButtons.Target=Parent.Parent.GroupMember0.MemberInfoPage.Name.Text" ScrollExtent="16,16" Size="16,16" Style="/ProfitUI_Styles.ButtonStyles.box_button">5</Button>
<Button Location="80,1" Name="B6" OnHoverIn="Tooltip=Parent.Parent.ProfitUI_QuickRaidButtons.B6.Tooltip" OnPress="Parent.Parent.ProfitUI_QuickRaidButtons.B6.Press=true Parent.Parent.ProfitUI_QuickRaidButtons.Target=Parent.Parent.GroupMember0.MemberInfoPage.Name.Text" ScrollExtent="16,16" Size="16,16" Style="/ProfitUI_Styles.ButtonStyles.box_button">6</Button>

add to ConfigQRB in eq2_mainhud_groupmembers.xml
Code:

TooltipLocation=&apos;Parent.Parent.Parent.Parent.MainHUD.ProfitUI_QuickRaidButtons.&apos; ## (Parent.Parent.Parent.ProfitUI_SubclassDetector.Subclass) ## &apos;.Button4.Tooltip&apos;
MacroLocation=&apos;Parent.Parent.Parent.Parent.MainHUD.ProfitUI_QuickRaidButtons.&apos; ## (Parent.Parent.Parent.ProfitUI_SubclassDetector.Subclass) ## &apos;.Button4.Macro&apos;
Parent.RetrieveQRB.OnPress=&apos;Parent.ConfigQRB.Tooltip=&apos; ## (TooltipLocation)
Parent.RetrieveQRB.Press=True
Parent.RetrieveQRB.OnPress=&apos;Parent.ConfigQRB.Macro=&apos; ## (MacroLocation)
Parent.RetrieveQRB.Press=True
Parent.B4.Tooltip=Tooltip
Parent.B4.OnPress=Macro
TooltipLocation=&apos;Parent.Parent.Parent.Parent.MainHUD.ProfitUI_QuickRaidButtons.&apos; ## (Parent.Parent.Parent.ProfitUI_SubclassDetector.Subclass) ## &apos;.Button5.Tooltip&apos;
MacroLocation=&apos;Parent.Parent.Parent.Parent.MainHUD.ProfitUI_QuickRaidButtons.&apos; ## (Parent.Parent.Parent.ProfitUI_SubclassDetector.Subclass) ## &apos;.Button5.Macro&apos;
Parent.RetrieveQRB.OnPress=&apos;Parent.ConfigQRB.Tooltip=&apos; ## (TooltipLocation)
Parent.RetrieveQRB.Press=True
Parent.RetrieveQRB.OnPress=&apos;Parent.ConfigQRB.Macro=&apos; ## (MacroLocation)
Parent.RetrieveQRB.Press=True
Parent.B5.Tooltip=Tooltip
Parent.B5.OnPress=Macro
TooltipLocation=&apos;Parent.Parent.Parent.Parent.MainHUD.ProfitUI_QuickRaidButtons.&apos; ## (Parent.Parent.Parent.ProfitUI_SubclassDetector.Subclass) ## &apos;.Button6.Tooltip&apos;
MacroLocation=&apos;Parent.Parent.Parent.Parent.MainHUD.ProfitUI_QuickRaidButtons.&apos; ## (Parent.Parent.Parent.ProfitUI_SubclassDetector.Subclass) ## &apos;.Button6.Macro&apos;
Parent.RetrieveQRB.OnPress=&apos;Parent.ConfigQRB.Tooltip=&apos; ## (TooltipLocation)
Parent.RetrieveQRB.Press=True
Parent.RetrieveQRB.OnPress=&apos;Parent.ConfigQRB.Macro=&apos; ## (MacroLocation)
Parent.RetrieveQRB.Press=True
Parent.B6.Tooltip=Tooltip
Parent.B6.OnPress=Macro


and this is what i see:
still only 3 buttons, and tooltips default

gm9 10-17-2007 03:16 PM

the existing code should be working, try hitting alt-g twice if it doesn't.

You have placed the new buttons outside of the visible window area, that is why they are hidden. You will need to increase the size of all pages upwards in the hierarchy if you place them there. Otherwise the code looks fine.

Krymsin 10-17-2007 03:38 PM

Was curious about this one.. In the window if you have, say, 3 members in your group, you'll see 4 sets of buttons.. Is there a fix for that, that doesn't involve me potentially messing up the UI lol?

If not no worries, its only a slight, preferred fix, nothing major.

optein 10-17-2007 03:57 PM

cool I fixed the buttonpage size with this line by editing the ScrollExtent and Size values to 96.

Code:

<Page Location="149,0" Name="GroupMember0Buttons" OnHoverIn="Opacity=1" OnHoverOut="Opacity=0.25" Opacity="0.25" ScrollExtent="96,16" Size="96,16" Visible="false">


another question is how to get rid of the bottom (3rd) row of buttons, I am not sure what those are for. When called they bring up an error in chatlog "cannot target 'groupmember'.



thanks

gm9 10-17-2007 04:34 PM

That phantom row should not be there. Not sure why it is really, looking at that code it should not be. I'll have to hop in game and force some hapless bystander in a group so I can test this. ;)


All times are GMT -5. The time now is 09:30 AM.

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