Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(279 Kb)
Download
Updated: 10-14-14 04:13 PM
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.2)
Updated:10-14-14 04:13 PM
Created:02-03-11 11:34 AM
Downloads:37,361
Favorites:208
MD5:
Categories:Unit Mods, Combat Mods
KuiNameplates  Popular! (More than 5000 hits)
Version: 243
by: Kesava [More]
Prettier, pixel-perfect nameplates with auras. Configurable through interface options (open with /knp or /kuinameplates).

Class colours on hostile players can be enabled in the default interface options, under "Names" - check "Class Colors in Nameplates" at the bottom right.

If you're having issues with nameplates being in incorrect locations or being unclickable, first try unchecking the "Fix aliasing" option in configuration.

More up to date versions can often be found on Curse. Please try using that version before reporting a bug.

Current features:
  • All of the default nameplate features
  • Pixel perfect!
  • Auras!
  • Combo points
  • Tank mode - recolour health bars when you have threat (enable by checking "Enable tank mode" in options)
  • Customisable display of health for friendly or enemy units
  • Pretty fading in/out of frames (disable by unchecking "Smoothly fade" in options)
  • Automatic toggling of nameplates when you enter or exit combat (enable by checking "Auto toggle in combat" in options)
  • Cast & incoming healing warnings, useful for PVP (disabled by default, check "Show cast warnings" in options)
  • Configuration profiles
Health display patterns:
The text to display for health on different frames is determined by two simple patterns: one for friendly frames and one for neutral and hostile frames. These patterns can be changed in the options dialog (/knp). They must make use of specific conditions and results, in the following format:
condition1:result1;condition2:result2;condition3:result3;
There must be at least one condition (and one result). Any other conditions are optional.

Possible conditions are:
"=" When the unit is at maximum health...
"<" When the unit's health is less than maximum...
"=<" When the unit's health is either less than maximum or at maximum...
Possible results are:
"m" ... Display their maximum health (i.e. 123.4k).
"d" ... Display their health deficit (i.e. -46.5k).
"p" ... Display their health percentage.
"c" ... Display their current health (i.e. 76.9k).
"b" ... Display nothing.
The patterns used by default are:
Friendly units: =:m;<:d;
Which means:
When the unit is at maximum health:Display their maximum health;
When they're below maximum health:Display their health deficit;
Hostile units: <:p;
Which means:
When the unit is below maximum health:Display their health percentage;
Planned features:
  • Frame blacklisting
  • Stuff I can't remember
243
* fix issue where auras were not updated on mouseover frames
* fix an issue where auras and other such things would sometimes appear on the wrong frame
* add support for combo points' anticipation stacks
* change colouration of the addons' titles, so that they don't break alphabetic sorting on the addon list
* bump TOC

Change log for previous versions available on CurseForge.
Archived Files (1)
File Name
Version
Size
Author
Date
240
278kB
Kesava
07-18-14 02:07 PM


Post A Reply Comment Options
Unread 04-10-13, 01:07 PM  
duhwhat
A Cyclonian

Forum posts: 48
File comments: 224
Uploads: 0
any chance of a version without pixel fonts? i find them very unreadable.
duhwhat is offline Report comment to moderator  
Reply With Quote
Unread 04-10-13, 03:57 PM  
Kesava
A Defias Bandit
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 172
Uploads: 3
It doesn't have any pixel fonts by default. It's just aligned so that the individual elements of frames aren't blurred - something that's tricky to do with the default UI's nameplates without just disabling AA.
Kesava is offline Report comment to moderator  
Reply With Quote
Unread 04-10-13, 08:32 PM  
Massiveunit
A Theradrim Guardian
 
Massiveunit's Avatar

Forum posts: 62
File comments: 18
Uploads: 0
Hey,
Wanted to give u a shout out. Great addon, use it with real UI. Looks great and works well with it!
Thxs,
Massive
Massiveunit is offline Report comment to moderator  
Reply With Quote
Unread 04-11-13, 03:03 PM  
Kesava
A Defias Bandit
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 172
Uploads: 3
Originally Posted by Massiveunit
...
Thank you!

Originally Posted by Tonyleila
1...
I'll have config for size/position soonish. Forcing myself to do a rewrite of the main layout code first, though.

Originally Posted by Tonyleila
2...
I'll look for a solution, yes.

Originally Posted by Tonyleila
3...
That'll probably be an option, since it's simple to add.
Last edited by Kesava : 04-11-13 at 03:03 PM.
Kesava is offline Report comment to moderator  
Reply With Quote
Unread 04-11-13, 04:52 PM  
luigee91
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 38
Uploads: 3
Best nameplate addon ever.
luigee91 is offline Report comment to moderator  
Reply With Quote
Unread 04-12-13, 09:21 PM  
Nibelheim
local roygbi-
 
Nibelheim's Avatar
Featured Addon Author

Forum posts: 1550
File comments: 2310
Uploads: 50
Would it be possible to offset the FontStrings by x 0.5 and y 0.5 in future updates? This stops the text from bouncing around

Ohh, or better yet, custom Text Offset settings

Thanks! Love the AddOn
Last edited by Nibelheim : 04-12-13 at 09:34 PM.
Nibelheim is offline Report comment to moderator  
Reply With Quote
Unread 04-13-13, 02:52 PM  
akgis
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 29
File comments: 78
Uploads: 4
How do I move the Name text a few pixels up

And remove the alpha from the HP text.

I knew how to do it on old versions cant find how in the new version
__________________
akgis is offline Report comment to moderator  
Reply With Quote
Unread 04-13-13, 09:34 PM  
Nibelheim
local roygbi-
 
Nibelheim's Avatar
Featured Addon Author

Forum posts: 1550
File comments: 2310
Uploads: 50
Me again Just wondering about something. What's the philosophy behind the Font Scaling your using?

I'm currently using Pixel Fonts in my UI, and to keep the fonts on the Nameplates the correct size across all resolutions I set the Font Scale = (768 * Font Size Difference) / Screen Height. Like so:

Lua Code:
  1. local kn = LibStub('AceAddon-3.0'):GetAddon('KuiNameplates')
  2. local screenHeight = string.match(({GetScreenResolutions()})[GetCurrentResolution()], "%d+x(%d+)")
  3. kn.db.profile.fonts.options.fontscale = ceil(((768 * (8 / kn.defaultSizes.font.name)) / screenHeight) * 100) / 100
  4. for key, _ in pairs(kn.defaultSizes.font) do
  5.     ScaleFontSize(key)
  6. end
  7. for _, frame in pairs(kn.frameList) do
  8.     kn.configChangedFuncs.fontscale(frame.kui, kn.db.profile.fonts.options.fontscale)
  9. end

Perhaps an auto-scaling and default font size option in the future?
Just a suggestion
Last edited by Nibelheim : 04-13-13 at 10:55 PM.
Nibelheim is offline Report comment to moderator  
Reply With Quote
Unread 04-14-13, 02:00 AM  
Piefayth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 2
How can I move the y coordinate of the name text up or down slightly? It seems like I can change it for the trivial nameplates easily, but no matter what I do I can't modify the regular ones.
Piefayth is offline Report comment to moderator  
Reply With Quote
Unread 04-14-13, 10:34 AM  
TheGeek
A Firelord
 
TheGeek's Avatar
AddOn Author - Click to view AddOns

Forum posts: 494
File comments: 197
Uploads: 8
Latest update is broke; you cant turn off cast bars no matter how many times you select it.
__________________
TheGeek is offline Report comment to moderator  
Reply With Quote
Unread 04-14-13, 11:49 AM  
Kesava
A Defias Bandit
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 172
Uploads: 3
Originally Posted by Piefayth
How can I move the y coordinate of the name text up or down slightly? It seems like I can change it for the trivial nameplates easily, but no matter what I do I can't modify the regular ones.
Originally Posted by akgis
How do I move the Name text a few pixels up

And remove the alpha from the HP text.

I knew how to do it on old versions cant find how in the new version
Use custom.lua: rename Kui_Nameplates/custom-rename-me.lua to custom.lua, and insert this code (or whatever) after the line: "function mod:PostShow(msg, frame)":
Lua Code:
  1. frame.name:SetPoint('LEFT', frame.level, 'RIGHT', -2, [your y offset])
  2. f.health.mo:SetAlpha(1)
Assuming you have levels enabled. That particular code will break if you don't but I gather you can work that out. You'll also have to restart WoW to get it to recognise the new file, if you didn't already have a custom.lua.

Originally Posted by Nibelheim
Me again Just wondering about something. What's the philosophy behind the Font Scaling your using?
Because I set the parent differently depending on the setting of "fix aliasing", I have to scale everything down/up (i.e. divide it by UIParent:GetEffectiveScale()) in order to make everything look the same size whether fixaa is enabled or not. Specifically, when it's enabled I have to scale sizes up if you have a screen height of, say, 1080. For frame sizes, that's to keep things pixel-perfect - for fonts it's purely to make the size setting consistent, so you don't have to directly change the font scale option if you dis/enable fixaa. I may be able to get rid of all that scaling fuss in the next version, I'm not sure yet.

Custom text offset: yes

Originally Posted by TheGeek
Latest update is broke; you cant turn off cast bars no matter how many times you select it.
Verified. It's been a while, actually. Next version.

Thanks!
Last edited by Kesava : 04-14-13 at 11:52 AM.
Kesava is offline Report comment to moderator  
Reply With Quote
Unread 04-14-13, 11:57 AM  
Nibelheim
local roygbi-
 
Nibelheim's Avatar
Featured Addon Author

Forum posts: 1550
File comments: 2310
Uploads: 50
Originally Posted by Kesava
Because I set the parent differently depending on the setting of "fix aliasing", I have to scale everything down/up (i.e. divide it by UIParent:GetEffectiveScale()) in order to make everything look the same size whether fixaa is enabled or not. Specifically, when it's enabled I have to scale sizes up if you have a screen height of, say, 1080. For frame sizes, that's to keep things pixel-perfect - for fonts it's purely to make the size setting consistent, so you don't have to directly change the font scale option if you dis/enable fixaa. I may be able to get rid of all that scaling fuss in the next version, I'm not sure yet.

Custom text offset: yes
Many thanks
Nibelheim is offline Report comment to moderator  
Reply With Quote
Unread 04-14-13, 04:27 PM  
Piefayth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 2
Originally Posted by Kesava
Originally Posted by Piefayth
How can I move the y coordinate of the name text up or down slightly? It seems like I can change it for the trivial nameplates easily, but no matter what I do I can't modify the regular ones.
Originally Posted by akgis
How do I move the Name text a few pixels up

And remove the alpha from the HP text.

I knew how to do it on old versions cant find how in the new version
Use custom.lua: rename Kui_Nameplates/custom-rename-me.lua to custom.lua, and insert this code (or whatever) after the line: "function mod:PostShow(msg, frame)":
Lua Code:
  1. frame.name:SetPoint('LEFT', frame.level, 'RIGHT', -2, [your y offset])
  2. f.health.mo:SetAlpha(1)
Assuming you have levels enabled. That particular code will break if you don't but I gather you can work that out. You'll also have to restart WoW to get it to recognise the new file, if you didn't already have a custom.lua.
Excuse my ignorance, but what if I don't have levels enabled? I tried half an hour's worth of things and just managed to break it more and more hilariously as I went.
Piefayth is offline Report comment to moderator  
Reply With Quote
Unread 04-14-13, 07:17 PM  
Kesava
A Defias Bandit
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 172
Uploads: 3
Originally Posted by Piefayth
Excuse my ignorance, but what if I don't have levels enabled? I tried half an hour's worth of things and just managed to break it more and more hilariously as I went.
Use this line instead:
Lua Code:
  1. frame.name:SetPoint('BOTTOMLEFT', frame.health, 'TOPLEFT', 2, [your y offset])
For reference, the function which creates the name text is at the bottom of create.lua.
Kesava is offline Report comment to moderator  
Reply With Quote
Unread 04-15-13, 04:39 AM  
Piefayth
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 2
Originally Posted by Kesava
Originally Posted by Piefayth
Excuse my ignorance, but what if I don't have levels enabled? I tried half an hour's worth of things and just managed to break it more and more hilariously as I went.
Use this line instead:
Lua Code:
  1. frame.name:SetPoint('BOTTOMLEFT', frame.health, 'TOPLEFT', 2, [your y offset])
For reference, the function which creates the name text is at the bottom of create.lua.
Hah, I had the right region just never the right combination of points. Works perfect! Thanks a bunch, love your addon.
Piefayth 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.