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,431
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-18-09, 10:11 PM  
Hypocrisy
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 49
Uploads: 1
Originally posted by tou
thanks for the great frames and the ui scale addition!

I was wondering if you or someone else that reads these could help me with adding in oUF_AutoShot support. This way I can finally get rid of Quartz. I tried myself by copying/pasting from other layouts and changing textures used to the appropriate ones, but failed horribly .
Ammendment: I realized after writing this that the bar I have here would overlap a hunter's pet...this code here is the basic idea of what I'd use though, just change the position a bit. Off-hand I can't think where the best place would be. Test it first, and you can see what it does.

After the if statement for druid mana:

Code:
		if playerClass=="DRUID" then
			[lots of random junk]
		end
put this code in

Code:
		if IsAddOnLoaded("oUF_AutoShot") and playerClass=="HUNTER" then
			self.AutoShot = CreateFrame"StatusBar"
			self.AutoShot:SetStatusBarTexture(bartex)
			self.AutoShot:SetStatusBarColor(0.2,0.7,0.1)
			self.AutoShot:SetPoint("TOPLEFT", self, "BOTTOMLEFT", 0, -5)
			self.AutoShot:SetHeight(9.5)
			self.AutoShot:SetWidth(162)

			self.AutoShot.bg = self.AutoShot:CreateTexture(nil, "BORDER")
			self.AutoShot.bg:SetAllPoints(self.AutoShot)
			self.AutoShot.bg:SetTexture(bartex)
			self.AutoShot.bg:SetAlpha(0.30)

			self.AutoShot.Text = self.AutoShot:CreateFontString(nil, "OVERLAY")
			self.AutoShot.Text:SetPoint("CENTER", self.AutoShot)
			self.AutoShot.Text:SetFont(font, fontsize-1)
			self.AutoShot.Text:SetTextColor(1,1,1)
			self.AutoShot.Text:SetShadowOffset(1, -1)

			self.AutoShot:SetBackdrop{
			bgFile = "Interface\\ChatFrame\\ChatFrameBackground", tile = true, tileSize = 16,
			insets = {left = -2, right = -2, top = -2, bottom = -2},
			}
			self.AutoShot:SetBackdropColor(0,0,0,1)
		end
That should do the trick for you, unfortunately it's hard for me to tell now. WoW was proving to be too much temptation so I completely uninstalled it, and just kept my mods/settings. Tell me if everything works and you like the colors.
Last edited by Hypocrisy : 01-18-09 at 10:53 PM.
Report comment to moderator  
Reply With Quote
Unread 01-18-09, 08:28 PM  
tou
A Kobold Labourer

Forum posts: 0
File comments: 26
Uploads: 0
thanks for the great frames and the ui scale addition!

I was wondering if you or someone else that reads these could help me with adding in oUF_AutoShot support. This way I can finally get rid of Quartz. I tried myself by copying/pasting from other layouts and changing textures used to the appropriate ones, but failed horribly .
Report comment to moderator  
Reply With Quote
Unread 01-18-09, 10:03 AM  
Hypocrisy
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 49
Uploads: 1
I decided to quit WoW...who knows if it will last, cause lord knows it wouldn't be the first time I quit, but for now at least I am not playing anymore. I will continue to support my frames at least until my last payed period expires next month.
Last edited by Hypocrisy : 01-19-09 at 01:49 PM.
Report comment to moderator  
Reply With Quote
Unread 01-18-09, 09:55 AM  
Hypocrisy
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 49
Uploads: 1
Originally posted by Salizar
Thanks for the tip about your addons, I am really liking the layout I have butchered together

Is it possible to have the blizzard castbar as well as the one on the player frame, im kinda used to seeing it there?

I had a quick look in the lua file but didnt see anything I could easily modify to enable it.
I use AzCastBar to get my normal cast bar as well, and I have the appearance customized a bit. You can see it in my raid shot.
Last edited by Hypocrisy : 01-18-09 at 10:03 AM.
Report comment to moderator  
Reply With Quote
Unread 01-18-09, 07:34 AM  
Salizar
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Thanks for the tip about your addons, I am really liking the layout I have butchered together

Is it possible to have the blizzard castbar as well as the one on the player frame, im kinda used to seeing it there?

I had a quick look in the lua file but didnt see anything I could easily modify to enable it.
Report comment to moderator  
Reply With Quote
Unread 01-18-09, 05:24 AM  
Tribola
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Originally posted by Hypocrisy
I don't in fact play a dk atm, so I haven't seen this yet, but at a glance there are a number of addons you could get to do the trick. The simplest I saw was RuneMover, however if you just type "rune" in the search you'll see any number of addons. There's also lyn's Runica that wouldn't show up, and maybe a few others.
Thank you, RuneMover is realy nice
Report comment to moderator  
Reply With Quote
Unread 01-17-09, 10:19 AM  
Hypocrisy
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 49
Uploads: 1
Originally posted by even13
Thanks for your earlier reply. I've got another question though: Is it possible to make the background transparent? I've been looking through the layout and I can't seem to find anywhere to do so if there is.
Just search for all instances of "SetBackdrop" (there should be 3 of them) and comment out the code. You may also want to comment out the following block of code
Code:
	local t = self.Title:CreateTexture(nil,"ARTWORK")
	t:SetTexture(bartex)
	t:SetVertexColor(0.1,0.1,0.1,1)
	t:SetAllPoints(self.Title)
	self.Title.texture = t
that colors the backdrop of the the title area, containing the name and level text.
Last edited by Hypocrisy : 01-17-09 at 10:19 AM.
Report comment to moderator  
Reply With Quote
Unread 01-17-09, 10:13 AM  
Hypocrisy
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 49
Uploads: 1
Originally posted by Tribola
I have a question, and I play Death Knight, and my runes are in the same place as before, which means I must still up in the left corner to watch my Rune-cooldown to be reviewed. How can I change this? I thank you in advance for your help
I don't in fact play a dk atm, so I haven't seen this yet, but at a glance there are a number of addons you could get to do the trick. The simplest I saw was RuneMover, however if you just type "rune" in the search you'll see any number of addons. There's also lyn's Runica that wouldn't show up, and maybe a few others.
Report comment to moderator  
Reply With Quote
Unread 01-17-09, 09:01 AM  
Tribola
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
I have a question, and I play Death Knight, and my runes are in the same place as before, which means I must still up in the left corner to watch my Rune-cooldown to be reviewed. How can I change this? I thank you in advance for your help
Last edited by Tribola : 01-17-09 at 09:02 AM.
Report comment to moderator  
Reply With Quote
Unread 01-16-09, 08:00 PM  
even13
A Deviate Faerie Dragon

Forum posts: 12
File comments: 10
Uploads: 0
Thanks for your earlier reply. I've got another question though: Is it possible to make the background transparent? I've been looking through the layout and I can't seem to find anywhere to do so if there is.
Last edited by even13 : 01-16-09 at 08:00 PM.
Report comment to moderator  
Reply With Quote
Unread 01-14-09, 07:50 PM  
Hypocrisy
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 49
Uploads: 1
Originally posted by zadd
Druid mana SUPPORT PLZ PLZ PLZ~
done, new version includes built in druid mana bar.
Last edited by Hypocrisy : 01-14-09 at 07:53 PM.
Report comment to moderator  
Reply With Quote
Unread 01-14-09, 05:56 PM  
zadd
A Kobold Labourer

Forum posts: 0
File comments: 10
Uploads: 0
oh~GOOD LAYOUT,
.
.
.

Druid mana SUPPORT PLZ PLZ PLZ~
Report comment to moderator  
Reply With Quote
Unread 01-14-09, 04:32 PM  
Hypocrisy
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 49
Uploads: 1
Re: Whats Addons?

Originally posted by Salizar
So I checked out your frames and fell in love after seeing this screenshot

http://s.wowinterface.com/preview/pvw21958.jpeg

Can you tell me all the addons you have there I spotted

Omen
Recount
oUF Hypocrisy

What else is there;

The box to the left,
mini map,
text above the party frame,
the action bars

Thanks and much love!
The box to the left is my tooltip. I use TipTac to display the tooltip.

The chat box below the "box to the left" is custom code.

The buttons to the mage's left are CooldownButtons. With a custom texture coded in...though ButtonFacade works too.

The action bars are currently made using rActionBarStyler and rActionButtonStyler. I've only made minor changes to the button styler, but the bars have been pretty heavily modified. The buffs are rBuffs with a few minor changes.

The minimap and all of the text on it is custom code. I used to use pMinimap, but then config options got added to it, so I coded my own zero config version based off of pMinimap...and it kind of evolved from there.

The text above the party frame, and the text on the bottom left and right corners of the minimap are data broker plug-ins. I have a custom piece of code to display them based off of cargoShip which displays only the text and chooses the plug-ins to load based on the level and class of the character I am playing. The plug-ins you see there are:

Universal Plug-Ins
Mad Hatter - Show/Hide Cloak and Hat...with a few minor customizations.
Broke_LootType - Shows current loot type and who the master looter is...a bit of custom code, but more or less unchanged.
Ara_Broker_Tradeskills - Show levels of tradeskills, cooldowns on trade skills, and lets you open the trade skill tab or the ability with a cooldown you want to use.
BugSack and !BugGrabber - the 0 on the bottom right corner of the minimap. Collects bugs...hazard of coding too much.

Leveling Plug-Ins
Broker_Location - Shows your current location and recommended zones.
Broker_XPRate - Shows time/kills to level, has a bit of custom code.

Mage Plug-In (for me at least)
Broker_Transit - Menu for portal/teleport spells.

I also have a whole bunch of other things running in the background.
Last edited by Hypocrisy : 01-14-09 at 05:48 PM.
Report comment to moderator  
Reply With Quote
Unread 01-14-09, 03:31 PM  
Salizar
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Whats Addons?

So I checked out your frames and fell in love after seeing this screenshot

http://s.wowinterface.com/preview/pvw21958.jpeg

Can you tell me all the addons you have there I spotted

Omen
Recount
oUF Hypocrisy

What else is there;

The box to the left,
mini map,
text above the party frame,
the action bars

Thanks and much love!
Report comment to moderator  
Reply With Quote
Unread 01-14-09, 01:09 PM  
vpr
A Theradrim Guardian

Forum posts: 65
File comments: 272
Uploads: 0
Originally posted by Hypocrisy
I have now added the code to the layout, but it is disabled in my distribution.

If you go to the section of the code titled

-- ------------------------------------------------------------------------
-- level update
-- ------------------------------------------------------------------------

there is an if statement that looks like this:

Code:
	if UnitIsConnected(unit) == nil then
		self.Type:SetText()
	else
		if type=="Humanoid" then
			self.Type:SetText("H")
		elseif type=="Beast" then
			self.Type:SetText("B")
		elseif type=="Mechanical" then
			self.Type:SetText("M")
		elseif type=="Elemental" then
			self.Type:SetText("E")
		elseif type=="Undead" then
			self.Type:SetText("U")
		elseif type=="Demon" then
			self.Type:SetText("D")
		elseif type=="Dragonkin" then
			self.Type:SetText("Dr")
		elseif type=="Giant" then
			self.Type:SetText("G")
		elseif type=="Not specified" then
			self.Type:SetText("NA")
		else
			self.Type:SetText(type)
		end

		-- Add Unit Class
--		if UnitIsPlayer(unit) then
--			local class,id = UnitClass(unit)
--			local r,g,b = RAID_CLASS_COLORS[id].r, RAID_CLASS_COLORS[id].g, RAID_CLASS_COLORS[id].b
--			class = format("|cff%02x%02x%02x%s|r %s",r*255,g*255,b*255,class,self.Type:GetText())
--			self.Type:SetText(class)
--		end
	end
The commented out code at the end is what you need to add the player class, just uncomment it.
Thanks for being so willing to add code you're not going to use for other people's use. That's really cool of you!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: