Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(54 Kb)
Download
Updated: 09-21-12 02:35 PM
Pictures
File Info
Updated:09-21-12 02:35 PM
Created:10-04-09 06:21 PM
Downloads:9,307
Favorites:52
MD5:

oUF Simple  Popular! (More than 5000 hits)

Version: 50001.02
by: zork [More]


Intro

oUF_Simple updated for World of Warcraft Mist of Pandaria.

This is a tiny unitframe layout for oUF. This layout should just give an insight on how to create a basic oUF layout. Thats the only purpose. You can expand it yourself.
Install
The zip-file contains two folders: rLib and oUF_Simple. Put them in your AddOns folder.
Download the latest oUF from the link above. Create an oUF folder in your AddOns folder and put the content of the zip in there. Make sure to edit the TOC-number to 50001 in oUF.toc.

Units supported
  • player
  • target
  • tot
  • pet
  • focus
Slash commands
Code:
/simple
/simple unlock
/simple lock
/simple reset
SVN
http://code.google.com/p/rothui/sour...5.0/oUF_Simple


500001.02
- Fixed oUF_DebuffHighlight

500001.01
- initial release for MoP

4.003
- updated toc for patch 4.2

4.002
- fixed party/raid
- fixed menu
- added tags
- added threat display
- added debuff highlight

4.001
- updated for oUF 1.5.10

004
- new layout
- compatible to oUF 1.4

003
- raidframes - DONE
- Combopoints - DONE
- Runebar - DONE
Screenshots: http://zorktdmog.zo.funpic.de/simple/

002
- Debuff highlighting - DONE
- Aggro coloring - DONE
- Party - DONE
- Icons (looter, leader, pvp, resting) - DONE
- Vehicles - DONE

001
- initial release
Optional Files (0)


Archived Files (7)
File Name
Version
Size
Author
Date
4.003
11kB
zork
06-29-11 04:36 PM
4.002
11kB
zork
05-18-11 03:20 PM
4.001
7kB
zork
05-15-11 03:29 PM
004
36kB
zork
06-29-10 02:39 AM
003
13kB
zork
10-06-09 04:28 PM
002
9kB
zork
10-05-09 01:37 PM
001
7kB
zork
10-04-09 06:21 PM


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: 564
Uploads: 32
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.
Ferous is offline 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: 564
Uploads: 32
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.
Ferous is offline 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: 107
Uploads: 16
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.
angel100780 is offline 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: 1391
File comments: 3377
Uploads: 89
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.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is offline 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: 107
Uploads: 16
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.
angel100780 is offline 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: 791
Uploads: 13
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 | Facebook | YouTube


Last edited by Dajova : 11-26-09 at 04:36 AM.
Dajova is offline 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: 791
Uploads: 13
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 | Facebook | YouTube


Dajova is offline 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?
xor is offline 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.
yeoie is offline 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: 1391
File comments: 3377
Uploads: 89
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.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"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.
zork is offline 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
yeoie is offline 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.
bearserk is offline 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: 1391
File comments: 3377
Uploads: 89
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.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is offline 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: 128
File comments: 315
Uploads: 15
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
weasoug is offline 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: 1391
File comments: 3377
Uploads: 89
~line 157
Code:
    if color then
      self.Name:SetTextColor(color.r, color.g, color.b,1)
    end
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

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



Category Jump: