Quantcast
Download
(79 Kb)
Download
Updated: 11-30-16 02:13 PM
Pictures
File Info
Compatibility:
Return to Karazhan (7.1.5)
Updated:11-30-16 02:13 PM
Created:10-04-09 06:21 PM
Downloads:14,803
Favorites:69
MD5:

oUF Simple  Popular! (More than 5000 hits)

Version: 710.20161130
by: zork [More]


Intro

oUF_Simple is a unit layout for oUF. It is a mediator between oUF_SimpleConfig and oUF.
The nameplate feature is brand new. It is not baked into the oUF core yet.
To get it done I had to embed oUF for now.
Documentation
oUF_SimpleConfig documentation
Slash command
/rsim
Supported units
  • player
  • target
  • targettarget
  • focus
  • pet
  • party
  • nameplates !
  • boss
  • raid
Supported elements
  • healthbar
  • absorbbar
  • powerbar
  • classbar
  • altpowerbar
  • raidmark
  • buffs
  • debuffs
Embedded modules
  • rAbsorbBar
  • rClassBar
Requires
rLib, oUF_SimpleConfig, oUF is embedded atm!
Git
https://github.com/zorker/rothui/tre...7.0/oUF_Simple

Optional Files (0)


Archived Files (18)
File Name
Version
Size
Author
Date
710.20161117
78kB
zork
11-17-16 11:42 AM
710.20161114
78kB
zork
11-14-16 11:40 AM
710.20161027
80kB
zork
10-27-16 12:36 PM
700.20161012
78kB
zork
10-12-16 11:28 AM
700.20161011-2
77kB
zork
10-11-16 12:27 PM
700.20161009
77kB
zork
10-09-16 02:31 PM
700.20161006
88kB
zork
10-06-16 03:35 PM
700.20161005
87kB
zork
10-05-16 03:37 PM
700.20161004-2
80kB
zork
10-04-16 12:41 PM
700.20161004
17kB
zork
10-04-16 07:30 AM
50001.02
54kB
zork
09-21-12 02:35 PM
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-29-16, 10:26 AM  
gmarco
A Cobalt Mageweaver
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 224
File comments: 132
Uploads: 36
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: 1634
File comments: 3622
Uploads: 118
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) | TDMOG

"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
A Cobalt Mageweaver
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 224
File comments: 132
Uploads: 36
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: 1634
File comments: 3622
Uploads: 118
@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) | TDMOG

"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
A Cobalt Mageweaver
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 224
File comments: 132
Uploads: 36
... 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
A Cobalt Mageweaver
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 224
File comments: 132
Uploads: 36
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
Unread 11-29-16, 01:36 AM  
gmarco
A Cobalt Mageweaver
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 224
File comments: 132
Uploads: 36
Hi all,

I think I have solved the request below:



in boss.lua:

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.     },

and everything works nicely ... the problem nos is the little tuning because I am not able to see the boss frame without a boss in combat

Thanks.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 11-28-16, 06:57 PM  
gmarco
A Cobalt Mageweaver
 
gmarco's Avatar
AddOn Author - Click to view AddOns

Forum posts: 224
File comments: 132
Uploads: 36
Hi Zork,

is possible in the boss frame to put also the simple health tag right aligned while mantaining the name left aligned ? Now I am able to have both of them aligned in the same way only (left/center/right).



Lua Code:
  1. name = {
  2.       enabled = true,
  3.       points = {
  4.         {"LEFT",2,0},
  5.         {"RIGHT",-2,0},
  6.       },
  7.       size = 13,
  8.       outline = "","",
  9.       align = "LEFT",
  10.       tag = "[name]  [oUF_Simple:health]",
  11.     },


or can I add something like this ?

Lua Code:
  1. health = {
  2.       enabled = true,
  3.       point = {"RIGHT",-2,0},
  4.       size = 13,
  5.       outline = "","",
  6.       tag = "[oUF_Simple:health]",
  7.     },

This because there are some fights when you have to check the health of boss and minibosses like the first in ToV.

Another question:

To test a boss frame I have to go in some dungeons or raid ? or is there the possibility to simulate it ?

Thanks so much
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Last edited by gmarco : 11-29-16 at 12:17 AM.
Report comment to moderator  
Reply With Quote
Unread 11-28-16, 09:22 AM  
groin
A Cyclonian
AddOn Compiler - Click to view compilations

Forum posts: 45
File comments: 77
Uploads: 3
hi zork, is there a way to set up different layout (healing/dps) with the same char or between different char?
To Change health and power bar texture can i simply replace statusbar.tga with a sharedmedia lib texture ?
Report comment to moderator  
Reply With Quote
Unread 11-21-16, 07:38 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1634
File comments: 3622
Uploads: 118
Re: Colors

@Aspirefire
Tested custom healthbar statusbar colors and healthbar background colors. Works fine but only if you disable all of the other color attributes like colorDisconnected, colorThreat etc. Will be available in the next version.
https://github.com/zorker/rothui/com...d0fbf04a033f90
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 11-21-16 at 07:39 AM.
Report comment to moderator  
Reply With Quote
Unread 11-20-16, 02:09 PM  
Aspirefire
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Colors

Originally Posted by zork
Currently not possible. Only preset colors for now. Will look into bith issues.
Okey, thanks for quick response.
Report comment to moderator  
Reply With Quote
Unread 11-20-16, 01:02 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1634
File comments: 3622
Uploads: 118
Currently not possible. Only preset colors for now. Will look into bith issues.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 11-20-16 at 01:02 PM.
Report comment to moderator  
Reply With Quote
Unread 11-20-16, 11:43 AM  
Aspirefire
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Color

Hi I would like to change the color of the player/target/targetstarget to a dark red, any tips?
Report comment to moderator  
Reply With Quote
Unread 11-19-16, 10:31 AM  
z0diacg
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
I need to see the exact time when my cast will finish to compare it with certain buff/debuff. Hunter will applied a Vulnerable debuff on target, and the cast of Aimed Shot need to finish before the debuff fades.
There are some weakauras to remind such timing but I'm more used to see it myself...

Also I'm sharing network with mates. My latency sometimes jumps to 100-300ms when they're downloading . It's not very obvious but certainly matters. It's easier to notice it if it's shown in the castbar rather than a info text.
Report comment to moderator  
Reply With Quote
Unread 11-19-16, 04:46 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1634
File comments: 3622
Uploads: 118
When do you need that time and why? Imo it is only important to see when a cast ist about to finish. oUF supports castbar times. I do not use it atm.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW) | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 11-19-16 at 04:46 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: