Category: Graphic UI Mods
Addon Information
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
kraftman's Portal Bug Reports Feature Requests
Author:
Version:
1.9 Beta
Date:
04-18-2009 04:01 PM
Size:
11.65 Kb
Downloads:
13,837
Favorites:
73
MD5:
Pictures
BuffSkin!
Click to enlarge
Click to enlarge
Basic Config
BuffSkin   Popular! (More than 5000 hits)
BuffSkin:
Very simple, lightweight addon to skin the default buff frames. I called it "BuffSkin" because it.. er.. skins buffs!

The idea is the file stays simple and small (without a million textures you will never use) so only 1 skin is included, check out the optional files for more skins, or add your own from any other addon.

The commands are as follows:
to open the options menu:

/bs conf
/buffskin config
etc.

Editing values manually:
"/buffskin list" returns a list of all skins that can be loaded
"/buffskin Set X" re skins the buffs with the desired skin.
"/buffskin offset X" will increase the size of the skin to X pixels bigger than the buff icon.

Please feel free to upload any skins you want:
Just provide either:
texture.tga,
or
Buff.tga, Debuff.tga and WepEnch.tga,
inside a folder called SetX, where X is a number following on from the skins already available here.

Adding a gloss layer, Gloss.tga, is optional for both.
(If you dont want the gloss on the debuff icons to change colour with debufftype, the gloss must be included as a seperate layer (Gloss.tga))

Any donations you feel kind enough to give will be used entirely for the purchase of cheesecake - my brainfood. I will of course provide signed photographs of me devouring said cheesecake, along with work flow diagrams proving the greater efficiency of coding that my mind exhibits upon experiencing a 'cheesecake high.'
  Change Log - BuffSkin
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 - BuffSkin
File Name
Version
Size
Author
Date
Type
1.1
42kB
03-02-2009 02:28 PM
Addon
1.0
6kB
01-14-2009 04:03 PM
Patch
1.33
2kB
01-09-2009 07:33 AM
Patch
1.33
4kB
01-08-2009 02:17 PM
Addon
1.3
2kB
01-08-2009 11:43 AM
Addon
  Archived Versions - BuffSkin
File Name
Version
Size
Author
Date
1.8 Beta
5kB
kraftman
03-05-2009 09:36 PM
1.8 Beta
6kB
kraftman
03-02-2009 07:43 AM
1.61 Beta
4kB
kraftman
02-27-2009 10:10 AM
1.6 Beta
4kB
kraftman
02-27-2009 06:51 AM
1.5 ALPHA
4kB
kraftman
01-18-2009 08:57 PM
1.33 Beta
3kB
kraftman
01-08-2009 12:03 PM
1.2
3kB
kraftman
01-04-2009 06:46 PM
1.1
2kB
kraftman
01-03-2009 10:07 PM
  Comments - BuffSkin
Post A Reply Comment Options
Old 03-02-2009, 07:37 PM  
Dimpf
A Fallenroot Satyr

Forum posts: 24
File comments: 12
Uploads: 0
Including a change log is appreciated.
Dimpf is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-02-2009, 07:34 PM  
SkunkWerks
A Deviate Faerie Dragon
 
SkunkWerks's Avatar
Interface Author - Click to view interfaces

Forum posts: 11
File comments: 207
Uploads: 2
Quote:
Originally posted by Wimpface
SkunkWerks, you seem to complain a lot about Buffskin not being the same as ButtonFacade, well, why don't you just use ButtonFacade instead of BuffSkin then?
Buffed doesn't support it. Because it's 'teh suxxorz'. Little late on that one. 3/10

Last edited by SkunkWerks : 03-02-2009 at 07:39 PM.
SkunkWerks is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-02-2009, 06:30 PM  
Wimpface
A Cobalt Mageweaver
Interface Author - Click to view interfaces

Forum posts: 225
File comments: 245
Uploads: 21
SkunkWerks, you seem to complain a lot about Buffskin not being the same as ButtonFacade, well, why don't you just use ButtonFacade instead of BuffSkin then?

BuffSkin was made as an alternative to ButtonFacade for us that don't like the way BF has turned out, and you should respect that instead of trying to make BS a BF-clone.

If ButtonFacade is easier for you to use, use it!

Code:
local name = UnitName('player')

if name == SkunkWerks then
	if IsPrefered('ButtonFacade') then
		Use('ButtonFacade')
	elseif IsPrefered('BuffSkin') then
		USe('BuffSkin')
	end
end
This is how it would look with Pseudo-lua, now go download ButtonFacade instead of this and stop complaining about your round textures not acting up the way you want them to!

Wimpsy.
__________________
Do you like waffles?
Wimpface is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-02-2009, 05:20 PM  
kraftman
A Fallenroot Satyr
Interface Author - Click to view interfaces

Forum posts: 25
File comments: 177
Uploads: 11
Because its a lot easier for someone just to .zip 1 or 4 textures files and say 'hey i used an offset of 6 with this, try something similar yourself' then it is for them to have to write a .toc and .lua that integrates properly with buffskin. Check out the lua of any ButtonFacade skin, even if you take away the extra layers needed for action bars, its still not just one line.

As far as i am aware, buffskin is mostly used by people that use addons such as rActionButtonStyler, and are willing to compromise the initial effort of setting up the textures against having a bulkier, more complex addon that does the same job 'out of the box.' I dont intend Buffskin to be ButtonFacade, if i did, i would just use buttonfacade. And yes, in terms of coding, Buffskin is much, much simpler than ButtonFacade.

As far as coding is concerned, i have never coded in my life before, none of my studies involve coding of any kind, and 2 months ago i didn't know what a .toc was: everyone has to start somewhere.


EDIT: as far as i am aware, all lua file management capabilities have been disabled, so you cant just load it from a text. The only way i managed to check for folders containing valid textures was to do a trick where i looped through valid folders looking for valid files and saving them if they existed.

Last edited by kraftman : 03-02-2009 at 05:37 PM.
kraftman is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-02-2009, 04:52 PM  
SkunkWerks
A Deviate Faerie Dragon
 
SkunkWerks's Avatar
Interface Author - Click to view interfaces

Forum posts: 11
File comments: 207
Uploads: 2
Quote:
As above, if you can come up with a solution where you can do neither, i'd be interested in hearing them. Or, as i've said before, you're very welcome to code it yourself.
And as I've said before, I have no head for code. If I did I wouldn't spend so much time picking your brain, would I? I'd already have written something that does these things.

But if you want an honest suggestion:

Why does it have to be a whole Lua file? Why not just a small settings file, say perhaps five lines- given the relative simplicity of the addon that is checked for, and applied if present? In other words, optional. Obviously any skin based on a square shape (and there's an awful lot of bland ones like that, in my opinion) would never need this. But if you wanted anything more interesting than this, it'd be nice if it could be set up just as easily, wouldn't it?

In this case for instance, the file would be all of one line: "Offset = 6"

Don't tell me average Joe user doesn't know how to open Notepad, type that, and save it in an appropriately named TXT. Heck, I think the learning curve on manipulating Targa files is about a hundred times more steep. And if I'm right, about 90% of the people authoring textures for this in square formats would never have to do it anyway...

Is something like that possible? For a Lua file to check the contents of a text file?

This is where it's kinda frustrating as a person who is normally used to using something like ButtonFacade, to hear people say "well that's just a terrible addon, you should just use BuffSkin, it's so simple". And here I am thinking: "but I don't have to do all this crap with ButtonFacade, it just works. On what planet is this considered any simpler?"

Last edited by SkunkWerks : 03-02-2009 at 05:00 PM.
SkunkWerks is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-02-2009, 04:31 PM  
kraftman
A Fallenroot Satyr
Interface Author - Click to view interfaces

Forum posts: 25
File comments: 177
Uploads: 11
Quote:
Originally posted by SkunkWerks
That would be the simplest solution for me- as the person who made it and lacks the options to do any better. And you may note I've already done it.

I don't think it's the simplest solution for people downloading it.

It's the simplest solution to allow people to use textures of a flexible size and shape with their configuration, without any need for additional lua files with each skin. If you have a better and equally simple solution to the problem, I'm all ears.

Quote:
I'd go with option 3: doing neither. But since there isn't an option 3, I'll do what's easiest for me, yes. It's still an ugly hack, in my opinion. But then my profession is all about marrying form and function. A balance of pretty and practical. Something can be very pretty and not be practical and vice versa. I see these issues of coding in similar ways, I suppose. Light on memory often means murder on user-friendliness.
As above, if you can come up with a solution where you can do neither, i'd be interested in hearing them. Or, as i've said before, you're very welcome to code it yourself.

kraftman is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-02-2009, 04:11 PM  
SkunkWerks
A Deviate Faerie Dragon
 
SkunkWerks's Avatar
Interface Author - Click to view interfaces

Forum posts: 11
File comments: 207
Uploads: 2
Quote:
Originally posted by kraftman
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?
That would be the simplest solution for me- as the person who made it and lacks the options to do any better. And you may note I've already done it.

I don't think it's the simplest solution for people downloading it.

Quote:
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.
I'd go with option 3: doing neither. But since there isn't an option 3, I'll do what's easiest for me, yes. It's still an ugly hack, in my opinion. But then my profession is all about marrying form and function. A balance of pretty and practical. Something can be very pretty and not be practical and vice versa. I see these issues of coding in similar ways, I suppose. Light on memory often means murder on user-friendliness.

As an artist, I might design what I think is a very witty and thoughtful billboard ad including many advanced elements of composition and design, and yet, average Joe onlooker sees a lot of lines and dots, doesn't make the connection to the product or slogan being sold, and therefore the whole project rather misses the mark.


...have I mentioned I'm a perfectionist?

Quote:
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.
Yeah, only I'm not talking about those improvements, nor do I disagree that they are improvements. They are, and I appreciate them.

However, what I'm talking about having to reset my entire set of buffs by hand and having to guess at the kind of space I'll be needing because- while Buffed! provides me with dummy frames to see where I'm putting things- BuffSkin doesn't provide me with dummy skins to show me how it will all look- you know, without having to have all 20 buffs and all 20 debuffs on both me and my target actively running.

Last edited by SkunkWerks : 03-02-2009 at 04:18 PM.
SkunkWerks is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-02-2009, 03:23 PM  
kraftman
A Fallenroot Satyr
Interface Author - Click to view interfaces

Forum posts: 25
File comments: 177
Uploads: 11
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.
kraftman is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-02-2009, 03:03 PM  
SkunkWerks
A Deviate Faerie Dragon
 
SkunkWerks's Avatar
Interface Author - Click to view interfaces

Forum posts: 11
File comments: 207
Uploads: 2
Quote:
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...


Quote:
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.

Quote:
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.


Quote:
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-2009 at 03:10 PM.
SkunkWerks is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-02-2009, 02:38 PM  
kraftman
A Fallenroot Satyr
Interface Author - Click to view interfaces

Forum posts: 25
File comments: 177
Uploads: 11
Quote:
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

Quote:

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.


Quote:

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.

Quote:

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-2009 at 02:38 PM.
kraftman is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-02-2009, 01:50 PM  
SkunkWerks
A Deviate Faerie Dragon
 
SkunkWerks's Avatar
Interface Author - Click to view interfaces

Forum posts: 11
File comments: 207
Uploads: 2
Quote:
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-2009 at 02:03 PM.
SkunkWerks is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-02-2009, 01:25 PM  
kraftman
A Fallenroot Satyr
Interface Author - Click to view interfaces

Forum posts: 25
File comments: 177
Uploads: 11
try dragging the offset slider for buffskin
kraftman is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-02-2009, 01:18 PM  
SkunkWerks
A Deviate Faerie Dragon
 
SkunkWerks's Avatar
Interface Author - Click to view interfaces

Forum posts: 11
File comments: 207
Uploads: 2
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.
SkunkWerks is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-02-2009, 12:01 PM  
SkunkWerks
A Deviate Faerie Dragon
 
SkunkWerks's Avatar
Interface Author - Click to view interfaces

Forum posts: 11
File comments: 207
Uploads: 2
Quote:
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-2009 at 12:10 PM.
SkunkWerks is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 03-02-2009, 11:50 AM  
kraftman
A Fallenroot Satyr
Interface Author - Click to view interfaces

Forum posts: 25
File comments: 177
Uploads: 11
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
kraftman is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.