Thread Tools Display Modes
Prev Previous Post   Next Post Next
10-25-10, 08:20 AM   #1
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,930
Temporary Fix to new class bars

Whilst I've been using other addons for my warlock and paladin they have other elements that I do not need.

Now, seeing as we are patiently ( stress on the last word there ) waiting for an update to include the new bars I thought I would rig up a temporary work around to allow us to place the bars where we want them for now and have nUI keep track of them for us. How nice of nUI to do that for us rofl.

I won't upload this addon as an official addon as it is only temporary in nature to use in the interim if you don't like the functionality of the other addons being used instead.

I don't have a boomkin to test the eclipse bar on but I have set it up to work the same as the other bars so should work fine.

Just use /nui movers and you should see mover frames for them. However, the Shaman totem timer buttons I have automatically attached to the shaman totem bar to have them appear directly underneath the totem button that they reflect. Blizz deals with updating it however, all I did was reparent the timer bar to the totem bar and reposition the individual buttons.

For those that want to see exactly what I did .. here's the code segment for each bar:
Code:
local function PTM_WSSInit()
	
	ShardBarFrame:SetParent(nil);
	ShardBarFrame:SetParent(UIParent);
	ShardBarFrame:SetPoint("CENTER");
	if ShardBarFrame then nUI_Movers:lockFrame( ShardBarFrame, true, "nUI_XShardBarFrame" ); end
	
end

local function PTM_STBInit()

	TotemFrame:SetParent(nil);
	TotemFrame:SetParent(MultiCastActionBarFrame);
	TotemFrameTotem1:SetPoint("TOPLEFT",MultiCastActionButton1,"BOTTOMLEFT");
	TotemFrameTotem2:SetPoint("TOPLEFT",MultiCastActionButton2,"BOTTOMLEFT");
	TotemFrameTotem3:SetPoint("TOPLEFT",MultiCastActionButton3,"BOTTOMLEFT");
	TotemFrameTotem4:SetPoint("TOPLEFT",MultiCastActionButton4,"BOTTOMLEFT");
end

local function PTM_PPBInit()
	
	PaladinPowerBar:SetParent(nil);
	PaladinPowerBar:SetParent(UIParent);
	PaladinPowerBar:SetPoint("CENTER");
	if PaladinPowerBar then nUI_Movers:lockFrame( PaladinPowerBar, true, "nUI_XPaladinPowerBar" ); end

end

local function PTM_DEBInit()
	EclipseBarFrame:SetParent(nil);
	EclipseBarFrame:SetParent(UIParent);
	EclipseBarFrame:SetPoint("CENTER");
	if EclipseBarFrame then nUI_Movers:lockFrame( EclipseBarFrame, true, "nUI_XDruidEclipseBar" ); end
end
And below is the link to the addon itself and some screenshots of them working .. well apart from the druid one that is.
Attached Thumbnails
Click image for larger version

Name:	WoWScrnShot_102510_145819.jpg
Views:	1007
Size:	276.0 KB
ID:	5082  Click image for larger version

Name:	WoWScrnShot_102510_145845.jpg
Views:	960
Size:	259.2 KB
ID:	5083  Click image for larger version

Name:	WoWScrnShot_102510_145907.jpg
Views:	957
Size:	222.0 KB
ID:	5084  
Attached Files
File Type: zip nUI_Plugin_TempMovers.zip (1.4 KB, 746 views)
__________________


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
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Bug Reports » Temporary Fix to new class bars


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