Download
(59Kb)
Download
Updated: 11-12-08 05:15 PM
Addon for:
oUF.
Pictures
File Info
Updated:11-12-08 05:15 PM
Created:unknown
Downloads:13,002
Favorites:63
MD5:

oUF Lyn  Popular! (More than 5000 hits)

Version: 1.2.4f
by: eiszeit [More]

Note: I, Obble, am now maintaining this and lyns other addons after he quit. I am currently rewriting oUF_Lyn for 3.1

This is another layout for oUF.

Works with the current version of oUF (as of 17.10.2008).

Note: colors working again, thanks to zork/rothar.

If you want to modify the layout, do it yourself. I will not give any help. I give only support if the original layout have errors or anything.

It has following frames:
- Player
- Target
- Target of Target
- Pet
- Focus
- Party
- Raid

You can hide party in raid by going into your Interface option and activate the option "Hide Party Interface in Raid".

It supports following oUF Plugins and Libs:
- oUF_DebuffHighlight
- oUF_PowerSpark
- oUF_BarFader
- oUF_Banzai <- should work. normally a layout DOES NOT need to edit anything for support, so.

If you find any bugs or so... please let me know (screenshot + error message or something)

1.2.4f

- barfade again - maybe, dunno, dont care. if it change again i'll drop support for it.

1.2.4e

- toc bump

1.2.4d

- barfade again

1.2.4c

- added a local.

1.2.4b

- reverted colors for hostile pvp player

1.2.4

- fixed colors for hostile pvp player
- fixed buff thingy (hopefully)
- castbar position can now be done on the top of the layout.lua

1.2.3

- added !LynColor for old colors (changing all colors in wow :P)
- fixed some stuff

1.2.2

- fixed barfade support

1.2.1

- only thing what doesnt work with 3.0 are the custom reaction colors... dunno how to fix it atm.
- removed support for: ouf_druidmana/libmobhealth

1.2

- oUF_BarFader support

1.1

- forgot the new name of the safe zone

1.0

- enabled druidmana, changed display of druidmana
- dunno what else I did

0.9

- currently disabled druidmana
- little rework for ouf 1.1
- added castbar

0.8

- frames got names
- disabled pet happiness till I found a better solution to update it.

0.7

- changed banzai support, thanks to xuerian

0.6

- changed raid group spawning

0.5

- changed banzai support again, seems like i did it wrong before, didn't know ouf_banzai hooks frames automatically :x

0.4

- i hope i fixed the banzai bug

0.3

- ouf_banzai support (player hp bar)
- ouf_libdruidmana support

0.2

- added function for party hide in raid (thanks @ p3lim)

0.1

- initial release
Post A Reply Comment Options
Unread 01-22-09, 11:03 AM  
crian
A Defias Bandit
 
crian's Avatar

Forum posts: 3
File comments: 11
Uploads: 0
hi lyn!

how can i add autoshot to the players castbar, like p3lim have it?
Report comment to moderator  
Reply With Quote
Unread 01-19-09, 02:53 PM  
eiszeit
A Chromatic Dragonspawn
 
eiszeit's Avatar
AddOn Author - Click to view AddOns

Forum posts: 154
File comments: 448
Uploads: 7
Originally posted by groin
hi lyn, can i ask u how to disable player and target castbar even how to resize or move it. thx
comment out specific lines in the .lua

yw.
__________________
Lyn • I'm a mess of unfinished thoughts
Report comment to moderator  
Reply With Quote
Unread 01-19-09, 09:36 AM  
groin
A Cyclonian
AddOn Compiler - Click to view compilations

Forum posts: 45
File comments: 86
Uploads: 3
hi lyn, can i ask u how to disable player and target castbar even how to resize or move it. thx
Report comment to moderator  
Reply With Quote
Unread 01-15-09, 08:23 AM  
Waterdark
A Defias Bandit

Forum posts: 3
File comments: 6
Uploads: 0
Hi there Lyn, first of all thanks for the nice, clean and well-written code.

I'm at my first LUA editing steps, and I found your oUF layout a very nice base for making changes.

I was wondering how does Aura texturing work, and if it is possible to use the same fancy border texture on the castbar icon, too.

I currently have changed the code to show a backdrop on the actual castbar, like the one on the other frames, with

Code:
self.Castbar:SetBackdrop{
	bgFile = "Interface\\ChatFrame\\ChatFrameBackground", tile = true, tileSize = 16,
	insets = {left = -2, right = -2, top = -2, bottom = -1},
}
around line 622, but at the moment I'm getting stumped at decorating the castbar icon, which is borderless and rather floating around.

Any help would be most appreciated, thank you


edit: solved by adding
Code:
-- a nice texture on the icon border
self.Castbar.IconBorder = self.Castbar:CreateTexture(nil, 'OVERLAY')
self.Castbar.IconBorder:SetPoint("TOPLEFT", self.Castbar.Icon, "TOPLEFT", -1, 1)
self.Castbar.IconBorder:SetPoint("BOTTOMRIGHT", self.Castbar.Icon, "BOTTOMRIGHT", 1, -1)
self.Castbar.IconBorder:SetTexture(bufftex)
self.Castbar.IconBorder:SetVertexColor(0.5, 0.5, 0.5)
below the line quoted above.
Last edited by Waterdark : 01-16-09 at 09:37 AM.
Report comment to moderator  
Reply With Quote
Unread 12-30-08, 04:31 AM  
Icerat
A Fallenroot Satyr

Forum posts: 28
File comments: 46
Uploads: 0
First of all would like to thank you for a great layout, Ive found a small but annoying problem.

When your doing the Aces High Quest you mount dragon to fight other dragons. The player frame changes to the dragons hp and you become the pet.

The problem is that if you die whilst on the dragon and in combat the player frame dose not respawn and all your left with is you as the pet frame and you get "Interface action failed because of an AddOn" in the chat log.

I thought it may me an oUF error so i tested it also with oUF_Caellian and oUF P3lim, neither of these have this problem.

Hope its an easy fix.

EDIT:
Used self.disallowVehicleSwap = true to stop it switching the frames, not a proper solution but I'm still learning
Last edited by Icerat : 12-30-08 at 05:35 AM.
Report comment to moderator  
Reply With Quote
Unread 12-26-08, 02:21 PM  
duhwhat
A Wyrmkin Dreamwalker

Forum posts: 51
File comments: 236
Uploads: 0
I occasionally get the vehicle/pet and player UFs switched when using oUF 1.3. Sticking with 1.2 for now.
Report comment to moderator  
Reply With Quote
Unread 12-25-08, 08:16 PM  
fir3fly
A Defias Bandit

Forum posts: 3
File comments: 21
Uploads: 0
Found a problem with this layout.

1) The code for range check (on frames other than party/raid - I think you only gave the option for this on focus original but added target and ToT to the check) don't seem to work...it will either fade completely or not at all depending on if I have it enabled.
Last edited by fir3fly : 12-27-08 at 08:23 AM.
Report comment to moderator  
Reply With Quote
Unread 12-25-08, 03:49 PM  
dispel
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Hallo Lyn, wie kann ich die Raid und Party-Frames ausblenden ?
Last edited by dispel : 12-25-08 at 03:50 PM.
Report comment to moderator  
Reply With Quote
Unread 12-24-08, 06:37 PM  
fir3fly
A Defias Bandit

Forum posts: 3
File comments: 21
Uploads: 0
edit: fixed it myself :P
Last edited by fir3fly : 12-25-08 at 02:04 PM.
Report comment to moderator  
Reply With Quote
Unread 12-21-08, 04:47 AM  
Enzyr
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Hey guys can anybody help me with removing the raid and party frames since i prefer using grid and these doesnt show when out of range
Report comment to moderator  
Reply With Quote
Unread 12-17-08, 10:23 AM  
icaneli
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Hi there, i currently get an error when i want to set the Focus frame (oUF_Lyn has been blocked...etc) hope someone can help... just a great addon
Report comment to moderator  
Reply With Quote
Unread 12-13-08, 08:23 AM  
CyberOto
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 44
Uploads: 2
Poked around with the code + borrowed some code from p3lim and got it working. Here it is - added 1 new function. Credits to p3lim:

Code:
-- ------------------------------------------------------------------------
-- Druid Extra Mana bar
-- ------------------------------------------------------------------------
local function UpdateDruidPower(self)
	local ptype = UnitPowerType('player')
	if(ptype ~= 0) then
		local min = UnitPower('player', 0)
		local max = UnitPowerMax('player', 0)

		self:SetMinMaxValues(0, max)
		self:SetValue(min)

		if(min ~= max) then
			self.Text:SetFormattedText('%d - %d%%', min, math.floor(min / max * 100))
		else
			self.Text:SetText()
		end

		self:SetAlpha(1)
	else
		self.Text:SetText()

		self:SetAlpha(0)
	end
end
and my modifications made to the druid mana bar code:

Code:
		if(playerClass=="DRUID") then
			-- bar
			self.DruidMana = CreateFrame('StatusBar', nil, self)
			self.DruidMana:SetPoint('TOP', self.Power, 'BOTTOM', 0, -6)
			self.DruidMana:SetStatusBarTexture(bartex)
			self.DruidMana:SetStatusBarColor(45/255, 113/255, 191/255)
			self.DruidMana:SetHeight(10)
			self.DruidMana:SetWidth(250)
			-- bar bg
			self.DruidMana.bg = self.DruidMana:CreateTexture(nil, "BORDER")
			self.DruidMana.bg:SetAllPoints(self.DruidMana)
			self.DruidMana.bg:SetTexture(bartex)
			self.DruidMana.bg:SetAlpha(0.30)  
			-- black bg
			self.DruidMana:SetBackdrop{
				bgFile = "Interface\\ChatFrame\\ChatFrameBackground", tile = true, tileSize = 16,
				insets = {left = -2, right = -2.5, top = -2.5, bottom = -2},
				}
			self.DruidMana:SetBackdropColor(0,0,0,1)
			
			-- update values
			self.DruidMana:SetScript('OnEvent', UpdateDruidPower)
			self.DruidMana:RegisterEvent('UNIT_MANA')
			self.DruidMana:RegisterEvent('UNIT_ENERGY')
			self.DruidMana:RegisterEvent('PLAYER_LOGIN')
			
			-- text
			self.DruidMana.Text = self.DruidMana:CreateFontString(nil, 'OVERLAY')
			self.DruidMana.Text:SetPoint("CENTER", self.DruidMana, "CENTER", 0, 1)
			self.DruidMana.Text:SetFont(font, 12, "OUTLINE")
			self.DruidMana.Text:SetTextColor(1,1,1)
			self.DruidMana.Text:SetShadowOffset(1, -1)
		end
With those modifications druid mana bar will be shown only in cat/bear form.

Note:
Sometimes druid mana bar can stay for a few after shifting to caster and then hide.

Edit: Modified one part of the update code to optimize the speed for hiding druid mana bar and now it is slightly faster.
Last edited by CyberOto : 12-13-08 at 08:34 AM.
Report comment to moderator  
Reply With Quote
Unread 12-13-08, 05:16 AM  
CyberOto
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 44
Uploads: 2
Hi eiszeit,

Today tested your layout on my druid and after removed the commented part for druid mana bar the bar itself is shown, but no numbers are shown.

I presume there is no function set to update the druid mana bar ?
Report comment to moderator  
Reply With Quote
Unread 12-13-08, 05:05 AM  
CyberOto
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 44
Uploads: 2
Originally posted by Lokthan
Hey,

weiss jemand wie man einstellen kann dass man die HP auch bei 100% sieht?


Hey,

does someone know how to show the HP even at 100%?


Lokthan
Edit the layout.lua file around line 165. Change
Code:
bar.value:SetText(" ")
to
Code:
bar.value:SetText(""..numberize(maxhp).."")
This will show player health when you are at full health, You can modify likewise for target.

If you want to see all the time current health (not missing one) you will need to do some modifications to line 163 for player and line 171 for target.

Cheers
Report comment to moderator  
Reply With Quote
Unread 12-08-08, 06:09 PM  
Lokthan
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Hey,

weiss jemand wie man einstellen kann dass man die HP auch bei 100% sieht?


Hey,

does someone know how to show the HP even at 100%?


Lokthan
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.