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,401
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 03-29-10, 06:49 AM  
Humpfldump
A Kobold Labourer

Forum posts: 1
File comments: 11
Uploads: 0
Re: Re: Castbar

Originally posted by Hypocrisy
Sorry for the late response, I haven't been playing recently.

You can in fact move the castbar in the player frame out and make it bigger. If you go to the section of the code titled "player, target and party castbar" notice the following code.

(...)

Hope that helps.
Thanks a lot for your reply. I'll give it a shot as soon as I'll return home
Report comment to moderator  
Reply With Quote
Unread 03-26-10, 08:56 AM  
Hypocrisy
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 49
Uploads: 1
Re: Re: Re: Gradient Banding

Originally posted by mrruben5
I have my own oUF Layout but I am also the author of the Armory texture. I'll try and fix it and let you know (if I don't please PM me, as I might have forgotten).

EDIT:
lua Code:
  1. local function fixStatBar(bar)
  2.     bar:GetStatusBarTexture():SetHorizTile(false)
  3. end
Thank you for the help. It seems pretty straight forward, but I was looking for that code fix for a few days after the patch. The frames have been fixed now.
Report comment to moderator  
Reply With Quote
Unread 03-26-10, 06:20 AM  
mrruben5
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Re: Re: Gradient Banding

Originally posted by Hypocrisy
The problem is the texture. Textures that are smaller then the bar are now repeating instead of stretching it seems. oUF_Hypocrisy currently uses the armory texture. Most addons that uses this texture are suffering from the same issue. You can change the texture to pretty much any other by just changing this line of code.

Code:
local bartex = "Interface\\AddOns\\oUF_Hypocrisy\\media\\statusbar"
There are plenty of texture packages available for download. Alternatively, you can name a bar texture "statusbar.tga" and drop it in the media folder.

I, however, happen to be rather partial to armory, and was hoping to see if I could fix the issue with armory before releasing an update. My apologies if I haven't been as quick as usual, I haven't had much time for WoW lately.

Edit: I was kind of hoping somebody else would fix the armory texture, seeing as I'm more of code guy then a graphic guy. I applied a temporary fix though.
I have my own oUF Layout but I am also the author of the Armory texture. I'll try and fix it and let you know (if I don't please PM me, as I might have forgotten).

EDIT:
lua Code:
  1. local function fixStatBar(bar)
  2.     bar:GetStatusBarTexture():SetHorizTile(false)
  3. end
Last edited by : 03-26-10 at 06:36 AM.
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 03-25-10, 11:25 PM  
Hypocrisy
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 49
Uploads: 1
Re: Gradient Banding

Originally posted by Nuruk
Since patch 3.3.3. the gradient in all of the bars is banding instead of appearing seamless as it was prior to the patch. Has anyone else experienced this? By the way, I am on a Mac. I deleted my config file in case it was something on my end, but that didn't work and I don't know what else to do.

Here is a screenshot of what I'm seeing.

http://img23.imageshack.us/img23/7876/banding.jpg
The problem is the texture. Textures that are smaller then the bar are now repeating instead of stretching it seems. oUF_Hypocrisy currently uses the armory texture. Most addons that uses this texture are suffering from the same issue. You can change the texture to pretty much any other by just changing this line of code.

Code:
local bartex = "Interface\\AddOns\\oUF_Hypocrisy\\media\\statusbar"
There are plenty of texture packages available for download. Alternatively, you can name a bar texture "statusbar.tga" and drop it in the media folder.

I, however, happen to be rather partial to armory, and was hoping to see if I could fix the issue with armory before releasing an update. My apologies if I haven't been as quick as usual, I haven't had much time for WoW lately.
Last edited by Hypocrisy : 03-26-10 at 08:49 AM.
Report comment to moderator  
Reply With Quote
Unread 03-25-10, 02:31 PM  
Nuruk
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Gradient Banding

Since patch 3.3.3. the gradient in all of the bars is banding instead of appearing seamless as it was prior to the patch. Has anyone else experienced this? By the way, I am on a Mac. I deleted my config file in case it was something on my end, but that didn't work and I don't know what else to do.

Here is a screenshot of what I'm seeing.

http://img23.imageshack.us/img23/7876/banding.jpg
Last edited by Nuruk : 03-25-10 at 02:31 PM.
Report comment to moderator  
Reply With Quote
Unread 03-25-10, 09:35 AM  
Hypocrisy
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 49
Uploads: 1
Re: Castbar

Originally posted by Humpfldump
Hi everyone,

just switched to this oUF-Layout and really like it so far.
There is only one point I'm not totally happy with right now... in my layout the player's-castbar is included in the player frame.
I would like to move/clone it, so it is bigger and outside the player frame like a stand-alone-frame (like showing here: http://s.wowinterface.com/preview/pvw21959.jpeg - the big one right above the grid-raidview).

Is it possible to edit Hypocrisy to view such a big, standalone castbar or is another addon doing this in the screen?

Thanks in advance for your help.

Sorry for the late response, I haven't been playing recently.

You can in fact move the castbar in the player frame out and make it bigger. If you go to the section of the code titled "player, target and party castbar" notice the following code.

Code:
self.Castbar:SetWidth(137)
self.Castbar:SetFrameStrata("LOW")
self.Castbar:SetPoint("BOTTOMRIGHT", self.Title, "BOTTOMRIGHT", -0.5, 0)

if(unit == "player") then
        self.Castbar:SetHeight(13.5)
        self.Castbar.Text:SetFont(font, fontsize+1)
else
        self.Castbar:SetHeight(12.5)
        self.Castbar.Text:SetFont(font, fontsize)
end
The code sets the castbar width to 137, makes it appear behind other frames, like bags and such, then positions the bottom-right corner of the castbar in the bottom-right corner of the title of the unit frames. The player castbar is then given a height of 13.5, and the rest are given heights of 12.5.

You may want to position the castbar relative to the "WorldFrame" instead of "self.Title".

If you want to position the bars separately you will need a series of if statements with the different settings.

You may also notice that several lines are commented out. They begin with the "--" characters. These lines are there in case you want icons on the castbars. Notice that none are currently shown.

Hope that helps.
Last edited by Hypocrisy : 03-25-10 at 09:39 AM.
Report comment to moderator  
Reply With Quote
Unread 03-17-10, 04:35 AM  
Humpfldump
A Kobold Labourer

Forum posts: 1
File comments: 11
Uploads: 0
Castbar

Hi everyone,

just switched to this oUF-Layout and really like it so far.
There is only one point I'm not totally happy with right now... in my layout the player's-castbar is included in the player frame.
I would like to move/clone it, so it is bigger and outside the player frame like a stand-alone-frame (like showing here: http://s.wowinterface.com/preview/pvw21959.jpeg - the big one right above the grid-raidview).

Is it possible to edit Hypocrisy to view such a big, standalone castbar or is another addon doing this in the screen?

Thanks in advance for your help.
Report comment to moderator  
Reply With Quote
Unread 11-05-09, 06:26 AM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 137
File comments: 640
Uploads: 22
Originally posted by mrruben5
This would be because the raid frames are a secure header. If you really want to manage it's position, you have to edit the lua file.
Version 1.4 of oUF_MoveableFrames now supports header frames. Please take a look at the newly included functions.
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Report comment to moderator  
Reply With Quote
Unread 09-12-09, 09:54 AM  
mrruben5
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Originally posted by Flak
The raid frames are moveable but snap back to their original location a couple seconds after you move them. Haven't noticed this with any of the other frames.
This would be because the raid frames are a secure header. If you really want to manage it's position, you have to edit the lua file.
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 09-05-09, 10:41 AM  
Flak
A Murloc Raider

Forum posts: 4
File comments: 84
Uploads: 0
The raid frames are moveable but snap back to their original location a couple seconds after you move them. Haven't noticed this with any of the other frames.
Report comment to moderator  
Reply With Quote
Unread 09-05-09, 08:27 AM  
Xruptor
A Flamescale Wyrmkin
 
Xruptor's Avatar
AddOn Author - Click to view AddOns

Forum posts: 137
File comments: 640
Uploads: 22
oUF_Move

Heyas Hypocrisy, it's been awhile I'm glad you've returned to the community and continue to update your layout.

Not sure if you remember a long time ago, that I had suggested allowing the ability to move frames around. Well even though you disliked the idea, I finally decided one day to make a library to add the ability to layouts called oUF_MoveableFrames. Several layouts have added support for it and yes I still continue to use your layout You should add support for it as it's very simple to implement. You can continue using it without having the ability to move frames around, however those wishing to move them have to just simply download the library. It's just a suggestion of course as I have to manually add support each update

http://www.wowinterface.com/download...bleFrames.html

Keep up the great work! I still love this layout!
__________________
Click HERE for the ultimate idiot test.

if (sizeof(sadness) > sizeof(happiness)) { initDepression(); }
Report comment to moderator  
Reply With Quote
Unread 09-04-09, 07:57 AM  
Hypocrisy
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 49
Uploads: 1
Originally posted by Exius
Would it be too much to ask if you could upload your compilation (full) including the oUF layout?
I am afraid not for now. I use a lot of beta and alpha quality addons, both in the works by me and from the WoWAce community. I uploaded my UI once before, when it is was more or less stable, but I quit WoW shortly after and a lot of the mods died with the 3.1 and 3.2 patches so I had it removed.
Report comment to moderator  
Reply With Quote
Unread 09-03-09, 06:51 PM  
Exius
A Murloc Raider
 
Exius's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 5
File comments: 1
Uploads: 1
Would it be too much to ask if you could upload your compilation (full) including the oUF layout?
Report comment to moderator  
Reply With Quote
Unread 08-18-09, 08:31 AM  
Hypocrisy
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 49
Uploads: 1
Originally posted by vpr
are you playing wow again?
kinda
Report comment to moderator  
Reply With Quote
Unread 08-18-09, 01:52 AM  
vpr
A Theradrim Guardian

Forum posts: 65
File comments: 272
Uploads: 0
are you playing wow again?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: