Quantcast
Download
(8 Kb)
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:4,225
Favorites:16
MD5:

Improved Nameplates

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 08-02-19, 11:53 AM  
Reaper666735
A Defias Bandit
 
Reaper666735's Avatar

Forum posts: 2
File comments: 60
Uploads: 0
well in the meantime i'm using Kiwi plates as a replacement in the hope that this addon will be updated

i can replicate nearly everything this addon does (with some tweaking in each option)
__________________
For Azeroth !
Last edited by Reaper666735 : 08-02-19 at 11:54 AM.
Report comment to moderator  
Reply With Quote
Unread 07-25-19, 07:48 AM  
Reaper666735
A Defias Bandit
 
Reaper666735's Avatar

Forum posts: 2
File comments: 60
Uploads: 0
Originally Posted by raysmith
* Note * I was only gettiing LUA errors about lines 28 and 44 so while my workaround seems to be working for me in very limited testing, others may need to do more since they may be using elements of the addon that I'm not.

MoveAnything is encountering the same error and hasn't been updated yet but there was a bit of info in comments for that addon that at least allowed me to avoid the error by commenting out lines 28-33, 44-45 and 47-48 in ImprovedNameplates.lua. See below for reference.

All this seems to do is prevent the nameplates from shifting a bit to the side when level is shown so it now ends up being slightly off-centre on mobs.

Sounds like MA will be getting an update soon, if I can figure out what the fix is from there once updated I'll post it here.

(and of course if anyone can actually fix this here in the meantime, please do!)

--local function offset(f, ox, oy)
-- for i=1,f:GetNumPoints() do
-- local p, rf, rp, x, y= f:GetPoint(i)
-- if p~="LEFT" or p~="RIGHT" then
-- f:SetPoint(p, rf, rp, ox, oy)
-- end
-- end
--end

local offsetNameplate = CreateFrame("Frame")
offsetNameplate:RegisterEvent("NAME_PLATE_UNIT_ADDED")
offsetNameplate:RegisterEvent("NAME_PLATE_UNIT_REMOVED")
offsetNameplate:SetScript("OnEvent", function(self, event, unit)
local p = C_NamePlate.GetNamePlateForUnit(unit).UnitFrame
if event == "NAME_PLATE_UNIT_ADDED" then
if UnitGUID(unit) ~= UnitGUID("player") then
if ImprovedNameplatesDB.showLevels then
if InterfaceOptionsNamesPanelUnitNameplatesMakeLarger:GetValue() == "1" then
-- offset(p.name, 15, 6)
-- offset(p.healthBar, -15, 3)
elseif InterfaceOptionsNamesPanelUnitNameplatesMakeLarger:GetValue() == "0" then
-- offset(p.name, 9, 6)
-- offset(p.healthBar, -9, 3)
end
end
else -- Thanks Blizzard...
local fontName, fontHeight, fontFlags = p.castBar.Text:GetFont()
p.castBar.Text:SetFont(fontName, fontHeight, "OUTLINE")
end
elseif event == "NAME_PLATE_UNIT_REMOVED" then
p.healthBar:ClearAllPoints()
end
end)

il test this out and if you get more info after MA update please do

i asked an author about what he did to fix this error and he replied me with this but i don't understand it



""
U need to check with pcall if it returns an error or not, my code is:

Code:

if pcall(frame.GetPoint, frame) then
local pt, relTo = frame:GetPoint()
end

""
__________________
For Azeroth !
Report comment to moderator  
Reply With Quote
Unread 07-24-19, 06:27 AM  
raysmith
A Kobold Labourer

Forum posts: 1
File comments: 48
Uploads: 0
* Note * I was only gettiing LUA errors about lines 28 and 44 so while my workaround seems to be working for me in very limited testing, others may need to do more since they may be using elements of the addon that I'm not.

MoveAnything is encountering the same error and hasn't been updated yet but there was a bit of info in comments for that addon that at least allowed me to avoid the error by commenting out lines 28-33, 44-45 and 47-48 in ImprovedNameplates.lua. See below for reference.

All this seems to do is prevent the nameplates from shifting a bit to the side when level is shown so it now ends up being slightly off-centre on mobs.

Sounds like MA will be getting an update soon, if I can figure out what the fix is from there once updated I'll post it here.

(and of course if anyone can actually fix this here in the meantime, please do!)

--local function offset(f, ox, oy)
-- for i=1,f:GetNumPoints() do
-- local p, rf, rp, x, y= f:GetPoint(i)
-- if p~="LEFT" or p~="RIGHT" then
-- f:SetPoint(p, rf, rp, ox, oy)
-- end
-- end
--end

local offsetNameplate = CreateFrame("Frame")
offsetNameplate:RegisterEvent("NAME_PLATE_UNIT_ADDED")
offsetNameplate:RegisterEvent("NAME_PLATE_UNIT_REMOVED")
offsetNameplate:SetScript("OnEvent", function(self, event, unit)
local p = C_NamePlate.GetNamePlateForUnit(unit).UnitFrame
if event == "NAME_PLATE_UNIT_ADDED" then
if UnitGUID(unit) ~= UnitGUID("player") then
if ImprovedNameplatesDB.showLevels then
if InterfaceOptionsNamesPanelUnitNameplatesMakeLarger:GetValue() == "1" then
-- offset(p.name, 15, 6)
-- offset(p.healthBar, -15, 3)
elseif InterfaceOptionsNamesPanelUnitNameplatesMakeLarger:GetValue() == "0" then
-- offset(p.name, 9, 6)
-- offset(p.healthBar, -9, 3)
end
end
else -- Thanks Blizzard...
local fontName, fontHeight, fontFlags = p.castBar.Text:GetFont()
p.castBar.Text:SetFont(fontName, fontHeight, "OUTLINE")
end
elseif event == "NAME_PLATE_UNIT_REMOVED" then
p.healthBar:ClearAllPoints()
end
end)
Report comment to moderator  
Reply With Quote
Unread 07-03-19, 06:15 AM  
Reaper666735
A Defias Bandit
 
Reaper666735's Avatar

Forum posts: 2
File comments: 60
Uploads: 0
Unhappy sad news

Originally Posted by Ammako
I'm not likely to care about this, sorry. BfA just isn't worth my time anymore. But I've toggled on the option that allows others to submit patches and updates, so feel free to work on it on your own, if you're interested (not you specifically, but anyone who might know how to fix things and would be interested in taking over.)
i'm sorry to hear this :'( , but until somebody comes to take over could you @ least make a quick 8.2 fix for us ?, it would really be a good farewell gift


1269x ...aceImprovedNameplates\ImprovedNameplates-4.0.4.80000.lua:14: Action[FrameMeasurement] failed because[Can't measure restricted regions]: attempted from: <unnamed>:GetPoint().
[C]: in function `GetPoint'
...aceImprovedNameplates\ImprovedNameplates-4.0.4.80000.lua:14: in function <...aceImprovedNameplates\ImprovedNameplates.lua:12>
...aceImprovedNameplates\ImprovedNameplates-4.0.4.80000.lua:30: in function <...aceImprovedNameplates\ImprovedNameplates.lua:24>

Locals:
(*temporary) = <unnamed> {
0 = <userdata>
}
(*temporary) = 1



672x ...aceImprovedNameplates\ImprovedNameplates-4.0.4.80000.lua:487: attempt to index global 'NamePlatePlayerResourceFrame' (a nil value)
...aceImprovedNameplates\ImprovedNameplates-4.0.4.80000.lua:487: in function <...aceImprovedNameplates\ImprovedNameplates.lua:484>
[C]: ?

Locals:
InCombatSkipped


ty.
__________________
For Azeroth !
Report comment to moderator  
Reply With Quote
Unread 07-01-19, 03:08 AM  
Reaper666735
A Defias Bandit
 
Reaper666735's Avatar

Forum posts: 2
File comments: 60
Uploads: 0
Global variable ImprovedNameplates_OptionPanel tainted by ImprovedNameplates - Interface\AddOns\ImprovedNameplates\ImprovedNameplates.lua:112
__________________
For Azeroth !
Report comment to moderator  
Reply With Quote
Unread 06-27-19, 07:48 PM  
Ammako
A Frostmaul Preserver
AddOn Author - Click to view AddOns

Forum posts: 256
File comments: 29
Uploads: 8
I'm not likely to care about this, sorry. BfA just isn't worth my time anymore. But I've toggled on the option that allows others to submit patches and updates, so feel free to work on it on your own, if you're interested (not you specifically, but anyone who might know how to fix things and would be interested in taking over.)
Report comment to moderator  
Reply With Quote
Unread 06-27-19, 06:09 AM  
sgkdnay
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Error

5x ...aceImprovedNameplates\ImprovedNameplates-4.0.5.80100.lua:28: Action[FrameMeasurement] failed because[Can't measure restricted regions]: attempted from: <unnamed>:GetPoint().
[C]: in function `GetPoint'
...aceImprovedNameplates\ImprovedNameplates-4.0.5.80100.lua:28: in function <...aceImprovedNameplates\ImprovedNameplates.lua:26>
...aceImprovedNameplates\ImprovedNameplates-4.0.5.80100.lua:47: in function <...aceImprovedNameplates\ImprovedNameplates.lua:38>

Locals:
(*temporary) = <unnamed> {
0 = <userdata>
}
(*temporary) = 1
Report comment to moderator  
Reply With Quote
Unread 05-09-19, 08:08 AM  
Ammako
A Frostmaul Preserver
AddOn Author - Click to view AddOns

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

Originally Posted by Reaper666735
ah ok ,

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

anyway ty for the information and keep up the good work
It would be. But it's been attempted before and the results weren't very promising, and I had never really looked into it further.

I could look at it at some point when I'm bored, but I can't promise anything (and I can't guarantee that I would succeed, either.)
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: 60
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
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-08-19, 07:45 AM  
Reaper666735
A Defias Bandit
 
Reaper666735's Avatar

Forum posts: 2
File comments: 60
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 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 04-17-19, 02:26 AM  
Reaper666735
A Defias Bandit
 
Reaper666735's Avatar

Forum posts: 2
File comments: 60
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 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 03-11-19, 11:13 AM  
JaseRival
A Kobold Labourer

Forum posts: 0
File comments: 2
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
Post A Reply



Category Jump: