Download
(1 MB)
Download
Updated: 06-14-13 04:39 AM
Pictures
File Info
Compatibility:
Escalation (5.3)
Thunder Isle (5.2)
Landfall (5.1)
Mists of Pandaria (5.0.4)
Updated:06-14-13 04:39 AM
Created:07-01-09 01:57 AM
Downloads:125,605
Favorites:509
MD5:
5.3
caelNameplates  Updated this week!  Popular! (More than 5000 hits)
Version: r25 140613
by: Caellian [More]
DESCRIPTION

Sexy Nameplates addon


SOME FEATURES

* Reskinned the default nameplates: both health and castbar.

* Reskinned the aggro colouring system.

* Reuse Blizzard code keeping memory usage down to around 16kb.

* Automatically enable nameplates when entering combat. (can be disabled through slash command)

* Automatically disable nameplates when leaving combat. (can be disabled through slash command)

* Hidden level text if the unit is not elite and same level as the player.

* Cast timer added to the left of the castbar.
r25 140613
- Fixed raid icons not showing

r24 080613
- Toc Update
- Sort of back to the old style

r23 040513
- Toc Update
- Minor improvements

r22 011212
- Fixed nameplates blinking

r21 301112
- Updated for 5.1
- Auto toggle turned on by default

r20 011211
- Updated for 4.3

r19 301011
- Updated for 4.2

100311 r18
- Fixed autotoggle error.

041210 r17
- toc update
- Force some cvar settings from within the addon

260610 r16
- Autotoggle slash command triggering a nil error has been fixed. Windows doesn't care much about caps in folder names.

210610 r15
- Fixed silly typo

210610 r14
- Increased healthbar/castbar height slightly
- New name shortening system
- Shamelessly copied Dawn's cast icon position
- Removed some unused frames/textures
- Added a slash command to enable/disable auto toggling in/out of combat (/caelnameplates autotoggle)

100610 r13
- Loads of code improvements/cleanup
- New texture
- New font
- Custom colors to the threat glow to make it more noticeable
- Added a castbar icon
- Name shortening to fit the nameplate width
- Readded the automatic enable/disable upon entering/leaving combat
- The addon now comes with my media folder and library to match the version in my UI
- More minor stuff

140210 r12
- Toc update
- Slightly reduced the glow effect
- Slightly increased the nameplates height
- Changed the texture to match my oUF layout
- Disabled auto toggling nameplates in combat

120809 r11
- Fixed the cast timer for channeling spells

090809 r10
- Fixed priest color
- Fixed the castbar once and for all ?
- Non interruptible spells will turn the castbar red with a bright white glow (temporary colors)
- Added a cast timer, left of the castbar

070809 r9
- Fixed the castbar for real this time (step 2)

060809 r8
- Fixed the castbar for real this time (step 1)

040809 r7
- Toc update
- Temp fix to work with 3.2 (disable the castbar for now)

240709 r6
- Added support for class colors if enabled in Blizzard options
- Moved the raid icons so they don't overlap the level

140709 r5
- Fixed the castbar not reanchoring properly to its own nameplate

120709 r4
- Castbar now also skinned, you need to enable it in Blizzard options

100709 r3
- Changed the level display behavior, the unit's level will only be shown if not elite and different from the player's level

060709 r2
- Actually uploaded the correct texture

010709 r1
- Initial release
Post A Reply Comment Options
Old 07-02-10, 12:48 PM  
Lomk
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
Thumbs up Re: Re: Re: Re: Frame strata.

Originally posted by Gotai
@Lomk: Change
Code:
	local oldName = self.oldname:GetText()
	local newName = (string.len(oldName) > 20) and string.gsub(oldName, "%s?(.[\128-\191]*)%S+%s", "%1. ") or oldName -- "%s?(.)%S+%s"
to:
Code:
	local nameString = self.oldname:GetText()
	if string.len(nameString) < 22 then
		self.name:SetText(nameString)
	else
		self.name:SetFormattedText(nameString:sub(0, 19).." ...")
	end
Thank you kindly. Had also to remove self.name:SetText(newName). ^_^
Last edited by Lomk : 07-02-10 at 12:48 PM.
Lomk is offline Report comment to moderator  
Reply With Quote
Old 07-01-10, 02:39 PM  
Gotai
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 133
Uploads: 10
Re: Re: Re: Frame strata.

@Elthar: Odd, will have to look into this. Guessing it's an issue with frame levels, but will need to test this when I come back from vacation. Added to the todo list anyway.

@feraldrood: /caelnameplates autotoggle

@Kelem: And your problem is what exactly? It makes things easy for us, and was designed to take away the need for all seperate caelUI addons to each hold the same media file. This will not change, and honestly, there is hardly any difference from embedding the media files in caelNameplates from a user point of view.

@Lomk: Change
Code:
	local oldName = self.oldname:GetText()
	local newName = (string.len(oldName) > 20) and string.gsub(oldName, "%s?(.[\128-\191]*)%S+%s", "%1. ") or oldName -- "%s?(.)%S+%s"
to:

Code:
	local nameString = self.oldname:GetText()
	if string.len(nameString) < 22 then
		self.name:SetText(nameString)
	else
		self.name:SetFormattedText(nameString:sub(0, 19).." ...")
	end
Gotai is offline Report comment to moderator  
Reply With Quote
Old 07-01-10, 11:33 AM  
Elthar
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Re: Re: Frame strata.

Originally posted by Caellian
Try it again but disable the nameplates overlapping option in Blizzard panel.
Uhm... actually i want them to be able to overlap, the issue is that the healthbars "melt" together and the backdrop that deline the end of the healthbar itself seems to disappear when two or more bars overlap each other.
Elthar is offline Report comment to moderator  
Reply With Quote
Old 07-01-10, 08:35 AM  
Caellian
A Chromatic Dragonspawn
 
Caellian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 185
File comments: 941
Uploads: 5
Re: Frame strata.

Originally posted by Elthar

Then here it goes the, obvious, request Sorry 'about it.
Try it again but disable the nameplates overlapping option in Blizzard panel.
__________________
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }
Caellian is online now Report comment to moderator  
Reply With Quote
Old 07-01-10, 07:37 AM  
Elthar
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Frame strata.

Greetings,
first of all a "Thank you" is in order.
Then here it goes the, obvious, request Sorry 'about it.

I've noticed that with the latest version there is some issue with the levels of the nameplates.
I'll explain further:

1) Scenario 1:
Something is targeted.
- Any nameplate under the targeted is perfectly visible and the background (Backdrop?) of the selected nameplates is working as intended marking the border of the healthbar of the selected mob.
- Any nameplate that is not selected and is not under the selected one is perfectly defined even in overlapping situation.
- The Healthbar and it's Name are on top, everything else is behind.



2) Scenario 2:
No target:
- A single nameplate is working perfectly, no issue.
- When two or more nameplates overlap the backdrop disappear in the common part of the healthbar, merging the two of them. No lines can be seen and it looks like a single long bar.




- Unitnames that should be behind the nearest nameplates are on a higher frame level than the healthbar. Resulting in some weird stuff.



I hope i've been clear enough. It's my understanding that something is wrong/can be fixed with the strata level of the different nameplate's components.

I'd appreciate if someone could give me a clue where to look exactly i'm kinda out of ideas at this point. Most likely while i might be able to edit a single bar i got no clue about the interaction with one another.

Thanks in advance.
Last edited by Elthar : 07-01-10 at 07:47 AM.
Elthar is offline Report comment to moderator  
Reply With Quote
Old 06-30-10, 09:25 PM  
feraldrood
An Aku'mai Servant
 
feraldrood's Avatar

Forum posts: 37
File comments: 29
Uploads: 0
"Automatically enable nameplates when entering combat. (can be disabled through slash command)"

Sorry, what is the slash command for this?

great addon, ty for your time
feraldrood is offline Report comment to moderator  
Reply With Quote
Old 06-29-10, 03:12 PM  
Lomk
A Kobold Labourer

Forum posts: 0
File comments: 14
Uploads: 0
Red face Name Abbreviations

Hi again. Read the last 5 pages and didn't found anything to help me.
What should i do to make the old way to shorten names? Like it was putting "..." after X symbols.
Found the code. But don't know how to change it to my need. =(
Code:
	local oldName = self.oldname:GetText()
	local newName = (string.len(oldName) > 20) and string.gsub(oldName, "%s?(.[\128-\191]*)%S+%s", "%1. ") or oldName -- "%s?(.)%S+%s"

	self.name:SetText(newName)
P.S.: Don't really like the new way. It kinda spoils the game for me. And adds too many funny abbreviations to it...
Lomk is offline Report comment to moderator  
Reply With Quote
Old 06-24-10, 02:43 PM  
Talyrius
A Frostmaul Preserver
 
Talyrius's Avatar
AddOn Author - Click to view AddOns

Forum posts: 265
File comments: 254
Uploads: 1
Re: Colours

Originally posted by Canuk
Since 3.3.5 hit, the name plates in PvP haven't been colour-coding by class, does anyone know if this was removed or if I've just somehow broken something?
That is a Blizzard setting in your Interface Options.
Talyrius is offline Report comment to moderator  
Reply With Quote
Old 06-24-10, 12:33 PM  
Canuk
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 4
Uploads: 1
Colours

Since 3.3.5 hit, the name plates in PvP haven't been colour-coding by class, does anyone know if this was removed or if I've just somehow broken something?
Canuk is offline Report comment to moderator  
Reply With Quote
Old 06-24-10, 09:04 AM  
Gotai
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 5
File comments: 133
Uploads: 10
Re: Slash command

The fix in r15 required a fresh install of the addon, so remove the folder then extract. I've uploaded a fix that doesn't require this. Sorry for the inconvenience and thanks for reporting the issue.
Last edited by Gotai : 06-24-10 at 09:04 AM.
Gotai is offline Report comment to moderator  
Reply With Quote
Old 06-24-10, 08:36 AM  
Sere
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Slash command

Hello, I love your addon but with the newest version when I use the slash command to enable the auto-toggle, whenever I enter or leave combat I'm getting this error:

Code:
Message: Interface\AddOns\caelNameplates\caelNamePlates.lua:8: attempt to call field '?' (a nil value)
Time: 06/24/10 09:31:51
Count: 2
Stack: [C]: in function `?'
Interface\AddOns\caelNameplates\caelNamePlates.lua:8: in function <Interface\AddOns\caelNameplates\caelNamePlates.lua:6>

Locals:
Sere is offline Report comment to moderator  
Reply With Quote
Old 06-23-10, 11:10 AM  
jbbuena
A Defias Bandit

Forum posts: 2
File comments: 5
Uploads: 0
I would just like to say thank you for the new layout. I like it better than the old one. I don't know anything about LUA so I'm using it as is out-of-the-box. Love this mod!
jbbuena is offline Report comment to moderator  
Reply With Quote
Old 06-23-10, 07:32 AM  
Caellian
A Chromatic Dragonspawn
 
Caellian's Avatar
AddOn Author - Click to view AddOns

Forum posts: 185
File comments: 941
Uploads: 5
Originally posted by Imperfection


Is it normal?
Yes it is.
__________________
if (sizeof(workload) > sizeof(brain_capacity)) { die('System Overload'); }
Caellian is online now Report comment to moderator  
Reply With Quote
Old 06-23-10, 03:56 AM  
Talyrius
A Frostmaul Preserver
 
Talyrius's Avatar
AddOn Author - Click to view AddOns

Forum posts: 265
File comments: 254
Uploads: 1
Originally posted by Imperfection


Is it normal?
Line 245:
Code:
spellIconRegion:SetPoint("LEFT", castBar, caelLib.scale(8), 0)
Change to:
Code:
spellIconRegion:SetPoint(""LEFT", castBar, "RIGHT", caelLib.scale(8), 0)
Talyrius is offline Report comment to moderator  
Reply With Quote
Old 06-23-10, 01:08 AM  
Talyrius
A Frostmaul Preserver
 
Talyrius's Avatar
AddOn Author - Click to view AddOns

Forum posts: 265
File comments: 254
Uploads: 1
Originally posted by Jeryes
Also I followed those instructions to Make the names of mobs appear in the middle rather than to the left. But.. yes I'm kind of picky in saying this. Is there a way to move the Name texts up a bit? Its overlapping on the health bars a bit. lol thanks!
Code:
newNameRegion:SetPoint("BOTTOM", healthBar, "TOP", 0, 2)
Change the second number.
Last edited by Talyrius : 06-23-10 at 01:09 AM.
Talyrius is offline 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.