Download
(16Kb)
Download
Updated: 09-02-18 03:40 AM
Pictures
File Info
Compatibility:
Battle for Azeroth (8.0.1)
Updated:09-02-18 03:40 AM
Created:10-04-09 06:21 PM
Downloads:24,065
Favorites:75
MD5:

oUF Simple  Popular! (More than 5000 hits)

Version: 800.20180901
by: zork [More]


Intro

oUF_Simple is a unit layout for oUF. It is a mediator between oUF_SimpleConfig and oUF.
Documentation
oUF_SimpleConfig documentation
Slash command
/ouf_simple
Supported units
  • player
  • target
  • targettarget
  • focus
  • pet
  • party
  • nameplates
  • boss
  • raid
  • mouseover
Supported elements
  • health
  • absorb
  • power
  • classpower
  • alternativepower
  • additionalpower
  • raidtargetindicator
  • buffs
  • debuffs
Embedded modules
  • oUF_DebuffHighlight
  • rAbsorbBar
  • rClassBar
Requires
oUF, rLib, oUF_SimpleConfig
Git
https://github.com/zorker/rothui/tre...8.0/oUF_Simple

Optional Files (1)
File Name
Version
Size
Author
Date
Type
800.20180901
23kB
09-02-18 03:40 AM
Addon


Post A Reply Comment Options
Unread 11-22-09, 03:05 AM  
Ferous
Sheer Sense of Doom
AddOn Author - Click to view AddOns

Forum posts: 863
File comments: 563
Uploads: 10
Re: Cast Bars

Originally posted by CapnKirk
Has anyone figured out how to get the cast bars seperated yet? I need only mine moved, directly below my character.
You do this through the Lua.
Report comment to moderator  
Reply With Quote
Unread 11-22-09, 03:10 AM  
Ferous
Sheer Sense of Doom
AddOn Author - Click to view AddOns

Forum posts: 863
File comments: 563
Uploads: 10
Re: Re: Cast Bars

Code:
local function kiss_createCastbar(self,unit)
    self.Castbar = CreateFrame("StatusBar", nil, self)
    self.Castbar:ClearAllPoints()
    self.Castbar.height = 30
    self.Castbar:SetHeight(self.Castbar.height)
    self.Castbar:SetWidth(self.width)
    self.Castbar:SetPoint("BOTTOM",self,"TOP",0,5)
    self.Castbar:SetStatusBarTexture(mytexture)
    self.Castbar:SetStatusBarColor(castcol.r,castcol.g,castcol.b,1)
    kiss_set_me_a_backdrop(self.Castbar)
    --text
    self.Castbar.Text = SetFontString(self.Castbar, myfont, 14, "THINOUTLINE")
    self.Castbar.Text:SetPoint("LEFT", 2, 0)
    self.Castbar.Text:SetPoint("RIGHT", -50, 0)
    self.Castbar.Text:SetJustifyH("LEFT")
    --time
    self.Castbar.Time = SetFontString(self.Castbar, myfont, 14, "THINOUTLINE")
    self.Castbar.Time:SetPoint("RIGHT", -2, 0)
    --icon
    self.Castbar.Icon = self.Castbar:CreateTexture(nil, "LOW")
    self.Castbar.Icon:SetWidth(self.Castbar.height)
    self.Castbar.Icon:SetHeight(self.Castbar.height)
    self.Castbar.Icon:SetPoint("RIGHT", self.Castbar, "LEFT", -5, 0)
    self.Castbar.Icon:SetTexCoord(0.1, 0.9, 0.1, 0.9)
    --since the icon is no frame no backdrop possible, helper texture
    self.Castbar.IconBG = self.Castbar:CreateTexture(nil, "BACKGROUND")
    self.Castbar.IconBG:SetPoint("TOPLEFT",self.Castbar.Icon,"TOPLEFT",-2,2)
    self.Castbar.IconBG:SetPoint("BOTTOMRIGHT",self.Castbar.Icon,"BOTTOMRIGHT",2,-2)
    self.Castbar.IconBG:SetTexture(mytexture)
    self.Castbar.IconBG:SetVertexColor(bdc.r,bdc.g,bdc.b,bdc.a)
You see this in the Lua Code, change the setpoint and you're golden.
Report comment to moderator  
Reply With Quote
Unread 11-23-09, 11:02 AM  
angel100780
A Murloc Raider
 
angel100780's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 111
Uploads: 11
Hi,
is there any chance that a druid mana bar would be embeded? So that i can see how much mana i have even if im in cat or bear? That would be super.
Report comment to moderator  
Reply With Quote
Unread 11-23-09, 11:29 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Not by myself, sry. But p3lim posted a way on how to do so.

http://www.wowinterface.com/download...DruidMana.html

Advanced only.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 11-24-09, 01:12 PM  
angel100780
A Murloc Raider
 
angel100780's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 111
Uploads: 11
Yes i tried that. But it didn´t work. No mana bar in cat or bear form. Don´t know enough myselfe to change the code right. Dame so i have to wait till someone does. But thangs for answering.
Last edited by angel100780 : 11-24-09 at 01:26 PM.
Report comment to moderator  
Reply With Quote
Unread 11-26-09, 04:22 AM  
Dajova
A Wyrmkin Dreamwalker
 
Dajova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 787
Uploads: 5
Ok, just run into a big bug... i have no problem modifying the code for my needs on all my characters... until i logged into my DK. This ONLY shows when i log into my DK and i cannot find where it should break :S

Code:
[11:19:22] Interface\AddOns\oUF_Simple\oUF_Simple.lua:313: attempt to index field 'Debuffs' (a nil value)
[C]: ?
Interface\AddOns\oUF_Simple\oUF_Simple.lua:313: in function <Interface\AddOns\oUF_Simple\oUF_Simple.lua:296>
Interface\AddOns\oUF_Simple\oUF_Simple.lua:607: in function `style'
Interface\AddOns\oUF\ouf.lua:250: in function <Interface\AddOns\oUF\ouf.lua:242>
Interface\AddOns\oUF\ouf.lua:318: in function <Interface\AddOns\oUF\ouf.lua:315>
Interface\AddOns\oUF\ouf.lua:368: in function `Spawn'
Interface\AddOns\oUF_Simple\oUF_Simple.lua:714: in main chunk
EDIT: This is the code that it says that should break it, but i haven't modified it a bit from the original :S

Code:
  --code taken from oUF_P3lim
  local function kiss_CreateRuneBar(self,unit)  
    self.Runes = CreateFrame("Frame", nil, self)
    self.Runes:SetPoint("TOPLEFT", self, "BOTTOMLEFT", 0, -5)
    self.Runes:SetHeight(6)
    self.Runes:SetWidth(self.width)
    self.Runes.anchor = "TOPLEFT"
    self.Runes.growth = "RIGHT"
    self.Runes.height = 6
    self.Runes.spacing = 2
    self.Runes.width = (self.width+2) / 6 - 2
    for index = 1, 6 do
      self.Runes[index] = CreateFrame("StatusBar", nil, self.Runes)
      self.Runes[index]:SetStatusBarTexture(mytexture)
	    local r, g, b = unpack(tabvalues.runes[index])
	    self.Runes[index]:SetStatusBarColor(r, g, b)
      kiss_set_me_a_backdrop(self.Runes[index])
    end    
    self.Debuffs:SetPoint("TOP", self.Runes, "BOTTOM", 0, -5)    
  end
EDIT2: Now i found the problem... silly me, this bug happens when u comment out this code:

Code:
--kiss_createDebuffs(self,unit)
from the player style...

Just had to create a separate debuff code for the player so it doesnt overlap my current castbar and its all good
__________________
Livestream | Twitter | YouTube
Last edited by Dajova : 11-26-09 at 04:36 AM.
Report comment to moderator  
Reply With Quote
Unread 11-28-09, 04:43 AM  
Dajova
A Wyrmkin Dreamwalker
 
Dajova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 787
Uploads: 5
Question: Is there a way to turn off abbreviate of the frames? So the castname doesnt get cut off (see screenshot)

http://i46.tinypic.com/r7lvkj.jpg
__________________
Livestream | Twitter | YouTube
Report comment to moderator  
Reply With Quote
Unread 01-11-10, 09:38 PM  
xor
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Targets portrait switch

I would also love to see the targets portrait switch sides. i figured out howto move just the picture, but i'm not sure howto align the buffs to the portrait...

Has anyone else been able to get the whole portrait moved over sucessfully?
Report comment to moderator  
Reply With Quote
Unread 03-31-10, 07:57 PM  
yeoie
A Defias Bandit

Forum posts: 2
File comments: 7
Uploads: 0
Player Buffs?

Im wondering if there is a way to make the player buffs show just like the target's buffs do, both to maintain symetry and to not need the default buffs, or another buff mod.

I looked thru the LUA and im fairy versed in lua, but im unable to find a buffs self true/false option,

the only thing i can find that i think is close is the ablity to filter buffs and debuffs?

Thanks for your addon, and continued support.
Report comment to moderator  
Reply With Quote
Unread 04-01-10, 01:45 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Re: Player Buffs?

The target and the playerframe use own style functions.
Open oUF_Simple.lua and check for "local function CreatePlayerStyle". Inside you will find the kiss_createBuffs()-call commented out by "--". Just remove the comment.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 04-01-10 at 01:46 AM.
Report comment to moderator  
Reply With Quote
Unread 04-01-10, 03:55 AM  
yeoie
A Defias Bandit

Forum posts: 2
File comments: 7
Uploads: 0
Re: Re: Player Buffs?

How did you get so smart!?


Haha, thanks for the fast response. thanks for the great unit frames. keep up the good work
Report comment to moderator  
Reply With Quote
Unread 04-03-10, 11:12 AM  
bearserk
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
I cannot get my party or target of target frames to show can somebody tell me how to I am very new to this sort of ui. If I could get raid from to show in party too that would be fine.
Report comment to moderator  
Reply With Quote
Unread 04-03-10, 05:35 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Party targets aren't that easy to do in oUF. You really need to know what you are doing. Some layouts have them. If you know how they are able to spawn them you could copy that behavior. If you are still learning oUF. Don't try this. It's one of the last steps in your oUF career.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 05-30-10, 02:38 PM  
weasoug
A Flamescale Wyrmkin
 
weasoug's Avatar
AddOn Author - Click to view AddOns

Forum posts: 127
File comments: 319
Uploads: 11
hi there. i hope there will be some update soon. but i guess there isnt much to update.

i just wanted to ask. i see that names are also class color, as well as the frames. i just wanted to ask how i change the name color.

ie Name is say druid. i want it so the frames are still the class color. but say white as the name.

i did think it would be somwhere around

Code:
local classtext = SetFontString(self.Power, myfont, 13, "THINOUTLINE")
thanks for your time
Report comment to moderator  
Reply With Quote
Unread 05-30-10, 03:00 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
~line 157
Code:
    if color then
      self.Name:SetTextColor(color.r, color.g, color.b,1)
    end
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: