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,088
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 01-09-17, 04:15 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Re: Configure position of

@aezaekiel
Currently there is no addon included that handles the digsite progress bar. You need to find an addon that does this for you.
__________________
| 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 01-06-17, 09:20 AM  
aezaekiel
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Configure position of "Digsite progress"

Hi,

i have a question concerning the position of the "Digsite Progess"-Bar. Is it possible to move it or even completly replace it with a custom frame fitting the rest of the layout?

http://imgur.com/a/dBgMz

I looked into the code but as i think it should be a element for this im not certain where i should look into for further investigation.

Any help is really appreciated.

Thanks in advance.
Last edited by aezaekiel : 01-06-17 at 09:29 AM.
Report comment to moderator  
Reply With Quote
Unread 01-03-17, 04:09 PM  
clinophobia
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Originally Posted by zork
1. Yes that is what the config is for. Unless your override your config your can update the framework without issues.

2. Yes this can be done by adding the CustomFilter attribute to any aura config and providing a function that returns true or false under certain conditions. (Like only return true if it is a player casted aura)
An example is given for the nameplate unit.
https://github.com/zorker/rothui/blo...eplate.lua#L35
You can add this sort of function to any aura config you like
https://github.com/zorker/rothui/blo...plate.lua#L106
Great you helped me a lot, sorry but I got 2 things again :-D

1. Is it possible to show something when a ready check is running, something like a cross when not ready etc.?


2. I tried to put the dps/tank or heal icons in the raid and partyframes but they didn't show up :-(

Code:
  icon = {
    enabled = true,
    size = {26,26},
    point = {"RIGHT","LEFT",-6,0},
  },
Last edited by clinophobia : 01-03-17 at 04:35 PM.
Report comment to moderator  
Reply With Quote
Unread 01-03-17, 01:35 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
1. Yes that is what the config is for. Unless your override your config your can update the framework without issues.

2. Yes this can be done by adding the CustomFilter attribute to any aura config and providing a function that returns true or false under certain conditions. (Like only return true if it is a player casted aura)
An example is given for the nameplate unit.
https://github.com/zorker/rothui/blo...eplate.lua#L35
You can add this sort of function to any aura config you like
https://github.com/zorker/rothui/blo...plate.lua#L106
__________________
| 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 01-02-17, 02:53 AM  
clinophobia
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
First of all I really like your addon, played around in the LUA and it's nice so far but I got 2 questions:

1. Whenever you release an update, will my LUA configs stay (i think they will since it is in the simple config folder, am I right?) ?

2. Is it possible to show only my Dots (Warlock) on the targets bar instead all of them from the whole group, especially in a raid?
Last edited by clinophobia : 01-02-17 at 02:53 AM.
Report comment to moderator  
Reply With Quote
Unread 11-30-16, 04:42 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
oUF_Simple is dependent on the global variable oUF_SimpleConfig. The content of that variable is up to you. oUF_Simple load order is: rLib, oUF_SimpleConfig, oUF_Simple. This cannot be adjusted unless you edit oUF_Simple.

You have full control over oUF_SimpleConfig. You could add healer specific templates to your config and override your default config under certain conditions that have to be available on runtime (That means no spec. Class and unit name only).

Or you use oUF_SimpleConfig as a gate that loads other config addons of your choosing that are optional dependencies. If they are enabled they can override the default config.

How you set up your config is up to you.
__________________
| 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 : 11-30-16 at 04:47 AM.
Report comment to moderator  
Reply With Quote
Unread 11-30-16, 04:25 AM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 334
Uploads: 46
Zork,

Not possible without rewriting the whole thing. oUF_Simple functions are dependent on the config
Just to speaking about the question.

May we have variable in OUF_Simple that points to the config with a different name or having it overwritten by a different one ? Or there is a problem related to the dependency in TOC file ?

I mean something like:

SimpleConfig = SimpleConfig_Healer ?

Then SimpleConfig_Healer is basically a copy of SimpleConfig with its changes.

Sorry if I appear tedious but I really like to understand how this thing works

Thanks anyway for your time and attention.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 11-30-16, 02:36 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Not possible without rewriting the whole thing. oUF_Simple functions are dependent on the config. In theory it is possible to write an addon that has API calls to spawn units using a config but that is not how everything is set up right now.
__________________
| 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-30-16, 12:17 AM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 334
Uploads: 46
Zork,

one more question.

Could the combo OUF_Simple OUF_SimpleConfig acts like all others addon of you so the latter is a template for the first ?

In this way we can posts or have multiple template not having tied to the name OUF_SimpleConfig which is in .TOC file and required by the templates\*

Lua Code:
  1. ## Dependencies: rLib, oUF_SimpleConfig

So a person could have: oUF_SimpleConfig_Healer, oUF_SimpleConfig_Gm_preferred, oUF_SimpleConfig_Test1, etc etc ... and load the one (and only one) like to use .

Thanks.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Last edited by gmarco : 11-30-16 at 12:19 AM.
Report comment to moderator  
Reply With Quote
Unread 11-29-16, 10:26 AM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 334
Uploads: 46
Hi Zork,

understood

Thanks very much for tips.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 11-29-16, 07:22 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Do not mess with the ObjectiveTracker (regarding "automatic" reposition). For real. There are so many issues with SecureEnvironment.

Options:

A) Get rid of it and use sth else.

B) Allow the user to resize/drag the frame via user interaction using the WoW API. This is what I do. Requires manual reposition.
http://wowprogramming.com/docs/widge...egisterForDrag
http://wowprogramming.com/docs/widgets/Frame/SetMovable
http://wowprogramming.com/docs/widge...e/SetResizable
http://wowprogramming.com/docs/widge.../SetUserPlaced
https://github.com/zorker/rothui/blo...gframe.lua#L92
__________________
| 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 : 11-29-16 at 07:24 AM.
Report comment to moderator  
Reply With Quote
Unread 11-29-16, 05:12 AM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 334
Uploads: 46
Originally Posted by zork

@gmarco
Just position the objective tracker a little bit to the left.
http://www.wowinterface.com/download...veTracker.html

oUF_Simple supports SetPoint and SetJustifyH for fontstrings via point and align attribute.
http://wowprogramming.com/docs/widge...ce/SetJustifyH ("LEFT", "RIGHT", "CENTER")

Example:
Lua Code:
  1. name = {
  2.       enabled = true,
  3.       points = {
  4.         {"LEFT",2,0},
  5.         {"RIGHT",-2,0},
  6.       },
  7.       size = 16,
  8.       align = "CENTER",
  9.       tag = "[name]",
  10. },
[/color]
Hi Zork,

thanks so much for the answer.
But I have a little bit confusion about it.

What I wanted ask you was the fact that if should be possible put the ObjectiveTracker automatically under the boss frame (the position is variable depending on how many bosses frame we have), so moving below it non on the left.



You mean perhaps that I could do with rObjTracker ? I am using right now the stock blizzard one.



About the second thing (the name on the left and the hp on the right) I know that the frame has the points possibility. What at the beginning I hadn't understood was the fact that I was missing the health section and I was trying to do name and hp in the name section.
I have solved the problem using 2 distinct elements one aligned left (the name) one aligned right (the hp and % hp)... My error was because the hp element was missing in your original config and I didn't realize that I could use it

The only problem is that if the name is too long probably it overwrites part of the hp section. So I have to use 2 different Y coords or reduced the part of X used for the name itself.

Lua Code:
  1. name = {
  2.       enabled = true,
  3.       points = {
  4.         {"TOPLEFT",2,10},
  5.         {"TOPRIGHT",-2,10},
  6.       },
  7.       size = 13,
  8.       outline = "","",
  9.       align = "LEFT",
  10.       tag = "[name]",
  11.     },
  12.    
  13.     health = {
  14.       enabled = true,
  15.       point = {"RIGHT",-2,0},
  16.       size = 13,
  17.       outline = "","",
  18.       tag = "[oUF_Simple:health]",
  19.     },

Thanks for your attention.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Last edited by gmarco : 11-29-16 at 05:15 AM.
Report comment to moderator  
Reply With Quote
Unread 11-29-16, 02:18 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
@groin
You can add conditions to your config to only load specific files if a specific class/player name is loaded.
Lua Code:
  1. --player name and class
  2. local playerName = UnitName("player")
  3. local _, playerClass = UnitClass("player")
  4.  
  5. --raid_heal.lua file
  6. if playerName ~= "Zörk" then return end --not the healer, return
  7. --put healer only config here
  8.  
  9. --raid.lua file
  10. if playerName == "Zörk" then return end --the healer, return
  11. --put non healer config here
Not sure if that is sufficient. I do not heal and am pretty sure oUF_Simple is missing stuff you need to heal. You could disable the raid frames for your healer and use sth else.

Regarding your statusbar. That is true if your media folder is available to oUF_SimpleConfig.
@gmarco
Just position the objective tracker a little bit to the left.
http://www.wowinterface.com/download...veTracker.html

oUF_Simple supports SetPoint and SetJustifyH for fontstrings via point and align attribute.
http://wowprogramming.com/docs/widge...ce/SetJustifyH ("LEFT", "RIGHT", "CENTER")

Example:
Lua Code:
  1. name = {
  2.       enabled = true,
  3.       points = {
  4.         {"LEFT",2,0},
  5.         {"RIGHT",-2,0},
  6.       },
  7.       size = 16,
  8.       align = "CENTER",
  9.       tag = "[name]",
  10. },
__________________
| 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 : 11-29-16 at 02:34 AM.
Report comment to moderator  
Reply With Quote
Unread 11-29-16, 01:50 AM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 334
Uploads: 46
... and finally now a question for Zork

Zork,

should be possible to move automagically the objective tracker to the bottom of the new boss frame ?

This to prevent something like this:




wiithout have to manually hide it to reduce it :




Thanks.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Last edited by gmarco : 11-29-16 at 01:52 AM.
Report comment to moderator  
Reply With Quote
Unread 11-29-16, 01:46 AM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 362
File comments: 334
Uploads: 46
Originally Posted by gmarco
and everything works nicely ... the problem now is the little tuning because I am not able to see the boss frame without a boss in combat

Thanks.
Found a solution.
Going in a low level dungeon and edit what you want

__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: