Download
(505Kb)
Download
Updated: 10-21-20 07:11 AM
Pictures
File Info
Updated:10-21-20 07:11 AM
Created:02-03-11 11:34 AM
Downloads:98,013
Favorites:279
MD5:
Categories:Unit Mods, Combat Mods

KuiNameplates  Popular! (More than 5000 hits)

Version: 2.26.3e
by: Kesava [More]

Prettier nameplates.
Configurable through interface options (/knp or /kuinameplates).
I have a problem/question!
The classic release, previous versions and change logs can be found on Curse: https://www.curseforge.com/wow/addons/kuinameplates/files

Also see the FAQ in the Curse description: https://www.curseforge.com/wow/addons/kuinameplates

Thanks!

** See releases on GitHub or Curse for detailed change notes. Thanks! **
Post A Reply Comment Options
Unread 06-16-11, 09:35 PM  
Ither
A Firelord
 
Ither's Avatar
AddOn Author - Click to view AddOns

Forum posts: 497
File comments: 201
Uploads: 3
Originally posted by Kesava
For now you'll have to edit layout.lua. Just delete lines 1013 through 1020. If you don't have line numbers:

Code:
np.kui:addEvent('UNIT_SPELLCAST_START', np.UnitCastEvent)
np.kui:addEvent('UNIT_SPELLCAST_FAILED', np.UnitCastEvent)
np.kui:addEvent('UNIT_SPELLCAST_STOP', np.UnitCastEvent)
np.kui:addEvent('UNIT_SPELLCAST_INTERRUPTED', np.UnitCastEvent)
np.kui:addEvent('UNIT_SPELLCAST_DELAYED', np.UnitCastEvent)
np.kui:addEvent('UNIT_SPELLCAST_CHANNEL_START', np.UnitCastEvent)
np.kui:addEvent('UNIT_SPELLCAST_CHANNEL_UPDATE', np.UnitCastEvent)
np.kui:addEvent('UNIT_SPELLCAST_CHANNEL_STOP', np.UnitCastEvent)
Didn't work -- still had castbars showing up at random times.
__________________
Report comment to moderator  
Reply With Quote
Unread 06-14-11, 07:34 PM  
Kesava
A Murloc Raider
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 141
Uploads: 1
For now you'll have to edit layout.lua. Just delete lines 1013 through 1020. If you don't have line numbers:

Code:
np.kui:addEvent('UNIT_SPELLCAST_START', np.UnitCastEvent)
np.kui:addEvent('UNIT_SPELLCAST_FAILED', np.UnitCastEvent)
np.kui:addEvent('UNIT_SPELLCAST_STOP', np.UnitCastEvent)
np.kui:addEvent('UNIT_SPELLCAST_INTERRUPTED', np.UnitCastEvent)
np.kui:addEvent('UNIT_SPELLCAST_DELAYED', np.UnitCastEvent)
np.kui:addEvent('UNIT_SPELLCAST_CHANNEL_START', np.UnitCastEvent)
np.kui:addEvent('UNIT_SPELLCAST_CHANNEL_UPDATE', np.UnitCastEvent)
np.kui:addEvent('UNIT_SPELLCAST_CHANNEL_STOP', np.UnitCastEvent)
Last edited by Kesava : 06-14-11 at 07:35 PM.
Report comment to moderator  
Reply With Quote
Unread 06-14-11, 06:00 PM  
Ither
A Firelord
 
Ither's Avatar
AddOn Author - Click to view AddOns

Forum posts: 497
File comments: 201
Uploads: 3
Love the new changes; one thing, how can I disable cast bars?

Don't really have a need for them since I use Quartz.
__________________
Report comment to moderator  
Reply With Quote
Unread 06-09-11, 11:00 PM  
Raeli
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 11
Uploads: 5
Thanks for the updates that do the things I asked for, perfect addon for me now
Report comment to moderator  
Reply With Quote
Unread 06-08-11, 03:43 PM  
columnFive
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 16
Uploads: 6
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!
Report comment to moderator  
Reply With Quote
Unread 06-08-11, 04:31 AM  
Kesava
A Murloc Raider
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 141
Uploads: 1
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.
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
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: 6
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?
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: 80
Uploads: 4
How to call the sharemedia textures? Using Sharemedia.Minimalist but not working
__________________
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.
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: 80
Uploads: 4
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
__________________
Report comment to moderator  
Reply With Quote
Unread 06-05-11, 12:07 PM  
Kesava
A Murloc Raider
 
Kesava's Avatar
AddOn Author - Click to view AddOns

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

Thanks.
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: 11
Uploads: 5
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
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.
Report comment to moderator  
Reply With Quote
Unread 06-01-11, 02:27 PM  
Kesava
A Murloc Raider
 
Kesava's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 141
Uploads: 1
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.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: