Download
(286 Kb)
Download
Updated: 01-12-14 10:58 AM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Updated:01-12-14 10:58 AM
Created:02-03-11 10:34 AM
Downloads:33,918
Favorites:194
MD5:
Categories:Unit Mods, Combat Mods
5.4
KuiNameplates  Popular! (More than 5000 hits)
Version: 228
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
228
* make auras significantly more reliable
* change tankmode uiname to "Threat", in anticipation of additions to its config page

* add options to change reaction colors
* split "don't fade units at low health" into two seperate options for hostile units and friendly units
* fix "fade all" doesn't work consistently when faded alpha is set to 0%
* fix castbar sometimes fading out on newly shown frames where it was inappropriate
* fix logic error in kui frame fading code which may have caused some problems with repeated frame fading
* add upper limit to name width (using default layout) to prevent ridiculous overflows
* remove kui_nameplates_absorbs because that was nowhere near ready and shouldn't have been pushed anyway, whoops
* bump kui minior

* fix lua error when cast time display is enabled but name is disabled
* reduce name text jiterry-ness using centred layout
* add option to only use frame glow as threat glow (hide it when there's no threat)
* add option to show auras on trivial units

* reposition castwarnings to fit with new layout
* add option to use left-aligned layout, similar to the pre-223 layout (in /knp > general)

* add spark to castbars.
* make castbars fade out rather than instantly disappearing.
* cast time display is now disabled by default.
* change layout of healthbar text; names are no longer truncated.
* change layout of castbar text; spell name is no longer truncated.
* change default font to Expressway Rg Bold. Works better at smaller sizes in WoW.
* change level text for bosses to "Boss".
* remove option to colour unit names. This can be achieved with a small custom.lua modification.
* remove maximum cast time from castbar text (only current time is shown now)
* remove Accidental Presidency from Kui_Media.

Change log for previous versions available on CurseForge.
Archived Files (3)
File Name
Version
Size
Author
Date
221
262kB
Kesava
11-14-13 07:28 AM
217
261kB
Kesava
09-10-13 07:20 AM
216
261kB
Kesava
08-15-13 10:35 AM


Post A Reply Comment Options
Old 04-20-13, 04:49 PM  
GeneralWurst
A Defias Bandit

Forum posts: 2
File comments: 90
Uploads: 0
Re: Problem with VialCooldowns

Originally Posted by zweidyx
it works with VialCooldowns in PVP http://wow.curseforge.com/addons/via...ldowns-v1-4-1/,but when the other players dead,Their nameplates like this ,please help me.
I have the same problem. I get "ghost plates" if i use kui with vialcooldowns.
GeneralWurst is offline Report comment to moderator  
Reply With Quote
Old 04-20-13, 08:38 AM  
Draigars
A Murloc Raider
 
Draigars's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 4
File comments: 42
Uploads: 1
Hi. Is it possible to not anchor alt health to health? I'd like to place it in the center of the main (i.e. http://puu.sh/2DDLH/084e64a5be.jpg), but it doesn't stay centered when its lenght change, even though justify is center. And I can't display it if its set point doesn't depends on f.health.

Code:
------------------------------------------------------------- Alt health text --
function addon:CreateAltHealthText(frame, f)
	f.health.mo = f:CreateFontString(f.overlay, {
		font = addon.font, size = 'small', outline = "OUTLINE" })
	f.health.mo:SetJustifyH('CENTER')
	f.health.mo:SetPoint('BOTTOMRIGHT', f.health,
		-53, addon.uiscale and (1/addon.uiscale) or 1)
	f.health.mo:SetAlpha(1)
end
Btw if I make changes in the (renamed) custom file, the game get tons of mini-freezes, whereas if I directly modify create.lua there's no problem at all.
Last edited by Draigars : 04-20-13 at 06:33 PM.
Draigars is offline Report comment to moderator  
Reply With Quote
Old 04-19-13, 02:22 AM  
zweidyx
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Problem with VialCooldowns

it works with VialCooldowns in PVP http://wow.curseforge.com/addons/via...ldowns-v1-4-1/,but when the other players dead,Their nameplates like this ,please help me.
zweidyx is offline Report comment to moderator  
Reply With Quote
Old 04-15-13, 03:46 PM  
akgis
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 78
Uploads: 4
Please add filter for nameplates so it blacklists certain mobs, this would be very usefull for Tortos
__________________
akgis is offline Report comment to moderator  
Reply With Quote
Old 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
Old 04-14-13, 07:17 PM  
Kesava
A Defias Bandit
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 164
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
Old 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
Old 04-14-13, 11:57 AM  
Nibelheim
local roygbi-
 
Nibelheim's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1490
File comments: 2314
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
Old 04-14-13, 11:49 AM  
Kesava
A Defias Bandit
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 164
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
Old 04-14-13, 10:34 AM  
TheGeek
A Firelord
 
TheGeek's Avatar
AddOn Author - Click to view AddOns

Forum posts: 494
File comments: 214
Uploads: 7
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
Old 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
Old 04-13-13, 09:34 PM  
Nibelheim
local roygbi-
 
Nibelheim's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1490
File comments: 2314
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
Old 04-13-13, 02:52 PM  
akgis
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 27
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
Old 04-12-13, 09:21 PM  
Nibelheim
local roygbi-
 
Nibelheim's Avatar
Premium Member
AddOn Author - Click to view AddOns

Forum posts: 1490
File comments: 2314
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
Old 04-11-13, 04:52 PM  
luigee91
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 42
Uploads: 3
Best nameplate addon ever.
luigee91 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.