Download
(8Kb)
Download
Updated: 09-26-09 06:08 PM
Pictures
File Info
Updated:09-26-09 06:08 PM
Created:07-14-09 11:13 PM
Downloads:3,610
Favorites:20
MD5:

oUF Nerd

Version: r20090926
by: Waverian [More]

latest updates~
- Added DK Rune display. There's a boolean at the top of the layout file to disable this if you prefer a third party rune addon.
- Added pet health. Let me know if I missed anything crucial on the display, because right now it's only health. I will be keeping unnecessary information to the bare minimum but if you have a decent argument as to why X should be shown on the frame, I'm willing to listen.

credit where it's due~

The code is mostly mine but I've borrowed ideas from a number of sources:
- Debuff desaturation and combo point updates from p3lim.
- Smooth colors, reputation colors from oUF_Hypocrisy. General layout is inspired by oUF_Hypocrisy as well, with a large amount of evolution over the past few month.
- Power bar inspired by Duke's outline texture.


incomplete layout~

This has been a personal layout that I've exclusively used on a rogue up until now. I don't have any pet frames or party frames spawned in the layout, nor do I have death knight runes. I'm not opposed to adding these at some point but this will remain mostly aimed at efficient rogue play.

I will not be adding raid frames at any point. There are a number of adequate oUF raid layouts as well as non-oUF raid frames.


You may edit this layout to your liking but please keep questions about editing the layout out of the comments area. The UI & Macros forum as well as the oUF layout thread on WoWI forums can answer your questions.

r-20090926
- Added oUF_Swing & oUF_CombatFeedback support.
r-20090912
- Added druid mana.
- Changed pet frame visuals. Added happiness indicator.
- Moved some elements (tot)
- Hid some elements on the target frame. Mouseover the health bar to show extra information.
- Moved tags to their own file, and changed their name to be less ambiguous so it plays well with other layouts.
- Fixed an outstanding bug that occurred when your vehicle died.
- Changed a lot of code. Probably a bunch of stuff I've forgotten. Download it and check!
July 15 '09
- Added DK Rune display.
- Added Pet Frame.
Optional Files (0)


Post A Reply Comment Options
Unread 11-28-09, 03:07 PM  
okami
A Kobold Labourer
 
okami's Avatar

Forum posts: 1
File comments: 6
Uploads: 0
Hello there, these are awesome frames.
but i would like to make the power bar colour by power (eg. Mana/Blue or Rage/Red). I've tried looking at the lua but im new to it. If you could tell me what to put and where that would be great, thanks.
Report comment to moderator  
Reply With Quote
Unread 10-31-09, 06:29 PM  
Dajova
A Wyrmkin Dreamwalker
 
Dajova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 787
Uploads: 5
Originally posted by Waverian
I let oUF handle almost all of the menu stuff, so I'm not sure how to go about changing the menu anchor. I'll let you know if I find anything out.
Ah well, it doesn't matter now, i've added support for oUF_MoveableFrames now on my personal layout, so it's not necessary now
__________________
Livestream | Twitter | YouTube
Report comment to moderator  
Reply With Quote
Unread 10-07-09, 08:22 PM  
Waverian
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 188
File comments: 33
Uploads: 8
Originally posted by richerich
Sorry for the many questions, but do u have any idea how to align the popup-meny when u right-click on the frames? Atm, it's align down, but it covers my actionbars when i does that. Would like it to align up
I let oUF handle almost all of the menu stuff, so I'm not sure how to go about changing the menu anchor. I'll let you know if I find anything out.
Report comment to moderator  
Reply With Quote
Unread 10-05-09, 12:41 PM  
Dajova
A Wyrmkin Dreamwalker
 
Dajova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 787
Uploads: 5
Sorry for the many questions, but do u have any idea how to align the popup-meny when u right-click on the frames? Atm, it's align down, but it covers my actionbars when i does that. Would like it to align up
__________________
Livestream | Twitter | YouTube
Report comment to moderator  
Reply With Quote
Unread 10-02-09, 05:52 PM  
Dajova
A Wyrmkin Dreamwalker
 
Dajova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 787
Uploads: 5
Yeah, now it works flawlessly Thx for your help!
For my personal reference, i have also added support for oUF_HealComm4 and oUF_Smooth in my UI, works like a charm
__________________
Livestream | Twitter | YouTube
Report comment to moderator  
Reply With Quote
Unread 09-28-09, 04:39 PM  
Waverian
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 188
File comments: 33
Uploads: 8
Originally posted by richerich
EDIT: nwm, got it working now

EDIT2: Any plans to make indicators for your current status, like in combat or resting?

EDIT3: Now i got another bug, dunno why tho...



It does show my ToT frame and it updates as it should, so i don't think it's that kind of a problem...

Here's how i have made it in my UI (with SBF):

http://i36.tinypic.com/jtqi3s.jpg
I won't be adding status indicators to the base layout. The goal of the layout is to only have information that's crucial to how I play. I don't mind adding optional support (i.e. plugins) or helping hack the layout apart though.

If you deleted the text ToT then you also need to delete all references to self.TargetTarget. There's a chunk of code that looks like this:

lua Code:
  1. -- Mouseover text changing
  2.         self:HookScript('OnEnter', function()
  3.             self.Power.Text:Show()
  4.             self.TargetTarget:Hide()
  5.            
  6.             self.Health.Text:Show()
  7.             self.Health.Percent:Hide()
  8.         end)
  9.         self:HookScript('OnLeave', function()
  10.             self.Power.Text:Hide()
  11.             self.TargetTarget:Show()
  12.            
  13.             self.Health.Text:Hide()
  14.             self.Health.Percent:Show()
  15.         end)

which changes the texts on mouseover. Make sure you delete the self.TargetTarget:Show() and :Hide()
Report comment to moderator  
Reply With Quote
Unread 09-27-09, 06:49 AM  
Dajova
A Wyrmkin Dreamwalker
 
Dajova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 787
Uploads: 5
EDIT: nwm, got it working now

EDIT2: Any plans to make indicators for your current status, like in combat or resting?

EDIT3: Now i got another bug, dunno why tho...

[2009/09/28 05:08:15-1116-x1]: oUF_Nerd\layout.lua:317: attempt to index field 'TargetTarget' (a nil value)
<in C code>: ?
<in C code>: in function `Hide'
Interface\FrameXML\SecureStateDriver.lua:74: in function <Interface\FrameXML\SecureStateDriver.lua:62>:
Interface\FrameXML\SecureStateDriver.lua:111: in function <Interface\FrameXML\SecureStateDriver.lua:81>:

---
It does show my ToT frame and it updates as it should, so i don't think it's that kind of a problem...

Here's how i have made it in my UI (with SBF):

http://i36.tinypic.com/jtqi3s.jpg
__________________
Livestream | Twitter | YouTube
Last edited by Dajova : 09-27-09 at 09:27 PM.
Report comment to moderator  
Reply With Quote
Unread 09-26-09, 05:24 PM  
Waverian
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 188
File comments: 33
Uploads: 8
Originally posted by richerich
Well, basically just 2 plugins:

DebuffHighlight

CombatFeedback

... and if possible:

Swing

Hope it's not too much

EDIT: typos
Thanks for the links, saved me a bit of time. I've added Swing and CombatFeedback support. I don't really plan on using these myself so let me know if there's any problems with it.

I had a bit of trouble getting DebuffHighlight to work. As far as I can tell my code is correct but it didn't function. I'll play around with it a little more this weekend to see if I can get it working.
Report comment to moderator  
Reply With Quote
Unread 09-26-09, 08:50 AM  
Dajova
A Wyrmkin Dreamwalker
 
Dajova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 787
Uploads: 5
Originally posted by Waverian
The only plugin it supports at the moment is oUF_RuneBar, because I don't use any other plugins. What plugins do you want support for?
Well, basically just 2 plugins:

DebuffHighlight

CombatFeedback

... and if possible:

Swing

Hope it's not too much

EDIT: typos
__________________
Livestream | Twitter | YouTube
Last edited by Dajova : 09-26-09 at 08:51 AM.
Report comment to moderator  
Reply With Quote
Unread 09-26-09, 03:35 AM  
Waverian
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 188
File comments: 33
Uploads: 8
Originally posted by richerich
Very nice layout, but i don't see anything that it's supporting plugins or am i missing something?
The only plugin it supports at the moment is oUF_RuneBar, because I don't use any other plugins. What plugins do you want support for?

EDIT: and also, i don't seem to see a ToT frame, witch i need
any plans to add that or maybe show how to add one?

EDIT2: nwm, saw in the lua that you had a ToT code, but i could hardly see/notice it...
I just use text for target of target since I don't need to see their health - I just need to know who it is. You can see how to spawn frames at the bottom of the layout. Then on line 312 change this:

lua Code:
  1. elseif unit == 'focus' then

to this:

lua Code:
  1. elseif unit == 'focus' or unit == 'targettarget' then
Last edited by Waverian : 09-26-09 at 03:36 AM.
Report comment to moderator  
Reply With Quote
Unread 09-25-09, 07:48 AM  
Dajova
A Wyrmkin Dreamwalker
 
Dajova's Avatar
AddOn Author - Click to view AddOns

Forum posts: 58
File comments: 787
Uploads: 5
Very nice layout, but i don't see anything that it's supporting plugins or am i missing something?

EDIT: and also, i don't seem to see a ToT frame, witch i need
any plans to add that or maybe show how to add one?

EDIT2: nwm, saw in the lua that you had a ToT code, but i could hardly see/notice it...
__________________
Livestream | Twitter | YouTube
Last edited by Dajova : 09-25-09 at 12:04 PM.
Report comment to moderator  
Reply With Quote
Unread 09-20-09, 08:57 AM  
Coldblooded
A Deviate Faerie Dragon

Forum posts: 13
File comments: 67
Uploads: 0
Originally posted by Waverian
The font is set as the 3rd argument to :CreateFontString()

Code:
self.Name = self.Health:CreateFontString(nil, 'ARTWORK', 'GameFontNormalSmall')
You can change this to GameFontNormal, or GameFontNormalLarge

You can also change it to:

Code:
self.Name = self.Health:CreateFontString(nil, 'ARTWORK')
self.Name:SetFont(<some font path>, <some font size>)
Thx alot man , much appreciated
Report comment to moderator  
Reply With Quote
Unread 09-19-09, 09:44 AM  
Waverian
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 188
File comments: 33
Uploads: 8
Originally posted by Coldblooded
Hey man first of all i love the oUF layout but i have a question.Im not to good at lua but i usually manage to change stuf how i want but in your layout i cant seem to find a way to change the fontsize on text.Its no bla bla fontsize = if you understand what i meen.

Thx in advance
The font is set as the 3rd argument to :CreateFontString()

Code:
self.Name = self.Health:CreateFontString(nil, 'ARTWORK', 'GameFontNormalSmall')
You can change this to GameFontNormal, or GameFontNormalLarge

You can also change it to:

Code:
self.Name = self.Health:CreateFontString(nil, 'ARTWORK')
self.Name:SetFont(<some font path>, <some font size>)
Report comment to moderator  
Reply With Quote
Unread 09-18-09, 11:39 AM  
Coldblooded
A Deviate Faerie Dragon

Forum posts: 13
File comments: 67
Uploads: 0
Hey man first of all i love the oUF layout but i have a question.Im not to good at lua but i usually manage to change stuf how i want but in your layout i cant seem to find a way to change the fontsize on text.Its no bla bla fontsize = if you understand what i meen.

Thx in advance
Last edited by Coldblooded : 09-18-09 at 11:41 AM.
Report comment to moderator  
Reply With Quote
Unread 08-09-09, 09:30 PM  
Everstride
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Would anyone be so kind as to help me implement party frames? Thanks!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: