Download
(8Kb)
Download
Updated: 04-21-19 08:07 PM
Pictures
File Info
Compatibility:
Zandalari and Kul Tiran (8.1.5)
Updated:04-21-19 08:07 PM
Created:11-19-17 05:24 PM
Downloads:6,423
Favorites:15
MD5:

Improved Nameplates  Popular! (More than 5000 hits)

Version: 4.0.5.80100
by: Ammako [More]

Nameplate improvements to the new default nameplates from 7.0.3



What it does:

- Adds a unit level display to the nameplate unit frame
- Adds a numeric display to nameplate health bars and Personal Resource Display (for Personal Resource Display, this is available with Larger Nameplates only)
- Adds a better threat display similar to pre-7.0.3
- Makes it easier to tell which mobs are currently in combat by coloring their name red when they are in combat and you are able to gain credit for the kill (raid/party groups, multitap mobs), and grey for mobs that have been tapped
- Enables names to always show up on nameplates regardless of NPC names settings
- Adds an outline to the names to make them easier to read
- Fades other nameplates out whenever you target something, similar to pre-7.0.3
- Makes Personal Resource Display click-through

It also sets some CVars for arguably better functionality:

- Prevents nameplates from becoming increasingly transparent when moving away from them, makes every nameplate fully opaque similar to pre-7.0.3 (nameplateMaxAlpha, nameplateMinAlpha)
- Prevents nameplates from changing in size depending on distance (nameplateMaxScale, nameplateMinScale)

Note: Chinese/Mandarin and Korean are not supported unless somebody offers to help for that.



Setting up:

The add-on works as-is with no setup required. However, there are a few settings you can change for personal preference.

Currently customizable:

- NPC Names setting
- Font size for name and health/resource display
- Health/Primary Resource display
- Level display (on/off)
- Realm name display, for cross-realm players

2019/04/21 - v4.0.5.80100
- Fix thing with resource bar, remove SetCVar usage for now

2018/08/06 - v4.0.4.80000
- Fix forbidden nameplates error in instances, I forgot to add that check last time.

2018/07/23 - v4.0.3.80000
- Fix buff frame on nameplates jumping up and down.

2018/07/19 - v4.0.2.80000
- Fix buff frame on Personal Resource Display jumping up and down.

2018/07/18 - v4.0.1.80000
- 8.0.1 toc bump, no actual changes included

2018/05/25 - v4.0.1
- There was a little bug that caused Personal Resource Display health display to not be properly separate from other nameplates' health display, for some reason. I fixed that.

2018/03/31 - v4.0.0
- Should be okay with friendly nameplates while in PvE instances now. Might need more testing.
- Taking v4.0.0 out of beta because I guess it's been months and no major issues have been reported. Likely the final version, unless major changes happen in future patches/expansions or bugs are found.
Optional Files (0)


Post A Reply Comment Options
Unread 07-08-18, 12:53 AM  
awoh
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Great addon!

Will it be updated for Battle for Azeroth?
Also, would it be possible to be able to change the bar texture?
Report comment to moderator  
Reply With Quote
Unread 07-08-18, 06:42 AM  
Ammako
A Frostmaul Preserver
AddOn Author - Click to view AddOns

Forum posts: 256
File comments: 29
Uploads: 8
It works fine on BfA without any changes required (unless you've noticed issues, in which case you'll have to elaborate.)
I'll update the .toc interface number once the expansion is actually out.

Bar texture goes outside of the scope of what I want this to do, and I'm not too interested in figuring out how to do that tbh. but if it's a simple thing to learn, and you can point me to resources that explain how to do it, I wouldn't mind making a separate addon for it that could be used alongside this.
Report comment to moderator  
Reply With Quote
Unread 08-06-18, 09:49 AM  
azradomm
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Hi there,

i'm a huge fan of the simplicity of this addon.

However, there seems to be a bug in the current Version 4.0.3.80000
When selecting a friendly target in a dungeon or raid, there's a LUA error stating: "Attempt to access forbidden object".
I fixed this by adding a :IsForbidden() check to the UpdateAnchor function.

Furthermore, I slightly changed some colors for more contrast, especially helpful in PvP.

Is there a official repository where i could create a Pull-Request for those changes?
Report comment to moderator  
Reply With Quote
Unread 08-06-18, 10:14 AM  
Ammako
A Frostmaul Preserver
AddOn Author - Click to view AddOns

Forum posts: 256
File comments: 29
Uploads: 8
Originally Posted by azradomm
Hi there,

i'm a huge fan of the simplicity of this addon.

However, there seems to be a bug in the current Version 4.0.3.80000
When selecting a friendly target in a dungeon or raid, there's a LUA error stating: "Attempt to access forbidden object".
I fixed this by adding a :IsForbidden() check to the UpdateAnchor function.

Furthermore, I slightly changed some colors for more contrast, especially helpful in PvP.

Is there a official repository where i could create a Pull-Request for those changes?
Yeah, I'm stupid and forgot to add the check last time when I fixed a thing, and since I never use friendly nameplates I never noticed.

There's no repository or anything; I can fix the friendly nameplate thing on my own, but for the color thing, feel free to just post your code here and I can add it in with appropriate credit given.
I'll keep the current colors as default, because I prefer to keep default blizzard look where possible, just with more info being displayed on top, but I can add higher contrast colors as an option especially if it can be helpful in certain scenarios.
Report comment to moderator  
Reply With Quote
Unread 08-06-18, 11:51 AM  
azradomm
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Thank you for the quick response.

If you are interessted, this would be the code I changed at Line 548.
This was my first time scripting with LUA, so if there's anything to improve just let me know.

The color change itself just influences the name text, and is mostly visible for PvP with active warmode. Feel free to take a look

Code:
		-- Colorize unit name when they are in combat.
		if CompactUnitFrame_IsTapDenied(frame) then -- If unit has been tapped (opposite faction, or 5+ players of your faction.)
			frame.name:SetVertexColor(0.5, 0.5, 0.5, 1) -- Grey.
		elseif UnitAffectingCombat(frame.unit) and UnitCanAttack("player", frame.unit) and not UnitIsFriend("player", frame.unit) then -- If unit is in combat and an enemy (npc or pvp).
			if UnitIsUnit(frame.unit, "target") then
				frame.name:SetVertexColor(1, 0.1, 0.1, 1) -- Red.
			else
				frame.name:SetVertexColor(1, 0.5, 0.5, 1) -- Reddish for a bit more contrast.
			end	
		else -- If unit not in combat.
			if UnitIsPlayer(frame.unit) and not UnitIsFriend("player", frame.unit) then 
				frame.name:SetVertexColor(1, 0.2, 0.2, 1) -- Reddish for warmode / pvp
			else
				frame.name:SetVertexColor(1, 1, 1, 1) -- White.
			end
		end

Thanks for the work on this addon !
Report comment to moderator  
Reply With Quote
Unread 08-06-18, 12:38 PM  
Ammako
A Frostmaul Preserver
AddOn Author - Click to view AddOns

Forum posts: 256
File comments: 29
Uploads: 8
Ah, when you talked about colors I was expecting more than that for some reason.

I don't think it's worth adding an extra option just for a small change like that, so I probably won't do that, but what I can do is add an extra options panel later to allow customizing fonts and colors where applicable. That way it serves a bigger purpose, to warrant adding in the extra options, and you'll be able to get the colors you want through that, so it should also work for you.

I kinda like the idea of having enemy player names in a different color when PvP is enabled. By default I'll leave it the same as it is right now (white), but support for it will be included and name color for PvP-enabled enemy players will be customizable separately from other units.

Right now I'll just fix the problem that's causing the errors in instances because that's more important, I'll do the rest later because I don't really feel like working on that right now. But it'll be done.
Report comment to moderator  
Reply With Quote
Unread 11-22-18, 06:19 PM  
Xully
A Cyclonian

Forum posts: 44
File comments: 180
Uploads: 0
Hey, love the addon, one thing that I would love to get back from blizzard default, is the targetting gray select around the nameplate when selected, I know you added something nice to make it black, but I prefer the blizz default one, how can I make that the default? thanks.
Report comment to moderator  
Reply With Quote
Unread 12-12-18, 11:19 PM  
JaseRival
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Is there any chance we get an update or a fix for 8.1? Since the 8.1 patch, everything still fundamentally works but the numbers on the "personal resource bar" (Mana/Rage/Energy) don't fade out when the bar does and stays "stuck" on the screen even out of combat.
Report comment to moderator  
Reply With Quote
Unread 03-11-19, 11:13 AM  
JaseRival
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Hi, I had left a comment previously but did not know if anyone had seen it. This is a better display for the problem I am having. the number on the personal resource (mana) bar does not fade when the bars do and remains on screen. Is there a fix I can apply for this? I'd like to keep my numbers on my own nameplate but obviously having them stuck on the screen when the bar is gone is pretty inconvenient.

Report comment to moderator  
Reply With Quote
Unread 03-27-19, 06:31 PM  
BillieV
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
Smile Scale of the nameplates

Excelent addon i just wondering if there any way to get the nameplates smaller, i would like to rescale them just a little.
Report comment to moderator  
Reply With Quote
Unread 04-17-19, 02:26 AM  
Reaper666735
A Defias Bandit
 
Reaper666735's Avatar

Forum posts: 2
File comments: 65
Uploads: 0
Question Info

Hello,

is it normal i can't find this addon on Curse(forge) anymore ?, i always found it easier to update via the updater (Twitch now)
__________________
For Azeroth !
Report comment to moderator  
Reply With Quote
Unread 04-21-19, 08:17 PM  
Ammako
A Frostmaul Preserver
AddOn Author - Click to view AddOns

Forum posts: 256
File comments: 29
Uploads: 8
@Xully and BillieV: That's something that can be added in a settings menu that would have a bunch of appearance settings for a bunch of different things at some point. Don't feel like working on that right now though.

@JaseRival: Should be good now, though I haven't really fully tested the fix.

@Reaper666735: Curse is not worth the trouble for authors, as far as I'm concerned. It's not very well-advertised on here but you can use Minion to auto-update addons from here in the same way you do Curse (WoWI even has a lot of the same addons as Curse do, as many authors keep everything up-to-date on both sites.)
Report comment to moderator  
Reply With Quote
Unread 05-08-19, 07:45 AM  
Reaper666735
A Defias Bandit
 
Reaper666735's Avatar

Forum posts: 2
File comments: 65
Uploads: 0
Question missing icons

Originally Posted by Ammako
@Xully and BillieV: That's something that can be added in a settings menu that would have a bunch of appearance settings for a bunch of different things at some point. Don't feel like working on that right now though.

@JaseRival: Should be good now, though I haven't really fully tested the fix.

@Reaper666735: Curse is not worth the trouble for authors, as far as I'm concerned. It's not very well-advertised on here but you can use Minion to auto-update addons from here in the same way you do Curse (WoWI even has a lot of the same addons as Curse do, as many authors keep everything up-to-date on both sites.)
i see, well i guess i can understand

oh just a question but is it normal for the nameplates to not show any slowing effect on them ?,

for example if i use my Frost mage and cast Frostbolt on an enemy the https://www.wowhead.com/spell=205708/chilled#comments effect does not show, same for Flurry and Blizzard, and changing class i could use my Paladin and slow them with https://www.wowhead.com/spell=183218...ance#changelog and yet again no icon ..
__________________
For Azeroth !
Report comment to moderator  
Reply With Quote
Unread 05-08-19, 11:11 PM  
Ammako
A Frostmaul Preserver
AddOn Author - Click to view AddOns

Forum posts: 256
File comments: 29
Uploads: 8
Re: missing icons

Originally Posted by Reaper666735
i see, well i guess i can understand

oh just a question but is it normal for the nameplates to not show any slowing effect on them ?,

for example if i use my Frost mage and cast Frostbolt on an enemy the https://www.wowhead.com/spell=205708/chilled#comments effect does not show, same for Flurry and Blizzard, and changing class i could use my Paladin and slow them with https://www.wowhead.com/spell=183218...ance#changelog and yet again no icon ..
I don't mess with that, so this is how it works by default.
Report comment to moderator  
Reply With Quote
Unread 05-09-19, 06:22 AM  
Reaper666735
A Defias Bandit
 
Reaper666735's Avatar

Forum posts: 2
File comments: 65
Uploads: 0
Re: Re: missing icons

Originally Posted by Ammako
Originally Posted by Reaper666735
i see, well i guess i can understand

oh just a question but is it normal for the nameplates to not show any slowing effect on them ?,

for example if i use my Frost mage and cast Frostbolt on an enemy the https://www.wowhead.com/spell=205708/chilled#comments effect does not show, same for Flurry and Blizzard, and changing class i could use my Paladin and slow them with https://www.wowhead.com/spell=183218...ance#changelog and yet again no icon ..
I don't mess with that, so this is how it works by default.

ah ok ,

too bad really, that would be an "improvement" imho ^^

anyway ty for the information and keep up the good work
__________________
For Azeroth !
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: