Download
(2Kb)
Download
Updated: 05-20-11 11:26 PM
Pictures
File Info
Updated:05-20-11 11:26 PM
Created:05-01-11 11:18 AM
Downloads:6,954
Favorites:23
MD5:

FacePaint  Popular! (More than 5000 hits)

Version: 1.1.1
by: Aprikot [More]

`


FacePaint
An AddOn that colorizes WoW's default UI


  • New in version 1.1.1:

    • Action button border coloring has been removed from FacePaint, and added to a new AddOn called BetterBlizzardButtonBorder which has been designed with FacePaint support.

    • Added support for Reputation bar.

  • User config:

    Code:
    local class = true  	-- applies player class color scheme (ignores topcolor)
    local gradient = true	-- false applies one solid color (class color if class = true, topcolor if not)
    local topcolor = {  	-- top gradient color (rgb)
    	r = 0.9,
    	g = 0.9,
    	b = 0.9,
    }
    local bottomcolor = {	-- bottom gradient color (rgb)
    	r = 0.2,
    	g = 0.2,
    	b = 0.2,
    }
    local topalpha = 1.0	-- top gradient alpha (global if gradient = false)
    local bottomalpha = 1.0	-- bottom gradient alpha (not used if gradient = false))



Thanks to SDPhantom, Xrystal, Seerah, and others for all the help on the Lua/XML forum.

(Don't forget to have fun with the alpha settings):

1.1.1 | 05.20.11
  • Remove action button border coloring.
  • Add Rep bar support.

1.1 | 05.08.11
  • Add optional color scheme based on player class color.
  • Begin adding class bar support (rune & shard bars only so far).

1.0.2 | 05.03.11
  • Minimap zoom buttons: found additional border texture that only appears on max zoom (added to object list).

1.0.1 | 05.02.11
  • Add check for gradient before coloring the gryphons (so they color properly when gradient=false).

1.0 | 05.01.11
  • Hello Azeroth!
Post A Reply Comment Options
Unread 05-20-11, 11:55 PM  
Enthusia
A Defias Bandit

Forum posts: 2
File comments: 22
Uploads: 0
while still looking at ipopbar...

I accidently figured out the MaxLevelbar colour name for facepaint

Code:
MainMenuMaxLevelBar0,
		MainMenuMaxLevelBar1,
		MainMenuMaxLevelBar2,
		MainMenuMaxLevelBar3,
Report comment to moderator  
Reply With Quote
Unread 05-21-11, 08:40 AM  
Aprikot
A Frostmaul Preserver
 
Aprikot's Avatar
AddOn Author - Click to view AddOns

Forum posts: 284
File comments: 67
Uploads: 2
Nice, I wouldn't have caught that for awhile...no plans to hit 85 any time soon . I'll add it to the list, thanks.

Originally posted by Enthusia
while still looking at ipopbar...

I accidently figured out the MaxLevelbar colour name for facepaint

Code:
MainMenuMaxLevelBar0,
		MainMenuMaxLevelBar1,
		MainMenuMaxLevelBar2,
		MainMenuMaxLevelBar3,
Report comment to moderator  
Reply With Quote
Unread 05-21-11, 09:30 PM  
Lily.Petal
A Molten Giant
 
Lily.Petal's Avatar
AddOn Author - Click to view AddOns

Forum posts: 540
File comments: 105
Uploads: 3
From BBBB

Originally posted by Aprikot
I took a quick look at BT code, and see its actually hiding everything BBBBorder & FacePaint look for . I hadn't realized BT was from scratch. Oh well.

As for other bar AddOns, ones that use Blizzard objects (Neal's & thek's come to mind) are generally compatible, however these do their own button styling too (hooking ActionButton_Update) which conflicts with BetterBlizBBBBB ugh maybe I should rename this.
If it works with BT any time soon, that would be awesome. As I said, can't stand playing with the right half being all the extra stuff. Makes me a sad panda
__________________

Aggro Color to KG Panels Borders - Nibelheim
Lua Based UI Hider - Nibelheim
Custom LUA PowerText - Stuf - Nibelheim, Seerah
Last edited by Lily.Petal : 05-21-11 at 09:32 PM.
Report comment to moderator  
Reply With Quote
Unread 05-22-11, 12:53 PM  
Lily.Petal
A Molten Giant
 
Lily.Petal's Avatar
AddOn Author - Click to view AddOns

Forum posts: 540
File comments: 105
Uploads: 3
The color of the BG/Instant dungeons isn't coloring~
Hm, and I seem to be getting a lot of lag once going into combat...

EDIT: Hm was just doing Isle of Conquest BG and getting into the vehicle UI seems to cause Disconnecting issues. Not sure if it's just this or anyother conflict though, haven't downloaded any new addons besides this and BBBB. Will see what's wrong though.
__________________

Aggro Color to KG Panels Borders - Nibelheim
Lua Based UI Hider - Nibelheim
Custom LUA PowerText - Stuf - Nibelheim, Seerah
Last edited by Lily.Petal : 05-22-11 at 02:01 PM.
Report comment to moderator  
Reply With Quote
Unread 05-22-11, 09:08 PM  
Aprikot
A Frostmaul Preserver
 
Aprikot's Avatar
AddOn Author - Click to view AddOns

Forum posts: 284
File comments: 67
Uploads: 2
Originally posted by Lily.Petal
The color of the BG/Instant dungeons isn't coloring~.
If you mean the Minimap thingys yeah not supported yet (been meaning to)...

Originally posted by Lily.Petal
EDIT: Hm was just doing Isle of Conquest BG and getting into the vehicle UI seems to cause Disconnecting issues. Not sure if it's just this or anyother conflict though, haven't downloaded any new addons besides this and BBBB. Will see what's wrong though.
Doubt it's FacePaint, but BBBB is another story...uploading an update to it now and continuing to test.
Report comment to moderator  
Reply With Quote
Unread 06-29-11, 11:45 PM  
Aprikot
A Frostmaul Preserver
 
Aprikot's Avatar
AddOn Author - Click to view AddOns

Forum posts: 284
File comments: 67
Uploads: 2
4.2's removal of the keyring bag breaks FacePaint. Comment out line #91 in FacePaint.lua to fix:

Code:
-- KeyRingButton:GetRegions(),
An update with this and other changes is coming soon.
Report comment to moderator  
Reply With Quote
Unread 08-19-11, 05:14 AM  
Maelynn
A Fallenroot Satyr
 
Maelynn's Avatar

Forum posts: 23
File comments: 187
Uploads: 0
I can't seem to figure out how to configure this addon. The Interface Options list doesn't have FacePaint listed, I can't see any chat commands in the homepage here (tried /facepaint and /fp, don't work), and checking out the .lua file in the addon's folder (WTF folder has no file in any of its folders) I only see comments. The "user config" bit on the homepage makes no sense to me, and now I'm lost. How on earth does this work?

In regards to this, a request.. will you consider adding a GUI with something like a colouring circle with RGb fields next to it, so that people (especially those who aren't too savvy with lua coding and dividing RGB values) can set colours a bit easier? And perhaps a checkbox for setting everything to class colours, or something that matches each toon's own class?
__________________
Just remember... if the world didn't suck, we'd all fall off.
Report comment to moderator  
Reply With Quote
Unread 11-25-11, 03:58 AM  
Rufio
A Murloc Raider
 
Rufio's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 289
Uploads: 5
Partyframe, CompactRaidFrame would be nice
Code:
PartyMemberFrameTexture
CompactRaidFrameContainerBorderFrameTexture
won't work

Styling the Target and FocusCastbar works but it recolors the icon too, which is pretty ugly.
Can you help me out?
Report comment to moderator  
Reply With Quote
Unread 11-25-11, 09:55 AM  
Aprikot
A Frostmaul Preserver
 
Aprikot's Avatar
AddOn Author - Click to view AddOns

Forum posts: 284
File comments: 67
Uploads: 2
Originally Posted by Rufio
Partyframe, CompactRaidFrame would be nice
Code:
PartyMemberFrameTexture
CompactRaidFrameContainerBorderFrameTexture
won't work

Styling the Target and FocusCastbar works but it recolors the icon too, which is pretty ugly.
Can you help me out?
Sure, I'll give it a shot.

Originally Posted by Maelynn
I can't seem to figure out how to configure this addon. The Interface Options list doesn't have FacePaint listed, I can't see any chat commands in the homepage here (tried /facepaint and /fp, don't work), and checking out the .lua file in the addon's folder (WTF folder has no file in any of its folders) I only see comments. The "user config" bit on the homepage makes no sense to me, and now I'm lost. How on earth does this work?

In regards to this, a request.. will you consider adding a GUI with something like a colouring circle with RGb fields next to it, so that people (especially those who aren't too savvy with lua coding and dividing RGB values) can set colours a bit easier? And perhaps a checkbox for setting everything to class colours, or something that matches each toon's own class?
Sorry for missing this comment. A color picker GUI very close to what you've described is something I've wanted to add, just haven't had the opportunity unfortunately. I quite like the one in Elv's UI with visible RGB values, and copy/paste functionality. No idea if he is original author of that color picker...if so, I might ask his permission to reuse some code.

Regarding current config, at the top of FacePaint.lua is a "config" section which is what is shown on the home page here. You'd need to open that .lua file in a text editor such as notepad, make your changes to the true/false & RGB values, save the file, and reload the game to see changes.
Report comment to moderator  
Reply With Quote
Unread 11-25-11, 05:53 PM  
Aprikot
A Frostmaul Preserver
 
Aprikot's Avatar
AddOn Author - Click to view AddOns

Forum posts: 284
File comments: 67
Uploads: 2
Target & focus castbar textures (put anywhere in "objects" table):

Code:
select(3,TargetFrameSpellBar:GetRegions()),
select(3,FocusFrameSpellBar:GetRegions()),
I'll do the party & raid stuff a bit later tonight.
Report comment to moderator  
Reply With Quote
Unread 11-26-11, 01:01 AM  
Aprikot
A Frostmaul Preserver
 
Aprikot's Avatar
AddOn Author - Click to view AddOns

Forum posts: 284
File comments: 67
Uploads: 2
Party frame textures:
Code:
PartyMemberFrame1Texture,
PartyMemberFrame2Texture,
PartyMemberFrame3Texture,
PartyMemberFrame4Texture,
Raid frame border:
Code:
CompactRaidFrameContainerBorderFrameBorderBottom,
CompactRaidFrameContainerBorderFrameBorderBottomLeft,
CompactRaidFrameContainerBorderFrameBorderBottomRight,
CompactRaidFrameContainerBorderFrameBorderLeft,
CompactRaidFrameContainerBorderFrameBorderRight,
CompactRaidFrameContainerBorderFrameBorderTop,
CompactRaidFrameContainerBorderFrameBorderTopLeft,
CompactRaidFrameContainerBorderFrameBorderTopRight,
Keep gradient=false in config as each piece of the raid border will have its own gradient making the whole look segmented.

The horizontal dividers between raid members are a ****ing riddle apparently. Seems another function will be required.

Edit:

Forgot the manager frame:
Code:
CompactRaidFrameManagerToggleButton:GetRegions(),
CompactRaidFrameManagerBg,
CompactRaidFrameManagerBorderBottom,
CompactRaidFrameManagerBorderBottomLeft,
CompactRaidFrameManagerBorderBottomRight,
CompactRaidFrameManagerBorderRight,
CompactRaidFrameManagerBorderTopLeft,
CompactRaidFrameManagerBorderTopRight,
CompactRaidFrameManagerBorderTop,
Last edited by Aprikot : 11-26-11 at 01:15 AM.
Report comment to moderator  
Reply With Quote
Unread 11-26-11, 05:45 AM  
Rufio
A Murloc Raider
 
Rufio's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 289
Uploads: 5
Originally Posted by Aprikot
Target & focus castbar textures (put anywhere in "objects" table):

Code:
select(3,TargetFrameSpellBar:GetRegions()),
select(3,FocusFrameSpellBar:GetRegions()),
I'll do the party & raid stuff a bit later tonight.
Ty for being awesome!!
Party and Raid working well.

The castbars bitching around
Code:
select(3,TargetFrameSpellBar:GetRegions()),
select(3,FocusFrameSpellBar:GetRegions()),
Just work on the shielded texture (not on the normal) and colors the focuscastbar icon. If i just take
Code:
select(3,TargetFrameSpellBar:GetRegions()),
it colors my targetcastbaricon...

I've done nothing fancy with the castbars, just setpoint/scale and added a timer.


Grey icons on the screen: (nvm added the raid border later)
Report comment to moderator  
Reply With Quote
Unread 11-26-11, 09:29 AM  
Aprikot
A Frostmaul Preserver
 
Aprikot's Avatar
AddOn Author - Click to view AddOns

Forum posts: 284
File comments: 67
Uploads: 2
Odd, it's not like that for me:



I actually have a copy of your released UI (nice UI btw ) and will poke around that code to see.
Report comment to moderator  
Reply With Quote
Unread 11-26-11, 09:58 AM  
Aprikot
A Frostmaul Preserver
 
Aprikot's Avatar
AddOn Author - Click to view AddOns

Forum posts: 284
File comments: 67
Uploads: 2
Now I'm puzzled...my cb icons remain uncolored with your UI:



You're seeing the problem with just the focus castbar, not the target castbar right?
Report comment to moderator  
Reply With Quote
Unread 11-27-11, 04:44 AM  
Rufio
A Murloc Raider
 
Rufio's Avatar
AddOn Author - Click to view AddOns

Forum posts: 9
File comments: 289
Uploads: 5
Originally Posted by Aprikot
Now I'm puzzled...my cb icons remain uncolored with your UI:

You're seeing the problem with just the focus castbar, not the target castbar right?
Yeah, if i add both codes (tar+focus) the focus icon s greyed, if iy just add the tar codes, the tar icon is colored.

Here is my CB code (not up to date in my "release")

Code:
TargetFrameSpellBar:ClearAllPoints() TargetFrameSpellBar:SetPoint("center", -125, 65) TargetFrameSpellBar.SetPoint=function()end

--[[ Player castbar ]]
local cbf = "CastingBarFrame"
local cbbs = "Interface\\CastingBar\\UI-CastingBar-Border-Small"
local cbfs = "Interface\\CastingBar\\UI-CastingBar-Flash-Small"

_G[cbf]:SetSize(180,10)
_G[cbf.."Border"]:SetSize(240,40)
_G[cbf.."Border"]:SetPoint("TOP", _G[cbf], 0, 15)
_G[cbf.."Border"]:SetTexture(cbbs)
_G[cbf.."Flash"]:SetSize(240,40)
_G[cbf.."Flash"]:SetPoint("TOP", _G[cbf], 0, 15)
_G[cbf.."Flash"]:SetTexture(cbfs)
_G[cbf]:SetScale("1.3")
_G[cbf.."Text"]:SetPoint("TOP", _G[cbf], 0, 4)
_G[cbf]:ClearAllPoints()
_G[cbf]:SetPoint("TOP", WorldFrame, "BOTTOM", 0, 130) --0, 100
_G[cbf].SetPoint = function() end
_G[cbf.."Icon"]:Show()
_G[cbf.."Icon"]:SetHeight(20)
_G[cbf.."Icon"]:SetWidth(20)

--[[ Castbar timer from thek ]]
_G[cbf].timer = _G[cbf]:CreateFontString(nil)
_G[cbf].timer:SetFont("Fonts\\ARIALN.ttf", 13, "THINOUTLINE")
_G[cbf].timer:SetPoint("RIGHT", _G[cbf], "RIGHT", 24, 0)
_G[cbf].update = .1

local tcbf = "TargetFrameSpellBar"
_G[tcbf].timer = _G[tcbf]:CreateFontString(nil)
_G[tcbf].timer:SetFont("Fonts\\ARIALN.ttf", 13, "THINOUTLINE")
_G[tcbf].timer:SetPoint("RIGHT", _G[tcbf], "RIGHT", 24, 0)
_G[tcbf].update = .1

local fcbf = "FocusFrameSpellBar"
_G[fcbf].timer = _G[fcbf]:CreateFontString(nil)
_G[fcbf].timer:SetFont("Fonts\\ARIALN.ttf", 13, "THINOUTLINE")
_G[fcbf].timer:SetPoint("RIGHT", _G[fcbf], "RIGHT", 24, 0)
_G[fcbf].update = .1

hooksecurefunc("CastingBarFrame_OnUpdate", function(self, elapsed)
	if not self.timer then return end
	if self.update and self.update < elapsed then
		if self.casting then
			self.timer:SetText(format("%.1f", max(self.maxValue - self.value, 0)))
		elseif self.channeling then
			self.timer:SetText(format("%.1f", max(self.value, 0)))
		else
			self.timer:SetText("")
		end
		self.update = .1
	else
		self.update = self.update - elapsed
	end
end)

--[[ Focus Castbar ]]
hooksecurefunc(FocusFrameSpellBar, "Show", function()
    FocusFrameSpellBar:SetScale("1.6")
	FocusFrameSpellBar:ClearAllPoints()
	FocusFrameSpellBar:SetPoint("CENTER", UIParent, "CENTER", 0, 150)
	FocusFrameSpellBar.SetPoint = function() end
end)
FocusFrameSpellBar:SetStatusBarColor(0,0.45,0.9); FocusFrameSpellBar.SetStatusBarColor = function() end
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: