Thread Tools Display Modes
09-21-10, 04:03 PM   #1
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,919
5.07.00 Public Beta : Shapeshift and Pet Bar Changes

Well it looks like they have separated the Shapeshift Bar and the Pet Bar. Tested already with warlock and just now with Hunter.

Code:
ShapeshiftBarFrame
|__ ShapeshiftButton1
|__ ShapeshiftButton2 
|__ etc

Shapeshift Bar for Warlocks contain the demon form button.
Shapeshift Bar for Hunters contain the Aspect buttons

PetActionBarFrame
|__ PetActionButton1
|__ PetActionButton2
|__ etc
The PetActionBar seems to be the same for both warlock and hunter pets and the buttons are interchangeable just like a regular action bar allowing you to customize the abilities you wish to have access to and possibly the ability to put macros on there as well.
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_092110_225241.jpg
Views:	850
Size:	263.0 KB
ID:	4850  Click image for larger version

Name:	WoWScrnShot_092110_225501.jpg
Views:	753
Size:	223.9 KB
ID:	4851  Click image for larger version

Name:	WoWScrnShot_092110_225451.jpg
Views:	711
Size:	216.0 KB
ID:	4852  Click image for larger version

Name:	WoWScrnShot_092110_182342.jpg
Views:	702
Size:	274.6 KB
ID:	4853  

Click image for larger version

Name:	WoWScrnShot_092110_233609.jpg
Views:	733
Size:	283.3 KB
ID:	4854  
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818

Last edited by Xrystal : 09-21-10 at 04:36 PM.
 
09-21-10, 04:35 PM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Hmmm... nUI has always kept the shapeshift bar and pet bar separate, but appears to be ignoring the pet bar entirely here. I'll have to look and see what's going on there.
__________________

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/
 
09-21-10, 04:37 PM   #3
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,919
Just adjusted the original post Scott seeing as I just jumped on a hunter toon showing the new shapeshift bar there too.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
 
09-21-10, 04:57 PM   #4
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Yup... looks like I'm going to have to rework the pet bar entirely.
__________________

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/
 
09-21-10, 09:04 PM   #5
Brillynt
A Black Drake
 
Brillynt's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2008
Posts: 77
Scott,

Here is what I did to the nUI_PetBar.lua for cataclysm to make the pet bar show. Only problem is if you are in combat and dismount your pet bar will not show up till combat is done.


Code:
if update_state then
	for i=1, #frame.Buttons do
		frame.updateState( i );
	end
	
	if not InCombatLockdown() then					-- Cataclysm
		if ( PetHasActionBar() and UnitIsVisible("pet") ) then	-- Cataclysm
			if not frame:IsShown() 				-- Cataclysm
				frame:Show();				-- Cataclysm
			end						-- Cataclysm
		else							-- Cataclysm
			if frame:IsShown() then				-- Cataclysm
				frame:Hide();				-- Cataclysm
			end						-- Cataclysm
		end							-- Cataclysm
	end								-- Cataclysm
end
Had to do the combat check because the pet bar frame is protected now and was getting errors.

If you want the complete file with all my changes let me know and I will send it to you.

Brillynt

Last edited by Brillynt : 09-21-10 at 09:06 PM.
 
09-22-10, 04:27 AM   #6
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Cool... thanks Brillynt.

We can probably work around the taint problem by using the visibility engine in the setup of the frame instead of the Show() / Hide() methods in the update...

Code:
RegisterStateDriver( frame, "visibility", "[target=vehicle, exists] hide; [target=pet, exists] show; hide" );
Code:
if update_state then
    for i=1, #frame.Buttons do
        frame.updateState( i );
    end
end
__________________

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/
 
09-22-10, 07:25 AM   #7
Brillynt
A Black Drake
 
Brillynt's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2008
Posts: 77
Originally Posted by spiel2001 View Post
Cool... thanks Brillynt.

We can probably work around the taint problem by using the visibility engine in the setup of the frame instead of the Show() / Hide() methods in the update...

Code:
RegisterStateDriver( frame, "visibility", "[target=vehicle, exists] hide; [target=pet, exists] show; hide" );
Code:
if update_state then
    for i=1, #frame.Buttons do
        frame.updateState( i );
    end
end


Learn something new everyday, guess I am good for today then.
 
09-24-10, 09:24 AM   #8
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,919
Hmm, Scott, it may be just me and the desire to be able to tweak things, but I noticed that instead of keeping the shapeshift and pet bars separate you merged them into a special bar.

This would mess up any idea of changing the layout of say the pet bar and leaving the shapeshift alone or the opposite. Also, it would also allow people to say have the shapeshift bar on the left side and the pet bar on the right. Especially with the new ability to add buttons to the pet bar now as you see fit.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
 
09-24-10, 10:39 AM   #9
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
Yeah... that's going to change in nUI6. Annoys me, too. ~smile~

Makes my CDO itch.

__________________

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: Bug Reports » 5.07.00 Public Beta : Warlock Pet Bar

Thread Tools
Display Modes

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