Thread Tools Display Modes
06-23-09, 08:50 PM   #1
Hnybear
A Deviate Faerie Dragon
Join Date: Sep 2007
Posts: 19
Rep Bar and GFW Faction Friend

I use an addon called FactionFriend by Gamik Fizzwidget. Pretty much what it allows for is instant change of watched faction when you start gaining rep from that faction. It also allows for a right click menu on the Rep bar itself. It is a very handy and useful addon. Is there a way to get it working with nUI?

Also how can I get the numbers back on the XP and Rep bars, ####/####

Here is a link to the addon.
http://fizzwidget.com/2009/04/18/gfw-factionfriend-3-1/
 
06-23-09, 09:10 PM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
The Rep bar in nUI already does the auto change when you gain faction. As for getting the numbers back... the bars support the numbers in display but it is currently disabled. They are available on mouse over.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
06-23-09, 09:13 PM   #3
Hnybear
A Deviate Faerie Dragon
Join Date: Sep 2007
Posts: 19
Originally Posted by spiel2001 View Post
The Rep bar in nUI already does the auto change when you gain faction. As for getting the numbers back... the bars support the numbers in display but it is currently disabled. They are available on mouse over.
Is there a way to get the right click functionality of the addon back? And is there a /nui command to turn the numbers back on or a way to alter it in the code?
 
06-23-09, 11:06 PM   #4
Vis
A Pyroguard Emberseer
 
Vis's Avatar
Join Date: Mar 2009
Posts: 1,827
What did the right click do in that addon?
 
06-23-09, 11:12 PM   #5
Hnybear
A Deviate Faerie Dragon
Join Date: Sep 2007
Posts: 19
I brought up a window with the factions listed by expansion and allowed you to click and switch to another faction to watch.

It also showed if you had anything in your bags to turn in, and how much rep you'd get from it.

 
06-24-09, 04:15 AM   #6
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Pressing "h" will bring up the window you're looking for. It would be possible to add the ability to click the XP bar and do that. As for adding the text back, you would have to edit [ Interface > AddOns > nUI > Layouts > Default > nUI_Layout_Default_Dashboard.lua ] and look for nUI_DefaultConfig.FactionBar at line 579 for the player faction bar

Add the following code block to the "options" section...

Code:
        label =
        {
            enabled     = true;
            font_size   = 12,
            anchor_pt   = "CENTER",
            relative_to = "$parent",
            relative_pt = "CENTER",
            xOfs        = 0,
            yOfs        = 0,
        },
You can do the same thing for the player experience bar, only a little more information is needed. In this case, look for nUI_DefaultConfig.XPBar at line 536 for player experience and add the following...

Code:
        label =
        {
            enabled     = true;
            font_size   = 12,
            anchor_pt   = "CENTER",
            relative_to = "$parent",
            relative_pt = "CENTER",
            xOfs        = 0,
            yOfs        = 0,

            color =
            {
                normal = { r=1, g=1, b=0 },
                rested = { r=1, g=0.83, b=1 },
            },
        },
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Suggestion Box » Rep Bar and GFW Faction Friend


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