Download
(34Kb)
Download
Updated: 10-16-15 09:54 AM
Pictures
File Info
Updated:10-16-15 09:54 AM
Created:08-21-13 05:56 PM
Downloads:14,074
Favorites:46
MD5:

rNamePlates (Diablo)  Popular! (More than 5000 hits)

Version: 60200.02
by: zork [More]

Update, October 2016

We can now spawn nameplates with oUF. There is no need anymore for a seperate nameplate framework. They can be integrated into your oUF layout. http://www.wowinterface.com/forums/s...ad.php?t=54584
INTRO
rNamePlates replaces the default name plates with a Diablo themed high FPS counterpart.
Based up on this: Nameplate FPS drop research
AURAS
rNamePlates supports auras. Auras are tracked for "player" and "pet" and saved in a spell-database per character. To administrate the spell-database check the slash commands.
SLASH COMMANDS
lua Code:
  1. /rnp -- shows all commands
  2. /rnp list -- shows all entries of spelldb for this character
  3. /rnp blacklist SPELLID -- blacklists a certain SPELLID in spelldb for this character
  4. /rnp whitelist SPELLID -- whitelists a certain SPELLID in spelldb for this character
  5. /rnp remove SPELLID -- removes a certain SPELLID from spelldb for this character
  6. /rnp disable -- disable the spelldb for this character
  7. /rnp enable -- enable the spelldb for this character
  8. /rnp resetspelldb -- reset the spelldb for this character

CONFIG
Small config on top of the rNamePlates.lua. Not much. Most of the stuff is hardcoded.
GIT
https://github.com/zorker/rothui/tre....0/rNamePlates

60200.01
- added absorbbar reference
- added fix for patch 6.2

60000.09
- healthbar colors now match faction colors
- color onupdate function throttled

60000.08
- hide default healthbar
- hide default castbar
- hide threat glow
- create new healthbar
- create new castbar
- added TANKMODE healthbar coloring

60000.07
- Added new command "disable" to disable the spellDB per character
- Added new command "enable" to enable the spellDB per character
- Remove obsolete checks for ScanAura
- Code cleanup

60000.06
- fixed the poor GUID handling

60000.05
- changed loading event to ADDON_LOADED
- fixed rNP_SPELL_DB = nil error

60000.04
- Loading SavedVariables with VARIABLES_LOADED event instead of ADDON_LOADED
- Added more spellDB checks
- Removed spellDB wipe on new WoW build
- Added new command "remove" to remove a spell from spellDB
- Renamed command "spelldb" to "list"

60000.03
- added auras to rNamePlates
- added slash commands to manage tracked auras

60000.02
- code cleanup

60000.01
- new nameplates for wod 6.0.2

50400.01
- added healthbar faction coloring
- updated toc to 50400

50300.04
- Added the threat bloat fix

50300.03
- changed the threat glow to a threat border around the healthbar

50300.02
- code cleanup/overhaul
- added 2 new statusbar textures to pick from

50300.01
- initial release
Optional Files (0)


Post A Reply Comment Options
Unread 03-01-14, 05:08 PM  
Kkthnx
A Cobalt Mageweaver
 
Kkthnx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 247
File comments: 101
Uploads: 15
Any possible way to add class icons to the enemy plates? residing to the left side of the plate?
__________________
Success isn't what you've done compared to others. Success is what you've done compared to what you were made to do.
Last edited by Kkthnx : 03-01-14 at 05:08 PM.
Report comment to moderator  
Reply With Quote
Unread 03-02-14, 05:06 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
No sorry.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 03-24-14, 05:09 AM  
gossipgirlxo
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 108
Uploads: 1
what would be the best way to increase the alpha transparency of my target frame to 100% and my non targets to 20%
Report comment to moderator  
Reply With Quote
Unread 03-24-14, 08:48 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Originally Posted by gossipgirlxo
what would be the best way to increase the alpha transparency of my target frame to 100% and my non targets to 20%
Line 338.
Lua Code:
  1. newPlate:SetAlpha(blizzPlate:GetAlpha())

You could change that to
Lua Code:
  1. if blizzPlate:GetAlpha() > 0.9 then
  2.   newPlate:SetAlpha(1)
  3. else
  4.   newPlate:SetAlpha(0.2)
  5. end
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 03-26-14, 07:21 PM  
gossipgirlxo
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 108
Uploads: 1
Originally Posted by zork
Originally Posted by gossipgirlxo
what would be the best way to increase the alpha transparency of my target frame to 100% and my non targets to 20%
Line 338.
Lua Code:
  1. newPlate:SetAlpha(blizzPlate:GetAlpha())

You could change that to
Lua Code:
  1. if blizzPlate:GetAlpha() > 0.9 then
  2.   newPlate:SetAlpha(1)
  3. else
  4.   newPlate:SetAlpha(0.2)
  5. end

Zork, you are the man. thank you for the quick reply
Report comment to moderator  
Reply With Quote
Unread 03-30-14, 12:05 AM  
ramzax
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 10
File comments: 11
Uploads: 1
hey zork, love your addon. I was trying to add the abbreviated form of the remaining health and total health on the left side of the nameplate. Here's the modified code from a post before:
Code:
local function UpdateHealth2(self)
  local hcur, hmin, hmax = self:GetValue(), self:GetMinMaxValues()
  local hrem = 0
  if hmax > 0 then hrem = hmax-hcur end
  	self.value:SetText(hcur.."/"..hmax)
  end
It shows health but I don't know how to abbreviate it, maybe using something "SetText(AbbreviateLargeNumbers)" would help but I obviously suck at lua.

Maybe you could help?
Report comment to moderator  
Reply With Quote
Unread 05-07-14, 12:49 PM  
nuc_eng
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Hiding or changing nameplate/health bar colors

Hi Zork,

Great job with this and Roth UI. I love them both and have been modding them to my comfort level. A couple of questions:

1) How do you hide the health bars on friendly NPCs/Players? I think it would greatly clean up the BG or city landscape and allow me to concentrate on the hostiles.

2) How can you change the color of a nameplate? I'm somewhat colorblind and red, especially against a green background is difficult for me to see.

Again great work!

Thanks.
Report comment to moderator  
Reply With Quote
Unread 05-18-14, 05:44 PM  
feraldrood
A Theradrim Guardian
 
feraldrood's Avatar

Forum posts: 62
File comments: 47
Uploads: 0
changing fonts

Hey Zork,

Ive been digging the fps fix on these frames but I would like to change the fonts used.
unfortunately I haven't had any success with that, would appreciate a pointer or two

also, how do I make the creature name only displayed on my target? is that even an option?
and lastly, I've been having trouble trying to adjust the colors on nameplates (bit too dark)

advice?
Report comment to moderator  
Reply With Quote
Unread 05-22-14, 06:34 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Re: changing fonts

Open the core.lua and search for "SetFont". Use any font you like.
http://wowprogramming.com/docs/widge...stance/SetFont
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Report comment to moderator  
Reply With Quote
Unread 08-27-14, 09:24 PM  
iru
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Hello. I just wanted to say I was also having the same nameplate problem already posted here on a PC, but I got it fixed (only thanks to zork pointing out the possible cause of the problem in the first place).

The culprit was a console variable named "bloatTest" in the WTF\Config file, which was set to 1. Like this:
Code:
SET bloatTest "1"
So, in-game, I merely did:
Code:
/console bloatTest 0
And the nameplates were looking good again. I found a console variable like this related to nameplate issues mentioned on this site, here.

Hopefully those who were having nameplate issues find both a similar cause and solution. Cheers!
Report comment to moderator  
Reply With Quote
Unread 08-28-14, 08:38 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
That dumb variable still exists? Lol. So I'm going to change my setvar rewrites to
Lua Code:
  1. --setvar
  2.   SetCVar("bloatnameplates",0)
  3.   SetCVar("bloatthreat",0)
  4.   SetCVar("bloattest",0)
I guess...
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 08-28-14 at 08:42 AM.
Report comment to moderator  
Reply With Quote
Unread 09-07-14, 06:59 AM  
Xully
A Cyclonian

Forum posts: 44
File comments: 180
Uploads: 0
hi zork, is there any possible way to show inside the nameplate itself

[ hp current - percentage ]

example inside nameplate.

[ 715.4k - 62% ]


also if I can ask, can The name have the same color as the threat of the unit (for better visibility) would love if i can do this. thanks
Last edited by Xully : 09-07-14 at 07:42 PM.
Report comment to moderator  
Reply With Quote
Unread 09-08-14, 02:03 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Originally Posted by Xully
1.) For the percentage you need to add a function that hooks the plate healthbar OnValueChanged event and according change a text string depending on the castbar values.
2.) For the threat coloring. Yeah that one is awful to do because you would need to check for the threat glow state on each OnUpdate cycle because there is no event firing for the threat glow.
Example for the healthbar 1.)
https://code.google.com/p/rothui/sou...2/core.lua#308
Lua Code:
  1. local function NamePlateHealthbarOnValueChanged(self)
  2.   local cur, min, max = self:GetValue, self:GetMinMaxValues()
  3.   print(cur,min,max)
  4. end
  5.  
  6. plate.healthbar:HookScript("OnValueChanged", NamePlateHealthbarOnValueChanged)

Example for 2.)
https://code.google.com/p/rothui/sou...2/core.lua#336
Lua Code:
  1. if blizzPlate:IsShown() then
  2.   if blizzPlate.threat:IsShown() then
  3.     newPlate.name:SetTextColor(blizzPlate.threat:GetVertexColor())
  4.    end
  5.   newPlate:SetPoint("CENTER", WorldFrame, "BOTTOMLEFT", blizzPlate:GetCenter())
  6.   newPlate:SetAlpha(blizzPlate:GetAlpha())
  7.   newPlate:Show()
  8. end
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 09-08-14 at 02:05 AM.
Report comment to moderator  
Reply With Quote
Unread 09-08-14, 05:57 AM  
Xully
A Cyclonian

Forum posts: 44
File comments: 180
Uploads: 0
thanks zork for the response. can I ask you on @2 "by awful" do you mean it will cause lag or something, or is it just bad?

also can I ask if platebuff addon works with this nameplate or not
Last edited by Xully : 09-08-14 at 07:55 AM.
Report comment to moderator  
Reply With Quote
Unread 09-08-14, 10:16 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Platebuff does not work with rNamePlates2. By awful I mean that without throttling the function for the threatglow color check would be called everytime a frame is created on the screen. At 100fps that is 100times per second.
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 09-08-14 at 10:23 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: