Download
(278 Kb)
Download
Updated: 07-18-14 02:07 PM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Updated:07-18-14 02:07 PM
Created:02-03-11 11:34 AM
Downloads:36,061
Favorites:202
MD5:
Categories:Unit Mods, Combat Mods
5.4
KuiNameplates  Popular! (More than 5000 hits)
Version: 240
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
240
* fix issue where target glow would sometimes appear on all nameplates
* fix issue where castbar would sometimes fade out on newly shown frames
* fix castbar shield doesn't fade
* reduce default width and height of normal frames slightly
* add power word: solace to default whitelist

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


Post A Reply Comment Options
Unread 01-30-13, 02:05 PM  
Kesava
A Defias Bandit
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 167
Uploads: 3
Well there are problems with PlateBuffs, particularly since the original author seems to have disappeared. So, I am also working on separating code better, for the next update (unless I need to fix stuff for 5.2). Aura support will probably end up being a separate addon included in the download, so you could disable it in such a way that it doesn't use any extra resources, and it doesn't make layout.lua even more.. unwieldy. It's already a lot better.
Kesava is offline Report comment to moderator  
Reply With Quote
Unread 01-30-13, 10:41 AM  
Anja
A Fallenroot Satyr
 
Anja's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 37
Uploads: 3
i think you dont have to build the platebuffs, because it work very good with the platebuffs addon.... so why to build the wheel new? ^^ (hope it was the right translation *g*)

so if there is space for better minimalistic code, you have to improve your addon with that, but make it more bigger is the wrong way i think
Anja is offline Report comment to moderator  
Reply With Quote
Unread 01-29-13, 09:03 AM  
Kesava
A Defias Bandit
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 167
Uploads: 3
Certainly would! Working on it.
Kesava is offline Report comment to moderator  
Reply With Quote
Unread 01-29-13, 05:29 AM  
LiNK2088
A Murloc Raider

Forum posts: 8
File comments: 166
Uploads: 0
This would be unbelievably awesome if it had aura support.
cba using platebuffs
LiNK2088 is offline Report comment to moderator  
Reply With Quote
Unread 01-12-13, 01:07 PM  
Kesava
A Defias Bandit
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 167
Uploads: 3
Noted, thanks for letting me know.
Kesava is offline Report comment to moderator  
Reply With Quote
Unread 01-10-13, 04:49 PM  
devilArt
A Fallenroot Satyr
 
devilArt's Avatar

Forum posts: 26
File comments: 97
Uploads: 0
Strange situation, sometimes level number still show, i disable it in the config







devilArt is offline Report comment to moderator  
Reply With Quote
Unread 01-08-13, 11:37 PM  
Kesava
A Defias Bandit
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 167
Uploads: 3
That's a feature in the default UI since 5.1. More on it from an older comment here.
Originally Posted by Kesava
Not unless Blizzard implement [an option to disable them] in the default options. I could make them -look- the same, but they'd stack over each other, and the click-box would still be smaller. Addons can't change the size of interactive things in combat, so it would sometimes work, and sometimes not, which isn't great.
The other way I could "fix" it would be very clunky and I don't have any plans to. I kind of expect Blizzard to at least implement a hidden CVar to disable them at some point (like they do for threat-enlargement), so I feel it'd be wasted development time.
Last edited by Kesava : 01-08-13 at 11:37 PM.
Kesava is offline Report comment to moderator  
Reply With Quote
Unread 01-08-13, 06:20 PM  
devilArt
A Fallenroot Satyr
 
devilArt's Avatar

Forum posts: 26
File comments: 97
Uploads: 0
since 5.1, some mob's nameplate become small, is there a way to fix it?
devilArt is offline Report comment to moderator  
Reply With Quote
Unread 01-04-13, 12:44 PM  
Kesava
A Defias Bandit
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 167
Uploads: 3
Originally Posted by Anja
okay, and how can i change the values of the minions?
To change things in trivial nameplates you need to put whatever code you want in PostShow, and surround it with this:

Code:
if frame.trivial then
    [your code here]
end
frame.trivial is always false in PostCreate, so everything needs to be in PostShow, Hide or Target. So for example if you want to show levels on trivial nameplates you could do this:

Code:
if frame.trivial then
    frame.level:Show()
    [then you should also set the point of .level so it looks better or whatever else you like]
end
Last edited by Kesava : 01-04-13 at 12:45 PM.
Kesava is offline Report comment to moderator  
Reply With Quote
Unread 12-26-12, 04:24 AM  
Anja
A Fallenroot Satyr
 
Anja's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 37
Uploads: 3
okay, and how can i change the values of the minions?
Anja is offline Report comment to moderator  
Reply With Quote
Unread 12-25-12, 03:23 PM  
Kesava
A Defias Bandit
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 167
Uploads: 3
Yeah. Certain things you modify need to be put in PostShow because they're changed in layout.lua when a trivial nameplate is shown. So, name text, level text, things like that. Things that you make can usually be put in PostCreate, as they won't be modified anywhere in layout.lua.

This should work, but I haven't tested it. Just as an example for what needs to be moved into PostShow.
Code:
local function PostCreate(frame)
	frame.bg.fill:SetSize(169, 30)
	frame.bg:SetTexture(nil)
	frame.boss:SetTexture('Interface\\TargetingFrame\\UI-TargetingFrame-Skull')
	frame.boss:SetSize(10, 10)
end

------------------------------------------------------------------------ Show --
local function PostShow(frame)
	if frame.boss:IsVisible() then
		frame.level:SetText('    ')
	end

	frame.health:SetSize(frame.health:GetWidth(), 7)
	frame.level:SetFont("Fonts\\ARIALN.ttf", 13, nil)
	frame.level:SetPoint('BOTTOMLEFT', frame.health, 'TOPLEFT', 4, 4)
	frame.name:SetFont("Fonts\\ARIALN.ttf", 13, nil)
	frame.name:SetPoint('LEFT', frame.level, 'RIGHT', 2, 0)
end
Kesava is offline Report comment to moderator  
Reply With Quote
Unread 12-25-12, 10:28 AM  
Anja
A Fallenroot Satyr
 
Anja's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 37
Uploads: 3
didnt work well, when you saw a minion the design from my custom.lua will overwrite the style from the minion plate :/

http://www.wowhead.com/npc=56401 in the greenstone cave in jadeforest i test this everytime.

this is my code so far:

Code:
local function PostCreate(frame)
	frame.health:SetSize(frame.health:GetWidth(), 7)
	frame.bg.fill:SetSize(169, 30)
	frame.bg:SetTexture(nil)
	frame.level:SetFont("Fonts\\ARIALN.ttf", 13, nil)
	frame.level:SetPoint('BOTTOMLEFT', frame.health, 'TOPLEFT', 4, 4)
	frame.name:SetFont("Fonts\\ARIALN.ttf", 13, nil)
	frame.name:SetPoint('LEFT', frame.level, 'RIGHT', 2, 0)
	frame.boss:SetTexture('Interface\\TargetingFrame\\UI-TargetingFrame-Skull')
	frame.boss:SetSize(10, 10)
end

------------------------------------------------------------------------ Show --
local function PostShow(frame)
	if frame.boss:IsVisible() then
		frame.level:SetText('    ')
	end
end
how can i change the style from the minions?
Last edited by Anja : 12-25-12 at 10:29 AM.
Anja is offline Report comment to moderator  
Reply With Quote
Unread 12-24-12, 11:04 AM  
Kesava
A Defias Bandit
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 167
Uploads: 3
Originally Posted by Anja
some news about the theme seperation?!
Well, there's custom-rename-me.lua in the Kui_Nameplates folder now. If you rename that to custom.lua you can put whatever code you want in the hook-functions to modify the layout at specific points, rather than changing things in layout.lua.

So, to demonstrate, if you wanted nameplates to have a.. pure.. black background.. You'd do this. Find this line in custom-rename-me.lua:
Code:
local function PostCreate(frame)
And put this code after it:
Code:
	frame.parent:SetBackdrop({ bgFile = 'Interface\\AddOns\\Kui_Media\\t\\solid' })
	frame.parent:SetBackdropColor(0, 0, 0)
Then rename custom-rename-me.lua to custom.lua, completely restart wow (if you had it open) so it detects the new file, and then nameplates should be really ugly, and they'll still be really ugly even after you update the addon. Unless I rename a variable, or change the way custom code is hooked. You'll never need to absolutely recode everything like you did before though.

If you have trouble getting something to work with this, PM me. It doesn't support absolutely everything, but it's enough for me to get castbars, cast warnings, etc. working, so it should be enough for you to make basic layout changes.
Last edited by Kesava : 12-24-12 at 11:22 AM.
Kesava is offline Report comment to moderator  
Reply With Quote
Unread 12-23-12, 07:37 AM  
Anja
A Fallenroot Satyr
 
Anja's Avatar
AddOn Author - Click to view AddOns

Forum posts: 27
File comments: 37
Uploads: 3
some news about the theme seperation?!
Anja is offline Report comment to moderator  
Reply With Quote
Unread 12-21-12, 05:28 AM  
Velarayne
An Aku'mai Servant
 
Velarayne's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 35
File comments: 57
Uploads: 1
Thanks for the help; that worked perfectly. :>
Velarayne 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.