 |

10-17-2007, 12:52 PM
|
|
A Young Mystail Rat
|
|
Join Date: Jan 2006
Server: Antonia Bayle
Posts: 5
|
|
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?
|

10-17-2007, 01:01 PM
|
|
gm10-1
|
|
Join Date: Feb 2006
Posts: 6,479
|
|
erm, maybe dowload the latest version first, those buttons are already there.
|

10-17-2007, 01:08 PM
|
|
A Young Mystail Rat
|
|
Join Date: Jan 2006
Server: Antonia Bayle
Posts: 5
|
|
OK, awesome. is there a setup thread that shows where to insert line text for the button tooltips and spells?
Last edited by optein : 10-17-2007 at 01:20 PM.
|

10-17-2007, 01:16 PM
|
|
gm10-1
|
|
Join Date: Feb 2006
Posts: 6,479
|
|
|

10-17-2007, 01:55 PM
|
|
A Young Mystail Rat
|
|
Join Date: Jan 2006
Server: Antonia Bayle
Posts: 5
|
|
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!
Last edited by optein : 10-17-2007 at 01:58 PM.
|

10-17-2007, 02:05 PM
|
|
gm10-1
|
|
Join Date: Feb 2006
Posts: 6,479
|
|
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. 
|

10-17-2007, 02:39 PM
|
|
A Young Mystail Rat
|
|
Join Date: Jan 2006
Server: Antonia Bayle
Posts: 5
|
|
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='Parent.Parent.Parent.Parent.MainHUD.ProfitUI_QuickRaidButtons.' ## (Parent.Parent.Parent.ProfitUI_SubclassDetector.Subclass) ## '.Button4.Tooltip'
MacroLocation='Parent.Parent.Parent.Parent.MainHUD.ProfitUI_QuickRaidButtons.' ## (Parent.Parent.Parent.ProfitUI_SubclassDetector.Subclass) ## '.Button4.Macro'
Parent.RetrieveQRB.OnPress='Parent.ConfigQRB.Tooltip=' ## (TooltipLocation)
Parent.RetrieveQRB.Press=True
Parent.RetrieveQRB.OnPress='Parent.ConfigQRB.Macro=' ## (MacroLocation)
Parent.RetrieveQRB.Press=True
Parent.B4.Tooltip=Tooltip
Parent.B4.OnPress=Macro
TooltipLocation='Parent.Parent.Parent.Parent.MainHUD.ProfitUI_QuickRaidButtons.' ## (Parent.Parent.Parent.ProfitUI_SubclassDetector.Subclass) ## '.Button5.Tooltip'
MacroLocation='Parent.Parent.Parent.Parent.MainHUD.ProfitUI_QuickRaidButtons.' ## (Parent.Parent.Parent.ProfitUI_SubclassDetector.Subclass) ## '.Button5.Macro'
Parent.RetrieveQRB.OnPress='Parent.ConfigQRB.Tooltip=' ## (TooltipLocation)
Parent.RetrieveQRB.Press=True
Parent.RetrieveQRB.OnPress='Parent.ConfigQRB.Macro=' ## (MacroLocation)
Parent.RetrieveQRB.Press=True
Parent.B5.Tooltip=Tooltip
Parent.B5.OnPress=Macro
TooltipLocation='Parent.Parent.Parent.Parent.MainHUD.ProfitUI_QuickRaidButtons.' ## (Parent.Parent.Parent.ProfitUI_SubclassDetector.Subclass) ## '.Button6.Tooltip'
MacroLocation='Parent.Parent.Parent.Parent.MainHUD.ProfitUI_QuickRaidButtons.' ## (Parent.Parent.Parent.ProfitUI_SubclassDetector.Subclass) ## '.Button6.Macro'
Parent.RetrieveQRB.OnPress='Parent.ConfigQRB.Tooltip=' ## (TooltipLocation)
Parent.RetrieveQRB.Press=True
Parent.RetrieveQRB.OnPress='Parent.ConfigQRB.Macro=' ## (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

|

10-17-2007, 03:16 PM
|
|
gm10-1
|
|
Join Date: Feb 2006
Posts: 6,479
|
|
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.
Last edited by gm9 : 10-17-2007 at 04:33 PM.
Reason: typo
|

10-17-2007, 03:38 PM
|
|
A Grove Wisp
|
|
Join Date: Jun 2006
Server: Antonia Bayle
Posts: 25
|
|
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.
|

10-17-2007, 03:57 PM
|
|
A Young Mystail Rat
|
|
Join Date: Jan 2006
Server: Antonia Bayle
Posts: 5
|
|
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
Last edited by optein : 10-17-2007 at 04:01 PM.
|

10-17-2007, 04:34 PM
|
|
gm10-1
|
|
Join Date: Feb 2006
Posts: 6,479
|
|
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. 
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:06 AM.
|
 |