Shestak UI
Go Back   Shestak UI > Interface Forums > English Community > Skinning

Skinning Share your custom skins with ShestakUI or others AddOns.

Advertising

 
Thread Tools
Old 18.06.2010, 11:33   #1
 Elder Member User Information

Skwii's Avatar
Question Party/Raid Frame skin

Hi everybody,

Have some questions

1) For some reason I'd like to change the skin of the party/raid frames.
Instead of colored box with black names, I'd like to have black box with colored names.

2) I found somewhere (don't remember where in the forum) that we can add our addons to the slash.lua config list... Correct me if I'm wrong ; )
What's the meaning of this ?


Thanks
Old 18.06.2010, 11:33   #1.5 - Disable Ads

Advertise on this site

Old 19.06.2010, 01:06   #2
Shestak
 Junior Member User Information

Shestak's Avatar
1 - Try this: Open oUF_Shestak\oUF_Main.lua
Find(~452 line):
Code [Select]:
if(UnitIsPlayer(unit)) then
	local _, englass = UnitClass(unit)
	if(self.colors.class[englass]) then
		r, g, b = unpack(self.colors.class[englass])
	end
else
	local reaction = UnitReaction(unit, "player");
	if reaction then
		r = FACTION_BAR_COLORS[reaction].r;
		g = FACTION_BAR_COLORS[reaction].g;
		b = FACTION_BAR_COLORS[reaction].b;
	else
		r = 1.0;
		g = 1.0;
		b = 1.0;
	end
end
Add below:
Code [Select]:
if not unit then
	bar:SetStatusBarColor(YOUR_COLOR)
end
2 - Open !aSettings\config\config.lua
Find(~191 line):
Code [Select]:
Addons group(aSettings)
And add your addons in same group-list.
Old 21.06.2010, 11:47   #3
Skwii
 Elder Member User Information

Skwii's Avatar
Hi Shestak,

1) Thank you for your advice but... It seems that the tip didn't work ! =/

I tried to add the code and to test with several colors but the party/raid boxes are already the same.

2) Thanks a lot i'm so blind =.=
Old 21.06.2010, 12:03   #4
Shestak
 Junior Member User Information

Shestak's Avatar
Try this
Code [Select]:
if not unit then
	bar:SetStatusBarColor(YOUR_COLOR)
end
Replace to:
Code [Select]:
if self:GetParent():GetName():match("oUF_Party") or self:GetParent():GetName():match("oUF_Raid") then
	bar:SetStatusBarColor(YOUR_COLOR)
end
Old 06.07.2010, 17:32   #5
Skwii
 Elder Member User Information

Skwii's Avatar
Thanks a lot, I just tried your tip ! (couldn't earlier)
It's fine now =)
Good job !

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add tooltip to party/raid debuff icon Ente Technical Support 2 02.07.2011 09:08
[Fixed] Party\raid фреймы + clique whynot Bugs Reports 1 16.10.2010 17:27
Weird blizzard party frame ? Rheya Technical Support 5 15.10.2010 02:13
VER2.5中关于小队和团队的一些问题(Questions about party and raid) JerryD Technical Support 1 24.09.2010 07:02
Adding more Raid frame indicators Tekzehtool Technical Support 3 01.08.2010 10:33


Mobile Style Русский English Deutsch Italian Chinese