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,077
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-28-18, 12:30 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
gmarco I use cvars to control nameplate looks.
https://github.com/zorker/rothui/blo...eplate.lua#L24

There are a ton of them.
http://www.wowinterface.com/forums/s...618#post326618

The nameplate target that is currently selected will be the only one fully opaque with the config above. There is no need for additional indicators for me.

Yet if you want them you can easily add them. That is what the callback function is for.
https://github.com/zorker/rothui/blo...eplate.lua#L15
You can check for target with UnitIsUnit("target",unit). You need to keep track of all nameplates though. You enable it for the target nameplate but have to disable it on all other nameplates. Any nameplate can house any unit. Even player.
__________________
| 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 : 01-28-18 at 02:19 PM.
Report comment to moderator  
Reply With Quote
Unread 01-28-18, 11:29 AM  
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view AddOns

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

it will be possible to add this feature (a selected nameplate) ?

Any way to add a target indicator on the nameplates since they are included in the oUF_Simple?

I like the minimalist footprint and superfast loads with this type of setup and I am coming from using Shadowed Unit frames; Grid and Kui Nameplates. I just do miss the blue arrows around the selected target nameplate.

I know the ElvUI people also have target indicators on their nameplates. Wondering if there was a way to pull those textures off and apply here? Figured I'd ask.
Thanks
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
Report comment to moderator  
Reply With Quote
Unread 01-26-18, 11:59 AM  
Fabsl
A Kobold Labourer

Forum posts: 0
File comments: 13
Uploads: 0
This works very nicely and much better..i learned something new. Thank you very much.

Report comment to moderator  
Reply With Quote
Unread 01-26-18, 11:34 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
__________________
| 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-26-18, 03:25 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Adding a raid group header is not possible with a simple config change. It would need a change of the spawn function.

The role icon can be done with oUF tags. I will see if I can get an example up. Basically you can add any texture or string with oUF tags. The party tag is already set to "[name] [leader]".

https://github.com/oUF-wow/oUF/blob/.../tags.lua#L147
https://github.com/oUF-wow/oUF/blob/.../tags.lua#L108

We can just add another tag that triggers on the PLAYER_ROLES_ASSIGNED and GROUP_ROSTER_UPDATE events.
https://github.com/oUF-wow/oUF/blob/...icator.lua#L80

Icon strings can be done like this:
http://www.wowinterface.com/forums/s...ad.php?t=46221

Lua Code:
  1. --tag method: oUF_Simple:role
  2. oUF.Tags.Methods["oUF_Simple:role"] = function(unit)
  3.   print(self,self:GetName(),unit)
  4.   local role = UnitGroupRolesAssigned(unit)
  5.   if role == "TANK"
  6.     return "|TInterface\\LFGFrame\\LFGRole:14:14:0:0:64:16:32:48:0:16|t"
  7.   elseif role == "HEALER"
  8.     return "|TInterface\\LFGFrame\\LFGRole:14:14:0:0:64:16:48:64:0:16|t"
  9.   elseif role == "DAMAGER" then
  10.     return "|TInterface\\LFGFrame\\LFGRole:14:14:0:0:64:16:16:32:0:16|t"
  11.   else
  12.     return nil
  13.   end
  14. end
  15. --tag event: oUF_Simple:role
  16. oUF.Tags.Events["oUF_Simple:role"] = "PLAYER_ROLES_ASSIGNED GROUP_ROSTER_UPDATE"
__________________
| 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 : 01-26-18 at 04:40 AM.
Report comment to moderator  
Reply With Quote
Unread 01-26-18, 01:17 AM  
Fabsl
A Kobold Labourer

Forum posts: 0
File comments: 13
Uploads: 0
Configuring Raid and Party Frames

Hi Zork,

Thanks for the Update. I am using your UI for years now and had a long break. I wonder if its possible to add a Group header to the Raidframes and the Roleicons to the Partyframes. I see that you revamped your complete UI and i sorted some other issues out by myself but i am lost while setting up the unitframes. Any hints?
Report comment to moderator  
Reply With Quote
Unread 01-20-18, 04:07 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
oUF_Simple updated for WoW patch 7.3.5
  • embedded oUF is removed.
  • AltPower renamed to AlternativePower

Important notice for all nameplate lovers. Thanks to encounter cheaters in raid/dungeons all friendly nameplates are now (as off 7.2) protected while inside a raid/dungeon and thus not stylable any more.

More on that here: https://us.battle.net/forums/en/wow/topic/20753437585

Posted by Lore

With Patch 7.2, we’re disabling the ability for addons to modify the appearance of friendly nameplates while inside dungeon and raid instances.

While, for the most part, we’re impressed with -- and encourage -- the creativity that addon authors bring to the game using the addon API, occasionally an addon goes too far in terms of automating or trivializing elements of gameplay that are meant to be highly challenging. Recently, we’ve become aware of a couple addons that were using visual adjustments to friendly nameplates as a method to automatically coordinate complex positioning requirements. This caused what was intended to be a difficult test of a group’s ability to identify positioning requirements on the fly to instead become a simple matter of following a visual marker.

In order to prevent this from continuing, we’ve had to disable the ability for addons to modify how friendly nameplates appear while inside of dungeon and raid instances. Nothing has changed outside of dungeons and raids – addons will still be able to customize the appearance of friendly nameplates everywhere else (most notably in PvP, where they’re most commonly used in ways we don’t consider problematic).

We also don’t anticipate that addon authors will need to update their code to accommodate this change; customizations should simply stop working once a player zones into a raid, and start working again once they’ve left. However, if you’d like to double-check, this change should now be active in the current 7.2 PTR environment.
__________________
| 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 : 01-20-18 at 04:11 AM.
Report comment to moderator  
Reply With Quote
Unread 08-25-17, 08:55 AM  
cbdgv
A Deviate Faerie Dragon
 
cbdgv's Avatar

Forum posts: 12
File comments: 34
Uploads: 0
good
Last edited by cbdgv : 09-05-17 at 10:04 AM.
Report comment to moderator  
Reply With Quote
Unread 08-04-17, 05:21 PM  
vitosans
A Kobold Labourer

Forum posts: 0
File comments: 13
Uploads: 0
Larger Frame?

Hi,

Love all your work! It has a great look and feel. However I am getting older and my eyes are not what they used to be.. If I wanted to make these unit frames bigger and the font larger - could you point me in the right direction?

Thanks, and keep up the work!
Report comment to moderator  
Reply With Quote
Unread 04-11-17, 08:09 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Re: Re: I love the Addon BUT

@remlnx
All oUF unitframes except nameplates have this frame as a parent:
https://github.com/oUF-wow/oUF/blob/master/oUF.xml#L50

As you can see it has a state driver. You could replace that frame with your own state driver that adds the combat conditions.
Lua Code:
  1. UnregisterStateDriver(oUF_PetBattleFrameHider,"visibility")
  2. oUF_PetBattleFrameHider:SetAttribute("_onstate-changed", [[
  3.   if newstate == "pb" then
  4.     self:Hide()
  5.   elseif newstate == "cb" then
  6.     self:SetAlpha(1)
  7.     self:Show()
  8.   elseif newstate == "nc" then
  9.     self:SetAlpha(0.2)
  10.     self:Show()
  11.   end
  12. ]])
  13. RegisterStateDriver(oUF_PetBattleFrameHider, "changed", "[petbattle]pb;[combat]cb;nc")
__________________
| 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 04-10-17, 02:43 AM  
remlnx
A Kobold Labourer

Forum posts: 0
File comments: 20
Uploads: 0
Re: I love the Addon BUT

@Osiris093 : Use Ouf Simple Config addon then /rsim unlock to move them

@Zork Always been following your work, specially for the small things (rvignette, rminimap, rcombat text are my favorites).
These unit frames are great on simplicity and i really look for using it if i can add a fade option (i have a very empty UI with all but minimap faded to 10%, unless im in combat or targeting something) because i am obsessed with minimalism.
Any tip on how to add a fade option on the lua is very appreciated since im really noob on lua coding.
Thanks in advance
Last edited by remlnx : 04-10-17 at 02:48 AM.
Report comment to moderator  
Reply With Quote
Unread 04-08-17, 12:21 PM  
osiris093
A Defias Bandit
 
osiris093's Avatar

Forum posts: 1
File comments: 12
Uploads: 0
I love the Addon BUT

Is there anyway to move the units around? the player and target units are right in the middle of my screen and make it difficult to see and not accidentally click on them in combat..Please help...I looked at the files about the simple config..but I am not educated in the lua area of information......so it looks Russian to me.
Report comment to moderator  
Reply With Quote
Unread 02-22-17, 07:20 AM  
fmbmissy
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Just a few small questions.
1. Is there a way to change the coloring on the nameplates? I am partially color blind and the yellow/red are almost indistiguishable for me:/

2.(minor thing) Was wondering if it was possible to add aggro borders?

3. Is there a way to only show MY debuffs on the target?


Other than that really love these unit frames, simple and clean
Last edited by fmbmissy : 02-22-17 at 07:28 AM.
Report comment to moderator  
Reply With Quote
Unread 01-16-17, 01:29 AM  
Vuo
A Kobold Labourer

Forum posts: 0
File comments: 10
Uploads: 0
Color Health bars with Gradients

Hi,

Is it possible to color Healthbars with Gradient colors based on the unit's health? I know I've done this in the past with other oUF layouts using:

Code:
r, g, b = oUF.ColorGradient(min, max,unpack(...))
Report comment to moderator  
Reply With Quote
Unread 01-09-17, 03:41 PM  
aezaekiel
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Re: Re: Configure position of

Originally Posted by zork
@aezaekiel
Currently there is no addon included that handles the digsite progress bar. You need to find an addon that does this for you.
Hi Zork,
thanks for your reply.

So there is no possibility to add some lines of code to a certain module/element to hide the default "digsite progress frame" and just create a custom frame (something similar to the castbar) showing the "progress" for the digsite (1/10 or something simple like that)?

I thought something like this should be not that hard to do compared to other things that have been achieved (especially if i compare it to some other addons done by you)

I dont want to annoy you but i really would appreciate to avoid using yet another addon just for that task. In addition to that it would be looking really "odd" to just move the default frame

I know you are doing this (and helping guys like me) in your spare time so any help or hint or example code is highly appreciated.

Thank you very much.

Best regards,
Aezaekiel
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: