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,934
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 03-02-09, 02:23 PM  
kraftman
A Theradrim Guardian
AddOn Author - Click to view AddOns

Forum posts: 63
File comments: 261
Uploads: 15
the simplest solution to this would if you upload an addon, put a note with it saying 'set the offset slider in the config menu to 6.' i cant really see how that is difficult, or how it warrants an entire lua file just to set?

if someone gave me the option of dragging a slider to change a value, or editing a value in a lua file, saving it, and reloading my ui to see the outcome, then repeating the process until i find the right value, i know which i would go with.

if i hadnt updated it, you would have to manually edit the position of both the duration timers and stack count timers on buffs, as well as the spacing between each buff whenever you had changed the offset, hence it is much better than it was.
Report comment to moderator  
Reply With Quote
Unread 03-02-09, 02:03 PM  
SkunkWerks
A Fallenroot Satyr
 
SkunkWerks's Avatar
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 239
Uploads: 1
Originally posted by kraftman
The result of the slider is to offset the texture by an amount equivalent to the position the slider is dragged to. im not sure what a better term would be.
Simple is as simple does. I'd go with "Resize", myself. Since we kinda already know that Buffed deals with buffs and BuffSkin deals with their skins, the relativity factor is really implicit.

But anyway, semantical nitpicks aside...


Personally i don't find it takes long to find the right position to make the border and texture line up properly, I've used this method because it makes it easier for people wanting to use their own textures, with their own texture widths, to line up their textures with their buffs without having to do any lua editing.
Whether you're LUA editing or futzing with settings, it's still time spent- the only difference is how you feel most comfortable spending it. And not just for me, but for each and every person who downloads it. I don't mind getting 'under the hood' a bit like this. I don't think you'll find other people quite so patient, however.

Those people will download that skin, say, "it doesn't look like the picture", and then promptly stop using it. Silly perhaps, but this is how people are. Will I mind much? Well no, it won't affect me one lick. But principally speaking I may as well not even put it out there if almost no one will have the patience to use it.

As for my own time, I've spent the better part of the last two days doing what I call "shoehorning" in order to get this to work, and I'd be lying to you if the thought had never occurred to me: "Gee, if only Bison or something very much like it supported either dynamic or rounded buff layouts... then I could just use that and ButtonFacade and it would all work itself out instead of beating my head against a wall..."

...I'd also be lying if I said I wasn't a stubborn jackass capable of amazing feats of reckless repetitiveness.

The only other option would be to make every set of textures its own addon (ButtonFacade) and hence lua editing would be needed to change the displacement of the texture vs border, which many people aren't comfortable with.
I see what you're saying, I just still think more people are uncomfortable with the concept of an Addon you have to endlessly fiddle with to get to work right (and what might seem "simple" to you isn't to most people, trust me on this). We could go around about it for hours I suspect. It's a principle thing.


This method is actually better than it previously was...
Given how much time I'll be spending reorganizing my interface "blindly" in order to make this look how I'd like it to, I'm going to have to respectfully say I'm not seeing the 'better' in this outcome.

But, again, this is a perceptual thing.
Last edited by SkunkWerks : 03-02-09 at 02:10 PM.
Report comment to moderator  
Reply With Quote
Unread 03-02-09, 01:38 PM  
kraftman
A Theradrim Guardian
AddOn Author - Click to view AddOns

Forum posts: 63
File comments: 261
Uploads: 15
Originally posted by SkunkWerks
I was about to say that didn't work until I realized there seems to be a lag on the display of settings changes.

It appears that while i had disabled Buffed! to make sure that Buffskin remained fully compatible with the default buff frames, i didn't notice that it was no longer fully compatible with Buffed! As a result, the settings only update when you're buffs change, not when you finish dragging the slider - thanks for pointing this out, i'll add a fix in the next version


That seems to be what I was looking to do- I had to set the offset in the neighborhood of 6 to get that to happen, however, a couple comments:

1) "Offset" honestly wouldn't have been my first thought when looking for an option to resize the skin. To me offset means nudging something to the side or up and down- offset from center, in other words. But there we come back to that language snaggle. To be fair, I did play with it, but that coupled with the lag led me to believe it wasn't the option I was looking for anyway.

The result of the slider is to offset the texture by an amount equivalent to the position the slider is dragged to. im not sure what a better term would be.



2) Since a BuffSkin skin contains only images and no settings, basically anyone who downloaded this, or a skin like it, would have to know the offset setting to get the desired effect, rather than just installing it and having it work out-of-the-box, so to speak. Seems a kinda "ugly hack" if you ask me.... :/
Personally i don't find it takes long to find the right position to make the border and texture line up properly, I've used this method because it makes it easier for people wanting to use their own textures, with their own texture widths, to line up their textures with their buffs without having to do any lua editing.
The only other option would be to make every set of textures its own addon (ButtonFacade) and hence lua editing would be needed to change the displacement of the texture vs border, which many people aren't comfortable with.


3) Because The Skins have to be larger than the Icons in order for this to work, it seems reasonable to assume I'm probably going to have to reorganize all my Buffs once again to accomodate for any potential overlap. This is going to be really hard to do if I can't see every container with the accommodating skin so I can see what sort of spacing is needed. I guess I could try and do this in a buff-heavy situation, but most raids probably wouldn't appreciate me wasting all their good buffs on futzing with my interface.
This method is actually better than it previously was: when i first coded buffskin i had only taken thin square borders into account, and the method of placement was to position them outside of the button itself, rather than making them always the same size, and changing the icon size instead. This meant that the effective size of the buff would change depending on the texture being used, and produce a lot of problem when trying to align buffs to each other, and make sure that the timers were still better.
The new method ensures that the buff sizes always stay the same effective size, only the texture in the middle changes.
Last edited by kraftman : 03-02-09 at 01:38 PM.
Report comment to moderator  
Reply With Quote
Unread 03-02-09, 12:50 PM  
SkunkWerks
A Fallenroot Satyr
 
SkunkWerks's Avatar
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 239
Uploads: 1
Originally posted by kraftman
try dragging the offset slider for buffskin
I was about to say that didn't work until I realized there seems to be a lag on the display of settings changes.



That seems to be what I was looking to do- I had to set the offset in the neighborhood of 6 to get that to happen, however, a couple comments:

1) "Offset" honestly wouldn't have been my first thought when looking for an option to resize the skin. To me offset means nudging something to the side or up and down- offset from center, in other words. But there we come back to that language snaggle. To be fair, I did play with it, but that coupled with the lag led me to believe it wasn't the option I was looking for anyway.

2) Since a BuffSkin skin contains only images and no settings, basically anyone who downloaded this, or a skin like it, would have to know the offset setting to get the desired effect, rather than just installing it and having it work out-of-the-box, so to speak. Seems a kinda "ugly hack" if you ask me.... :/

3) Because The Skins have to be larger than the Icons in order for this to work, it seems reasonable to assume I'm probably going to have to reorganize all my Buffs once again to accomodate for any potential overlap. This is going to be really hard to do if I can't see every container with the accommodating skin so I can see what sort of spacing is needed. I guess I could try and do this in a buff-heavy situation, but most raids probably wouldn't appreciate me wasting all their good buffs on futzing with my interface.
Last edited by SkunkWerks : 03-02-09 at 01:03 PM.
Report comment to moderator  
Reply With Quote
Unread 03-02-09, 12:25 PM  
kraftman
A Theradrim Guardian
AddOn Author - Click to view AddOns

Forum posts: 63
File comments: 261
Uploads: 15
try dragging the offset slider for buffskin
Report comment to moderator  
Reply With Quote
Unread 03-02-09, 12:18 PM  
SkunkWerks
A Fallenroot Satyr
 
SkunkWerks's Avatar
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 239
Uploads: 1
Alright. I've started from scratch again, and, for whatever reason, the images now display at least having loaded them in at 128x128.

But, the buffs still aren't round.



And near as I can tell, the reason for this is to do with functions of Buffed! and BuffSkin themselves. Namely the size relationship between the buff and it's skin.

Returning to our diagrams, we can conclude in order for a skin like this to work, the skin image must be somewhat larger than the buff Icons. And near as I can tell, I have no real way to control that relationship between the two.

Because, despite having been able to load in the larger images, near as I can tell, BuffSkin has still sized them to match the buff Icons.

I can resize the buffs of course using Buffed, but BuffSkin just resizes the images along with it. They stay in lock-step and thus the effect I'm trying to achieve never happens.
Report comment to moderator  
Reply With Quote
Unread 03-02-09, 11:01 AM  
SkunkWerks
A Fallenroot Satyr
 
SkunkWerks's Avatar
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 239
Uploads: 1
my guess with the dimensiosn is that when you changed them, you may have changed the filenames too :S
Nope. But I dearly wish it were something that simple.

Inititally I changed the filenames to match the naming scheme that Buffskin appears to use, that being:

  • Buff.tga
  • Debuff.tga
  • Gloss.tga
  • NoGloss.tga
  • WepEnch.tga


I did that much because I'm assuming that no matter what skin is being used, this is how the code recognizes what to put where. After that, when I re-sized them I did nothing more than opened each and saved them as is.

It's possible I'm over-thinking this, but when you do something that logically should work and it doesn't, well you don't have too many options other than to try to think of really crazy things that might have gone wrong.

I'll start the process from scratch again, I guess.
Last edited by SkunkWerks : 03-02-09 at 11:10 AM.
Report comment to moderator  
Reply With Quote
Unread 03-02-09, 10:50 AM  
kraftman
A Theradrim Guardian
AddOn Author - Click to view AddOns

Forum posts: 63
File comments: 261
Uploads: 15
i guess i was editing my post just as you were posting yours ^^

thats correct, and i guess the correct term would be layering.

by 'snipping' i just mean trimming the very edges ( a couple of pixels maybe) from the origional buff icon textures, to remove the default blizzard border.
My terminology probably isnt great as i havnt studied anything on the subject.

my guess with the dimensiosn is that when you changed them, you may have changed the filenames too :S
Report comment to moderator  
Reply With Quote
Unread 03-02-09, 10:44 AM  
SkunkWerks
A Fallenroot Satyr
 
SkunkWerks's Avatar
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 239
Uploads: 1
Originally posted by kraftman
your assumption is correct, neither buffskin nor BF do any masking of the underlying texture other than to snip the edges off.
Forgive me here, I'm actually a graphics designer by trade. I have no head for code, but I know my way around a lot of image editing programs better then most. So I know there's really only two things you can do here to get the desired effect: either you're layering over it or masking it out.

"Snipping" isn't an option. It's a bit of slang that has no mechanical meaning or practical application to the discipline. And it's kinda confusing to hear it.

But if I understand what you're saying correctly, the skins are just slightly larger than the buffs so that the rounded portions lie over the corner of the buffs, like so:



The overall result would be that you achieve the look of roundness by composite. This would be Layering. However, it presents another problem, and that is...

as for loading the textures: all i did was copy them across and rename them, no editing whatsoever, so they were still in the 128x128 format. any multiple of 2 should work fine, im not sure why you are having troubles :S
Neither am I. All I know is, I ported them in at 128x128, and an attempt to load them into BuffSkin literally did nothing. Nothing appeared, nada. When I shrunk them down to 64, all of a sudden, they appeared.

Now, they say insanity is doing the same thing over and over again and expecting a different result, and I may just be that insane, I suppose.
Last edited by SkunkWerks : 03-02-09 at 10:45 AM.
Report comment to moderator  
Reply With Quote
Unread 03-02-09, 10:18 AM  
kraftman
A Theradrim Guardian
AddOn Author - Click to view AddOns

Forum posts: 63
File comments: 261
Uploads: 15
Originally posted by SkunkWerks


So far the only assumption I have to make is that there isn't any interaction between the skin overlay and the icon behind it deeper than just "covering" it over.
your assumption is correct, neither buffskin nor BF do any masking of the underlying texture other than to snip the edges off.

as for loading the textures: all i did was copy them across and rename them, no editing whatsoever, so they were still in the 128x128 format. any multiple of 2 should work fine, im not sure why you are having troubles :S

EDIT: maybe this will illustrate it a bit better:


EDIT again: lol that we pretty much made the same picture
Last edited by kraftman : 03-02-09 at 10:46 AM.
Report comment to moderator  
Reply With Quote
Unread 03-02-09, 10:13 AM  
SkunkWerks
A Fallenroot Satyr
 
SkunkWerks's Avatar
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 239
Uploads: 1
All that's well and fine, but I'm not really sure what I did wrong. Or what you may have changed for that matter.

Although the alpha masks in the image files at least in theory ~should~ mask out a round figure, they don't. I don't feel so much like I used the wrong textures as I'm lacking a texture or interaction that would mask out the icon in the backdrop.

So far the only assumption I have to make is that there isn't any interaction between the skin overlay and the icon behind it deeper than just "covering" it over.


And I still haven't got the faintest idea how you got it to load textures bigger than 64X64. Unless that's something you changed?
Last edited by SkunkWerks : 03-02-09 at 10:23 AM.
Report comment to moderator  
Reply With Quote
Unread 03-02-09, 06:44 AM  
kraftman
A Theradrim Guardian
AddOn Author - Click to view AddOns

Forum posts: 63
File comments: 261
Uploads: 15
Hopefully it'll be easier to apply your own textures properly now, and they shouldn't mess up the timer and buff stacking fontstrings.

Also, with a bit of playing, its fairly easy to use this to skin other things such as bartender:



(although obviously without hover-over highlighting, etc, as buffs dont have these)
Last edited by kraftman : 03-02-09 at 06:51 AM.
Report comment to moderator  
Reply With Quote
Unread 03-01-09, 05:18 PM  
SkunkWerks
A Fallenroot Satyr
 
SkunkWerks's Avatar
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 239
Uploads: 1
Originally posted by kraftman
ok, i took a look at this. it looks like you are copying the wrong layers over. I'm guessing you want something like this:

That's the general goal.

There's more textures included with ButtonFacade skins than there are with BuffSkin skins, though, and not all of them have a counterpart in BuffSkin. I made a few educated guesses on what was meant to go where.

I suppose I guessed wrong.

EDIT: note that the textures you are tyring to use were not necessarily designed with skinning buffs in mind, so the large ones or the circular ones may require editting of the duration timers for buffs.
Bison's ButtonFacade support applies them capably enough. There are some extra textures in the trinity pack that are obviously meant for action bars, but I gather they're just not used. That said, it should just be a simple matter of matching up the ones that correspond.

I had to shrink the size of the initial textures to even get BuffSkin to read them anyway, as stated. If you got them to read at 128 x 128, I'm at a loss to figure out how. They wouldn't even display for me until I shrunk them to 64.
Last edited by SkunkWerks : 03-01-09 at 05:25 PM.
Report comment to moderator  
Reply With Quote
Unread 03-01-09, 05:14 PM  
kraftman
A Theradrim Guardian
AddOn Author - Click to view AddOns

Forum posts: 63
File comments: 261
Uploads: 15
ok, i took a look at this. it looks like you are copying the wrong layers over. I'm guessing you want something like this:



The textures used here were the 128x128 tga's straight from the trinity skin, working no problem.

EDIT: note that the textures you are tyring to use were not necessarily designed with skinning buffs in mind, so the large ones or the circular ones may require editting of the duration timers for buffs.
Last edited by kraftman : 03-01-09 at 05:20 PM.
Report comment to moderator  
Reply With Quote
Unread 03-01-09, 04:52 PM  
SkunkWerks
A Fallenroot Satyr
 
SkunkWerks's Avatar
AddOn Author - Click to view AddOns

Forum posts: 21
File comments: 239
Uploads: 1
Originally posted by kraftman
could you link me the texture you are trying to get working please?
http://www.wowinterface.com/download...rBuffSkin.html
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: