Download
(54Kb)
Download
Updated: 10-15-10 04:52 PM
Pictures
File Info
Updated:10-15-10 04:52 PM
Created:07-21-10 08:11 AM
Downloads:4,204
Favorites:7
MD5:

oUF Gdx

Version: r7
by: Guardix [More]

Description
This is my personal layout for oUF (1.5+). The player and target frames are highly inspired by Tukz' layout.
The layout itself suits best for healers, as the raid and party frames are almost centered to
provide an easy and friendly interface for healing. It is highly recommended to install gxMedia
together with this layout (unless you want some odd looks). It is found in the zip file.
I currently don't play arena, so I have no use for arena frames.
If you really want arena frames, let me know.

The frames may be misplaced with a resolution other than 1920x1200.


Supported frames
Player
Pet
Target
Targettarget
Focus
Party
Raid
Partypets
Raidpets
Boss


Supported plug-ins
oUF_ResComm (only on raid frames, self cast resurrections are ignored)
oUF Smooth Update (not active on raid/party frames)
oUF SpellRange
oUF Experience
oUF WeaponEnchant


Git repository
http://github.com/Guardix/oUF_Gdx


Ankhesa of Stormreaver-EU

r7
- Removed support for runebar, combo points and whatever power additions the game offer.
- Fixed for 4.0.1.
- Fixed for oUF 1.5.

r6
- Make the deathknight runebar actually function!
- Rune colors can be found on line 1096.
- Tag fix, the name tags sometime caused an error.
- Minor adjustment to the debuff icons, they are now two pixels taller and wider.

1.1 (r5)
- Changed the size of the raid frames to be more wide.
- Added new debuffs for the debuff icon.
- Modified the priority of the pvp debuff abilities a little, also added Vampiric Touch and Unstable Affliction.
- Fixed wrong duration count on reversed castbars.
- Hide Blizzard's buff frames.

1.0c (r4)
- Parent and set healcomm correctly.
- Fix a tag error, caused by a missing power token.

1.0b (r3)
- An ugly fix for weapon enchant icons.

1.0a (r2)
- Minor fixes to tags so all of them actually works. (Earth shield indicator)

1.0 (r1)
- Initial release
Optional Files (0)


Post A Reply Comment Options
Unread 11-01-10, 06:25 AM  
fnacke
A Deviate Faerie Dragon

Forum posts: 13
File comments: 16
Uploads: 1
okey, everything works perfectly now, sick looks!
however, 1 picture = more than 1000 words!
http://img258.imageshack.us/img258/7172/hejhej.png

Just a minor detail i would like to fix before being totally satisfied with these unitframes. appriciate the help i've gotten until now, understand if people might not feel like helping me with all the details, but if anyone got time to help me fix this code to change the background of the energy bar it would be greatly appriciated!
Thanks, once again!
Report comment to moderator  
Reply With Quote
Unread 10-31-10, 04:13 PM  
Guardix
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 42
File comments: 114
Uploads: 3
Originally posted by fnacke
Showing the problems i run into posting screenshots since its probably easier to understand.
Changed all the 'cb.Reverse = true' to 'cb.Reverse = false' which gave me this (1=health. 2=castbars. sorry for not being pro in paint ): http://img840.imageshack.us/img840/6...lempainski.jpg
colors on "lost health" and castbars changed, cant get around why. help?

trying to remove the castbars, removing the codes that you said, gave me this: http://img217.imageshack.us/img217/9...lemcastbar.jpg
wth?

Thanks
Oh, I see.

For the castbar remove this part (think you have already but w/e):
Code:
local cb = CreateFrame("StatusBar", nil, self)
			cb:SetStatusBarTexture(gxMedia.statusBar)
			cb:SetPoint("TOPLEFT", self.Panel, 1, -1)
			cb:SetPoint("BOTTOMRIGHT", self.Panel, -1, 1)
			cb:SetFrameStrata("HIGH")
			
			local bg = cb:CreateTexture(nil, "BACKGROUND")
			bg:SetAllPoints(cb)
			bg:SetTexture(gxMedia.statusBar)
			
			local time = cb:CreateFontString(nil, "OVERLAY")
			time:SetFont(gxMedia.font, 12)
			time:SetShadowColor(0, 0, 0)
			time:SetShadowOffset(1.25, -1.25)
			time:SetTextColor(0.84, 0.75, 0.65)
			time:SetJustifyH("RIGHT")
			
			if (unit == "target" or unit == "focus" or unit == "boss") then
				cb.Reverse = true
				cb:SetStatusBarColor(.1, .1, .1)
				cb:SetStatusBarTexture(gxMedia.bgFile)
				bg:SetVertexColor(.2, 1, 1)
				time:SetPoint("LEFT", 3, .5)
			else
				cb:SetStatusBarColor(.2, 1, 1)
				bg:SetVertexColor(.1, .1, .1)
				bg:SetTexture(gxMedia.bgFile)
				time:SetPoint("RIGHT", -3, .5)
			end
			
			local text = cb:CreateFontString(nil, "OVERLAY")
			text:SetFont(gxMedia.font, 12)
			text:SetShadowColor(0, 0, 0)
			text:SetShadowOffset(1.25, -1.25)
			text:SetPoint("CENTER", 0, .5)
			text:SetTextColor(0.84, 0.75, 0.65)
			
			local icon = cb:CreateTexture(nil, "ARTWORK")
			icon:SetHeight(28.5)
			icon:SetWidth(28.5)
			icon:SetTexCoord(0, 1, 0, 1)
			
			local overlay = cb:CreateTexture(nil, "OVERLAY")
			overlay:SetPoint("TOPLEFT", icon, -1.5, 1)
			overlay:SetPoint("BOTTOMRIGHT", icon, 1, -1)
			overlay:SetTexture(gxMedia.buttonOverlay)
			overlay:SetVertexColor(.6, .6, .6)
			
			local backdrop = CreateFrame("Frame", nil, self)
			backdrop:SetPoint("TOPLEFT", icon, -4, 3)
			backdrop:SetPoint("BOTTOMRIGHT", icon, 3, -3.5)
			backdrop:SetParent(cb)
			backdrop:SetBackdrop({
				edgeFile = gxMedia.edgeFile,
				edgeSize = 4,
				insets = {
					left = 3,
					right = 3,
					top = 3,
					bottom = 3
				}
			})
			backdrop:SetBackdropColor(0, 0, 0, 0)
			backdrop:SetBackdropBorderColor(0, 0, 0, 0.7)
			
			icon.Backdrop = backdrop
			icon.Overlay = overlay
			cb.Icon = icon
			
			cb.Text = text
			cb.Time = time
			cb.bg = bg
			
			cb.PostChannelStart = PostChannelStart
			cb.PostCastStart = PostCastStart
			cb.PostCastDelayed = PostCastDelayed
			cb.OnUpdate = castOnUpdate
			
			self.Castbar = cb
and any occurrences of
Code:
local castBar = self.Castbar
		castBar.Icon:SetPoint("TOPRIGHT", self, "LEFT", -10, 10)
The SetPoint may be found with different settings, but just search for 'local castBar = self.Castbar'

For the healtbar it is this line. I was wrong when I said you only had to change it from true to false (sorry) .
Code:
if (unit == "target" or unit == "targettarget" or unit == "focus" or unit == "boss") then
		hp.Reverse = true
		hp:SetStatusBarColor(.1,.1,.1)
	else
		bg:SetVertexColor(.1,.1,.1)
	end
into

Code:
bg:SetVertexColor(.1,.1,.1)
__________________
Report comment to moderator  
Reply With Quote
Unread 10-31-10, 01:53 PM  
fnacke
A Deviate Faerie Dragon

Forum posts: 13
File comments: 16
Uploads: 1
Originally posted by Guardix
They are supposed to grow "the wrong way" to make the frames look symmetric.
So if you rly want to, you can change it. Search for the word '.Reverse' and change all the occurrences to false.

The castbar is simply to remove the the lines from 'local cb = CreateFrame...' to 'self.CastBar = cb'.
Showing the problems i run into posting screenshots since its probably easier to understand.
Changed all the 'cb.Reverse = true' to 'cb.Reverse = false' which gave me this (1=health. 2=castbars. sorry for not being pro in paint ): http://img840.imageshack.us/img840/6...lempainski.jpg
colors on "lost health" and castbars changed, cant get around why. help?

trying to remove the castbars, removing the codes that you said, gave me this: http://img217.imageshack.us/img217/9...lemcastbar.jpg
wth?

Thanks
Last edited by fnacke : 10-31-10 at 01:56 PM.
Report comment to moderator  
Reply With Quote
Unread 10-31-10, 05:15 AM  
Guardix
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 42
File comments: 114
Uploads: 3
Originally posted by fnacke
starting off with saying that i love the way these frames look!
however, jumping straight to my problem is that the targetframes health,energy/manabar and castbar is going "the wrong way", which in this case is going to the left instead of the right.
Any chanse someone could give me a hand changing this, making them go towards the right?

Also if possible, is there any way to remove the castbars completly? so that i see the health and energy/mana all the time so it doesnt go away when casting?

Thanks!
They are supposed to grow "the wrong way" to make the frames look symmetric.
So if you rly want to, you can change it. Search for the word '.Reverse' and change all the occurrences to false.

The castbar is simply to remove the the lines from 'local cb = CreateFrame...' to 'self.CastBar = cb'.
__________________
Report comment to moderator  
Reply With Quote
Unread 10-30-10, 08:40 PM  
fnacke
A Deviate Faerie Dragon

Forum posts: 13
File comments: 16
Uploads: 1
starting off with saying that i love the way these frames look!
however, jumping straight to my problem is that the targetframes health,energy/manabar and castbar is going "the wrong way", which in this case is going to the left instead of the right.
Any chanse someone could give me a hand changing this, making them go towards the right?

Also if possible, is there any way to remove the castbars completly? so that i see the health and energy/mana all the time so it doesnt go away when casting?

Thanks!
Report comment to moderator  
Reply With Quote
Unread 10-29-10, 06:25 AM  
aapoo
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 14
File comments: 32
Uploads: 3
You're right, and I did have a look more in-depth with your layout. And I must say, even if it was a rip-off it's had some cosmetic changes when it comes to for-example combat-icon, which is by the way love, great idea!
Report comment to moderator  
Reply With Quote
Unread 10-29-10, 12:33 AM  
Guardix
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 42
File comments: 114
Uploads: 3
Originally posted by aapoo
This looks very similar to the Tukui unitframes, have you stolen them, copied them or have tukz stolen them? Because they're awfully similare codewise aswell.

Anyways, thanks for a solid base for my UI, will edit slightly but overall you hit gold with this unitframe
The player and target frames are highly inspired by Tukz' layout.
However, I use a different approach to spawn elements on the unitframes. Not that it matters much but that is just the way I prefer

Also oUF layouts may look alike in general. They all have (at least) a shared function to run.
__________________
Last edited by Guardix : 10-29-10 at 12:37 AM.
Report comment to moderator  
Reply With Quote
Unread 10-28-10, 06:28 PM  
aapoo
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 14
File comments: 32
Uploads: 3
This looks very similar to the Tukui unitframes, have you stolen them, copied them or have tukz stolen them? Because they're awfully similare codewise aswell.

Anyways, thanks for a solid base for my UI, will edit slightly but overall you hit gold with this unitframe
Report comment to moderator  
Reply With Quote
Unread 10-16-10, 11:31 AM  
Murdokk
A Kobold Labourer

Forum posts: 0
File comments: 11
Uploads: 0
Ty for the update =) I was getting tired of using the blizzard frames!
Report comment to moderator  
Reply With Quote
Unread 10-15-10, 08:50 AM  
Guardix
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 42
File comments: 114
Uploads: 3
Yes, I will probably update it today
__________________
Report comment to moderator  
Reply With Quote
Unread 10-14-10, 08:58 PM  
Murdokk
A Kobold Labourer

Forum posts: 0
File comments: 11
Uploads: 0
Any plans on updating this layout? It's my favorite one and everything else just seems awkward to use
Report comment to moderator  
Reply With Quote
Unread 10-04-10, 01:51 PM  
Murdokk
A Kobold Labourer

Forum posts: 0
File comments: 11
Uploads: 0
Ok, so I had posted a comment here about the screen filling with a large grey box and I was able to get the error from it.



Message: Interface\AddOns\oUF\ouf.lua:448: Attempted to use invalid tag [Vigilance].
Time: 10/04/10 14:48:35
Count: 1
Stack: [C]: in function `error'
Interface\AddOns\oUF\elements\tags.lua:523: in function `Tag'
Interface\AddOns\oUF_Gdx\layout.lua:1450: in function `styleFunc'
Interface\AddOns\oUF\ouf.lua:448: in function <Interface\AddOns\oUF\ouf.lua:414>
(tail call): ?
Interface\FrameXML\SecureTemplates.lua:686: in function <Interface\FrameXML\SecureTemplates.lua:683>
[C]: in function `securecall'
Interface\FrameXML\SecureTemplates.lua:693: in function `SetupUnitButtonConfiguration'
Interface\FrameXML\SecureTemplates.lua:775: in function <Interface\FrameXML\SecureTemplates.lua:729>
Interface\FrameXML\SecureTemplates.lua:1024: in function <Interface\FrameXML\SecureTemplates.lua:905>
[C]: in function `Show'
Interface\FrameXML\SecureStateDriver.lua:93: in function <Interface\FrameXML\SecureStateDriver.lua:81>

Locals: (*temporary) = "Attempted to use invalid tag [Vigilance]."

I had a few other errors pop up and they all looked similar to this one.

This was popping up with all addons disabled except your layout and oUF. I am running the current version of oUF and of your layout.

EDIT: Lol, nvm got it. Found the tag.lua fix and replaced the code and it worked.
Last edited by Murdokk : 10-04-10 at 03:59 PM.
Report comment to moderator  
Reply With Quote
Unread 09-25-10, 04:00 AM  
psyco
A Murloc Raider

Forum posts: 6
File comments: 19
Uploads: 0
Oki thx a lot.

I have add Combat Feedback but i have got it on all the frame but for heal the spam on the raid frame is omg.

For the Debuff Highlight if you can change the color with a glow color and an icon ont the right of the heal bar thats great.

Thx
Last edited by psyco : 09-25-10 at 04:00 AM.
Report comment to moderator  
Reply With Quote
Unread 09-23-10, 10:57 AM  
Guardix
A Cyclonian
AddOn Author - Click to view AddOns

Forum posts: 42
File comments: 114
Uploads: 3
Aight.. I'm afraid you will have to wait a little longer, I am currently rather busy and working on my cd addon whenever I have spare time. This layout should be second on my todo list.
__________________
Report comment to moderator  
Reply With Quote
Unread 09-20-10, 08:53 AM  
psyco
A Murloc Raider

Forum posts: 6
File comments: 19
Uploads: 0
Hi Guardix

You ask me you can add oUF Debuff Highlight and oUF Combat Feedback into the OptionalDeps but i wait 1 mont and you don't do it :/

Plz can you di it ? thx a lot
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: