What is it?
Buffy is a simple, lightweight attempt at reskinning the default buff, debuff and tench buttons. It's only using about 4kb of memory and barely any processing time.
All it does is reskin the buff, debuff and tench buttons. The default skin is supposed to fit the Blizzard UI. You can change it in any way you want though, you just need to know some Lua.
Notes
As of v1.1, you can find a small config in the core.lua file.
Personally, I think this is feature complete. I don't want it to do anything fancy, and I'm glad it turned out that simple. If you still have some feature requests though, feel free to throw a comment.
1.2 - 31st March 2010
- added an option to use a custom buff timer format
- removed the option to remove the space in the default timer display; this functionality is replaced by the custom timer format
1.1 - 5th January 2010
- fixed to work with 3.3 and the new consolidated buffs button
- added separate scaling for debuff buttons
- added an option to remove the space in the default time display
Originally posted by Elite_Gamer04 Went thru .lua and couldn't for the life of me figure out which value to change to increase the number of Buffs/Debuffs per line..?
Not possible, since it is not even modifying that. It just reskins the default buff buttons and scales/moves them slightly.
Upfront I want to say "Thank you!" for this addon. It is really a fresh thing to see a simple an clean addon. Some are really bloated feature wise nowadays. Not a bad thing per se but also not my cup of tea.
Well I have only one small suggestion:
Would it be possible without much hassle to change the timer below the icons from for example "2 m" to "2m"? I find myself irritated by the gap sometimes especially at higher screen resolutions.
erebos:
Might be a bit tricky, but it's definitely possible. Will see if I can find a good way adding this, can't think of anything else to do with that now. Maybe I can add some custom timer formatting, although there isn't really much room ;D
I wonder what I am doing wrong in placing my own buff border. Here's what I do, and included is a screenshot of the results.
1) Insert a border.tga file to the Buffy addon folder and rename existing file to border1.
2) Open core.lua.
3) Change the following:
FROM:
Code:
local tNormal = [=[Interface\Buttons\UI-Quickslot2]=]; -- normal border
local tBorder = [=[Interface\AddOns\Buffy\border]=]; -- tench and debuff border overlay
TO:
local tNormal = [=[Interface\AddOns\Buffy\border]=]; -- normal border
local tBorder = [=[Interface\AddOns\Buffy\border]=]; -- tench and debuff border overlay
4) Save core.lua and start the game up.
Result:
Buff in top-right corner, giant gap between the buff and border. How do I rectify this? :S
First, if both border.blp and border.tga exist in Buffy's folder, make sure you change line 5 to:
Code:
local tBorder = [=[Interface\AddOns\Buffy\border.blp]=];
This is to avoid possible conflicts. Not adding the file extension works for both .blp and .tga files, and I don't know what has the priority here. Also, in your case, change line 4 accordingly (add .tga).
Second, to fix the gap, edit lines 42 and 43, the two normal:SetPoint() calls. Those two calls define the top left and bottom right position of the texture relative to the (de-)buff button(s). You'll have to experiment a bit in order for it to work with your texture.
Edit: Just saw you renamed the existing border.blp to border1.blp. No idea what your goal is, but if you want the debuff and tench button glow borders to look the same as your normal borders, also change lines 30 and 31 (same arguments as lines 42 and 43).
The reason why I renamed the original border texture to "border1" was so that the addon would not try to use the file, while allowing me to keep the file in Buffy's folder.
Thanks for your insight; I changed lines 30, 31, 42 and 43 to have x and y values of 0 and 0. This closed the gaps.
Is there any way I could change the font used and add an outline to it?
Will add something in the next version.
Edit: Just thought about this again. Any multi-purpose font addon could do that, no? I'm not modifying the default timers in any way, and I guess the typical font addons handle all default font instances.
Originally posted by zohar101 Does this skin the consolidated buffs icon as well? I actually prefer to have this turned on as a default feature. Ty
It doesn't skin it, but it works with the option enabled, and it also scales the new button. I can add skinning to it if you wish, though. Sounds like a good feature, I guess