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,067
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-07-15, 10:34 AM  
evilbib
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 44
Uploads: 2
Originally Posted by Kabuto-eu
Code:
    local name = bar.hlf:CreateFontString(nil, "BORDER")
    name:SetFont(cfg.font, cfg.healthbar_fontsize, "OUTLINE")
	name:SetHeight(12)
	name:SetWidth(12)
    name:SetPoint("BOTTOM",bar,"TOP",0,-24)
    name:SetPoint("LEFT",8,0)
    name:SetPoint("RIGHT",-8,0)
    name:SetText("Ich bin ein Berliner!")
    bar.name = name
This works, not sure the numbers even matter as long as you set height and width on the string. If you have name strings randomly flip flop between truncated or not then another addon is probably doing it. I know BlizzBugsSuck tries to fix this issue but I'm not convinced it does it safely and might even make things worse.
Thx that worked .
Report comment to moderator  
Reply With Quote
Unread 03-07-15, 02:40 AM  
Kabuto-eu
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 45
Uploads: 2
Code:
    local name = bar.hlf:CreateFontString(nil, "BORDER")
    name:SetFont(cfg.font, cfg.healthbar_fontsize, "OUTLINE")
	name:SetHeight(12)
	name:SetWidth(12)
    name:SetPoint("BOTTOM",bar,"TOP",0,-24)
    name:SetPoint("LEFT",8,0)
    name:SetPoint("RIGHT",-8,0)
    name:SetText("Ich bin ein Berliner!")
    bar.name = name
This works, not sure the numbers even matter as long as you set height and width on the string. If you have name strings randomly flip flop between truncated or not then another addon is probably doing it. I know BlizzBugsSuck tries to fix this issue but I'm not convinced it does it safely and might even make things worse.
Last edited by Kabuto-eu : 03-07-15 at 02:47 AM.
Report comment to moderator  
Reply With Quote
Unread 03-06-15, 02:19 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Oh yeah that issue. What you are seeing is sth that should never happen at all. The name string has fixed setpoints (left,right). Thus once a string is wider than the max-width defined by the setpoints it gets truncated automatically.

For whatever reason that behavious bugs out since 6.1 on some occasions. Super wierd. I have that on my todo list.
__________________
| 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 : 03-06-15 at 02:20 AM.
Report comment to moderator  
Reply With Quote
Unread 03-05-15, 09:46 AM  
evilbib
An Aku'mai Servant
AddOn Author - Click to view AddOns

Forum posts: 30
File comments: 44
Uploads: 2
I have a question about the name string.

What it should look like


What it looks to me


After a reload its fine again, but after some time its back. Thats very annoying because it overlaps with the auras. Is this addon related or is this blizz's fault?
Report comment to moderator  
Reply With Quote
Unread 01-24-15, 04:44 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Nice. Well. I have a Github account. I just don't need it.
__________________
| 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 01-24-15, 10:04 AM  
illum1n4ti
A Defias Bandit
 
illum1n4ti's Avatar

Forum posts: 3
File comments: 117
Uploads: 1
Originally Posted by Cashtro
Originally Posted by zork
Nameplates are threat or faction colored. Additionally the color is multiplied with your texture color. Maybe your textures differ. Or you have threat on the nameplate but not on the target frame.

Or what may make the color look wierd is the highlight frame. That is a highlight texture on top of the nameplate. You can try to disable it and check for the outcome.
Hello Friend,

I just edit some textures on rNamePlate .. i hope u dont mind and i disabled highlight texture

1. screenshot is rNamePlate
2. screenshot is rNamePlate2 (https://code.google.com/p/rothui/sou...ates2/core.lua)

As u see there is diffrent colors. I hope u understand .. cuz i cant figure out what color scheme is causing this. I need help Zork
Hello Zork

I got finally working i did some changes here and there but 1 more question why dont u use https://github.com/? just wondering

Code:
  local function NamePlateHealthBarColor(blizzPlate)
    for class, _ in pairs(RAID_CLASS_COLORS) do
      if RAID_CLASS_COLORS[class].r == r and RAID_CLASS_COLORS[class].g == g and RAID_CLASS_COLORS[class].b == b then
        return --no color change needed, class color found
      end
    end
   if blizzPlate.healthBar.statusbarTexture:IsShown() then
      local r,g,b = blizzPlate.healthBar.statusbarTexture:GetVertexColor()
      if g+b == 0 then
        blizzPlate.newPlate.healthBar:SetStatusBarColor(r,g,b)
      elseif g+b == 0 then -- hostile
        r,g,b = FACTION_BAR_COLORS[2].r, FACTION_BAR_COLORS[2].g, FACTION_BAR_COLORS[2].b
      elseif r+b == 0 then -- friendly npc
        r,g,b = FACTION_BAR_COLORS[6].r, FACTION_BAR_COLORS[6].g, FACTION_BAR_COLORS[6].b
      elseif r+g == 2 then -- neutral
        r,g,b = FACTION_BAR_COLORS[4].r, FACTION_BAR_COLORS[4].g, FACTION_BAR_COLORS[4].b
      elseif r+g == 0 then -- friendly player, we don't like 0,0,1 so we change it to a more likable color
        r,g,b = 0/255, 100/255, 255/255
      end
      blizzPlate.newPlate.healthBar:SetStatusBarColor(r,g,b)
    end
  end
Here is the screenshot

Last edited by illum1n4ti : 01-24-15 at 11:40 AM.
Report comment to moderator  
Reply With Quote
Unread 01-23-15, 03:11 PM  
illum1n4ti
A Defias Bandit
 
illum1n4ti's Avatar

Forum posts: 3
File comments: 117
Uploads: 1
Originally Posted by zork
Nameplates are threat or faction colored. Additionally the color is multiplied with your texture color. Maybe your textures differ. Or you have threat on the nameplate but not on the target frame.

Or what may make the color look wierd is the highlight frame. That is a highlight texture on top of the nameplate. You can try to disable it and check for the outcome.
Hello Friend,

I just edit some textures on rNamePlate .. i hope u dont mind and i disable highlight texture

1. screenshot is rNamePlate
2. screenshot is rNamePlate2 (https://code.google.com/p/rothui/sou...ates2/core.lua)

As u see there is diffrent colors. I hope u understand .. cuz i cant figure out what color scheme is causing this. I need help Zork


Last edited by illum1n4ti : 01-23-15 at 03:18 PM.
Report comment to moderator  
Reply With Quote
Unread 01-21-15, 01:27 AM  
Emy
A Defias Bandit
 
Emy's Avatar

Forum posts: 2
File comments: 25
Uploads: 0
Originally Posted by zork
Right there where it says "tank mode".
https://code.google.com/p/rothui/sou...Plates.lua#431

Either change the color that is defined in RGB (0,1,0) = GREEN or disable the condition.
Thank you
Report comment to moderator  
Reply With Quote
Unread 01-21-15, 12:39 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Right there where it says "tank mode".
https://code.google.com/p/rothui/sou...Plates.lua#431

Either change the color that is defined in RGB (0,1,0) = GREEN or disable the condition.
__________________
| 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 01-20-15, 05:23 PM  
Emy
A Defias Bandit
 
Emy's Avatar

Forum posts: 2
File comments: 25
Uploads: 0
Originally Posted by zork
@emy
Nameplates are colored by faction. If you fight an npc and have threat it will turn on tank mode. The colors match the faction table.
https://code.google.com/p/rothui/sou...Plates.lua#437
Hmm, that isn't good with a horde hunter then :/ Having aggro is bad for me but the aggro colours show green whenever my pet loses aggro, which looks like it should be a good thing... Where in the lua can I switch that off, or is it just in the latest version (it was fine and showing class colours/red-for-aggro up to recently.
Last edited by Emy : 01-20-15 at 06:41 PM.
Report comment to moderator  
Reply With Quote
Unread 01-20-15, 02:19 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
@furbolgi
If adds have no threat table (which is possible) there will be no threat glow.

@emy
Nameplates are colored by faction. If you fight an npc and have threat it will turn on tank mode. The colors match the faction table.
https://code.google.com/p/rothui/sou...Plates.lua#437

Btw I found a bug with priests. Their class color seems to be 1,1,1. Which tiggers neutral npc. Lol.

Need to fix that.
__________________
| 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 01-19-15, 07:06 PM  
furbolgi
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Not sure if you noticed it and I couldn't find any information about it but the adds during Kargath arena don't seem to trigger the threat coloring. Using the older version I can't seem to make it work either, it looks like the threat glow isn't working / implemented for them by blizzard.
Report comment to moderator  
Reply With Quote
Unread 01-19-15, 11:58 AM  
Emy
A Defias Bandit
 
Emy's Avatar

Forum posts: 2
File comments: 25
Uploads: 0
Hi Zork,

Is the colour by faction option completely gone, or am I missing something really obvious? I can't see it in the Variables part. If gone, which version would I go back to, to get it again?
Report comment to moderator  
Reply With Quote
Unread 01-19-15, 03:07 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Re: percent hp

Currently there is no health string and no function that updates such a string. You need to add it yourself.
__________________
| 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 01-19-15, 02:51 AM  
Sivelrius
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
percent hp

Goood day. My english is very bad,so i cant read all forum and understant much but i'll try to ask here.
Is it real to show percents and curret hp in short form for example 234.721 - 234.7k.
In the end will be 234.7k - 100% (percents will be in middle). Thanks
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: