Enemy player names should already be colored by class, while friendly player names are colored white
If you want to change friendly player names to be colored by class instead, you could look at this diff, sorry if it's a bit confusing I still need to update this addon for some bug that recently appeared with dreadlords from the legion pre-event
The enemy healthbars are being colored hostile, instead of by class to easier discern them from friendly players. But I probably should add a few simple options in the next update
As a workaround you can edit line 8 in the addon to be this:
SetCVar("ShowClassColorInNameplate", 1)
Otherwise it might be a better idea to use KuiNameplates, Plater or Tidy Plates, sorry ><
That's not the same as yours though, yours shows class colours in the name text but the bars are red and whatever so you can tell the difference between ally and horde?
So there's no way to make this addon compatible with it?
I tried to look into it, and it's not possible to make it compatible with ElvUI (it doesn't use the ShowClassColorInNameplate cvar)
You could ask the ElvUI team if there is any option to color enemy player health bars hostile (instead of by class color), and if that otherwise could be added
hooksecurefunc("CompactUnitFrame_UpdateName", function(frame)
if not ShouldShowName(frame) then
frame.name:Hide()
else
frame.name:SetText(GetUnitName(frame.unit))
frame.name:SetVertexColor(1, 1, 1)
frame.name:Show()
end
end)
Enemy player names should already be colored by class, while friendly player names are colored white
If you want to change friendly player names to be colored by class instead, you could look at this diff, sorry if it's a bit confusing I still need to update this addon for some bug that recently appeared with dreadlords from the legion pre-event
https://gist.github.com/anonymous/6b8bb84ebe39e71e2b891b31bf48854b
Hi. Why my enemy healthbars dont get colored ? the names does have a class color, bars not. On friendly plates everything is fine
The enemy healthbars are being colored hostile, instead of by class to easier discern them from friendly players. But I probably should add a few simple options in the next update
As a workaround you can edit line 8 in the addon to be this:
Otherwise it might be a better idea to use KuiNameplates, Plater or Tidy Plates, sorry ><
Is it possible to make this work with elvui? Or somehow make elvui do the same thing?
ElvUI does the same thing, with and without health bars :)
https://gfycat.com/NeedyBlandAfricanjacana
That's not the same as yours though, yours shows class colours in the name text but the bars are red and whatever so you can tell the difference between ally and horde?
Ow, I don't get any notifications from replies to my Curse comments :S
There indeed is a difference with ElvUI, it doesn't look like there is an option to color the name and bars separately by class/hostile
I honestly think your best bet would be to ask Elv about it...
You could ask the ElvUI team if there is any option to color enemy player health bars hostile (instead of by class color), and if that otherwise could be added
Alright thanks anyway :)
Bump
Great addon!:)
Is it possible to make friendly health bars transparent or hide them somehow but leaving castbars visible?
I like how the names look with pvp icon and color on it, but so many health bars in bgs gives me headache ;)
Thanks in advance.
It's possible to add some very basic configuration options, will try to add some
I edited comment before i saw your reply, silly me.
I figured out how to make fiendly players names colored by class but rest of the functions dont work. Im terrible at this :P
edit: ok got it working like i want:)
thats what i did
Now:
- Enemy nameplates will be colored by class, and names colored white
- Friendly nameplates will be colored by pvp status, and names colored by class
http://pastebin.com/BaUyMSL7
Still trying to make healthbars invisible.
Any options to make all nameplate names white? Doesnt matter npc or hostile player
Yes, turn this into an addon with http://addon.bool.no/
https://gfycat.com/PeskyPitifulAmethystinepython
Thank you! NameplateRange, NameplateNames, that code and now it works like old standart nameplates
nice addon :D , i have to admit i miss the old " round " edges lol , can it be possible for this addon to have such an overlay ? :)
Not really, since it only changes the colors
For more advanced options it's better to use Plater, KuiNameplates or ElvUI