Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(281 Kb)
Download
Updated: 03-08-15 09:57 PM
Pictures
File Info
Compatibility:
The Adventure Continues (6.1)
Warlords of Draenor (6.0.3)
Warlords of Draenor Pre-Patch (6.0.2)
Updated:03-08-15 09:57 PM
Created:02-03-11 11:34 AM
Downloads:40,660
Favorites:229
MD5:
Categories:Unit Mods, Combat Mods
6.1

KuiNameplates  Popular! (More than 5000 hits)

Version: 248
by: Kesava [More]

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



Prettier nameplates with auras. Configurable through interface options (open with /knp or /kuinameplates)
.

Features:
  • Pixel perfect!
  • Auras!
  • Combo points!
  • Tank mode!
  • Pretty fading in/out of frames (disable by unchecking "Smoothly fade" in options)
  • Cast & incoming healing warnings, useful for PVP (disabled by default, check "Show cast warnings" in options)
  • Other things!
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;

248
* bump toc

Change log for previous versions available on CurseForge.
Archived Files (3)
File Name
Version
Size
Author
Date
247
281kB
Kesava
01-30-15 01:16 PM
243
279kB
Kesava
10-14-14 04:13 PM
240
278kB
Kesava
07-18-14 02:07 PM


Post A Reply Comment Options
Unread 06-08-11, 03:43 PM  
columnFive
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 16
Uploads: 5
Re: Re: Combat hiding/showing of nameplates

Originally posted by Kesava
You have to enable the option with /knp gen combat.

Adding the events like that would work, but they're registered & unregistered upon load depending on that setting by slash.lua.
Oh! Did not realize this - thank you!
columnFive is offline Report comment to moderator  
Reply With Quote
Unread 06-08-11, 04:31 AM  
Kesava
A Defias Bandit
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 173
Uploads: 3
Re: Combat hiding/showing of nameplates

Originally posted by columnFive
Anyway, dynamic showing/hiding of frames for entering/exiting combat doesn't work. Any chance for a fix?
You have to enable the option with /knp gen combat.

Adding the events like that would work, but they're registered & unregistered upon load depending on that setting by slash.lua.
Kesava is offline Report comment to moderator  
Reply With Quote
Unread 06-07-11, 08:59 PM  
soulmoon
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 20
Uploads: 1
Originally posted by akgis
How to call the sharemedia textures? Using Sharemedia.Minimalist but not working
Interface\Addons\Kui\media\f - in this folder are living fonts
Interface\Addons\Kui\media\t - in this folder there are textures
bar.tga - health bar
barSmall.tga - cast bar
soulmoon is offline Report comment to moderator  
Reply With Quote
Unread 06-07-11, 08:50 PM  
columnFive
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 16
Uploads: 5
Combat hiding/showing of nameplates

Let me start off by saying that I absolutely love the design of the nameplates, and am eager to convert from my old copy of Headline - except for the fact that enemy nameplates don't appear/disappear depending on combat.

On looking at the code, I at first thought this was because the mod wasn't registered for the PLAYER_REGEN_ENABLED and PLAYER_REGEN_DISABLED events - the respective handler methods are there, but there's no call to your np.kui:addEvent function for either event. So I added them in as below:

Code:
np.kui:addEvent('PLAYER_REGEN_DISABLED')
np.kui:addEvent('PLAYER_REGEN_ENABLED')
...following the same syntax as for UNIT_COMBO_POINTS. But nameplate showing/hiding still doesn't work, and now I'm kind of at loss as to how to fix this. Combo points clearly work, so that method of invoking your addEvent function shouldn't have any problems. I can't help but think that this would be a lot easier to figure out if your Kui function library didn't complicate the event registry process. I'm assuming this is meant to prevent redundant event-catching frames across a number of plugins that make up your UI - which is definitely an admirable goal, but it does obfuscate your code somewhat for a layman like me. But what do I know? There's probably a reason for that.

Anyway, dynamic showing/hiding of frames for entering/exiting combat doesn't work. Any chance for a fix?
columnFive is offline Report comment to moderator  
Reply With Quote
Unread 06-07-11, 05:31 PM  
akgis
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 29
File comments: 79
Uploads: 5
How to call the sharemedia textures? Using Sharemedia.Minimalist but not working
__________________
akgis is offline Report comment to moderator  
Reply With Quote
Unread 06-07-11, 01:59 PM  
soulmoon
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 20
Uploads: 1
Originally posted by akgis
How do u make it look like this? I cant find options anywhere. I find the text to be to small for my resolution
open the file layout.lua and make changes in the blocks "background", "health bar", "health text" and "level / name texts" as presented in the text below

Code:
        -- background --------------------------------------------------------------
	frame.bg = CreateFrame("Frame", nil, frame)
	frame.bg:SetBackdrop({
		bgFile = kui.m.t.solid, edgeFile = kui.m.t.shadow,
		edgeSize = 5, insets = {
			top = 5, left = 5, bottom = 5, right = 5
		}
	})
	
	frame.bg:SetBackdropColor(0, 0, 0, .95)
	frame:SetGlowColour()
	
	frame.bg:SetWidth(112)
	frame.bg:SetHeight(22)
	
	frame.bg:SetPoint("CENTER")	
        -- health bar --------------------------------------------------------------
	frame.health = CreateFrame("StatusBar", nil, frame.bg)
	frame.health:SetStatusBarTexture(kui.m.t.bar)
	
	frame.health:SetWidth(100)
	frame.health:SetHeight(10)
	
	frame.health:SetPoint("CENTER")
	
        -- health text -------------------------------------------------------------
	frame.health.p = kui.CreateFontString(frame.health, {
		font = kui.m.f.yanone, size = 12, outline = "OUTLINE" })
	frame.health.p:SetParent(frame.health)
	frame.health.p:SetJustifyH('RIGHT')
	
	frame.health.p:SetPoint('CENTER', frame.health, 'CENTER', 0, 0)
	
	if np:GetSavedValue('hp', 'showAlt') then
		frame.health.mo = kui.CreateFontString(frame.health, {
			font = kui.m.f.yanone, size = 8, outline = "OUTLINE" })
		frame.health.mo:SetParent(frame.health)
		frame.health.mo:SetJustifyH('RIGHT')
	
		frame.health.mo:SetPoint('BOTTOMRIGHT', frame.health, -2, -2)
		frame.health.mo:SetAlpha(.5)
	end
	
	-- level/name texts --------------------------------------------------------
	frame.level = kui.CreateFontString(frame.level, { reset = true,
		font = kui.m.f.yanone, size = 9, outline = 'OUTLINE' })
	frame.level:SetParent(frame.health)
	
	frame.level:ClearAllPoints()
	frame.level:SetPoint('LEFT', frame.health, 'LEFT', -14, 0)

	frame.name = kui.CreateFontString(frame.name, { reset = true,
		font = kui.m.f.yanone, size = 12, outline = 'OUTLINE' })
	frame.name:SetParent(frame.health)
	frame.name:SetJustifyH('CENTER')

	frame.name:SetWidth(100)
	frame.name:SetHeight(8)

	frame.name:ClearAllPoints()
	frame.name:SetPoint('TOP', frame.health, 'TOP', 0, 10)
also find the text "self.name: SetWidth" and set value to 200 - it is does not give a long name to shrink
Code:
string must look like "self.name: SetWidth (200 - self.health.p: GetStringWidth ()) "
I will not love to confess how to change the texture and font, I think you know yourself

p.s.
we do not have enough opportunities, to change in the game position preferences texts and textures
p.s.s.
sorry for my english
Last edited by soulmoon : 06-07-11 at 02:03 PM.
soulmoon is offline Report comment to moderator  
Reply With Quote
Unread 06-06-11, 06:58 AM  
akgis
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 29
File comments: 79
Uploads: 5
Originally posted by soulmoon

I meant it
How do u make it look like this? I cant find options anywhere. I find the text to be to small for my resolution
__________________
akgis is offline Report comment to moderator  
Reply With Quote
Unread 06-05-11, 12:07 PM  
Kesava
A Defias Bandit
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 173
Uploads: 3
002.1 does all of that except the name text colour. I'll work on that more for the next release.

Thanks.
Kesava is offline Report comment to moderator  
Reply With Quote
Unread 06-03-11, 10:22 AM  
Raeli
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 4
Uploads: 1
This addon is perfect for me - for Years I've been looking for ages for a replacement to Aloft that I could easily edit to look how I had set it up. I have but two problems:

The Name text reacts just like the default nameplate text - units in combat it turns red, and if you hover it turns yellow.

The default nameplates bar glows when hovered over, but these don't.

My question is: Can you change it so that the name text ALWAYS stays white, and can you allow the StatusBar to change colour when highlighted?

One other minor thing, is it possible to set the frame alpha, by default to 0.5? At the moment it is 1, and then when you have a target, the target is 1, and the rest are faded. I would like the target to continue being 1,and non-targets at 0.5, but then also, without a target all plates at 0.5.


I don't mind editing parts of the code, and already have done so to adjust a few simple things such as border size, and text position, but I can't figure out how to stop the text turning red or make the statusbar change colour on highlight.


Any help would be great, thanks!

Thanks again for an awesome addon
Raeli is offline Report comment to moderator  
Reply With Quote
Unread 06-01-11, 09:06 PM  
soulmoon
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 20
Uploads: 1
Originally posted by Kesava
That's not what it's supposed to look like at all. It looks like you're running another nameplate addon at same time.
This is your addon, I just changed it's position name, level, and health texts
ok, will remove the boarder cast bar
Last edited by soulmoon : 06-01-11 at 09:08 PM.
soulmoon is offline Report comment to moderator  
Reply With Quote
Unread 06-01-11, 02:27 PM  
Kesava
A Defias Bandit
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 173
Uploads: 3
Originally posted by soulmoon
image
That's not what it's supposed to look like at all. It looks like you're running another nameplate addon at same time.
Kesava is offline Report comment to moderator  
Reply With Quote
Unread 06-01-11, 01:42 PM  
soulmoon
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 20
Uploads: 1
Originally posted by Kesava
It should be already, unless you mean the threat glow? I'm remaking the cast bar in the next version so it might be fixed then. For one thing, the cast bar isn't behind the glow of the health bar anymore.

I meant it
soulmoon is offline Report comment to moderator  
Reply With Quote
Unread 05-31-11, 09:31 AM  
Kesava
A Defias Bandit
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 173
Uploads: 3
Originally posted by soulmoon
How to make a border the health bar identical to of the cast bar?
It should be already, unless you mean the threat glow? I'm remaking the cast bar in the next version so it might be fixed then. For one thing, the cast bar isn't behind the glow of the health bar anymore.

Is it possible to make the nameplate of your current target more visible?
Yeah, I can put in options for transparency, and I was going to make a highlight for the next version.

Thanks for the feedback.
Kesava is offline Report comment to moderator  
Reply With Quote
Unread 05-30-11, 09:28 AM  
alpmave
A Defias Bandit

Forum posts: 2
File comments: 4
Uploads: 0
Hey!


Thanks for these great Nameplates. I was searching for something lightweight and all ive come up with looked like... "lightweight" regarding the design.
Yours is lightweight AND pretty



But i have one question:
Is it possible to make the nameplate of your current target more visible?
Especially when there are large groups of mobs its quite hard to see which of them is your target.
alpmave is offline Report comment to moderator  
Reply With Quote
Unread 05-27-11, 12:04 PM  
soulmoon
A Kobold Labourer
AddOn Compiler - Click to view compilations

Forum posts: 0
File comments: 20
Uploads: 1
Text "Unstable Affliction"is not displayed in a Russian client wow

How to make a border the health bar identical to of the cast bar?
Last edited by soulmoon : 05-27-11 at 12:10 PM.
soulmoon 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.