Go to Page... |
Compatibility: | Legion (7.0.3) |
Updated: | 08-23-16 09:24 AM |
Created: | 11-02-10 05:07 PM |
Downloads: | 26,478 |
Favorites: | 88 |
MD5: |
Simple, Minimalistic oUF frames.
Use the included oUF until further notice.
Note: If you are a healer and using this layout - I've got a matching layout for Grid2 that is full featured for each healing class & includes all the latest raid debuffs. Add me on BNet, Mia#1417 and I will gladly share it with you.
Includes:Player Frame
Target Frame
TargetTarget Frame
Focus Frame
Focus Target Frame
Pet Frame
Boss Frames
Raid Frames
Positioning/Scaling & Bonus Options:
**Set true/false in cfg.lua**
Vertical or Horizontal party framesAddon support:
Show or Hide Raid Frame Manager
Show or Hide Self in Party
Show Only Player Debuffs/Buffs on Target
Show or Hide Player Name on Player frame
Originally Posted by Sauerkraut
oUF_Karma A very basic minimalistic styled unitframe. Created because I really don't need a lot of frills. I tried to put as much important info into a relatively small space. I play at 1920x1080 so these may look off if you use a different resolution. I never could have accomplished this if not for Drakull and his oUF_Drk. I had many versions of this layout but using Drk as a template I was able to come up with some thing I really liked.
oUF_Karma has been taken over by Unkn since I no longer play. -Sauerkraut |
Comment Options |
Sauerkraut |
View Public Profile |
Send a private message to Sauerkraut |
Find More Posts by Sauerkraut |
Add Sauerkraut to Your Buddy List |
Finnegan |
View Public Profile |
Send a private message to Finnegan |
Find More Posts by Finnegan |
Add Finnegan to Your Buddy List |
03-06-11, 08:04 AM | ||
|
|
|
|
Sauerkraut |
View Public Profile |
Send a private message to Sauerkraut |
Find More Posts by Sauerkraut |
Add Sauerkraut to Your Buddy List |
03-06-11, 05:28 PM | |
|
Okay I've pulled my head out of my @$$ now. Add this at line 174 of the lib.lua
Code:
elseif f.mystyle == "target" then name:SetPoint("RIGHT", f, "RIGHT", 0, -12) |
|
Sauerkraut |
View Public Profile |
Send a private message to Sauerkraut |
Find More Posts by Sauerkraut |
Add Sauerkraut to Your Buddy List |
03-07-11, 01:09 PM | ||
|
|
|
|
Finnegan |
View Public Profile |
Send a private message to Finnegan |
Find More Posts by Finnegan |
Add Finnegan to Your Buddy List |
03-07-11, 06:33 PM | |
A Kobold Labourer
Forum posts: 0
File comments: 2
Uploads: 0
|
I had 2 questions...
Sauerkraut,
Indeed this is one of the best unit frames i have stumbled upon and would like to congratulate you on your hard work and dedication with helping the community. I've look through the code and couldn't find where i can modify some values to do the following.. 1. Mainly on the target bar, i would like to unify both buffs and debuffs onto the bottom of the frame, where as right now buffs show up on the right side of the unit frame. 2. I look through all the comments and saw it mentioned, about showing absolute mana on target frame, but got no real understanding on how to do it, so i would like to know how to do both absolute mana and absolute health on target frames. Again thank you for your time and dedication on such a great project.
Last edited by bammer1376 : 03-07-11 at 06:35 PM.
|
|
bammer1376 |
View Public Profile |
Send a private message to bammer1376 |
Find More Posts by bammer1376 |
Add bammer1376 to Your Buddy List |
03-07-11, 07:01 PM | ||
|
Re: I had 2 questions...
To show absolute mana on the target frame in the tags.lua file change Code:
if u == "player" or u == "target" and UnitLevel(u) < 0 then Code:
if u == "player" or u == "target" then Code:
/ [curhp] Code:
[karma:hp] Code:
f:Tag(hpval, retVal(f,"[karma:hp] / [curhp]","[karma:hp]","[karma:raidhp]")) |
|
|
Sauerkraut |
View Public Profile |
Send a private message to Sauerkraut |
Find More Posts by Sauerkraut |
Add Sauerkraut to Your Buddy List |
03-07-11, 08:44 PM | ||
A Kobold Labourer
Forum posts: 0
File comments: 2
Uploads: 0
|
Re: Re: I had 2 questions...
Thank you very much for you rapid response! This did the trick that i was looking for! Once again thank you for your time and help on this question. These are by far the best frames addon that i have seen in a long time. Keep up the excellent work.
Cheers!
|
|
|
bammer1376 |
View Public Profile |
Send a private message to bammer1376 |
Find More Posts by bammer1376 |
Add bammer1376 to Your Buddy List |
03-07-11, 09:27 PM | |
A Kobold Labourer
Forum posts: 0
File comments: 7
Uploads: 0
|
Hi
I'm trying to add the %hp on the player frame and change the font size for it. Code:
if f.mystyle == "player" then f:Tag(hpval, "[karma:color][curhp] [karma:raidhp]") Could you point me how to change the font size for %hp on player frame? Great work btw Thank you |
|
Tentacule |
View Public Profile |
Send a private message to Tentacule |
Find More Posts by Tentacule |
Add Tentacule to Your Buddy List |
03-08-11, 11:35 AM | ||
|
Code:
if f.mystyle == "player" then fontsize = 36 Code:
if f.mystyle == "player" then f:Tag(hpval, "[karma:color][curhp] [karma:hp]") |
|
|
Sauerkraut |
View Public Profile |
Send a private message to Sauerkraut |
Find More Posts by Sauerkraut |
Add Sauerkraut to Your Buddy List |
03-08-11, 04:43 PM | |||
A Kobold Labourer
Forum posts: 0
File comments: 7
Uploads: 0
|
That I had figured out but I would like to keep [curhp] font size 36 and to change %HP to font size 16 or any other sizes.
Thank you I hope I don't bother you.
Last edited by Tentacule : 03-08-11 at 04:45 PM.
|
||
|
Tentacule |
View Public Profile |
Send a private message to Tentacule |
Find More Posts by Tentacule |
Add Tentacule to Your Buddy List |
03-08-11, 06:59 PM | |
|
You would have to create two separate tag events to have one at 36 and another at 16.
|
|
Sauerkraut |
View Public Profile |
Send a private message to Sauerkraut |
Find More Posts by Sauerkraut |
Add Sauerkraut to Your Buddy List |
03-09-11, 11:51 AM | ||
A Kobold Labourer
Forum posts: 0
File comments: 7
Uploads: 0
|
Just copy/paste "karma:raidhp" and change a few things? Code:
oUF.Tags['karma:raidhp'] = function(u) if UnitIsDead(u) or UnitIsGhost(u) or not UnitIsConnected(u) then return oUF.Tags['karma:DDG'](u) else local per = oUF.Tags['perhp'](u).."%" or 0 return per end end oUF.TagEvents['karma:raidhp'] = 'UNIT_HEALTH' Code:
oUF.Tags['karma:perhp'] = function(u) local per = oUF.Tags['perhp'](u).."%" or 0 fontsize =16 -- I really feel like this won't work return per end end oUF.TagEvents['karma:perhp'] = 'UNIT_HEALTH'
Last edited by Tentacule : 03-09-11 at 11:52 AM.
|
|
|
Tentacule |
View Public Profile |
Send a private message to Tentacule |
Find More Posts by Tentacule |
Add Tentacule to Your Buddy List |
03-09-11, 03:35 PM | |
|
Sorry I wasn't clear. It isn't about the tag.lua file just calling another tag to have a separate fontsize. In fact the method is already there for the player name to be shown. If you changed that to perhp rather than name it should work. Then just enable the option to show player name and it will show you percent hp.
So change this Code:
if f.mystyle == "player" and cfg.ShowPlayerName then f:Tag(level, "[karma:level] [karma:color][name]") elseif f.mystyle =="target" then f:Tag(level, "[karma:pp]") end Code:
if f.mystyle == "player" then f:Tag(level, " [karma:color][perhp]") elseif f.mystyle =="target" then f:Tag(level, "[karma:pp]") end Code:
if f.mystyle == "player" then level = lib.gen_fontstring(f.Health, cfg.font, fontsize/2, "THINOUTLINE") |
|
Sauerkraut |
View Public Profile |
Send a private message to Sauerkraut |
Find More Posts by Sauerkraut |
Add Sauerkraut to Your Buddy List |
03-09-11, 05:01 PM | |
A Kobold Labourer
Forum posts: 0
File comments: 7
Uploads: 0
|
Code:
local level if f.mystyle == "player" then level = lib.gen_fontstring(f.Health, cfg.font, fontsize/2.3, "THINOUTLINE") elseif f.mystyle == "target" then level = lib.gen_fontstring(f.Health, cfg.font, 12, "THINOUTLINE") end if f.mystyle == "player" and cfg.ShowPlayerName then level:SetPoint("CENTER", f.Health, "CENTER", -32, 0) level:SetJustifyH("RIGHT") elseif f.mystyle =="target" then level:SetPoint("BOTTOMRIGHT", f.Health, "BOTTOMRIGHT", 8, -14) level:SetJustifyH("RIGHT") end if f.mystyle == "player" then f:Tag(level, " [karma:color][perhp]%") elseif f.mystyle =="target" then f:Tag(level, "[karma:pp]") end end |
|
Tentacule |
View Public Profile |
Send a private message to Tentacule |
Find More Posts by Tentacule |
Add Tentacule to Your Buddy List |