EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Featured Projects > ProfitUI

Closed Thread
Thread Tools Search this Thread Display Modes
  #1  
Unread 10-17-2007, 12:52 PM
optein optein is offline
A Young Mystail Rat
 
Join Date: Jan 2006
Server: Antonia Bayle
Posts: 5
Default 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?
  #2  
Unread 10-17-2007, 01:01 PM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

erm, maybe dowload the latest version first, those buttons are already there.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
  #3  
Unread 10-17-2007, 01:08 PM
optein optein is offline
A Young Mystail Rat
 
Join Date: Jan 2006
Server: Antonia Bayle
Posts: 5
Default

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.
  #4  
Unread 10-17-2007, 01:16 PM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

------> FAQ
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
  #5  
Unread 10-17-2007, 01:55 PM
optein optein is offline
A Young Mystail Rat
 
Join Date: Jan 2006
Server: Antonia Bayle
Posts: 5
Default

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.
  #6  
Unread 10-17-2007, 02:05 PM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

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.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
  #7  
Unread 10-17-2007, 02:39 PM
optein optein is offline
A Young Mystail Rat
 
Join Date: Jan 2006
Server: Antonia Bayle
Posts: 5
Default

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
  #8  
Unread 10-17-2007, 03:16 PM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

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.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.

Last edited by gm9 : 10-17-2007 at 04:33 PM. Reason: typo
  #9  
Unread 10-17-2007, 03:38 PM
Krymsin Krymsin is offline
A Grove Wisp
 
Join Date: Jun 2006
Server: Antonia Bayle
Posts: 25
Default

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  
Unread 10-17-2007, 03:57 PM
optein optein is offline
A Young Mystail Rat
 
Join Date: Jan 2006
Server: Antonia Bayle
Posts: 5
Default

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.
  #11  
Unread 10-17-2007, 04:34 PM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

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.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 05:43 AM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI