Category: oUF: Layouts
Addon Information
Works with 3.2
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
p3lim's Portal Bug Reports Feature Requests

This file is a Addon for oUF by haste. You must have that installed before this Addon will work.

Author:
Version:
30200.2-Beta
Date:
08-25-2009 12:34 AM
Size:
5.70 Kb
Downloads:
34,049
Favorites:
208
MD5:
Pictures
Click to enlarge
Death Knight with pet and runes
Click to enlarge
debuffhighlight, portraits, reputation
Click to enlarge
Druid with focus and extra mana bar
Click to enlarge
player, focus, target, targettarget and all visible buffs/debuffs
oUF P3lim   Popular! (More than 5000 hits)
Description:
oUF P3lim is a layout plug-in made for the UnitFrame framework oUF.
It is required that you have this addon updated at all times to make everything work as it should.
You can download oUF by clicking on the link located under the "Download" button on the right.

oUF P3lim is just another layout, specifically customized for my own needs.
It's a personal layout, so don't get your hopes up when you want a new feature for it.
This layout is written to be easily read-able and be a good base to start your own layout on.
If you intend to do this, please give me some credit for all my work.


Features:
Supports for the following units
  • Player
  • Target
  • Pet/Vehicle
  • TargetTarget
  • Focus
As it doesn't include any party/group units, I suggest you get a different layout (or a different addon) for that job.

It also supports the following element plug-ins
Notes:
This layout is created for my own need, and is not an addon for every average user to use.
It has no configurations and if you want to change anything about the layout you will require some knowledge with Lua.


Click here and follow steps how to submit a bug
  Change Log - oUF P3lim
Full changelog can be found on GitHub:
http://github.com/p3lim/oUF_P3lim/commits/master/
  Archived Versions - oUF P3lim
File Name
Version
Size
Author
Date
30200.1-Beta
7kB
p3lim
08-08-2009 12:08 PM
30100.86
6kB
p3lim
07-28-2009 07:08 PM
30100.85
6kB
p3lim
07-19-2009 01:40 PM
30100.84
6kB
p3lim
07-15-2009 02:58 PM
30100.83
6kB
p3lim
06-25-2009 07:26 PM
30100.82
6kB
p3lim
06-11-2009 04:27 PM
30100.81
6kB
p3lim
06-01-2009 05:55 AM
30100.80
6kB
p3lim
05-24-2009 09:18 PM
30100.78
6kB
p3lim
05-20-2009 12:52 PM
30100.76
6kB
p3lim
05-08-2009 06:02 PM
30100.75
6kB
p3lim
04-21-2009 10:17 AM
30100.74
6kB
p3lim
04-19-2009 07:05 PM
30100.73
6kB
p3lim
04-19-2009 06:52 PM
30100.72
5kB
p3lim
04-17-2009 11:38 AM
30100.71
5kB
p3lim
04-14-2009 11:12 AM
30000.70
5kB
p3lim
04-14-2009 10:55 AM
30000.69
6kB
p3lim
04-09-2009 02:50 PM
30000.68
6kB
p3lim
04-08-2009 07:22 PM
30000.67
5kB
p3lim
03-29-2009 05:11 PM
30000.66
5kB
p3lim
03-20-2009 04:11 PM
30000.65
5kB
p3lim
03-11-2009 12:52 PM
30000.64
5kB
p3lim
03-09-2009 08:10 PM
30000.63
5kB
p3lim
02-27-2009 12:38 PM
30000.62
5kB
p3lim
02-25-2009 06:55 PM
30000.61
6kB
p3lim
02-15-2009 01:05 PM
30000.60
6kB
p3lim
02-15-2009 06:07 AM
30000.59
6kB
p3lim
02-14-2009 06:22 PM
  Comments - oUF P3lim
Post A Reply Comment Options
Old 02-28-2009, 11:57 AM  
Soulcleaver
A Fallenroot Satyr
Interface Author - Click to view interfaces

Forum posts: 24
File comments: 42
Uploads: 10
Quote:
Originally posted by p3lim
Why did you suddenly bring in a whole new function that had nothing to do with your issue?
bec this is the code that brings the problem.. when i change it to this it just "mess up" :/
Soulcleaver is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-28-2009, 11:41 AM  
p3lim
A Molten Giant
 
p3lim's Avatar
Interface Author - Click to view interfaces

Forum posts: 558
File comments: 838
Uploads: 19
Quote:
Originally posted by Soulcleaver
i tried but still dosn't work here the whole code of the UF's im using

Code:
oUF.Tags['[colorinfo]'] = function(unit)
	if(UnitIsTapped(unit) and not UnitIsTappedByPlayer(unit)) then
		return Hex(colors.tapped)
	elseif(not UnitIsConnected(unit)) then
		return Hex(colors.disconnected)
	elseif(not UnitIsPlayer(unit)) then
		return Hex(UnitSelectionColor(unit))
	else
		return Hex(unpack(oUF.colors.class[select(2, UnitClass(unit))]))
	end
end
hope u find my prob bec i get error when i target something :/

ty
Why did you suddenly bring in a whole new function that had nothing to do with your issue?
p3lim is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-28-2009, 10:08 AM  
Soulcleaver
A Fallenroot Satyr
Interface Author - Click to view interfaces

Forum posts: 24
File comments: 42
Uploads: 10
Quote:
Originally posted by p3lim
Yeah Ive changed the code, only replace the line that I replaced, not the whole function.
Quote:
Originally posted by p3lim
Yeah Ive changed the code, only replace the line that I replaced, not the whole function.
i tried but still dosn't work here the whole code of the UF's im using

Code:
oUF.Tags['[colorinfo]'] = function(unit)
	if(UnitIsTapped(unit) and not UnitIsTappedByPlayer(unit)) then
		return Hex(colors.tapped)
	elseif(not UnitIsConnected(unit)) then
		return Hex(colors.disconnected)
	elseif(not UnitIsPlayer(unit)) then
		return Hex(UnitSelectionColor(unit))
	else
		return Hex(unpack(oUF.colors.class[select(2, UnitClass(unit))]))
	end
end
hope u find my prob bec i get error when i target something :/

ty
Soulcleaver is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-28-2009, 08:06 AM  
p3lim
A Molten Giant
 
p3lim's Avatar
Interface Author - Click to view interfaces

Forum posts: 558
File comments: 838
Uploads: 19
Quote:
Originally posted by Soulcleaver
hi im using the newest version of urs and i get this error when i use ur "classcolor" code when i target other than myself...

Yeah Ive changed the code, only replace the line that I replaced, not the whole function.
p3lim is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-28-2009, 07:20 AM  
Soulcleaver
A Fallenroot Satyr
Interface Author - Click to view interfaces

Forum posts: 24
File comments: 42
Uploads: 10
Quote:
Originally posted by p3lim
Ive decided to not put any mana values on target frame. Youre free to add a power tag to a custom layout ofcourse, but this layout is my personal style, and I dont add things I dont need

Namecolored names?
I guess you mean classcolored, but its quite simple:
At line 53 you find the following function
Code:
oUF.Tags['[colorinfo]'] = function(u)
	if(UnitIsTapped(u) and not UnitIsTappedByPlayer(u)) then
		return Hex(colors.tapped)
	elseif(not UnitIsConnected(u)) then
		return Hex(colors.disconnected)
	elseif(not UnitIsPlayer(u)) then
		return Hex(UnitSelectionColor(u))
	else
		return Hex(1, 1, 1)
	end
end
change that to
Code:
oUF.Tags['[colorinfo]'] = function(u)
	if(UnitIsTapped(u) and not UnitIsTappedByPlayer(u)) then
		return Hex(colors.tapped)
	elseif(not UnitIsConnected(u)) then
		return Hex(colors.disconnected)
	elseif(not UnitIsPlayer(u)) then
		return Hex(UnitSelectionColor(u))
	else
		return oUF.Tags['[raidcolor]'](u)
	end
end
hi im using the newest version of urs and i get this error when i use ur "classcolor" code when i target other than myself...

Soulcleaver is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-27-2009, 11:29 PM  
xcore
A Kobold Labourer

Forum posts: 0
File comments: 11
Uploads: 0
Quote:
Originally posted by p3lim
replace '1, 1, 1' with 'unpack(oUF.colors.class[select(2, UnitClass(unit))])'
works perfect for me !! very thx dude
xcore is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-27-2009, 09:54 AM  
p3lim
A Molten Giant
 
p3lim's Avatar
Interface Author - Click to view interfaces

Forum posts: 558
File comments: 838
Uploads: 19
Quote:
Originally posted by xcore
hey p3lim,
thx for your fast answer.
i got the manadisplay working
but the classcoloring dont work for me ...
the problem is that i use an older version of the layout and cant use ur code :/
my colorfunktion is in the follow format:
Code:
local function UpdateInfoColor(self, unit)
	if(UnitIsTapped(unit) and not UnitIsTappedByPlayer(unit)) then
		return self['SetTextColor'](self, unpack(oUF.colors.tapped))
	elseif(UnitIsDead(unit) or UnitIsGhost(unit) or not UnitIsConnected(unit)) then
		return self['SetTextColor'](self, unpack(oUF.colors.disconnected))
	elseif(not UnitIsPlayer(unit)) then
		return self['SetTextColor'](self, unpack({UnitSelectionColor(unit)} or oUF.colors.health))
	else
		return self['SetTextColor'](self, 1, 1, 1)
	end
end
is it possible to get this work whit this version?
greez
replace '1, 1, 1' with 'unpack(oUF.colors.class[select(2, UnitClass(unit))])'
p3lim is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-27-2009, 05:45 AM  
xcore
A Kobold Labourer

Forum posts: 0
File comments: 11
Uploads: 0
hey p3lim,
thx for your fast answer.
i got the manadisplay working
but the classcoloring dont work for me ...
the problem is that i use an older version of the layout and cant use ur code :/
my colorfunktion is in the follow format:
Code:
local function UpdateInfoColor(self, unit)
	if(UnitIsTapped(unit) and not UnitIsTappedByPlayer(unit)) then
		return self['SetTextColor'](self, unpack(oUF.colors.tapped))
	elseif(UnitIsDead(unit) or UnitIsGhost(unit) or not UnitIsConnected(unit)) then
		return self['SetTextColor'](self, unpack(oUF.colors.disconnected))
	elseif(not UnitIsPlayer(unit)) then
		return self['SetTextColor'](self, unpack({UnitSelectionColor(unit)} or oUF.colors.health))
	else
		return self['SetTextColor'](self, 1, 1, 1)
	end
end
is it possible to get this work whit this version?
greez
xcore is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-26-2009, 12:53 PM  
p3lim
A Molten Giant
 
p3lim's Avatar
Interface Author - Click to view interfaces

Forum posts: 558
File comments: 838
Uploads: 19
Quote:
Originally posted by xcore
hi - thx for that awesome style!

i have 2 little questions - is it possible to get namecolored names? the code you posted for this just colored the names in my classcolor
and last1 - is it possible to add mana from target (like 14000/16000 or just 14000). that would be amazing
thx and greez
Ive decided to not put any mana values on target frame. Youre free to add a power tag to a custom layout ofcourse, but this layout is my personal style, and I dont add things I dont need

Namecolored names?
I guess you mean classcolored, but its quite simple:
At line 53 you find the following function
Code:
oUF.Tags['[colorinfo]'] = function(u)
	if(UnitIsTapped(u) and not UnitIsTappedByPlayer(u)) then
		return Hex(colors.tapped)
	elseif(not UnitIsConnected(u)) then
		return Hex(colors.disconnected)
	elseif(not UnitIsPlayer(u)) then
		return Hex(UnitSelectionColor(u))
	else
		return Hex(1, 1, 1)
	end
end
change that to
Code:
oUF.Tags['[colorinfo]'] = function(u)
	if(UnitIsTapped(u) and not UnitIsTappedByPlayer(u)) then
		return Hex(colors.tapped)
	elseif(not UnitIsConnected(u)) then
		return Hex(colors.disconnected)
	elseif(not UnitIsPlayer(u)) then
		return Hex(UnitSelectionColor(u))
	else
		return oUF.Tags['[raidcolor]'](u)
	end
end
p3lim is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-26-2009, 01:26 AM  
xcore
A Kobold Labourer

Forum posts: 0
File comments: 11
Uploads: 0
hi - thx for that awesome style!

i have 2 little questions - is it possible to get namecolored names? the code you posted for this just colored the names in my classcolor
and last1 - is it possible to add mana from target (like 14000/16000 or just 14000). that would be amazing
thx and greez

Last edited by xcore : 02-26-2009 at 01:26 AM.
xcore is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-21-2009, 03:18 PM  
Victor Mizer
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
p3lim, could you tell me how to get class color names again. Your code seems to have changed since the last time you told me.
Victor Mizer is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-20-2009, 09:51 AM  
p3lim
A Molten Giant
 
p3lim's Avatar
Interface Author - Click to view interfaces

Forum posts: 558
File comments: 838
Uploads: 19
Quote:
Originally posted by natarb
why i cant see party frame in you mod?
Because there aren't any..
p3lim is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-20-2009, 09:47 AM  
natarb
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
why i cant see party frame in you mod?
natarb is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-18-2009, 08:50 PM  
p3lim
A Molten Giant
 
p3lim's Avatar
Interface Author - Click to view interfaces

Forum posts: 558
File comments: 838
Uploads: 19
Quote:
Originally posted by ant1pathy
Not looking to get rid of the Rune bar, looking to hide the Runic Power bar. Since I have the number there, I don't need the bar too.
The runic bar would be the actual power bar.
p3lim is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-18-2009, 08:50 PM  
p3lim
A Molten Giant
 
p3lim's Avatar
Interface Author - Click to view interfaces

Forum posts: 558
File comments: 838
Uploads: 19
Quote:
Originally posted by Zunra
I'm not able to set/remove a "Focus Target". I'll allways get the Blizzard "Action Blocked" error.
That is an issue every single unitframe addon has, because blizzard has that secured and reserved for themselves only.
p3lim is offline Report comment to moderator   Edit/Delete Message 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.




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.