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

oUF Simple  Updated this week!  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 10-13-16, 11:10 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
WTF
__________________
| 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 : 10-13-16 at 11:10 AM.
Report comment to moderator  
Reply With Quote
Unread 10-13-16, 09:52 AM  
cozmos
A Kobold Labourer

Forum posts: 0
File comments: 19
Uploads: 0
WoW you wonīt believe what happened.
I had some write error on the disc and the files where messes up. I already copied the newest files but due to the write error they have somehow messed up the Addon files thats why it wasnīt working.

PCI Express drives, fast and buggy as hell lol

Its working as expected now, thanks a lot.
Last edited by cozmos : 10-13-16 at 09:54 AM.
Report comment to moderator  
Reply With Quote
Unread 10-13-16, 09:28 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
Make sure you have the latest version of oUF_Simple. You can always override oUF_Simple with the latest one. Just be careful with oUF_SimpleConfig which is your config.

Try this point.
Code:
point = {"RIGHT",-2,0},
Maybe your fontstring slipped under your healthbar.
https://github.com/zorker/rothui/blo...player.lua#L42
__________________
| 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 : 10-13-16 at 09:36 AM.
Report comment to moderator  
Reply With Quote
Unread 10-13-16, 09:26 AM  
cozmos
A Kobold Labourer

Forum posts: 0
File comments: 19
Uploads: 0
Code:
power = {
      enabled = true,
      point = {"LEFT",2*L.C.uiscale,5*L.C.uiscale},
      size = 16*L.C.uiscale,
      tag = "[curpp]",
	  }
Thats what I did but nothing shows up

Iīm playing a Druid donīt know if it matters...

The whole thing looks like

Code:
--powerbar
  powerbar = {
    enabled = true,
    size = {265*L.C.uiscale,5*L.C.uiscale},
    point = {"TOP","BOTTOM",0*L.C.uiscale,-4*L.C.uiscale}, --if no relativeTo is given the frame base will be the relativeTo reference
    colorPower = true,
    power = {
      enabled = true,
      point = {"LEFT",2*L.C.uiscale,5*L.C.uiscale},
      size = 16*L.C.uiscale,
      tag = "[curpp]",
	  }
  },
Last edited by cozmos : 10-13-16 at 09:27 AM.
Report comment to moderator  
Reply With Quote
Unread 10-12-16, 10:05 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
Yes it is. Read the documentation. All you need to do is add the power text attribute. Example is given for the player unit. It can be added to any unit.
__________________
| 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 : 10-13-16 at 07:58 AM.
Report comment to moderator  
Reply With Quote
Unread 10-12-16, 09:56 AM  
cozmos
A Kobold Labourer

Forum posts: 0
File comments: 19
Uploads: 0
Hey, great work as always

Is it somehow possible to show the number of the power bar? f.e. 45 rage?
Report comment to moderator  
Reply With Quote
Unread 10-11-16, 11:36 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
I just recognized that I made it way to complicated. I'm applying a global scale to all unit scales now. Works the same way. I renamed the variable L.C.uiscale to L.C.globalscale.
https://github.com/zorker/rothui/com...187ea95cc0e474
Will test the new scale settings and think about optional texts to altpower and classbar. Powerbar has an optional text already.
__________________
| 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 : 10-13-16 at 07:58 AM.
Report comment to moderator  
Reply With Quote
Unread 10-11-16, 03:24 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
No point. I was just experimenting with sizes and decided to use a global multiplier which makes everything scalable from one variable. Since every size in my config is dependent on that I can just adjust that value with an multiplier and get any result I want. You could use fixed pixels everyhwere.

That being said. This following is required for nameplates!

Lua Code:
  1. scale = 1*UIParent:GetScale(),--nameplates are not part of uiparent!

Nameplates are not part of UIParent and you need to apply the same scale to your nameplates as if they where part of UIParent like your other unitframes. Otherwise they would have a different size unless your uiscale happens to be exactly 1.
__________________
| 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 : 10-13-16 at 07:59 AM.
Report comment to moderator  
Reply With Quote
Unread 10-11-16, 03:22 PM  
theruleof4
A Kobold Labourer
 
theruleof4's Avatar

Forum posts: 0
File comments: 5
Uploads: 0
Originally Posted by zork
@theruleof4
That is totally possible since setpoint values are not flat pixels because of the uiscale and they can be rounded differently. No big deal imo since we do not run a pixel perfect setup.
May i ask why you decided to use the uiscale for the config? I am trying to copy an old layout and i just noticed it.

If you need to use this method for 7.1 or something i understand it. Just asking out of curiosity
Report comment to moderator  
Reply With Quote
Unread 10-11-16, 02:56 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
@theruleof4
That is totally possible since setpoint values are not flat pixels because of the uiscale and they can be rounded differently. No big deal imo since we do not run a pixel perfect setup.
@sdw
If you changed the default point in the config run /rsim reset. This will reset to the new default point. Otherwise the already saved default point will be used.
__________________
| 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 : 10-13-16 at 07:59 AM.
Report comment to moderator  
Reply With Quote
Unread 10-11-16, 02:32 PM  
theruleof4
A Kobold Labourer
 
theruleof4's Avatar

Forum posts: 0
File comments: 5
Uploads: 0
I noticed this weird behavior. (view full img)

When i use the /rsim reset function the unitframes move 1px to the right and the buffs look a bit different (better i guess) but after relogging or using the /reload function everything looks just like before.

Last edited by theruleof4 : 10-11-16 at 02:32 PM.
Report comment to moderator  
Reply With Quote
Unread 10-11-16, 11:29 AM  
sdw
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
i cant figure out how to move the player/target frame, changing the point value in the lua doesent do anything for me

Edit:
***ooohhh just discovered "/rsim unlock" nevermind
Last edited by sdw : 10-11-16 at 11:49 AM.
Report comment to moderator  
Reply With Quote
Unread 10-11-16, 10:36 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
Added raid frames.
Added custom filter for buffs and debuffs.
__________________
| 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 : 10-13-16 at 07:59 AM.
Report comment to moderator  
Reply With Quote
Unread 10-09-16, 02:32 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
Made good progress today. oUF_SimpleConfig is set up. It is now required for oUF_Simple.With the config you can spawn any element on any unit.
__________________
| 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 : 10-13-16 at 08:00 AM.
Report comment to moderator  
Reply With Quote
Unread 10-07-16, 05:00 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1632
File comments: 3612
Uploads: 118
In one of the next updates I will add oUF_SimpleConfig as a required addon.

It will replace the local config file of oUF_Simple. This decouples the configuration from the oUF_Simple function set. That way you can adjust your config freely without interfering with oUF_Simple. On top of that you can update oUF_Simple independently.

In the end oUF_Simple becomes an API layer between your config and oUF.
__________________
| 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 : 10-13-16 at 08:00 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: