Download
(27Kb)
Download
Updated: 07-08-11 03:29 PM
Pictures
File Info
Updated:07-08-11 03:29 PM
Created:01-03-09 07:20 PM
Downloads:29,936
Favorites:66
MD5:

BuffSkin  Popular! (More than 5000 hits)

Version: 2.3
by: kraftman [More]

BuffSkin skins your buffs, simple!

Updated to 2.2:
Small GUI change, updated .toc

Updated to 2.2:
Included a few more textures

Added options to select the gloss texture you want, and change its alpha and size.

Updated to 2.0:

Buffskin is now split into 2 separate addons: the teeny tiny bit which replaces the blizzard borders on buffs, and the configuration file which allows you to change the textures of these borders, and change the positioning of the border.

As the configuration file is now load on demand, if you don't open up the configuration, it'll never load! Making the addon even smaller. You can even delete the configuration addon entirely and buffskin will still happily skin your buffs like mad!

To add your own borders, simply create (or borrow) any .tga file you like, making sure that it is square, and dimensions that are a power of 2 (32, 64, etc)
Add the image into the BuffSkin/textures folder, and give it a name that hasnt already been used, for example "texture3.tga"

To change the configuration, type "/bs" or go to interface->Addons,
select the type of buff you wish to modify (buff/debuff/wepench), and drag the slider or select a different texture.

Note: This addon does not and will not ever resize or reposition the buffs.

2.3 Fixed an alignment issue in the options.

2.0 Complete re write. Made the frequency of skinning much less, improving performance. separated the core and config into different addons.


1.9: A few minor changes iv'e been meaning to add for a while, bringing the addon up to date with 3.1, and adding better support for Buffed! (Also included Set1 and Set2)

1.8: Changed the way that the offset slider works to better support round textures, changed the stack count fontstring to overlay properly.

1.61: Added Support for Buffed!

1.5: Complete rewrite of most of both files, addition of basic GUI, and a new slash command, "/buffskin config"

1.33 changed getglobal to _G at request of Mikari

1.32 commented out a debugging line that was spamming a bit, added gloss and glossalpha as extra commands.

1.31 fixed a missing statement at line 60 that prevented gloss textures from being un hidden ><
Optional Files (5)
File Name
Version
Size
Author
Date
Type
1.1
42kB
03-02-09 01:28 PM
Addon
1.0
6kB
01-14-09 03:03 PM
Patch
1.33
2kB
01-09-09 06:33 AM
Patch
1.33
4kB
01-08-09 01:17 PM
Addon
1.3
2kB
01-08-09 10:43 AM
Addon


Post A Reply Comment Options
Unread 01-04-09, 07:03 PM  
kraftman
A Theradrim Guardian
AddOn Author - Click to view AddOns

Forum posts: 63
File comments: 261
Uploads: 15
Originally posted by Beoko
Code:
local function BuffSkin()
for i=1, BUFF_ACTUAL_DISPLAY do
	 local buffName = "BuffButton"..i;
	 local buff = getglobal(buffName);
	 local buffTextureName = "Bborder"..i
	 local buffTexture = getglobal(buffTextureName)
		if not buffTexture then 
			Bufftexture = buff:CreateTexture("Bborder"..i,"OVERLAY")
			Bufftexture:SetTexture("Interface\\AddOns\\BuffSkin\\testtexture.tga")
			Bufftexture:SetAllPoints(buff)
			buff.texture2 = Bufftexture	
		end
			
end
Is missing the end for it's for statement. Great addon by the way.
nah it wasnt, its just the end for the function was after the next for loop. And thanks
Last edited by kraftman : 01-04-09 at 07:04 PM.
Report comment to moderator  
Reply With Quote
Unread 01-04-09, 09:28 PM  
kraftman
A Theradrim Guardian
AddOn Author - Click to view AddOns

Forum posts: 63
File comments: 261
Uploads: 15
some more textures on their way:

http://hdimage.org/images/yj5bt6teq2...0509031240.jpg

http://hdimage.org/images/xudqh7k08a...0509032523.jpg

http://hdimage.org/images/x8ip367qyj1tw2d3wm7m_ocrnhot010509105613.jpg
Last edited by kraftman : 01-05-09 at 04:58 AM.
Report comment to moderator  
Reply With Quote
Unread 01-05-09, 08:54 AM  
kraftman
A Theradrim Guardian
AddOn Author - Click to view AddOns

Forum posts: 63
File comments: 261
Uploads: 15
wow, i didnt realise how popular this would be. i'm working on update that changes the colour of debuffs depending on debuff type, and some skins to go with it.
Report comment to moderator  
Reply With Quote
Unread 01-05-09, 11:44 PM  
Squiddy0
A Defias Bandit
 
Squiddy0's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 116
Uploads: 3
Love it, and got a dreamlayout texture going for it which was what I enjoyed originally was "Dreambuff", long as you keep this updated I'll definitely keep using it, thank you; and I look forward to using this.

Also you mentioned adding an option in the future to change the textures, that mean you'll be be rewriting the code so that this original version with one texture would be obsolete or would you have two versions, one with options for textures and one with a singular texture?

To be honest just swapping in/out which texture one wants to use with this version is just fine with me, but maybe a little too much work for others who want something simple.

It's simple as it is, and I enjoy the simplicity; just pleased I was able to get a "DreamBuff" look working with it, hope you continue with this, thanks.
Last edited by Squiddy0 : 01-05-09 at 11:45 PM.
Report comment to moderator  
Reply With Quote
Unread 01-06-09, 06:06 AM  
kraftman
A Theradrim Guardian
AddOn Author - Click to view AddOns

Forum posts: 63
File comments: 261
Uploads: 15
Originally posted by Squiddy0
Love it, and got a dreamlayout texture going for it which was what I enjoyed originally was "Dreambuff", long as you keep this updated I'll definitely keep using it, thank you; and I look forward to using this.

Also you mentioned adding an option in the future to change the textures, that mean you'll be be rewriting the code so that this original version with one texture would be obsolete or would you have two versions, one with options for textures and one with a singular texture?

To be honest just swapping in/out which texture one wants to use with this version is just fine with me, but maybe a little too much work for others who want something simple.

It's simple as it is, and I enjoy the simplicity; just pleased I was able to get a "DreamBuff" look working with it, hope you continue with this, thanks.
glad you like it
just brainstorming but i guess i would make it so that if you just dropped one texture in, it would use that for everything, if you dropped seperate buff/debuffs/wepench textures in it would use them all seperatly.
I'd also liek to keep it as simple as possible.
Report comment to moderator  
Reply With Quote
Unread 01-08-09, 06:29 AM  
kappe
A Deviate Faerie Dragon

Forum posts: 14
File comments: 123
Uploads: 0
really nice! i'd like to see it working with elkano buff bars
Report comment to moderator  
Reply With Quote
Unread 01-08-09, 07:50 AM  
Fonjask
A Fallenroot Satyr
 
Fonjask's Avatar
AddOn Author - Click to view AddOns

Forum posts: 25
File comments: 266
Uploads: 2
And another code change! You are really trying to give me as much work as possible on updating the readme for my extra textures aren't you ?

Got a question though, look at this piece of code in your Loader.lua, last lines:

Code:
SLASH_BuffSkin1 = "/Buffskin";
SLASH_BuffSkin2 = "/buffskin";
As far as I know, it doesn't matter if you capitalize the slash command or not, or does it?

Also in loader:

Code:
"Interface\\AddOns\\BuffSkin\\Set"..i.."\\Buff.tga"
It's probably just me being a , but if you want to call that module, shouldn't you be putting a standard Set1 folder in the .rar? So if you're trying to call Buff.tga without including Buff.tga would be a bit hard wouldn't it? Correct me if I'm wrong, just asking ! Maybe you want to merge 'Extra Textures', 'BuffSkin Set1', and 'BuffSkin' into 'BuffSkin' itself ?


That's it for now, will recomment shortly ^^
__________________
~~~~~~~~~~~~
Report comment to moderator  
Reply With Quote
Unread 01-08-09, 08:21 AM  
kraftman
A Theradrim Guardian
AddOn Author - Click to view AddOns

Forum posts: 63
File comments: 261
Uploads: 15
About the slash commands: you're completely right, this extra line was just left in from something else i had been trying before, and doesnt need to be there (but shouldnt cause any problems.)

About the loader: I want to keep the core file as small and un-cluttered as possible, which means including the bare minimum as far as textures are concerned. This means that the user will only have textures in the folder that they have chose to put there.
That line of code checks to see if the extra texture folders exist, if not then no problem, it just sticks to the default 'texture.tga.'

About the readme: hopefully you wont need it anymore as long as new texture sets are named SetX and contain the right textures, the user can just drop them into the buffskin folder

I need to remove the 'buffskin extra textures' file and re pack it as Set2 or 3, just havnt got aroudn to it yet.

thanks a lot for your feedback and let me knwo if u have any other questions
Report comment to moderator  
Reply With Quote
Unread 01-08-09, 10:31 AM  
Mikari
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 102
Uploads: 3
Any chance you could use _G[ ] instead of getglobal()? It's faster.

http://forums.wowace.com/showthread.php?t=14860
Report comment to moderator  
Reply With Quote
Unread 01-08-09, 10:44 AM  
kraftman
A Theradrim Guardian
AddOn Author - Click to view AddOns

Forum posts: 63
File comments: 261
Uploads: 15
Originally posted by Mikari
Any chance you could use _G[ ] instead of getglobal()? It's faster.

http://forums.wowace.com/showthread.php?t=14860
ofc.

EDIT: Done!
Last edited by kraftman : 01-08-09 at 11:03 AM.
Report comment to moderator  
Reply With Quote
Unread 01-08-09, 02:43 PM  
EridaNuuS
A Kobold Labourer

Forum posts: 1
File comments: 44
Uploads: 0
How to move buff ?
Report comment to moderator  
Reply With Quote
Unread 01-08-09, 03:27 PM  
Mikari
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 17
File comments: 102
Uploads: 3
Hadn't actually had chance to try the mod till now, noticed the getglobal stuff when I was checking out the code to see how stuff was done, anyhow getting this error when loading the mod.

Report comment to moderator  
Reply With Quote
Unread 01-08-09, 04:02 PM  
kraftman
A Theradrim Guardian
AddOn Author - Click to view AddOns

Forum posts: 63
File comments: 261
Uploads: 15
Originally posted by Mikari
Hadn't actually had chance to try the mod till now, noticed the getglobal stuff when I was checking out the code to see how stuff was done, anyhow getting this error when loading the mod.

how bizzare, has anyone else had this problem?
my pc has just decided to die so i'll try and take a look at that later.
Edit:
Try deleting the saved variables fiel for the addon in WTF\Account\(account name)\savedvariables\buffskin.lua, and if that doesnt work, coud you send me a list of any other addons you are using? it may be that one of them is interfering.
thanks.
Last edited by kraftman : 01-08-09 at 04:49 PM.
Report comment to moderator  
Reply With Quote
Unread 01-08-09, 04:57 PM  
kraftman
A Theradrim Guardian
AddOn Author - Click to view AddOns

Forum posts: 63
File comments: 261
Uploads: 15
Originally posted by EridaNuuS
How to move buff ?
Sorry, this is an addon to skin the default buff frames, not to move them

to move the frames you would either need to add a few more lines to the addon, hooking the function "BuffButton_UpdateAnchors()" and editing it, or find another addon that can reposition the default frames (such as BuffHUD )
Report comment to moderator  
Reply With Quote
Unread 01-11-09, 04:22 PM  
Fonjask
A Fallenroot Satyr
 
Fonjask's Avatar
AddOn Author - Click to view AddOns

Forum posts: 25
File comments: 266
Uploads: 2
What is it now, '/buffskin glossalpha0.5' or '/buffskin glossalpha 0.5'
__________________
~~~~~~~~~~~~
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: