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,262
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 07-04-10, 07:14 AM  
Areul
A Kobold Labourer

Forum posts: 0
File comments: 132
Uploads: 0
Bug ..

Code:
1x oUF_Simple\core.lua:192: attempt to call method 'SpawnHeader' (a nil value)

Locals:

  ---
no party frame in raid group..
Areul is offline Report comment to moderator  
Reply With Quote
Unread 07-03-10, 06:39 PM  
Game92
A Molten Giant
 
Game92's Avatar
AddOn Author - Click to view AddOns

Forum posts: 623
File comments: 697
Uploads: 14
Does anyone know how to do add borders on buffs?
Game92 is offline Report comment to moderator  
Reply With Quote
Unread 06-30-10, 02:46 AM  
Drauer
A Fallenroot Satyr
 
Drauer's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 87
Uploads: 24
Thanks for this tutorial, you're awesome
__________________
Quando omni flunkus moritati
Drauer is offline Report comment to moderator  
Reply With Quote
Unread 06-30-10, 01:17 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1372
File comments: 3308
Uploads: 87
Re: Re: Re: Nice Ouf Layout

@Ferous
I applied no overlay (border) texture, that is correct and intended, but oUF does its own "button.overlay" in the elements/aura.lua that becomes visible for specific debuffs. The outer glow is done by using SetBackDrop(). You can skin the overlay ANYTIME.
Check http://code.google.com/p/rothui/sour...oUF_D3Orbs.lua and search for "button.overlay" this is how I do it for oUF_D3Orbs just copy that part over to the "lib.PostCreateIcon" function in lib.lua
Skinning aura icons in oUF is always done in the CreateIcon function.

@Poltig
Check core.lua how I implemented one function for each unit. I applied self.mystyle = "player" etc. so you always know which style function called the lib.function. So adjust your condition to
Code:
if self.mystyle == "player" then
  ...
end
Nevertheless this is just a tutorial, something that can be used to develop own stuff, not sth. that can be used out of the box.
__________________
| 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 : 06-30-10 at 01:26 AM.
zork is offline Report comment to moderator  
Reply With Quote
Unread 06-29-10, 11:07 PM  
Ferous
Sheer Sense of Doom
AddOn Author - Click to view AddOns

Forum posts: 863
File comments: 564
Uploads: 32
Re: Re: Nice Ouf Layout

For some reason.... the buffs for oUF aren't being skinned by the code.. for some weird reason. Idk why, maybe an AddOn is conflicting... I'll have to dig deeper.

edit - does it have something to do with the new oUF release?
Last edited by Ferous : 06-29-10 at 11:19 PM.
Ferous is offline Report comment to moderator  
Reply With Quote
Unread 06-29-10, 10:30 AM  
Politig
A Chromatic Dragonspawn
AddOn Compiler - Click to view compilations

Forum posts: 164
File comments: 398
Uploads: 1
When the realms go up, I'll be playing around with this a lot. I do have a quick question though; is there a way to change class colors/power colors? I've been playing with oUF ALZA and there's a bit here:
Code:
local powercolors = {
    ["MANA"] = {.3, .5, .85},
    ["RAGE"] = {.9, .2, .3},
    ["FUEL"] = {0, 0.55, 0.5},
    ["FOCUS"] = {.9, .9, .1},
    ["ENERGY"] = {.9, .9, .1},
    ["AMMOSLOT"] = {0.8, 0.6, 0},
    ["RUNIC_POWER"] = {.35, .45, .6},
    ["POWER_TYPE_STEAM"] = {0.55, 0.57, 0.61},
    ["POWER_TYPE_PYRITE"] = {0.60, 0.09, 0.17},
}
Is there some local or something that could be placed into oUF Simple as well?

EDIT: I've been playing with settings (I'm new) and I tried to add a little name hider thing:

Code:
  --gen hp strings func
  lib.gen_hpstrings = function(f)
    --health/name text strings
    local name = lib.gen_fontstring(f.Health, cfg.font, 13, "THINOUTLINE")
    name:SetPoint("LEFT", f.Health, "LEFT", 2, 0)
    name:SetJustifyH("LEFT")
    local hpval = lib.gen_fontstring(f.Health, cfg.font, 13, "THINOUTLINE")
    hpval:SetPoint("LEFT", f.Health, "RIGHT", -2, 0)
    --this will make the name go "..." when its to long
    name:SetPoint("RIGHT", hpval, "LEFT", -5, 0)
    
    f:Tag(name, "[name]")
    f:Tag(hpval, "[curhp]/[perhp]%")
      
      if (unit == "player") then
        name:Hide()
      else
        name:Show()
      end
  end
My edit is in red. However, nothing in game changes. What am I doing wrong?
Last edited by Politig : 06-29-10 at 03:31 PM.
Politig is offline Report comment to moderator  
Reply With Quote
Unread 06-29-10, 05:51 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1372
File comments: 3308
Uploads: 87
Re: Nice Ouf Layout

It's a tutorial. I show you how to do stuff and you start editing. Be your own creative director.
__________________
| 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 06-29-10, 05:39 AM  
Tagnar31
A Kobold Labourer
 
Tagnar31's Avatar

Forum posts: 0
File comments: 21
Uploads: 0
Nice Ouf Layout

Ye this layout is awesome...however the cfg.lua is a bit restricted :P...I wonder if you can put the options to able/disable buffs/debuffs on target/party/player/pet/focus, to show/not show the castbars or hide the latency on the castbars also the ability to change the font etc. etc. ...If you can do all these to this addon it might just become my favourite OuF Layout
Tagnar31 is offline Report comment to moderator  
Reply With Quote
Unread 06-28-10, 04:02 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1372
File comments: 3308
Uploads: 87
Re: is there anybody keep updating the layout?

__________________
| 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 06-28-10, 02:21 PM  
136589219
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
is there anybody keep updating the layout?

i hope more oUF:Plugins can work with the layout,like oUF_TotemBar,oUF_DruidHots...
and
the pet-target sometimes is useful~

Last edited by 136589219 : 06-28-10 at 02:34 PM.
136589219 is offline Report comment to moderator  
Reply With Quote
Unread 05-31-10, 01:36 PM  
weasoug
A Flamescale Wyrmkin
 
weasoug's Avatar
AddOn Author - Click to view AddOns

Forum posts: 124
File comments: 307
Uploads: 15
hi there again. i wanted to do this.


--edit--

well the past questions i have worked out.

but i seem to be stuck. i want to make more of a space in the party frame.
between the part memebers.

and didnt know if adding somthing like a 'columnSpacing', world work.

thanks again for your time.
Last edited by weasoug : 06-04-10 at 07:55 PM.
weasoug is offline Report comment to moderator  
Reply With Quote
Unread 05-30-10, 05:22 PM  
weasoug
A Flamescale Wyrmkin
 
weasoug's Avatar
AddOn Author - Click to view AddOns

Forum posts: 124
File comments: 307
Uploads: 15
Originally posted by zork
~line 157
Code:
    if color then
      self.Name:SetTextColor(color.r, color.g, color.b,1)
    end
ok this is what i have done


if color then
--self.Name:SetTextColor(color.r, color.g, color.b,1)
end
i have not had an error. so i take it;s right.


thanks for your time.


-
ps since doing this i have had a few errors. and it would see its this

self.AggroBorder:SetVertexColor(bdc.r,bdc.g,bdc.b,bdc.a)

so as well as -- the player one that needs doing also.
Last edited by weasoug : 05-30-10 at 06:47 PM.
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: 1372
File comments: 3308
Uploads: 87
~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
Unread 05-30-10, 02:38 PM  
weasoug
A Flamescale Wyrmkin
 
weasoug's Avatar
AddOn Author - Click to view AddOns

Forum posts: 124
File comments: 307
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 04-03-10, 05:35 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1372
File comments: 3308
Uploads: 87
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
Post A Reply



Category Jump: