| Updated: | 05-20-11 11:26 PM |
| Created: | 05-01-11 11:18 AM |
| Downloads: | 3,324 |
| Favorites: | 19 |
| MD5: |
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.
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))

File Name |
Version |
Size |
Author |
Date |
1.1 |
2kB |
Aprikot |
05-08-11 12:09 AM |
|
1.0.2 |
2kB |
Aprikot |
05-03-11 10:55 PM |
![]() |
Comment Options |
|
|
|
|
Yes it is the MaxLevelBar but:
Code:
MainMenuMaxLevelBar0, MainMenuMaxLevelBar1, MainMenuMaxLevelBar2, MainMenuMaxLevelBar3, Coke |
|
|
|
|
|
|
|
It's me again ^^
i been using nMainbar and just couldn't find the frame ![]() i think it's something related to the rep bar... |
|
|
|
|
|
|
|
Code:
CastingBarFrameBorder, FocusFrameSpellBarBorder, TargetFrameSpellBarBorder, http://img262.imageshack.us/img262/8...0310204314.jpg http://www.prestige-gaming.ru/lorti_ui_-t11053.html (googletranslate is the hell^^)
Last edited by Rufio : 11-29-11 at 11:29 AM.
|
|
|
|
|
|
|
|
Thanks for the party pet stuff. The more I test the castbars I'm seeing having consistency issues..I got some work to do there.
![]() I'll look at the other items tonight hopefully. |
|
|
|
|
|
|
|
Code:
PartyMemberFrame1PetFrameTexture,
PartyMemberFrame2PetFrameTexture,
PartyMemberFrame3PetFrameTexture,
PartyMemberFrame4PetFrameTexture,
Btw you know an option the rescale the party and tot portrait (1.1) or updateing the playerportrait after exting an vehicle? ![]() |
|
|
|
|
|
||
![]() ![]() ![]() 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
|
||
|
|
|
|
|
|
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? |
|
|
|
|
|
|
|
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. |
|
|
|
|
|
||
Party and Raid working well. The castbars bitching around Code:
select(3,TargetFrameSpellBar:GetRegions()), select(3,FocusFrameSpellBar:GetRegions()), Code:
select(3,TargetFrameSpellBar:GetRegions()), 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) ![]() |
||
|
|
|
|
|
|
Party frame textures:
Code:
PartyMemberFrame1Texture, PartyMemberFrame2Texture, PartyMemberFrame3Texture, PartyMemberFrame4Texture, Code:
CompactRaidFrameContainerBorderFrameBorderBottom, CompactRaidFrameContainerBorderFrameBorderBottomLeft, CompactRaidFrameContainerBorderFrameBorderBottomRight, CompactRaidFrameContainerBorderFrameBorderLeft, CompactRaidFrameContainerBorderFrameBorderRight, CompactRaidFrameContainerBorderFrameBorderTop, CompactRaidFrameContainerBorderFrameBorderTopLeft, CompactRaidFrameContainerBorderFrameBorderTopRight, 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 12:15 AM.
|
|
|
|
|
|
|
|
Target & focus castbar textures (put anywhere in "objects" table):
Code:
select(3,TargetFrameSpellBar:GetRegions()), select(3,FocusFrameSpellBar:GetRegions()), |
|
|
|
|
|
|||
![]()
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. |
|||
|
|
|
|
|
|
Partyframe, CompactRaidFrame would be nice
Code:
PartyMemberFrameTexture CompactRaidFrameContainerBorderFrameTexture ![]() Styling the Target and FocusCastbar works but it recolors the icon too, which is pretty ugly. Can you help me out? |
|
|
|
|
|
|
|
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. |
|
|
|
![]() |