Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(131 Kb)
Download
Updated: 10-31-13 12:40 AM
Addon for:
oUF.
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Escalation (5.3)
Updated:10-31-13 12:40 AM
Created:unknown
Downloads:53,206
Favorites:203
MD5:
Categories:oUF: Layouts, Raid Mods, Unit Mods

oUF Nivaya  Popular! (More than 5000 hits)

Version: r63
by: Luzzifus [More]

News

  • Only for use with oUF 1.6.5+!
  • If you have any questions or feature requests, please read the FAQ at the bottom of this page first.
  • Most likely coming soon: Boss Frames
About
oUF_Nivaya is a unitframe addon with low memory and cpu usage. It is based on oUF by Haste, but still it offers the possibility to configure a large variety of settings ingame to adapt functionality and appearance.

So in order to use it you need the oUF core! If there happen to be any bugs or errors, feel free to report them here. However, before reporting bugs make sure you definitly have the latest release of both this layout and oUF!

Ingame Config
This Layout comes with an ingame configuration dialog, which is included as load-on-demand module accessible via "/ouf". You can change settings like frame positions and sizes, portrait settings, use of custom textures and fonts (using SharedMedia), buff / debuff position and size and alot more. Also you can toggle all my custom features and adjust settings concerning the Healer Mode.

Positioning: "Unlocking" the frames enables you to freely move the Player Frame, the Party Frame and the Raid Frames via mouse dragging. All other units stay anchored to those, however all the relative positions can be changed in the options too. By default, the target frame is automatically positioned symmetrically to the player frame as you move it. You can unlock the frames in the settings dialog or by typing "/ouf lock" or "/ouf unlock" (they both toggle).

Of course, if you don't change any source codes, you can update the layout without losing your own settings. More over this, it doesn't use significantly more memory or cpu time than other oUF layouts (currently it's about 90kb, excluding the config module).

Supported Frames
  • Player, Target and Pet
  • Target of Target and Focus
  • Target of Target of Target and Focus Target (both optional)
  • Party and Raid (also optional, both "Grid"-like, party including player, raid up to 40 players)

The "Healer Mode"
There are two different modes for Party-/Raidframes display. The first is a very minimalistic "grid-like" setup, containing no numbers at all. The second one has slightly larger frames and contains more information like health and deficit values. This one is supposed to be used by healers, but of course you can choose the one you prefer. Both setups are shown in the screenshots.

Also, in case you want to use both setups with different characters, I have included an option that makes the layout automatically pick the healer mode based on your character class. You can adjust this behaviour in the configuration dialog ("/ouf"). More over this, the layout is able to remember different positions and raidframe settings for both modes.

More Features
  • Castbar support for player, target, target of target and focus (can be disabled)
  • Built-in aggro coloring
  • Built-in heal prediction
  • Fancy debuff highlighting (A debuff filter is enabled by default, so you will only see highlighting for debuffs you can cure).
  • Options to automatically color health- and/or manabars by class or mobtype.
  • Adjustable colors, textures, fonts, positions and sizes for most frames and elements.

Supported oUF Modules
  • oUF_PowerSpark
  • oUF_Smooth
  • oUF_TotemBar
  • oUF_Experience
  • oUF_Reputation
  • oUF_GCD (Make sure to set a reference spell as described here, otherwise it won't work. I can't do that for you since those spell names are localized.)

FAQ
Here I'll answer all those questions which become a little bit annoying when I have to answer them a gazillion times in the comments.

Q: "I want my raid groups to grow from left to right instead of right to left / from top to bottom instead of bottom to top."
A: Open the config module and go to the raidframes page. There you'll find an option called "Spacing between raidgroups". For this value, positive values make the raidgroups grow from left to right (bottom to top), negative values make them grow from right to left (top to bottom).

Q: "I have a SharedMedia Addon with additional fonts/textures/whatever and I can't pick them from your config or they are not saved on relog/reloadui."
A: The problem here is, that these addons must be loaded before the layout, or else their stuff won't be recognized. This is usually achieved by adding the addon in question to the OptionalDeps in the .toc files of the layout and its config module. You can do that yourself or if you want it to be permanently added, tell me.

Q: "I'd like to edit the text tags on my unit frames (health, mana, etc)."
A: Currently you cannot change them ingame, but there are tag functions for HP, power, names, levels, classification and status information. You can find them in "tags.lua".

Q: "Can you add buff/debuff/hot/dot indicators to the raidframes?"
A: Very unlikely.

Q: "Can you add [insert random big feature]? I miss it from Pitbull/Grid."
A: My layout is not meant to be a replacement for Pitbull or Grid. It is meant to be lightweight without denying you the possibility to adjust the basic appearance and functionality. I am currently very satisfied with the features and I probably won't add more biggies. However, as long as I play WoW, I will keep it updated and working. Of course, you may always ask for easy-to-add improvements. But I really don't have much time currently, so you should prepare to wait a little bit before it will be done.


Credits
Credits go to Seiyu and his layout "oUF_Pazrael", since I used that as a template for my layout and learned alot about LUA by improving it further and further.

r63
- replaced role icons with role indicators in the form of little dots in the upper left corner for each group unit frame
- role assignment indicators are now also visible in raidgroups
- added option to hide health text / health deficit text in healer mode.
- fixed color update bug in config module

r62
- player frame position (and all derived frame positions) are now saved separately for healer mode and normal mode.
- cast bar position is now saved separately for healer mode and normal mode.

r61
- bug fix release for MoP 5.3.
- updated to work with oUF 1.6.5.
- disabled alternative ressource displays (soul shards, holy power, runes, totem bar), because getting them to work again takes more time. use other addons for that instead.

r60
- Added support for oUF_Swing (anchored to player castbar).
- Fixed unit names not updating correctly in raids and battlegrounds (requires oUF 1.5.5+).
- Fixed config error on updating unit name positions.
- Fixed dungeon role icon postions (didn't differentiate between healermode and non-healermode).

r59
- Added an option to display all debuffs, not only your own.
- Fixed classification tag.
- Removed support for oUF_RuneBar and replaced it with the rune bars from oUF.
- New position for rune bars and totem bars, similar to HolyPower and SoulShards.
- Added option to change the position of rune bars and totem bars (positions tab).

r58
- Added .frequentUpdates to health tags (global) and power tags (player only).
- Updated CanDispel table to reflect changes made in WoW 4.0.
- LFDrole icons positions now correctly complies with the vertical groups setting.
- Fixed LFDrole icons not correctly updating.
- Clicking on the LDB icon will open the config again.
- More tag conversions (names, levels, classification).

r56
- Fixed a bug causing an error message when changing textures.

r55
- Fixed clicks going into void on party/raidframes.
- First go on tags (HP/power/status of all units).
- Blizzards Raidframes will be completely hidden now (including the manager).

r53
- Improved position and size of SoulShards and HolyPower.
- Added option to change the position of SoulShards and HolyPower (positions tab).
- Fixed errors with oUF_Experience and oUF_Reputation.
- Added mouseover show/hide for oUF_Experience and oUF_Reputation (again).

r52
- Fixed bug that prevented all frames from showing up with oUF 1.5.1+.
- No more packaged oUF. Get the release version!

r50/51
- Only works with WoW 4.0.1+!
- Included oUF 1.5 beta in the .zip until it will be released.
- Added option to change maximum heal prediction overflow.
- Added option to limit maximum number of visible raid groups.
- Added HolyPower display (Paladin).
- Added SoulShards display (Warlock).
- Added support for the new HealPrediction element in oUF.
- Added option to toggle HealPrediction.
- Removed oUF_HealComm4 support (done by HealPrediction).

r48
- Added option to display combo points as text value.
- Fixed TotemBar position (Shaman).
- Fixed RuneBar position (Deathknight).
- Fixed Castbar display problems for ToT and focus frames.
Archived Files (10)
File Name
Version
Size
Author
Date
r62
131kB
Luzzifus
09-28-13 04:46 AM
r61
131kB
Luzzifus
08-27-13 09:57 AM
r60
131kB
Luzzifus
11-30-10 12:29 PM
r59
131kB
Luzzifus
10-18-10 09:57 AM
r58
131kB
Luzzifus
10-17-10 05:08 AM
r55
131kB
Luzzifus
10-16-10 05:39 AM
r53
130kB
Luzzifus
10-15-10 08:32 AM
r52
130kB
Luzzifus
10-13-10 03:59 PM
r51
161kB
Luzzifus
10-13-10 08:30 AM
r48
129kB
Luzzifus
09-25-10 06:22 AM


Post A Reply Comment Options
Unread 06-12-09, 05:19 PM  
Luzzifus
A Warpwood Thunder Caller
 
Luzzifus's Avatar
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 234
Uploads: 8
Well, I should relly put up an FAQ on this.. In the past I have stated multiple times that there will probably not be an option to change health/mana bar reaction coloring (same as horizontal raidgroups). This has two reasons: First the code for that is messy (still a derivate from the original layout, only few changes made by me) and second those options would really blow the code up since there are a bunch of functions that need to be completely rewritten for that (only the second reason applies to the raidgroup thingy).

Anyways, I might have some spare time in the near future so _maybe_ I'll work on those things or a random subset of them *cough*. But don't be disappointed, it's in no way a promise.
Luzzifus is offline Report comment to moderator  
Reply With Quote
Unread 06-12-09, 01:10 PM  
Monk1nr
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 27
Uploads: 5
reaction based color on target health

I have been trying to tweak the code to make the health bar color be based on the target's reaction. Green for friendly, red hostile, etc. Would I have to totally rewrite this or can I set something in the init_and_config colorHealth?

I have been able to do a couple other things, like keep the target of target frame from spawning, adding race to the status line.
*edit actually, those changes ended up making errors too. So, I put it back to original.


I would also like to disable the resting icon from the player icon when the player is 80. I tried
local lvl = UnitLevel(unit)
if not (lvl == 80) then
your resting icon code
end

But, it still has the icon. I ended up setting the width and height to 1 but there is still that one pixel square on the frame. Is resting icon needed? When I remove or comment the whole block the default Blizzard frames are shown. And that is how I know when I pooch something.

I am a nub when it comes to lua. Any help would be appreciated.
Last edited by Monk1nr : 06-12-09 at 03:30 PM.
Monk1nr is offline Report comment to moderator  
Reply With Quote
Unread 06-08-09, 06:34 AM  
Covert0ne
A Kobold Labourer
Premium Member

Forum posts: 0
File comments: 1
Uploads: 0
Question

Hi mate, Loving the layout.

Is there a way I can disable the Party/Raid And Castbar frames completly?
As I wish to use Grid along side the Player/Target Frames your Layout offers.


Thanks

*EDIT* Disregard this retarded question. I looked in the config and found it ^^
Last edited by Covert0ne : 06-08-09 at 06:40 AM.
Covert0ne is offline Report comment to moderator  
Reply With Quote
Unread 06-07-09, 02:38 PM  
Luzzifus
A Warpwood Thunder Caller
 
Luzzifus's Avatar
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 234
Uploads: 8
To be honest I tend to spend less and less time with WoW, and the time I got is used to raid and finish my cargBags layout mainly. But this is of course kept working and I'll go through most of all your requests when I find the time for it.
Luzzifus is offline Report comment to moderator  
Reply With Quote
Unread 06-07-09, 02:19 PM  
nytekat
A Fallenroot Satyr
 
nytekat's Avatar

Forum posts: 20
File comments: 32
Uploads: 0
is this still being updated?
I'd love to see support for totem bar. I've been using this since you first put it out and I still use it faithfully.
Honestly I use grid instead of the group/raid frames, but that's because my raid frames are in the middle of my screen above the action bars and I use the color fill option in grid (the more hurt they are the more (bright)class color you see. And I understand if you don't want to add things like that into your layout.
Instead of getting snippy with the author ppl should quietly find other addon's that do the same job as what they want (be it kgpanels or grid or whatever)... I think this is the best layout for my player/target windows and I love the options you provide us. Please continue with this awesome work.
nytekat is offline Report comment to moderator  
Reply With Quote
Unread 06-07-09, 03:28 AM  
alexruse
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Great layout! Just one thing that irks me, though:

Is it possible to use a horizontal layout for the groups, instead of columns? The main reason is that it's impossible to have the raid frame centered at all times (party/10-man/25-man) currently, and my OCD kicks in severely when I see it offset from the vertical axis

Also, it would fit my UI better, as I usually put the raid frame above the action bars, and there's limited vertical space there, but plenty of horizontal. It would look like this, for my UI:

Code:
.                 PlayerFrame  TargetFrame
.                
.         Party1   Party2    Party3   Party4   Party5
.         Raid1    Raid2     Raid3    Raid4    Raid5
.                             ....
.            
.              ========== ActionBar ===========
Thanks!
alexruse is offline Report comment to moderator  
Reply With Quote
Unread 06-04-09, 07:34 AM  
Aluria
A Deviate Faerie Dragon

Forum posts: 13
File comments: 63
Uploads: 1
Some suggestions :)

Hi

1st of all: Very nice layout and the ingame config just rocks! But i have a suggestion:

Add offsets for Castbars, (De-)buffs, frames and so on. It would make this layout much smoother and great looking. So far the frames and bars are like glued together. Not so nice..

but besides: great layout! I love it
Aluria is offline Report comment to moderator  
Reply With Quote
Unread 06-01-09, 10:43 AM  
Amlodhi
A Kobold Labourer

Forum posts: 0
File comments: 8
Uploads: 0
I've been using oUF_Nivaya for a while now and it's fantastic. I just have a couple questions:

1. Would it be possible to have the raidframe report "ghost" when the unit is a ghost? It currently reports "dead". This isn't a big deal, though—I've been going in and changing it manually, and I'm fine with just continuing that.

2. Do you have any plans to add support for oUF_BarFader? I've added this myself as well, but it's pretty hacky and doesn't work on the petframe (my skill with both Lua in general and oUF in particular are pretty weak), so I'd really appreciate it if you'd add it, as your solution would certainly be better than mine.

Those are just terribly minor things, though. This is still a fantastic oUF layout.
Amlodhi is offline Report comment to moderator  
Reply With Quote
Unread 05-25-09, 03:11 PM  
Aerials
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 92
File comments: 76
Uploads: 4
awesomeness, that'll help a ton, thanks a bunch. gonna do it a lil different 'cuz as in the picture i gave the link to, i'm making the borders around each party.... basically more like x-perl than grid... but that will help a lot 'cuz i suck at coding but i'm not too incredibly bad at modifying it a little.

thanks again

Aerials is offline Report comment to moderator  
Reply With Quote
Unread 05-25-09, 03:05 AM  
Luzzifus
A Warpwood Thunder Caller
 
Luzzifus's Avatar
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 234
Uploads: 8
Ok, here's my script which does dynamic showing/hiding of the party/raidframes background and adjusts the width based on the number of raid members. This automatically adjusts to your raidframe settings in my layout:

This one goes to the OnEvent part of one of your panels:
Code:
if (event=="PLAYER_ENTERING_WORLD") or (event=="PARTY_MEMBERS_CHANGED") or (event=="RAID_ROSTER_UPDATE") then
  local rs, ps = GetNumRaidMembers(), GetNumPartyMembers()
  -- extract width and raid offset values from oUF_Nivaya:
  local tw, toffs = nivcfgDB.prWidth, nivcfgDB.raidOffset
  toffs = (toffs < 0) and -toffs or toffs
  -- width of your border (both sides together):
  local tb = 6
  -- default width (max 5 party- or raidmembers):
  local x1 = tw+tb
  local x2 = tw+(2*tb) -- I have 2 panels as bg and one is slightly larger
  if rs > 0 then
    local tmod = (rs-1)%5
    -- integer part of division result (number of active groups):
    local t = ((rs-1-tmod)/5)+1
    x1 = (t*tw)+((t-1)*toffs)+tb
    x2 = (t*tw)+((t-1)*toffs)+(2*tb)
  end

  local fr1 = kgPanels:FetchFrame("Grid_VG")
  local fr2 = kgPanels:FetchFrame("Grid_HG")
  fr1:SetWidth(x1)
  fr2:SetWidth(x2)
  -- This handles showing and hiding:
  if (rs > 0) or (ps > 0) then
    fr1:Show()
    fr2:Show()
  else
    fr1:Hide()
    fr2:Hide()
  end  
end
And this one belongs to the OnLoad part of the same panel:
Code:
self:RegisterEvent("PLAYER_ENTERING_WORLD")
self:RegisterEvent("PARTY_MEMBERS_CHANGED")
self:RegisterEvent("RAID_ROSTER_UPDATE")
The result looks like this:



"Grid_VG" and "Grid_HG" correspond to the two backgound panels, you'd have to change that of course (blue lines). Also change the border width to your preference (red line), note that "tb" is the value for both sides, so tb = 6 means you have 3 units of border on each side.

As you may have noticed, I'm only setting the width, height is fixed in my UI.

I have anchored these panels to UIParent, since I usually don't move my raidframes around. If you want them anchored to the raidframes, use "oUF_Party" or "oUF_Raid1" as an anchor (to prevent that fading thingy). Then you'd have to do some dynamic positioning of course, it's not in my script. Maybe I'll make an enhanced version with all that height and positioning stuff.
Last edited by Luzzifus : 05-25-09 at 03:23 AM.
Luzzifus is offline Report comment to moderator  
Reply With Quote
Unread 05-24-09, 04:39 PM  
Aerials
A Warpwood Thunder Caller
AddOn Author - Click to view AddOns

Forum posts: 92
File comments: 76
Uploads: 4
Originally posted by Luzzifus
I see you edited your comment, however I already read the "bitchy" version of it. So here's a more in-depth explanation:
  1. I still want my layout to be lightweight, not a Pitbull replacement. So when adding features I always think about what would be next. Which leads me to point 2.
  2. If I add a background, people want options for it. Color, border, textures, alpha, etc. Everybody wants the background to look different. Even I have backgrounds made with kgPanels. The point is, kgPanels can do an awesome lot of customizations to your background, alot more than I could ever implement in my layout.
  3. You don't need a single script for panels to show and hide based on the shown-/hidden-status of your frames, you simply have to set the parenting options.
  4. I have one single script in my UI to hide/show/resize the panel behind the raidframes automatically. If anyone requests it, I can give you that script for the default settings of oUF_Nivaya. Anyways, scripts like this can also be obtained from the wowace wiki page of kgPanels. So there's really nothing which can't be done by everybody, really.

Concerning your idea to add a portrait overlay, I honestly have to say I don't quite understand what the visual effect would be you're trying to achieve.

And just to be complete: I'll look into that more-info-on-tags-thingy in healer mode.

**edit:
If you read more comments you'll see that I'm totally open to suggestions. But I can't spend all my time on my addons and I still have some goals with them (see above point 1). So I have to filter. That is in no way meant to be rude.
yah, original version was lengthy (incredibly) and pretty rude really, i appologize for that... it's a great layout and really it's not like people dont have a life outside WoW... really it's nice of you to even have a layout as great as this out for people to get..... the lack of options in pretty much all other layouts is a huge turn off and then some of them have pretty conplicated code to understand (as a noob like me).

on the borders... i've done them with kgpanels.... there's only a couple problems i ran into as a noob when it comes to kgpanels... if you parent a panel with party button 1 (oUF_PartyUnitButton1, was using a script to get the name of a frame you're mousing over and used that as the mouseover) it causes a error with layout addon.... could easily be because of one of the changes i've made but dont see how it would be.... then again i have no idea how it's causing a conflict anyway, the line it's saying is having a problem with is:
Code:
local function styleFunc(self, unit)
	local _, class = UnitClass('player')

	local unitInRaid = self:GetParent():GetName():match"oUF_Raid" 
	local unitInParty = self:GetParent():GetName():match"oUF_Party"
	local unitIsPartyPet = unit and unit:find('partypet%d')

	self.menu = menu
	self:SetScript("OnEnter", UnitFrame_OnEnter)
    	self:SetScript("OnLeave", UnitFrame_OnLeave)
	self:RegisterForClicks("anyup")   <----- this line
	self:SetAttribute("*type2", "menu")
the error is Wrong object type for member function.

i fixed it by parenting with uiparent and anchoring with the button then adding scripts:

OnLoad:
self:RegisterEvent("PLAYER_ENTERING_WORLD")
self:RegisterEvent("PARTY_MEMBERS_CHANGED")

OnEvent:
local pmems = GetNumPartyMembers()
if (pmems > 0 and pmems < 6) then
self:Show()
else
self:Hide()
end

also, when i parent with the unit button for raid party 1, button 1 or party 2, button 1 etc... it makes the panel fade when the frame fades due to out of range.... i'm guessing there's something better to parent it with to get it to show when in a raid but dono what it'd be... another issue i've hit that i'm guessing will need scripting is to make the border around my groups / party members change size based on how many party members there are in that group..... so it's a work in progress but really a bit much for someone with no idea how to script to do.

as far as the color and what to use for a border etc.... what i had done is changed the inlays for the backdrop (which is virtually unused) so it would be wider and taller than the rest of the frame.. think there's a way to change the color of that already, can't remember and the only problem i can forsee with it is having the border color appear behind the portrait.... well, technically there was another problem with it and that's that some frames seem to have the health and mana bars higher than really should be or further to the side than they really should be but that should just be an offset to find somewhere. the great thing about using that though was it was change 4 insets then one for all frames 'cuz all the frames use the same setting for that.

but anyway... i'm on the road to getting kgpanels going on it... it looks pretty good really right now i just need to figure how to make it change the height of the frame based on members of the party / group and figure how to make them not fade when the first member of the group/party is out of range. if u care to see it, this is what i have done so far...
http://s567.photobucket.com/albums/s...409_163409.jpg

ok..... i love the banana dance so gonna put it again.


Aerials is offline Report comment to moderator  
Reply With Quote
Unread 05-24-09, 10:57 AM  
skeat12
A Kobold Labourer

Forum posts: 0
File comments: 30
Uploads: 0
Thanks
skeat12 is offline Report comment to moderator  
Reply With Quote
Unread 05-24-09, 02:45 AM  
Luzzifus
A Warpwood Thunder Caller
 
Luzzifus's Avatar
AddOn Author - Click to view AddOns

Forum posts: 94
File comments: 234
Uploads: 8
Make the Raidframes X-Offset a positive value.
Luzzifus is offline Report comment to moderator  
Reply With Quote
Unread 05-23-09, 03:15 PM  
skeat12
A Kobold Labourer

Forum posts: 0
File comments: 30
Uploads: 0
Hi
I'm probably missing this and it's staring me in the face, but I want group 1 of the raid to be on te left. I can't for the life of me see the option to change it.

You can observe raid frames style in the second screenshot. Each column represents one party and the first party is the one at the right side (this can be changed in the config).
Can you point me in the right direction
skeat12 is offline Report comment to moderator  
Reply With Quote
Unread 05-23-09, 04:05 AM  
drathos
A Murloc Raider

Forum posts: 6
File comments: 38
Uploads: 2
I recently switched to Nivaya from Caellian for my oUF layout.

One issue that I've come across is that every time I log in or reload my UI, the player health bar doesn't seem to get any info. It shows the grayed out background and no health. As soon as I take damage or swap gear to change my max hp, it updates and displays properly.

Aside from that, I'm loving this layout.
drathos is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: