WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Help/Support (https://www.wowinterface.com/forums/forumdisplay.php?f=3)
-   -   Clean icons in platebuffs (https://www.wowinterface.com/forums/showthread.php?t=46074)

bingbaddaboom 03-18-13 01:57 AM

Clean icons in platebuffs
 
1 Attachment(s)
Can someone help me configure PlateBuff lua so that the icons above the namepate does not have a thick blue border, but to look like this

Phanx 03-18-13 04:10 AM

What do they look like now? Can you post a screenshot of that? Can you show the code you're currently using? Where did you find the screenshot you posted?

Dawn 03-18-13 04:34 AM

You can do that in frames.lua

here's a pastebin of the file with the changes I made. It was made to an older version, so no promises of a pain free, instantly working copy and paste of the whole thing. Since I don't know if something else was changed in there by the author in a later version.

You should be able to track the differences, though.

http://pastebin.com/2KrgbCSU

E: don't forget to change the font to a font that exists in your addon folder

bingbaddaboom 03-18-13 11:54 AM

what lines do I put where? =)

bingbaddaboom 03-18-13 11:56 AM

or just simply how? would be really great to get some help

Tonyleila 03-21-13 04:53 PM

Quote:

Originally Posted by Dawn (Post 274801)
You can do that in frames.lua
here's a pastebin of the file with the changes I made. It was made to an older version, so no promises of a pain free, instantly working copy and paste of the whole thing. Since I don't know if something else was changed in there by the author in a later version.
You should be able to track the differences, though.
http://pastebin.com/2KrgbCSU
E: don't forget to change the font to a font that exists in your addon folder

Thanks that works but there is a small bug: The buffs jump up and down sometimes


-----------------------------
Quote:

Originally Posted by bingbaddaboom (Post 274815)
or just simply how? would be really great to get some help

Go into platebuffs folder and open frames.lua with a text editor
Replace the wohle text inside it with the text from Dawn.
Then cange font in line 105 and 96
Code:

buffFrame.cd:SetFont("Interface\\AddOns\\dMedia\\Infinity Gears.ttf", size, "THINOUTLINE")
Code:

buffFrame.stack:SetFont("Interface\\AddOns\\dMedia\\Infinity Gears.ttf", size, "THINOUTLINE")
to
Code:

buffFrame.cd:SetFont("Fonts\\ARIALN.TTF", size, "THINOUTLINE")
Code:

buffFrame.stack:SetFont("Fonts\\ARIALN.TTF", size, "THINOUTLINE")

Dawn 03-21-13 08:56 PM

No jumping for me. Might not be an issue with the code, but maybe how you have set up PlateBuffs options. I changed the default ones (ingame options), which might be the reason I'm not getting the "jumping".


All times are GMT -6. The time now is 03:27 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI