Thread Tools Display Modes
04-27-09, 01:40 PM   #1
miklav
A Deviate Faerie Dragon
Join Date: Dec 2006
Posts: 15
Suggestion for future stance bar

I just got your Nui+ yesterday and got it all installed perfectly and added in a couple of my mods recount omen and what I ended up doing for the stance bar was using bartender for the stance bar only.

After reading the posts on how to manually edit the file to change button size etc and having failed at all attempts to make it larger since im old and blind I need some big buttons with a little bit of space between em. my main is a feral tank/dps for our 25man ulduar raids.
It would be great to be able to just use your ui and not have to have bartender for stance bar only.

I have to say this this is something I wish i had found so many years ago having everything in one mod is so nice you have done an amazing job on this.
I thought i had seen some nice ui xperl etc and well yours pretty much is the best one yet.
the only thing I had an issue with is stance bar everything else was well painless and installed perfectly thanks to your clear instructions.

keep up the good work


hope to see a moveable adjustable stance bar in the future.
 
04-29-09, 12:40 AM   #2
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,940
Since reading this I dabbled with the code to find the minimalist change to the code that needs to be done and I think I found it. Both my shadow priest and paladin had this working like a charm. Not sure why it's not included in the nui movers functionality but if it was that would sort your movability requirement.

What you need to change is the nUI_ShapeshiftBar.lua in nUI/Bars folder.

Search for local btn_hSize and change the first value to something like 70 ( my screenshot is based on 70 being used but a higher number will make them bigger).
Underneath that line is the vSize equivalent so change that to 70 too.

A bit further down you should see the following line:
if i == 1 then button:SetPoint( "BOTTOMLEFT", frame, "BOTTOMLEFT", 0, 0 );

I changed the last value to 20 which made the button frame fit the icon. This you might want to do after seeing it in game without the change just in case you don't need to change it.

edit: However, looking at my rogue bank toon I noticed that unless you use the blizzard setting with a backdrop, using the button skinning optional addon shows that the frame of the button isn't resizing with it and I'm not sure why. The bar showing up in the middle of the button is where that frame behind the button is up to.
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_042909_072537.jpg
Views:	707
Size:	278.1 KB
ID:	2582  

Last edited by Xrystal : 04-29-09 at 12:56 AM.
 
04-29-09, 04:18 AM   #3
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
You're editing the wrong file Xrystal... the pet bar, shapeshift bar and possession bar are all tied to nUI_SpecialBars.lua -- and, actually, the thing you want to edit to change the size and location is [ Interface > AddOns > nUI > Layouts > Default > nUI_Layout_Default_Dashboard.lua ] -- look for the nUI_DefaultConfig.SpecialBars section near the bottom of the file.

The xOfs and yOfs in the anchor segment set the location of the bar and in the options segment, btn_size sets the size of the buttons, btn_gap sets the space between the buttons and block_gap sets the space between the individual bars if more than one bar is displayed at a time (a la Warlock metamorphasis)
__________________

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/
 
04-29-09, 04:28 AM   #4
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,940
Rofl wow .. it worked though but thanks I'll try that with the new version

edit: Yep that definitely did the trick.. Was hoping to be able to rig up an external addon to set those values but didn't work out.

But I take it the idea is eventually that people would make copies of the DefaultLayout and change settings and give it a new name to reflect the changes they made ?

Ignoring my bright attempt at the dashboard skinning these buttons are 100 size And all I had to change was the btn_size in that file. In my case I wouldn't need to move it unless I chose to resize all the buttons - rofl.
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_042909_115117.jpg
Views:	705
Size:	376.7 KB
ID:	2585  

Last edited by Xrystal : 04-29-09 at 04:55 AM.
 
04-29-09, 06:09 AM   #5
miklav
A Deviate Faerie Dragon
Join Date: Dec 2006
Posts: 15
ok I will do some more work on that a bit later today have to go to work now.
I cant remember if I was able to space the bottuns correctly or not but the size in your last ss Xrystal looks like about what I need since all my other actions I pound the crap out my keyboard for that.

Thanks for the info
 
04-29-09, 06:34 AM   #6
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Xrystal --

That is correct... you'll be able to effectively create a copy of your current configuration in-game, then modify it in-game and save it as a new layout. You can then select which layout to use on a per-character basis, copy from character to character, etc.

If I ever finish the daggum engine that is ~grin~
__________________

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/
 
04-29-09, 04:10 PM   #7
Tegarbah
A Wyrmkin Dreamwalker
 
Tegarbah's Avatar
Join Date: Jun 2008
Posts: 58
Hey Scott, just curious. What kind of time frame are you expecting to have the engine complete?
__________________



 
04-29-09, 04:34 PM   #8
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
I don't have a time frame... there's too many unpredictables that come up... when it's done ~lol~

That said, there's not a lot left to do to disconnect the engine from the config data. There's still about a dozen elements that don't speak "skinning" yet. Once they're done, then I can add the ability to take snapshots of the config and to select a config by name. That part will be easy.

The thing that is going to be a dog is the in-game controls for it all.
__________________

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 » Suggestion for future stance bar


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