Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(33 Kb)
Download
Updated: 11-10-14 12:16 PM
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.3)
Updated:11-10-14 12:16 PM
Created:08-21-13 05:56 PM
Downloads:4,755
Favorites:47
MD5:
6.0.3

rNamePlates (Diablo)

Version: 60000.07
by: zork [More]


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.
SVN
http://code.google.com/p/rothui/sour...0/rNamePlates/

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)


Archived Files (8)
File Name
Version
Size
Author
Date
60000.06
33kB
zork
11-08-14 11:57 AM
60000.02
30kB
zork
10-24-14 07:51 PM
60000.01
30kB
zork
10-18-14 09:27 AM
50400.01
16kB
zork
09-16-13 04:39 AM
50300.04
16kB
zork
09-07-13 04:33 AM
50300.03
16kB
zork
08-24-13 08:10 PM
50300.02
50kB
zork
08-23-13 12:33 PM
50300.01
11kB
zork
08-21-13 05:56 PM


Post A Reply Comment Options
Unread 09-09-14, 06:46 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1391
File comments: 3396
Uploads: 89
Sorry. Try using any other nameplate mod with ingame config then. KuiNameplates are pretty good and do everything you need.
http://www.wowinterface.com/download...19390-238.html
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 09-09-14 at 06:47 AM.
zork is offline Report comment to moderator  
Reply With Quote
Unread 09-09-14, 04:21 AM  
Xully
A Fallenroot Satyr

Forum posts: 20
File comments: 144
Uploads: 0
oh ok, then I wont use it, but for the hp - percentage, it didn't work for me, everytime I add those lines , the default blizzard nameplate shows.

ideally I want it to show only [ HP ] if its maxed, and once the mob/boss is losing hp, it shows percentage like this [ HP - percentage ] like for example if mob has 400k hp and he's on full, it shows

[ 400k ]

if he loses hp etc.


[ 300k - 75% ]
Xully is offline 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: 1391
File comments: 3396
Uploads: 89
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.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"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.
zork is offline Report comment to moderator  
Reply With Quote
Unread 09-08-14, 05:57 AM  
Xully
A Fallenroot Satyr

Forum posts: 20
File comments: 144
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.
Xully is offline 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: 1391
File comments: 3396
Uploads: 89
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.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"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.
zork is offline Report comment to moderator  
Reply With Quote
Unread 09-07-14, 06:59 AM  
Xully
A Fallenroot Satyr

Forum posts: 20
File comments: 144
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.
Xully is offline 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: 1391
File comments: 3396
Uploads: 89
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.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"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.
zork is offline 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!
iru is offline 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: 1391
File comments: 3396
Uploads: 89
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.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is offline Report comment to moderator  
Reply With Quote
Unread 05-18-14, 05:44 PM  
feraldrood
A Cyclonian
 
feraldrood's Avatar

Forum posts: 42
File comments: 35
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?
feraldrood is offline 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.
nuc_eng is offline Report comment to moderator  
Reply With Quote
Unread 03-30-14, 12:05 AM  
ramzax
A Murloc Raider
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 10
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?
ramzax is offline Report comment to moderator  
Reply With Quote
Unread 03-26-14, 07:21 PM  
gossipgirlxo
A Deviate Faerie Dragon

Forum posts: 10
File comments: 81
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
gossipgirlxo is offline 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: 1391
File comments: 3396
Uploads: 89
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.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

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

Forum posts: 10
File comments: 81
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%
gossipgirlxo is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: