Thread Tools Display Modes
03-05-09, 09:09 AM   #1
Soulcleaver
A Theradrim Guardian
AddOn Author - Click to view addons
Join Date: Dec 2007
Posts: 65
Classcolor text names

hi im looking for p3lim with classcolored names ive tried but fails.. anyone that couldve helped^^?
  Reply With Quote
03-05-09, 09:39 AM   #2
Mera
Retired of WoW, In ESO :)
 
Mera's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 331
p3lim is a human user and he can't be colored
__________________
If you need to reach me I'm in ESO, @class101 or "Fathis Ules i"
addons: SpamBayes, BrokerCPU
projects: ThunderBayes
Mera[xeh]? - La CroisadeEcarlate (wow)
  Reply With Quote
03-05-09, 10:59 AM   #3
Fuzzywuzzy
A Black Drake
 
Fuzzywuzzy's Avatar
Join Date: Oct 2007
Posts: 84
Originally Posted by Mera View Post
p3lim is a human user and he can't be colored
Ever heard of paint?


If it has anything to do with his oUF unit frames you might better off asking him.
  Reply With Quote
03-05-09, 11:04 AM   #4
Zyonin
Coffee powered Kaldorei
 
Zyonin's Avatar
AddOn Author - Click to view addons
Join Date: May 2006
Posts: 1,443
Originally Posted by Soulcleaver View Post
hi im looking for p3lim with classcolored names ive tried but fails.. anyone that couldve helped^^?
If you are looking for p3lim's oUF layout but with the target's name using Raid Coloring (aka class colors), then you need to roll up your sleeves and hello to a little thing called Lua. Don't be scared, it won't bite...
__________________
Twitter
  Reply With Quote
03-07-09, 09:53 AM   #5
Soulcleaver
A Theradrim Guardian
AddOn Author - Click to view addons
Join Date: Dec 2007
Posts: 65
Originally Posted by Lykofos View Post
If you are looking for p3lim's oUF layout but with the target's name using Raid Coloring (aka class colors), then you need to roll up your sleeves and hello to a little thing called Lua. Don't be scared, it won't bite...
ive tried but fails.. i said before:P

i tried in lua but the thing i get is i can see myself as classcolored but target something else i get error.. thats the best ive done and canæt get it right:/
  Reply With Quote
03-07-09, 11:17 AM   #6
Zyonin
Coffee powered Kaldorei
 
Zyonin's Avatar
AddOn Author - Click to view addons
Join Date: May 2006
Posts: 1,443
Originally Posted by Soulcleaver View Post
ive tried but fails.. i said before:P

i tried in lua but the thing i get is i can see myself as classcolored but target something else i get error.. thats the best ive done and canæt get it right:/
OK look for this bit of text:
Code:
if(unit == 'target') then
			self:Tag(info, '[colorinfo][name]|r |cff0090ff[smartlevel] [rare]|r')
		else
			self:Tag(info, '[colorinfo][name]|r')
		end
And change it to this:
Code:
if(unit == 'target') then
			self:Tag(info, '[raidcolor][name]|r |cff0090ff[smartlevel] [rare]|r')
		else
			self:Tag(info, '[raidcolor][name]|r')
                end
Basically you are replacing the tag [colorinfo] with the tag [raidcolor]. [colorinfo] is p3lim's custom tag to color your target name by whether or not its been tapped by you, dead or offline. [raidcolor] is a default oUF tag to display the Raid Color (aka class coloring] of your target. Tell me how this works out.

Another option is use the target's power bar (mana/energy/rage/runic power bar) to indicate the target class (and not change the target name's code)

Look for this code:
Code:
	self.Power.colorTapping = true
	self.Power.colorDisconnected = true
	self.Power.colorClass = true
	self.Power.colorReaction = true
and change to:
Code:
	self.Power.colorTapping = false
	self.Power.colorDisconnected = false
	self.Power.colorClass = true
	self.Power.colorReaction = false
This will set the Power Bar exclusively to Class coloring and not show any other type of color (tapped, DCed, reaction). Choose one or both. The bar option is the easiest in IMHO, however I am not an expert in lua (far from it).

I would have given my previous answer in greater detail in my previous post, however as I about to go sorting through my Frankenstein of an oUF layout, my beat up old PC decided to go on strike (it must work in the Italian transport sector), again.
__________________
Twitter

Last edited by Zyonin : 03-07-09 at 11:33 AM.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Search/Requests » Classcolor text names


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off