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,769
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 12-18-14, 12:00 PM  
furbolgi
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Re: Re: Threat

Originally Posted by zork
Well. You need to hide the default nameplate healthbar (which I'm using) and create a new one.
I'm assuming it's within SkinHealthBar, but it looks like the texture you're using is transparent, can't I just color it? ie. blizzPlate.healthBar.SetStatusBarColor(...)

Originally Posted by zork
OnUpdate you check for each nameplate if the texture glow is shown and what color it has. If it is red you color your new nameplate healthbar in whatever color you want.
Where would be the best place to do it, within NamePlatePosition(...) (I looked at a previous message you posted a long time ago about changing the nameplate text based on threat and although it referenced the old code it seemed to fit the NamePlatePosition() function) or the actual OnUpdate handler?

Thanks.
furbolgi is offline Report comment to moderator  
Reply With Quote
Unread 12-18-14, 07:37 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1391
File comments: 3396
Uploads: 89
Re: Threat

Well. You need to hide the default nameplate healthbar (which I'm using) and create a new one. OnUpdate you check for each nameplate if the texture glow is shown and what color it has. If it is red you color your new nameplate healthbar in whatever color you want.
__________________
| 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 12-17-14, 01:42 PM  
furbolgi
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Threat

Hey, thanks for the addon.

I've been using it on my tank and would like to have nameplates colored differently depending on if I'm tanking the mobs or not. I'm ok at making minor modifications to lua, what would be the best way to go about it.

Thanks.
furbolgi is offline Report comment to moderator  
Reply With Quote
Unread 12-12-14, 06:13 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1391
File comments: 3396
Uploads: 89
@Bizerk
Sure. If you hack the two skin functions for the health and castbar.
https://code.google.com/p/rothui/sou...Plates.lua#231
https://code.google.com/p/rothui/sou...Plates.lua#281
__________________
| 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 : 12-12-14 at 06:14 AM.
zork is offline Report comment to moderator  
Reply With Quote
Unread 12-11-14, 09:13 PM  
Bizerk
A Murloc Raider

Forum posts: 6
File comments: 58
Uploads: 0
Is it possible to use these nameplates without the diablo ui texture?
Bizerk is offline Report comment to moderator  
Reply With Quote
Unread 12-11-14, 03:13 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1391
File comments: 3396
Uploads: 89
@Kabuto
I will look into it. A screenshot would be helpful.
__________________
| 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 12-10-14, 09:46 PM  
Kabuto-eu
A Kobold Labourer

Forum posts: 0
File comments: 25
Uploads: 0
I think there is a small timing bug with the aura updates/frame position.

What I have noticed is enemies who are
- casting a channelled spell
- while I have a debuff on them

causes the cast bar to periodically glitch out for a few frames, possibly when you check for aura updates? The whole nameplate seems to be getting drawn in a different position for a very short period.

This doesn't seem to occur to nameplates I am not targeting at the time.

I tested it on the red goren spewing mobs in Magnarok, Frostfire Ridge.

Turning off auras (/rnp disable) seemed to fix this glitching. I have also noticed it in dungeons, the bug is not specific to these mobs.
Kabuto-eu is offline Report comment to moderator  
Reply With Quote
Unread 12-01-14, 03:34 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1391
File comments: 3396
Uploads: 89
/rnp disable

Will do exactly what you are asking for.
__________________
| 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 12-01-14, 11:37 AM  
Aborted Man
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Is there a way to completely disable the function of showing auras on top of nameplates? I'm doing some testing with other addons and wondering if "/rnp disable" is completely eliminating any possible interference with similar nameplate/buff mods.
Aborted Man is offline Report comment to moderator  
Reply With Quote
Unread 11-28-14, 03:09 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1391
File comments: 3396
Uploads: 89
Re: Round auras

@Faremir
Wow. Nice to hear that. Inspiring others is basically why I decided to upload my stuff in first place. Thanks.
__________________
| 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 11-27-14, 12:29 AM  
Faremir
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Thumbs up Round auras

Hi Zork,
I'm your big fan last few years and just because of you I'm just studying Informatics.
During the few years I've watched your work, I learned a lot. I made for myself a few adjustments in your UI.
But to the point. I noticed that you were here a year ago gave an example of how to make a round buttons. So I tried it and I think you would like it.
__________________
Faremir
Faremir is offline Report comment to moderator  
Reply With Quote
Unread 11-11-14, 02:25 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1391
File comments: 3396
Uploads: 89
That second part is gone. Sorry. You would need to hack that in yourself.
__________________
| 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 11-11-14, 02:00 PM  
Dhaern
A Kobold Labourer

Forum posts: 0
File comments: 64
Uploads: 0
Originally Posted by Dhaern
Ok, finally my config is finished. This code works for show/hide enemies nameplates during combat (friendly nameplates always hide):

Code:
 
--Show hostile nameplates during combat only
  local show, hide = 1, 0
	local f = CreateFrame("Frame")
	f:RegisterEvent("PLAYER_REGEN_ENABLED")
	f:RegisterEvent("PLAYER_REGEN_DISABLED")
	f:SetScript("OnEvent", function(self, event, ...)
		self[event]()
	end)

	function f:PLAYER_REGEN_ENABLED()
		SetCVar("nameplateShowEnemies", hide)
		SetCVar("nameplateShowFriends", hide)
	end

	function f:PLAYER_REGEN_DISABLED()
		SetCVar("nameplateShowEnemies", show)
		SetCVar("nameplateShowFriends", hide)
  end
percentage health code, fixed decimals with math.floor:

Code:
    
--update health func, add to the top where the other functions are.
    local function UpdateHealth(self)
      local hcur, hmin, hmax = self:GetValue(), self:GetMinMaxValues()
      local hper = 0
      if hmax > 0 then hper = hcur/hmax*100 end
      self.value:SetText(math.floor(hper + 0.5).."%")
    end
     
--new value string, add to NamePlateInit function.
    plate.healthbar.value = plate.healthbar:CreateFontString(nil,"BORDER")
    plate.healthbar.value:SetPoint("RIGHT", 0, 0)
    plate.healthbar.value:SetFont(STANDARD_TEXT_FONT,11,"THINOUTLINE")
    plate.healthbar:HookScript("OnValueChanged", UpdateHealth)
    UpdateHealth(plate.healthbar)
and highlight on target/mouseover:
DIFF:
http://code.google.com/p/rothui/sour...e.lua&old=1173
Hi zork, i had these modifications with rnameplates2 but now only works the first one (--Show hostile nameplates during combat only) in new rnameplates. Can you help me with highlight on target/mouseover code to work again? Thx
Last edited by Dhaern : 11-11-14 at 02:02 PM.
Dhaern is offline Report comment to moderator  
Reply With Quote
Unread 11-09-14, 02:31 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1391
File comments: 3396
Uploads: 89
@kabuto
Hmm. Yeah that sounds like a good idea. I'll add it.

@casthro
If you check the code you will see skin functions. If you do not like the skin just edit it to your liking.
There is only rNamePlates. Make of that whatever you want.
__________________
| 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 : 11-09-14 at 03:07 PM.
zork is offline Report comment to moderator  
Reply With Quote
Unread 11-09-14, 12:42 PM  
Cashtro
A Defias Bandit
 
Cashtro's Avatar

Forum posts: 3
File comments: 73
Uploads: 1
Mr Zork!

Thanks for the update but i hope someday you could update rNamePlates2 instead of rNamePlates ..

I hope to hear from you soon

Regards
CaShtro
__________________
Cashtro is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: