Download
(95Kb)
Download
Updated: 03-26-10 08:48 AM
Addon for:
oUF.
Pictures
File Info
Updated:03-26-10 08:48 AM
Created:01-03-09 12:53 PM
Downloads:11,396
Favorites:45
MD5:

oUF Hypocrisy  Popular! (More than 5000 hits)

Version: 2.03
by: Hypocrisy [More]

My oUF layout. Requires oUF to work.
The raid frames in the middle of the raid shot are Grid, the oUF frames are the ones on the right.

Frames can be scaled. If you open the file layout.lua, there is a variable near the top called scale. It is currently set to 1, change it to 1.2 to make the frames 20% larger, etc. You may want to change the position of the frames a bit after you've scaled them, as positioning gets scaled as well.

All of the functions that spawn and position the frames are at the end of layout.lua, in the section titled "spawning the frames". If you want to hide or reposition your frames, the code you need to change can be found there.

Includes

  • Player
  • Pet
  • Pet Target
  • Target
  • Target of Target
  • Focus
  • Focus Target
  • Party
  • Party Pets
  • Party Targets
  • Raid

Supports

r2.03
----------------------------------------------------------------------------
- Re-fixed texture glitch with WoW 3.3.3

r2.02
----------------------------------------------------------------------------
- Added support for oUF_MoveableFrames

r2.01
----------------------------------------------------------------------------
- Added a Master Looter icon
- Added support for oUF_TotemBar
- Added support for oUF_Swing
- Removed support for oUF_AutoShot (functionality now in oUF_Swing)
- Simplified some code, cleaned up old code, fixed code for 3.2

r2.0
----------------------------------------------------------------------------
- Druid Mana, Auto Shot, and Rune Bar now scale properly
- Officially supports WoW 3.1

r1.36
----------------------------------------------------------------------------
- oUF_RuneBar support cleaned up a bit

r1.35
----------------------------------------------------------------------------
- Preliminary oUF_RuneBar support, cleaner version coming soon

r1.34
----------------------------------------------------------------------------
- Cleaned up AutoShot code

r1.33
----------------------------------------------------------------------------
- Added oUF_AutoShot support

r1.32
----------------------------------------------------------------------------
- Cleaned up druid code a tad

r1.31
----------------------------------------------------------------------------
- Added druid mana bar

r1.3
----------------------------------------------------------------------------
- Added a scale variable to layout.lua to allow scaling of the frames
- Added some code to allow the player class to be displayed
- Fixed a few 0.5 pixel issues noticed when using the scale feature

r1.231
----------------------------------------------------------------------------
- Fixed an error sometimes thrown by the color gradient

r1.23
----------------------------------------------------------------------------
- Added my color settings for oUF

r1.22
----------------------------------------------------------------------------
- Changed frame strata, so unit frames and castbars will now
properly appear behind everything else

time to start doing this properly
----------------------------------------------------------------------------
1/9 - Added ready check to party, fixed vehicles
1/9 - Added support for oUF Debuff Highlight, oUF Smooth Update
1/9 - Added fading to party pets/targets
1/9 - Moved all textures/fonts to one folder called media
1/8 - Added ready check support and leader icon for raid
1/8 - Moved debuffs and raid icons, and took debuffs off of pettarget
1/8 - No more layout(scale).lua, unless people really need it
1/6 - Added debuffs to pettarget, targettarget, and focustarget
1/6 - Improved layout(scale).lua
1/4 - Made all font sizes dependent on the fontsize variable at the start.
Post A Reply Comment Options
Unread 01-03-09, 02:18 PM  
DJJoeJoe
A Murloc Raider
 
DJJoeJoe's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 6
File comments: 172
Uploads: 1
I bet people would appreciate it if you could throw in the settings/svariables to make their grid match nicely like how you've got yours in your current screens.

*wink.
__________________

Joetest - Ner'Zhul - Disciples of Death
Report comment to moderator  
Reply With Quote
Unread 01-03-09, 04:42 PM  
Hypocrisy
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 49
Uploads: 1
Originally posted by DJJoeJoe
I bet people would appreciate it if you could throw in the settings/svariables to make their grid match nicely like how you've got yours in your current screens.

*wink.
This is the first time that I have uploaded anything to wowinterface, so I welcome any advice on ways to improve the experience of people using my work, however I am not sure how I should go about adding the settings. I'd upload my UI, because all the settings are in my WTF folder, but I don't think my UI has left an alpha state for at least a couple years. Do people ever upload just a few of their settings?

Ammendment: I looked into including my Grid config file, and I realized that it's not quite as easy as including just the saved variable file. All of the textures/fonts are in my SharedMedia folder...but all of the fonts/textures referenced in the folder are custom ones that weren't there before...and my SharedMedia folder has a dependency on a custom set of ButtonFacade textures...go figure. If you want I could try to strip all references to font/texture in the config file and see if I can make it just the size/placement settings.
Last edited by Hypocrisy : 01-04-09 at 09:56 AM.
Report comment to moderator  
Reply With Quote
Unread 01-04-09, 12:16 AM  
H4DOUK3N
A Kobold Labourer
 
H4DOUK3N's Avatar

Forum posts: 0
File comments: 29
Uploads: 0
Is there any way to increase the size which doesnt involve increasing the UI Scale?

Thanks for any help.
Report comment to moderator  
Reply With Quote
Unread 01-04-09, 10:18 AM  
Hypocrisy
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 49
Uploads: 1
Originally posted by H4DOUK3N
Is there any way to increase the size which doesnt involve increasing the UI Scale?

Thanks for any help.
Now included in the frames. If you open the layout.lua file there is a variable near the top called scaled. By default it is set to 1, change it to 1.2 to make the frames 20% larger, etc. You may want to change the position of the frames after you've scaled them, as positioning is scaled too.
Last edited by Hypocrisy : 01-14-09 at 10:14 AM.
Report comment to moderator  
Reply With Quote
Unread 01-04-09, 12:27 PM  
nodq
A Kobold Labourer
 
nodq's Avatar

Forum posts: 0
File comments: 105
Uploads: 0
nevermind, works now with scaling. thx
Last edited by nodq : 01-04-09 at 12:28 PM.
Report comment to moderator  
Reply With Quote
Unread 01-08-09, 03:13 PM  
uberspank
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Love this. This was the addon to finally get me to use oUF and I am very happy with this.
Report comment to moderator  
Reply With Quote
Unread 01-09-09, 06:57 AM  
vpr
A Theradrim Guardian

Forum posts: 65
File comments: 272
Uploads: 0
Hi, thank you for your work on this ... layout/addon/plugin? Whichever it is, I appreciate your efforts on this.

I must admit this is my first foray into oUF and like another commenter it's because of Hypocrisy.

My question relates to 5 more plugins I discovered while browsing the oUF Plugins site, they are as follows:

oUF BarFader
oUF Debuff Highlight
oUF Smooth Update
oUF PowerSpark
oUF_Banzai

Granted I'm new to this scene, and maybe don't understand everything yet, but from the descriptions, it seems like I'd *want* those things... Perhaps though, I don't.

Thanks,
vpr
Report comment to moderator  
Reply With Quote
Unread 01-09-09, 11:55 AM  
Hypocrisy
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 49
Uploads: 1
Originally posted by vpr
My question relates to 5 more plugins I discovered while browsing the oUF Plugins site, they are as follows:

oUF BarFader
oUF Debuff Highlight
oUF Smooth Update
oUF PowerSpark
oUF_Banzai

Granted I'm new to this scene, and maybe don't understand everything yet, but from the descriptions, it seems like I'd *want* those things... Perhaps though, I don't.
oUF PowerSpark
I actually already had PowerSpark support, but I hadn't used it in a while so I forgot to mention it in my description. Sorry .

oUF BarFader
I already have fading built in for the party and the raid, I just hadn't added it to my most recent additions, the party pets/targets. I've done that now. No fading for the other frames atm. Although if people want it I could add it to some. The current fading is based on range, so nothing fancy like the BarFader options.

oUF_Banzai
Doesn't need any additions to the code. It just works. Will make the health bar of the target with aggro red.

oUF Debuff Highlight
Added support, just drop the debuff highlight folder in your addons folder and it should work. Puts a colored border around the health bar according to the kind of debuff.

oUF Smooth Update
Added support, just drop the smooth update folder in your addons folder and it should work. Although I personally prefer it when the bars change instantly instead of sliding along.
Last edited by Hypocrisy : 01-09-09 at 01:20 PM.
Report comment to moderator  
Reply With Quote
Unread 01-09-09, 05:21 PM  
tou
A Kobold Labourer

Forum posts: 0
File comments: 26
Uploads: 0
i scale my ui as low as it goes, so it makes these frames really difficult to see. that is the only thing holding me back from using them atm. really nice frames though, i like how you did the pet/pet target.
Report comment to moderator  
Reply With Quote
Unread 01-10-09, 04:37 AM  
mnemexxx
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
I realy love your Unit Frames !

Please upload your complete UI, its nice, clean and sexy :-)

I am realy looking forward to see your UI as Download.

Thanks
mneme
Report comment to moderator  
Reply With Quote
Unread 01-10-09, 04:45 AM  
vpr
A Theradrim Guardian

Forum posts: 65
File comments: 272
Uploads: 0
Originally posted by Hypocrisy
oUF PowerSpark
I actually already had PowerSpark support, but I hadn't used it in a while so I forgot to mention it in my description. Sorry .

oUF BarFader
I already have fading built in for the party and the raid, I just hadn't added it to my most recent additions, the party pets/targets. I've done that now. No fading for the other frames atm. Although if people want it I could add it to some. The current fading is based on range, so nothing fancy like the BarFader options.

oUF_Banzai
Doesn't need any additions to the code. It just works. Will make the health bar of the target with aggro red.

oUF Debuff Highlight
Added support, just drop the debuff highlight folder in your addons folder and it should work. Puts a colored border around the health bar according to the kind of debuff.

oUF Smooth Update
Added support, just drop the smooth update folder in your addons folder and it should work. Although I personally prefer it when the bars change instantly instead of sliding along.
Bravo! That was fast...

Two last things:
  • To the target frame is there a way to add the Class of the target? In BGs it makes it much easier, instead of trying to guess what kind of person is coming at me. As a mage, I can't survive very long if I do the wrong thing
  • I'd like to reposition the target (coupled w/ the ToT) window farther to the right, is this possible?

Thanks!
vpr
Report comment to moderator  
Reply With Quote
Unread 01-10-09, 12:38 PM  
Hypocrisy
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 49
Uploads: 1
Originally posted by vpr
  • To the target frame is there a way to add the Class of the target? In BGs it makes it much easier, instead of trying to guess what kind of person is coming at me. As a mage, I can't survive very long if I do the wrong thing
  • I'd like to reposition the target (coupled w/ the ToT) window farther to the right, is this possible?
I just checked, because I remember that there was a point where all enemy frames were the same color in pvp, but I changed that a while back, and I wondered if maybe something had happened and I'd just stopped noticing. They are in fact still colored by class for me, which has always been enough. If you still want to add the class name I could figure out the code for it and tell you, but I'd rather not add any more text. I've been trying to keep the clutter down, and that's why I've colored the bars by class.

As for positioning the frames, all of the frames are positioned at the bottom of the lua file. You'll see a block of code that looks like this:

Code:
oUF:SetActiveStyle("Hypocrisy")
local player = oUF:Spawn("player", "oUF_Player")
player:SetPoint("CENTER", -320, -126)
local target = oUF:Spawn("target", "oUF_Target")
target:SetPoint("TOPLEFT",player,"TOPRIGHT", 5, 0)
local pet = oUF:Spawn("pet", "oUF_Pet")
pet:SetPoint("BOTTOMLEFT", player, 0, -22)
local pettarget = oUF:Spawn("pettarget", "oUF_PetTarget")
pettarget:SetPoint("BOTTOMRIGHT", player, 0, -22)
local tot = oUF:Spawn("targettarget", "oUF_TargetTarget")
tot:SetPoint("TOPLEFT",target,"TOPRIGHT", 5, 0)
As you can see, the player frame position is set relative to the UI. To be precise, from the center of the UI shifted 320 pixels to the left, and 126 pixels down.

The target is set relative to the player, with the top left corner of the target lined up with the top right corner of the player and shifted 5 pixels to the right.

The pet is set relative to the player as well. BOTTOMRIGHT puts it inside the player frame on the bottom right, but it is then shifted down 22 pixels.

Just change the code in the SetPoint field to what you want.

You can have wow running while you reposition the frame. Just enter the new code then reload the UI until you have it where you want. I believe the command to reload the UI was

Code:
/console reloadui
...although I have a mod that just lets me type "/rl", so it's been a while.

If you want to keep updating the layout with any further changes I make you'll have to reposition the frames again, but so long as you don't do anything too drastic it'll only be a couple lines of copy and pasting.
Last edited by Hypocrisy : 01-13-09 at 10:19 AM.
Report comment to moderator  
Reply With Quote
Unread 01-10-09, 12:45 PM  
Hypocrisy
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 49
Uploads: 1
Originally posted by mnemexxx
I realy love your Unit Frames !

Please upload your complete UI, its nice, clean and sexy :-)

I am realy looking forward to see your UI as Download.

Thanks
mneme
What's stopped me from uploading my complete UI is something that I mentioned before in response to a request for the grid frames. I am constantly recoding bits and pieces of my UI, so a few things are kind of alpha and spit out random bugs all the time, and a lot of the rest have strange hidden dependencies on each other, which I don't see myself untangling any time soon. If anything ever reaches completion, maybe I can upload something then.

BTW, Please do tell me if you have problems with the frames, I ran Oculus for the first time since adding party pets the other day and realized I had to change my vehicle code a bit. That is fixed now, but I don't get to use them under all circumstances.
Report comment to moderator  
Reply With Quote
Unread 01-11-09, 05:58 AM  
vpr
A Theradrim Guardian

Forum posts: 65
File comments: 272
Uploads: 0
Originally posted by Hypocrisy
Amendment: I just checked, because I remember that there was a point where all enemy frames were the same color in pvp, but I changed that a while back, and I wondered if maybe something had happened and I'd just stopped noticing. They are in fact still colored by class for me, which has always been enough. If you still want to add the class name I could figure out the code for it and tell you, but I'd rather not add any more text. I've been trying to keep the clutter down, and that's why I've colored the bars by class.

It should be possible to add the class of the target, though I don't have the time to do it right now. As for positioning the frames, all of the frames are positioned at the bottom of the lua file. You'll see a block of code that looks like this:

Code:
oUF:SetActiveStyle("Hypocrisy")
local player = oUF:Spawn("player", "oUF_Player")
player:SetPoint("CENTER", -320, -126)
local target = oUF:Spawn("target", "oUF_Target")
target:SetPoint("TOPLEFT",player,"TOPRIGHT", 5, 0)
local pet = oUF:Spawn("pet", "oUF_Pet")
pet:SetPoint("BOTTOMLEFT", player, 0, -22)
local pettarget = oUF:Spawn("pettarget", "oUF_PetTarget")
pettarget:SetPoint("BOTTOMRIGHT", player, 0, -22)
local tot = oUF:Spawn("targettarget", "oUF_TargetTarget")
tot:SetPoint("TOPLEFT",target,"TOPRIGHT", 5, 0)
As you can see, the player frame position is set relative to the UI. To be precise, from the center of the UI shifted 320 pixels to the left, and 126 pixels down.

The target is set relative to the player, with the top left corner of the target lined up with the top right corner of the player and shifted 5 pixels to the right.

The pet is set relative to the player as well. BOTTOMRIGHT puts it inside the player frame on the bottom right, but it is then shifted down 22 pixels.

Just change the code in the SetPoint field to what you want.

You can have wow running while you reposition the frame. Just enter the new code then reload the UI until you have it where you want. I believe the command to reload the UI was

Code:
/console reloadui
...although I have a mod that just lets me type "/rl", so it's been a while.

If you want to keep updating the layout with any further changes I make you'll have to reposition the frames again, but so long as you don't do anything too drastic it'll only be a couple lines of copy and pasting.
Thanks, yea - if you could show me the code to add the class name just to the target window, that'd be great. Sadly, I'm not familiar w/ the colors yet.

Thanks for the code showing how to move the frames.
Report comment to moderator  
Reply With Quote
Unread 01-11-09, 07:25 PM  
even13
A Deviate Faerie Dragon

Forum posts: 12
File comments: 10
Uploads: 0
I've been trying to use your frames and they look really nice. But now I'm trying to customize them to my needs so I have a few questions.

How do I turn off showing buffs/debuffs on my player frame? Also when I target myself? And the ToT frame..?

Second, how do I turn off the raid frames? I was thinking of using grid for my raid frames.

Thanks in advance for your replies, I really like your frames!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: