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,079
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 09-07-13, 05:17 PM  
illum1n4ti
A Defias Bandit
 
illum1n4ti's Avatar

Forum posts: 3
File comments: 117
Uploads: 1
Hello Zork my friend,

How are u mate? WOW i like your nameplate, but i missed your config setting

I kinda edit your config into this --> maybe a idea for your next release .
Maybe some people want's to hide Castbar or Castbar Icon etc.

I hope u are not mad
Code:
-- ------------------------------------------------------------------------
-- Settings
-- ------------------------------------------------------------------------
  local cfg = {}

    -- -------------------------------
    -- Health, Name, Icon, Shieldicon, Raidicon and Castbar Size
    -- -------------------------------
    cfg.nameplateWidth    = 100
    cfg.healthbarHeight   = 6
    cfg.castbarHeight     = 4
    cfg.gap               = 4
    cfg.iconSize          = 16
    cfg.shieldSize        = 16
    cfg.raidiconSize      = 16

    -- -------------------------------
    -- Texture, Status Bar Media
    -- -------------------------------
    cfg.texture     = "Interface\\AddOns\\rNamePlates2\\media\\texture.tga"
    cfg.castbar     = "Interface\\AddOns\\rNamePlates2\\media\\castbar.tga"
    cfg.shield      = "Interface\\AddOns\\rNamePlates2\\media\\castbar_shield"
    cfg.iconborder  = "Interface\\AddOns\\rNamePlates2\\media\\castbar_icon_border"
    cfg.glow        = "Interface\\AddOns\\rNamePlates2\\media\\threat_glow"

    -- -------------------------------
    -- Font, Font Size
    -- -------------------------------
    cfg.font = "Interface\\AddOns\\rNamePlates2\\media\\font.ttf"
    cfg.fontsize = 8

    -- -------------------------------
    -- Backdrop and Background
    -- -------------------------------
    cfg.backdrop = {
    bgFile = "Interface\\AddOns\\rNamePlates2\\media\\backdrop",
    edgeFile = "Interface\\AddOns\\rNamePlates2\\media\\backdrop_edge",
    tile = false,
    tileSize = 0,
    edgeSize = 3,
    insets = {
      left = 3,
      right = 3,
      top = 3,
      bottom = 3,
      },
    }

    -- -------------------------------
    -- Hide and Show
    -- -------------------------------
    cfg.show_threat              = false
    cfg.show_level                = true
    cfg.show_castbar            = true
    cfg.show_castbaricon      = false
    cfg.show_raidicon           = true
BTW i have edit your healthbar and castbar in 3D mode lol i just add Background texture

Code:
  -- ------------------------------------
  -- Healthbar
  -- ------------------------------------
    plate.healthbar:SetParent(newPlate)
    plate.healthbar:SetStatusBarTexture(cfg.texture)
    CreateBackdrop(plate.healthbar)

    plate.healthbar.bg = plate.healthbar:CreateTexture(nil, "BACKGROUND")
    plate.healthbar.bg:SetAllPoints(plate.healthbar)
    plate.healthbar.bg:SetVertexColor(1,0,0,0)
    plate.healthbar.bg:SetAlpha(0.25)
    plate.healthbar.bg:SetTexture(cfg.texture)  

  -- ------------------------------------
  -- Castbar
  -- ------------------------------------
    plate.castbar:SetParent(newPlate)
    plate.castbar:SetStatusBarTexture(cfg.castbar)
    CreateBackdrop(plate.castbar)

    plate.castbar.bg = plate.castbar:CreateTexture(nil, "BACKGROUND")
    plate.castbar.bg:SetAllPoints(plate.castbar)
    plate.castbar.bg:SetVertexColor(255, 255, 0, 255)
    plate.castbar.bg:SetAlpha(0.25)
    plate.castbar.bg:SetTexture(cfg.texture)
I hope u could make Hide and Show options in your config
Last edited by illum1n4ti : 09-08-13 at 07:57 AM.
Report comment to moderator  
Reply With Quote
Unread 09-08-13, 08:50 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Glad that you like it. You can edit the addon to whatever floats your boat.
__________________
| 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-13 at 08:50 AM.
Report comment to moderator  
Reply With Quote
Unread 10-12-13, 09:40 AM  
nuubcakeboss
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Big and fat nameplates

If you are having issues with "exanding" nameplates just use this:
Code:

/console bloatnameplates 0
/console bloatthreat 0

^
Having this issue.
Doesnt Work... any fix for this please?
Report comment to moderator  
Reply With Quote
Unread 10-21-13, 12:43 PM  
illum1n4ti
A Defias Bandit
 
illum1n4ti's Avatar

Forum posts: 3
File comments: 117
Uploads: 1
Hello Zork,

I love your nameplate only i keep getting issues with it.

In the beginning i see blizzard nameplates then in a second it changes to your nameplates.

It's like he needs to load or something

Could u please look at it?

Thanks
Report comment to moderator  
Reply With Quote
Unread 10-21-13, 01:16 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
That is normal. I only scan for nameplates once per second. That's why. Once the nameplate is parsed it will stay nice and shiny.
__________________
| 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 : 10-21-13 at 01:17 PM.
Report comment to moderator  
Reply With Quote
Unread 10-21-13, 04:25 PM  
Dhaern
A Kobold Labourer

Forum posts: 0
File comments: 63
Uploads: 0
help with percentage function

Hi zork, can you help with percentage health function creation? I would like add this option to rnameplates2

Thx in advance
Last edited by Dhaern : 10-21-13 at 04:25 PM.
Report comment to moderator  
Reply With Quote
Unread 10-22-13, 01:41 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Re: help with percentage function

Add the function to the top where the other functions are.
Add the new value string to the NamePlateInit function.
Lua Code:
  1. --update health func
  2. local function UpdateHealth(self)
  3.   local hcur, hmin, hmax = self:GetValue(), self:GetMinMaxValues()
  4.   local hper = 0
  5.   if hmax > 0 then hper = hcur/hmax*100 end
  6.   self.value:SetText(hper.."%")
  7. end
  8.  
  9. --new value string
  10. plate.healthbar.value = plate.healthbar:CreateFontString(nil,"BORDER")
  11. plate.healthbar.value:SetPoint("RIGHT", 0, 0)
  12. plate.healthbar.value:SetFont(STANDARD_TEXT_FONT,11,"THINOUTLINE")
  13. plate.healthbar:HookScript("OnValueChanged", UpdateHealth)
  14. UpdateHealth(plate.healthbar)
__________________
| 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 : 10-22-13 at 01:42 AM.
Report comment to moderator  
Reply With Quote
Unread 10-22-13, 12:52 PM  
Aklaim
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Post Need help!

Dear zork. First please forgive me for my English. Secondly, the question is how you can (and if it's possible) in your addon to make the background in the allocation of targets in a different color? What a piece of code is responsible for this? I would be very grateful for your response. Thank you
Report comment to moderator  
Reply With Quote
Unread 10-22-13, 03:38 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Re: Need help!

Originally Posted by Aklaim
What a piece of code is responsible for this?u
Change the value of SetBackdropColor. Currently it is set to 0,0,0,1 in RGBA (reg,green,blue,alpha). For red you use (1,0,0,1) etc.
http://code.google.com/p/rothui/sour...s2/core.lua#75
__________________
| 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 10-23-13, 01:46 AM  
Aklaim
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Thank you for your prompt reply. I would like to say a wish: whether in your addon in any way to make the selection of targets, it somehow signals those it (say what appeared a frame)?
Last edited by Aklaim : 10-23-13 at 01:47 AM.
Report comment to moderator  
Reply With Quote
Unread 10-23-13, 05:54 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Sorry but I do not understand your question.
__________________
| 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 10-23-13, 08:37 AM  
Aklaim
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Once again I apologize for my English. Is it possible to make rnameplates2 as on the attached image? The number 1 (the selected target is selected frame). thank you
1. http://sendfile.su/885474
2. http://dfiles.ru/files/xdogf1ua3
Last edited by Aklaim : 10-23-13 at 08:45 AM.
Report comment to moderator  
Reply With Quote
Unread 10-23-13, 02:04 PM  
Dhaern
A Kobold Labourer

Forum posts: 0
File comments: 63
Uploads: 0
Originally Posted by Aklaim
Once again I apologize for my English. Is it possible to make rnameplates2 as on the attached image? The number 1 (the selected target is selected frame). thank you
1. http://sendfile.su/885474
2. http://dfiles.ru/files/xdogf1ua3
I would like highlight frames on target/mouseover and less opacity on non targets (less alpha color?), it's a nice option
Last edited by Dhaern : 10-23-13 at 02:05 PM.
Report comment to moderator  
Reply With Quote
Unread 10-23-13, 02:53 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1740
File comments: 3728
Uploads: 77
Thanks. I tried it. I actually like it aswell.

DIFF:
http://code.google.com/p/rothui/sour...e.lua&old=1173
__________________
| 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 : 10-23-13 at 02:57 PM.
Report comment to moderator  
Reply With Quote
Unread 10-23-13, 08:17 PM  
Dhaern
A Kobold Labourer

Forum posts: 0
File comments: 63
Uploads: 0
Originally Posted by zork
Thanks. I tried it. I actually like it aswell.

DIFF:
http://code.google.com/p/rothui/sour...e.lua&old=1173
Thx very much zork, rnameplates2 is amazing now with new features

I have one problem now, I changed this code (line 346):

Code:
    
RNP:Hide()
for blizzPlate, newPlate in pairs(RNP.nameplates) do
to

Code:
    
RNP:Hide()
if not InCombatLockdown() then return end
for blizzPlate, newPlate in pairs(RNP.nameplates) do
for show nameplates during combat and hide non combat but this code is not working, because it's hide all text over NPC/PLAYERS not nameplates only on non combat and show friendly nameplates during combat.
I want to show only NPC nameplates and hostile players DURING combat only. Is it possible zork?

This is my final question and I will have perfect nameplates addon with your help
Last edited by Dhaern : 10-23-13 at 08:19 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: