Download
(190Kb)
Download
Updated: 08-29-12 07:56 AM
Pictures
File Info
Updated:08-29-12 07:56 AM
Created:10-20-11 06:53 AM
Downloads:3,322
Favorites:9
MD5:

draeRaidFrames

Version: 2.0b
by: Draecana [More]

draeRaidFrames is a party/raid frame layout using the oUF framework.

This is updated for Mists of Pandaria and will not function properly on live!

I wrote this a long time ago now, updating it over time. I wanted something which looked like Grid, behaved like Grid but without the fairly substantial Ace library requirements and overhead. I also wanted something that looked a little more "WoW"-like in appearance.

It displays various indicators around the grid interior. Some of these are fixed (set specifically in core.lua) such as aggro indication, incoming heals, raid marker, important debuffs, etc. while the rest change depending on the class being played. The later can be found in config_indicators.lua where auras are defined per class. By default each indicator (where relevant) has a cooldown spinner overlaid so you can get an indication of how long that particular aura has to run (without lots of messy numbers).

General configuration can be found in config.lua such as sizing, textures, fonts, etc. Important debuffs are defined in config_debuffs.lua.

There are a couple of additional capabilities added again for my own benefit. At Sinestra a wrack timer function will appear displaying the length of time Wrack has been running on each member (essential for dispelling ... !). And in preparation for 4.3 a small indicator (below the incoming heal indicator - top right) shows which people (6 by default) are in-range of each other. It also displays the person calculated to best place the radiance on through a sequence of fading green to red colours.

The frames can be locked, unlocked and moved in-game through the /drf slash command.

Keep in mind I wrote this for myself and a few guild mates so it may not be the friendliest mod you've ever encountered. I'm putting it here because other peeps suggested I should.

This mod draws heavily on a number of other raid type frames either for inspiration or code. These include but are not limited to; Grid, Grid2, Vuhdo, various Grid plugins, Aptechka.

Github source - https://github.com/Drae/draeRaidFrames

I welcome bug fixes and additions (subject to them being generally useful!) - a pull request via github is the preferred way of doing this. But patches, etc. are welcome too. Particularly interested in anything that reduces processor utilisation.

2.0b:

* Seems some more debuffs changed in DS

2.0a:

* ToC was incorrect ...

2.0:

* Updated for Mists of Pandaria - Requires GIT version oUF till it's released
* Various internal updates for MoP
* Disabled (by default) clusterheal (see config to enable)
* Added new AoE healing indicator (supports the various AoE heals)
* Added debuffs for new raid content (all but Warband)
* Added new heal and cooldown related indicators for all classes

1.4:

* Fix couple of possible errors in the clusterheal module (non-fatal just irritating)
* Add updated maplib for new instances/raid
* Updated debuffs for Dragon Soul

1.3a:

* Really bump the ToC this time ...

1.3:

* Better handle enabling the cluster heal module - just for healer specs
* Update ToC for 4.3

1.2:

* Finally abstract out the layout of the grid and groups
* Add ability to show HP as a % remaining rather than an actual deficit
* Remove some unused colours
* Fix position of some indicators
* Move config vars from clusterheal.lua to config.lua
* Enable clusterheal for all healers - should probably limit this by spec
* Fix position of HOTS indicators

1.1:

* Fixed compatibility with oUF < 1.6

1.0a:

* Fixed incorrect archive paths

1.0:

* Version first uploaded to wowinterface
Optional Files (0)


Post A Reply Comment Options
Unread 09-05-12, 08:47 AM  
Miffoiskogen
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Been away from Ouf for long, I got the core + Ouf_Fauli, wasn't any raid frames for it so downloaded this one, can't see any frames & the /drf command doesn't work at all, did I do something wrong here?
Report comment to moderator  
Reply With Quote
Unread 09-02-12, 01:20 AM  
freshworks
A Kobold Labourer

Forum posts: 0
File comments: 19
Uploads: 0
Code:
Message: ...rface\AddOns\draeRaidFrames\elements\clusterheal.lua:25: Cannot find a library instance of "AceTimer-3.0".
Time: Sun Sep  2 16:16:00 2012
Count: 1
Stack: [C]: in function `error'
Interface\AddOns\BigWigs\Libs\LibStub\LibStub.lua:38: in function `LibStub'
...rface\AddOns\draeRaidFrames\elements\clusterheal.lua:25: in main chunk

Locals: (*temporary) = "Cannot find a library instance of "AceTimer-3.0"."
Report comment to moderator  
Reply With Quote
Unread 08-21-12, 06:38 AM  
Rammoth
A Cliff Giant
 
Rammoth's Avatar
AddOn Author - Click to view AddOns

Forum posts: 73
File comments: 628
Uploads: 1
Does this have Vuhdo and HealBot functionality? For example, I could have it out of the box already set up to cast certain spells/heals/buffs on whatever target I left/right click on? I would love features like that, with a layout that looks like this!
Report comment to moderator  
Reply With Quote
Unread 02-12-12, 02:09 AM  
Jansus
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 28
File comments: 73
Uploads: 1
Thanks for these, they look and work great for me.
Is there a setting that will disable the blizzard party frames when using these ones?

Also, is it possible to increase the size of the role icon? I searched through the config, but couldn't find a setting for it.
Last edited by Jansus : 02-12-12 at 06:57 PM.
Report comment to moderator  
Reply With Quote
Unread 12-02-11, 06:51 AM  
Moosenose
A Kobold Labourer

Forum posts: 0
File comments: 26
Uploads: 0
Must be missing something here or it is just gone but where did the ready check go? Cannot see it anymore on the frames?

And nvm mid raid they decided to come back.
Last edited by Moosenose : 12-03-11 at 11:55 AM.
Report comment to moderator  
Reply With Quote
Unread 11-30-11, 10:55 PM  
llerelol
A Murloc Raider

Forum posts: 7
File comments: 45
Uploads: 0
can you give me a hint as to how to change the border of your frames?
im trying to make a kind of compilation for myself using a mix of roth's and neal's addons with your unitframes.

im trying to make them look like this


but i think i messed something with the code cuz i get stuff like that.
Last edited by llerelol : 11-30-11 at 10:56 PM.
Report comment to moderator  
Reply With Quote
Unread 10-27-11, 03:18 PM  
KiLLMasTer
A Deviate Faerie Dragon
 
KiLLMasTer's Avatar

Forum posts: 12
File comments: 74
Uploads: 0
Ok i did like you said but know when i heal someone the incoming heal looks the old way
__________________
My Toons: LVL 70 MW Monk Name Brewballs on Ysera
US. LVL 70 Restoration Druid Name Goodfel on Ysera US
Report comment to moderator  
Reply With Quote
Unread 10-26-11, 11:33 AM  
Draecana
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 14
Uploads: 2
I just uploaded a new version which finally simplies the setup of the frames, group growth, etc. It now follows the Grid setup. You define a layout - horizontal or vertical. You then define the anchor point for unit 1 in group 1 - all units/groups will grow from that point.

For e.g. to implement souja's layout requested below he would enter:

gridLayout = "VERTICAL"
gridGroupsAnchor = "TOPLEFT"

groups will be arranged vertically and grow from the topleft.

KiLLMasTer - to change just the health altering line 256 of core.lua from "VERTICAL" to "HORIZONTAL" should achieve what you want.
Report comment to moderator  
Reply With Quote
Unread 10-25-11, 09:48 PM  
KiLLMasTer
A Deviate Faerie Dragon
 
KiLLMasTer's Avatar

Forum posts: 12
File comments: 74
Uploads: 0
How do i make the HP go right to left like grid does it, Like when your taking damage
__________________
My Toons: LVL 70 MW Monk Name Brewballs on Ysera
US. LVL 70 Restoration Druid Name Goodfel on Ysera US
Report comment to moderator  
Reply With Quote
Unread 10-24-11, 08:12 PM  
Draecana
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 14
Uploads: 2
Originally posted by souja
Can't seem to get the "gridLayout", "gridGrowth", and "gridAnchor" to work correctly for me.
Anchoring is a pita I always meant to clean up that code (as you may guess from the "this needs to go away" comment ). I'll get back to you on this - I'll need to do some fiddling around myself!
Originally posted by bartg71
Was wondering if there was a way to change the health deficit #s to display health %'s instead on the raid frames
Yep this can be done but you'll need to modify a couple things. Open func.events.lua and find:

text2:SetText(lib.shortVal(min - max)) -- this is line 174 in 1.1

Delete that line and replace it with:

Code:
local pct = max == 0 and 0 or (((max - min) / max) * 100)
text2:SetText(pct.."%")
Now open func.lib.lua and find:

text = lib.shortVal(health.__min - health.__max) -- this is line 113 in 1.1

Again delete this line and replace with:

Code:
local pct = health.__max == 0 and 0 or (((health.__max - health.__min) / health.__max) * 100)
text = pct.."%"
Report comment to moderator  
Reply With Quote
Unread 10-23-11, 06:49 AM  
bartg71
A Murloc Raider

Forum posts: 9
File comments: 38
Uploads: 0
health % on raid frames?

Hello there,

First off, love your add on for both the unit and raid frames. Was wondering if there was a way to change the health deficit #s to display health %'s instead on the raid frames. I looked briefly in the raid frames config.lua but didnt see anything that jumped out at me to swap, and I'm not all that experienced w/coding, so was afraid to go digging any further. If there's a line to swap or alter someplace that would do what is needed, I'd be greatly appreciative of the info. Ty again for your awesome mod!
Report comment to moderator  
Reply With Quote
Unread 10-22-11, 09:46 PM  
souja
A Kobold Labourer

Forum posts: 0
File comments: 11
Uploads: 0
Can't seem to get the "gridLayout", "gridGrowth", and "gridAnchor" to work correctly for me.

The anchor always seems to be on the bottom left, with group 1 as the first row, successive groups growing up. Changing the "gridLayout" flag from "HORIZONTAL" to "VERTICAL" doesn't seem to do anything but flip the green box when the frame is unlocked. The individual unit frames remain unchanged. Toggling "gridAnchor" between "TOP" and "BOTTOM" doesn't seem to change anything. Toggling "gridGrowth" from "RIGHT" to "LEFT" just reverses the unit order (x54321, x=anchor) from the bottom left anchor.

I'm trying to get my layout like neavRaid (with anchor at the top-left):

g1u1 g2u1 g3u1 etc...
g1u2 g2u2 g3u2
g1u3 g2u3 g3u3
g1u4 g2u4 g3u4
g1u5 g2u5 g3u5

example:
http://s.wowinterface.com/preview/pvw51068.jpg

Is this possible?
Last edited by souja : 10-22-11 at 10:57 PM.
Report comment to moderator  
Reply With Quote
Unread 10-22-11, 08:17 PM  
souja
A Kobold Labourer

Forum posts: 0
File comments: 11
Uploads: 0
Thanks... worked great!
Report comment to moderator  
Reply With Quote
Unread 10-22-11, 07:15 PM  
Draecana
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 14
Uploads: 2
"Easiest" way is probably to alter lines 142-143 of func.events.lua:
Code:
			-- Colour both hp and info text as hp bar colour			 
			if (text2) then text2:SetTextColor(r, g, b) end 
			if (text1) then text1:SetTextColor(r, g, b) end
Instead of specifying r, g, b just put:
Code:
			if (text2) then text2:SetTextColor(1.0, 1.0, 1.0) end 
			if (text1) then text1:SetTextColor(1.0, 1.0, 1.0) end
You should also probably change line 107 of func.lib.lua which sets a specific colour for "AFK". You can just remove the formatting from the statement, i.e. replace:
text = "|cffaaaaaa"..status.."|r"
with
text = status

If you wanted to go further you could just remove the two lines in func.events.lua and set the colour directly in core.lua ... but I imagine I'm just confusing you now!
Report comment to moderator  
Reply With Quote
Unread 10-22-11, 06:52 PM  
souja
A Kobold Labourer

Forum posts: 0
File comments: 11
Uploads: 0
Currently giving your frames a spin. They look nice!

Question: How would I go about coloring "text1" and "text2" white instead of class colored? Just a personal preference.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: