Download
(512Kb)
Download
Updated: 08-29-12 08:22 AM
Pictures
File Info
Updated:08-29-12 08:22 AM
Created:10-20-11 07:15 AM
Downloads:3,848
Favorites:12
MD5:

draeFrames

Version: 2.0a
by: Draecana [More]

draeFrames is an oUF based unit frame mod. It's something I've worked on over a long period for myself and some guildmates.

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

There are literally dozens of different oUF (and non-oUF) unit frame mods out there. Over the years I tried many of them. The problem I have with most is that they bare no relevance to WoW at all - they look more at home in an FPS or SciFi game. I wanted something with a slightly more WoW-esque edge and this is the latest version of that - swords ftw!

By default frames are shown for:

Player
Target
Target of target
Pet
Pet target
Focus
Focus target
Main tanks
Main tank targets
Boss frames

Castbar and mirror bars are supported as are class specific resources; Holy Power, Shards, Runes, Eclipse, Combo Paws (... I mean points!) and Totems. The runebar uses libring to display a countdown to rune activation around each rune. You may not like the placement of the resource bars but I find their placement perfect for raiding. Also supported is the alt power bar (displayed above the player or target frame as appropriate) and for tanks - vengeance (below the player frame). Druid mana is also displayed when in cat or bear form below the player frame.

Keep in mind this is all lua based - you will need to make changes yourself to the source code. I primarily play a Paladin and Hunter and these receive the most testing. However guild mates use the frames on various chars and report no problems.

The frames draw on many other unit frame mods for inspiration, code or media.

NOTE:

The frames require oUF from here (some functionality may be lost since I tend to use the very latest oUF from github). I also make use of oUF_Smooth and oUF_SpellRange.

Github - http://github.com/Drae/draeFrames

2.0a:

* ToC was incorrect ...

2.0:

* Updated for Mists of Pandaria - requires GIT version of oUF till it's released
* Various internal changes for MoP
* Removed sinestrawrack and spineblood module
* Add new auratracker bar - currently has support for Paladins and partial support for Monk/Druid

1.3a:

* Really bump the ToC ...

1.3:

* Update ToC for 4.3

1.2:

* Allow customisation of castbar positions
* Allow castbars to be disabled - player, target, focus
* Change default castbar positions and sizes
* Allow customisation of resourcebar position
* Move default resource bar position to above castbar
* Re-arrange some config vars into better subgroups
* Remove unneeded happiness colours
* Change "charmed" colour to match raid frames
* Change uninterruptable castbar "shield" to custom warning triangle
* Fix combopaws glow effect remaining when changing forms
* Alter runes somewhat - add a background graphic (from RothUI)

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 10-27-13, 02:36 PM  
Kommutator
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Re: Re: plz fix

if you know what's github you can get working version here: https://github.com/Drae/draeUI
wow! tnx!!!
Last edited by Kommutator : 12-19-13 at 02:36 PM.
Report comment to moderator  
Reply With Quote
Unread 10-16-13, 08:29 PM  
llerelol
A Murloc Raider

Forum posts: 7
File comments: 45
Uploads: 0
Re: plz fix

Originally Posted by Kommutator
this swords bars looks amazing
but doesn't work
hope some one fix it
if you know what's github you can get working version here: https://github.com/Drae/draeUI
Report comment to moderator  
Reply With Quote
Unread 10-16-13, 07:30 AM  
Kommutator
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
plz fix

this swords bars looks amazing
but doesn't work
hope some one fix it
Report comment to moderator  
Reply With Quote
Unread 09-03-12, 01:49 PM  
lounginfreak247
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Thanks for a great add-on but I wanted to ask some questions. How do I move the cast bar and can I disable the buff and debuff icons for my player and target (I use Raven for that)? Thanks!
Last edited by lounginfreak247 : 09-03-12 at 02:20 PM.
Report comment to moderator  
Reply With Quote
Unread 09-02-12, 12:37 PM  
freshworks
A Kobold Labourer

Forum posts: 0
File comments: 19
Uploads: 0
func.core.lua

Code:
raidIcon:SetTexture("Interface\\ingFrame\\UI-RaidTargetingIcons")
to
Code:
raidIcon:SetTexture("Interface\\TargetingFrame\\UI-RaidTargetingIcons")
Report comment to moderator  
Reply With Quote
Unread 09-02-12, 12:29 PM  
freshworks
A Kobold Labourer

Forum posts: 0
File comments: 19
Uploads: 0
Code:
Message: Interface\AddOns\draeFrames\frames.lua:566: attempt to call method 'SmoothBar' (a nil value)
Time: Mon Sep  3 03:29:04 2012
Count: 1
Stack: Interface\AddOns\draeFrames\frames.lua:566: in function `func'
Interface\AddOns\oUF\ouf.lua:273: in function <Interface\AddOns\oUF\ouf.lua:192>
(tail call): ?
Interface\AddOns\oUF\ouf.lua:552: in function `Spawn'
Interface\AddOns\draeFrames\frames.lua:431: in function `func'
Interface\AddOns\oUF\factory.lua:20: in function <Interface\AddOns\oUF\factory.lua:16>
(tail call): ?

Locals: self = DraePlayer {
 0 = <userdata>
 Combat = <unnamed> {
 }
 __tags = <table> {
 }
 UNIT_ENTERED_VEHICLE = <function> defined @Interface\AddOns\oUF\ouf.lua:38
 UNIT_SPELLCAST_CHANNEL_START = <function> defined @Interface\AddOns\oUF\elements\castbar.lua:256
 SpellRange = <table> {
 }
 UNIT_HEALTH_FREQUENT = <function> defined @Interface\AddOns\oUF\elements\health.lua:145
 UNIT_MAXHEALTH = <function> defined @Interface\AddOns\oUF\elements\health.lua:145
 __elements = <table> {
 }
 UNIT_POWER_FREQUENT = <function> defined @Interface\AddOns\oUF\elements\power.lua:189
 RAID_TARGET_UPDATE = <function> defined @Interface\AddOns\oUF\elements\ricons.lua:58
 GROUP_ROSTER_UPDATE = <function> defined @Interface\AddOns\oUF\elements\assistant.lua:67
 UNIT_MAXPOWER = <function> defined @Interface\AddOns\oUF\elements\power.lua:189
 Power = <unnamed> {
 }
 UNIT_POWER_BAR_SHOW = <table> {
 }
 UNIT_SPELLCAST_NOT_INTERRUPTIBLE = <function> defined @Interface\AddOns\oUF\elements\castbar.lua:204
 PLAYER_REGEN_DISABLED = <function> defined @Interface\AddOns\oUF\elements\combat.lua:52
 UNIT_DISPLAYPOWER = <function> defined @Interface\AddOns\oUF\elements\power.lua:189
 UNIT_CONNECTION = <table> {
 }
 UNIT_POWER_BAR_HIDE = <table> {
 }
 Health = <unnamed> {
 }
 UNIT_SPELLCAST_CHANNEL_STOP = <function> defined @Interface\AddOns\oUF\elements\castbar.lua:332
 UNIT_SPELLCAST_CHANNEL_UPDATE = <function> defined @Interface\AddOns\oUF\elements\castbar.lua:309
 PLAYER_ROLES_ASSIGNED = <function> defined @Interface\AddOns\oUF\elements\lfdrole.lua:57
 UNIT_EXITED_VEHICLE = <function> defined @Interface\AddOns\oUF\ouf.lua:38
 UNIT_SPELLCAST_INTERRUPTIBLE = <function> defined @Interface\AddOns\oUF\elements\castbar.lua:190
 hpHeight = 15.75
 Debuffs = <unnamed> {
 }
 UNIT_SPELLCAST_INTERRUPTED = <function> defined @Interface\AddOns\oUF\elements\castbar.lua:172
 UNIT_SPELLCAST_STOP = <function> defined @Interface\AddOns\oUF\elements\castbar.lua:238
 menu = <function> defined @Interface\AddOns\draeFrames\func.lib.lua:263
 Sword = <unnamed> {
 }
 UNIT_SPELLCAST_START = <function> defined @Interface\AddOns\oUF\elements\castbar.lua:104
 UNIT_SPELLCAST_SENT = <function> defined @Interface\AddOns\draeFrames\func.castbar.lua:99
 UNIT_SPELLCAST_DELAYED = <function> defined @Interface\AddOns\oUF\elements\castbar.lua:218
 unit = "player"
 PLAYER_FOCUS_CHANGED = <function> defined @Interface\AddOns\draeFrames\func.core.lua:615
 borderTexture = <table> {
 }
 PLAYER_REGEN_ENABLED = <table> {
 }
 RaidIcon = <unnamed> {
 }
 UNIT_AURA = <table> {
 }
 PLAYER_TARGET_CHANGED = <function> defined @Interface\AddOns\draeFrames\func.core.lua:615
 LFDRole = <unnamed> {
 }
 LastUpdate = 0
 UNIT_THREAT_LIST_UPDATE = <function> defined @Interface\AddOns\draeFrames\func.core.lua:578
 Assistant = <unnamed> {
 }
 HighlightAura = <unnamed> {
 }
 PLAYER_ENTERING_WORLD = <table> {
 }
 UNIT_FACTION = <table> {
 }
 PvP = <unnamed> {
 }
 borderTextureShadow = <table> {
 }
 FrameBackdrop = <unnamed> {
 }
 colors = <table> {
 }
 Castbar = DraeCastBar {
 }
 AltPowerBar = <unnamed> {
 }
 Buffs = <unnamed> {
 }
 style = "DraePlayer"
 UNIT_SPELLCAST_FAILED = <function> defined @Interface\AddOns\oUF\elements\castbar.lua:154
}
(*temporary) = nil
(*temporary) = DraePlayer {
 0 = <userdata>
 Combat = <unnamed> {
 }
 __tags = <table> {
 }
 UNIT_ENTERED_VEHICLE = <function> defined @Interface\AddOns\oUF\ouf.lua:38
 UNIT_SPELLCAST_CHANNEL_START = <function> defined @Interface\AddOns\oUF
Report comment to moderator  
Reply With Quote
Unread 08-29-12, 10:34 AM  
Algearond
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
I downloaded the latest OUF as well as this as well and have had no luck, the default Blizzard UF is populating, is their a workaround for this?
Report comment to moderator  
Reply With Quote
Unread 08-29-12, 08:50 AM  
Basso
A Fallenroot Satyr
 
Basso's Avatar
AddOn Author - Click to view AddOns

Forum posts: 22
File comments: 32
Uploads: 1
i got the newest oUF core version and the newest version of your unit frames but it does not work, i still got the standart unit frames from blizzard, is there some kind of bug or is something wrong at my pc ?
Last edited by Basso : 08-29-12 at 08:51 AM.
Report comment to moderator  
Reply With Quote
Unread 08-28-12, 05:47 PM  
Firedancer
An Aku'mai Servant
 
Firedancer's Avatar
AddOn Author - Click to view AddOns

Forum posts: 35
File comments: 59
Uploads: 2
Originally Posted by Hock
How do you remove the borders at the top and bottom? I searched in every Lua file but couldnt locate where it was to disable it =/
I only tried these frames briefly while working on my UI, but I believe what you're looking for is the viewport settings. search the config.lua for
Code:
useviewport = true,
and change it to
Code:
useviewport = false,
and the 'borders' should go away.
__________________
(\ /)
( . .) <( if you say 'plz' because it's shorter than 'please' then I'll say 'no' because it's shorter than 'yes' )
c('')('')
Report comment to moderator  
Reply With Quote
Unread 05-14-12, 08:47 PM  
Hock
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 5
Uploads: 1
How do you remove the borders at the top and bottom? I searched in every Lua file but couldnt locate where it was to disable it =/
Report comment to moderator  
Reply With Quote
Unread 11-30-11, 06:48 PM  
llerelol
A Murloc Raider

Forum posts: 7
File comments: 45
Uploads: 0
hi drae, i like your unitframes alot, though i have a couple of questions..

i'd like to know if its possible to to swap buff and debuff position above target frame. cuz you dont usually care what buffs your target have, but u care alot about your dots\bleeds etc, so it would be better to move it closer to the screen center.

besides, atm physical debuffs doesnt have a border color, is there a way to make the border red if its physical?

any plans to implement arena frames?

ty
Report comment to moderator  
Reply With Quote
Unread 10-26-11, 11:32 PM  
andyhui
A Kobold Labourer

Forum posts: 0
File comments: 22
Uploads: 0
woot ty
Report comment to moderator  
Reply With Quote
Unread 10-26-11, 11:35 AM  
Draecana
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 14
Uploads: 2
Latest version allows much greater control over castbar positions. It also unlocks the resource bars from the castbar and adds config variables for it. By default the resource bar won't overlay the cast bar any more.
Report comment to moderator  
Reply With Quote
Unread 10-25-11, 10:40 AM  
andyhui
A Kobold Labourer

Forum posts: 0
File comments: 22
Uploads: 0
ty
Report comment to moderator  
Reply With Quote
Unread 10-24-11, 07:57 PM  
Draecana
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 14
Uploads: 2
The resource bar overlaps the cast bar primarily because I find it a "good" use of space. In fact the resource bar is anchored to the cast bar. So this answer is in two parts

To move the castbar you should edit line 83 of frames.lua:

core.CreateCastBar(self, UIParent, "CENTER", "CENTER", 0, -160, cfg.castbar.showLatency, false, cfg.castbar.showIcon,

What you're interested in is the "UIParent, "CENTER", "CENTER", 0, -160" which places the bar relative to the centre of the screen and shifts it down 160 "pixels".

To move the resource indicator you need to change where it anchors relative to the castbar. The exact line you need to change depends on which resource you use ... all these lines are in func.resources.lua:

Shaman totems - Line 83
DK runes - Line 186
Warlock shards - Line 154
Paladin holy power - Line 264
Druid eclipse - Line 132
Druid / Rogue combo points - Line 342

The positions are, as you can see on each line relative to the castbar. You can of course change that to whatever you want. See this issue on github.com for more info.

What I may do is add specific config vars for the castbar and resource indicator.

As for the minimap - it's a modifed version of Zork's minimap from his RothUI.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: