Download
(16 Kb)
Download
Updated: 09-16-13 04:39 AM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Updated:09-16-13 04:39 AM
Created:08-21-13 05:56 PM
Downloads:2,322
Favorites:41
MD5:
5.4
rNamePlates 2
Version: 50400.01
by: zork [More]

Intro
Just simple nameplates.

I created this mod after finding out about the FPS bug.

I had friends with 200fps without nameplates that dropped to 40fps with nameplates enabled.
This mod fixes this issue because it hides all NamePlates before applying a new SetPoint().

If you are experiencing high FPS loss with nameplates enabled try them and get amazed.
Config
Config variables can be found at the top of the core.lua.

Lua Code:
  1. --CONFIG
  2.  
  3.   --width/height
  4.   cfg.nameplateWidth    = 100
  5.   cfg.healthbarHeight   = 7
  6.   cfg.castbarHeight     = 7
  7.   cfg.threatglowHeight  = 15
  8.   --gap between bars and castbar icon
  9.   cfg.gap               = 5
  10.   --icon sizes
  11.   cfg.iconSize          = 30
  12.   cfg.shieldSize        = 16
  13.   cfg.raidiconSize      = 25
  14.   --statusbars
  15.   --available textures: statusbar, statusbar_smooth, statusbar_rothui
  16.   cfg.healthbarTexture  = "Interface\\AddOns\\rNamePlates2\\media\\statusbar"
  17.   cfg.castbarTexture    = "Interface\\AddOns\\rNamePlates2\\media\\statusbar"
SVN
http://code.google.com/p/rothui/sour...0/rNamePlates2
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 (4)
File Name
Version
Size
Author
Date
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
Old 03-30-14, 12:05 AM  
ramzax
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
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
Old 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
Old 03-24-14, 08:48 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1289
File comments: 3270
Uploads: 84
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.
| Blog | Roth UI | Roth UI FAQ | GoogleCode | Zork | Guild | zorker.de

"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
Old 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
Old 03-02-14, 04:06 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1289
File comments: 3270
Uploads: 84
No sorry.
__________________
| Simple is beautiful.
| Blog | Roth UI | Roth UI FAQ | GoogleCode | Zork | Guild | zorker.de

"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
Old 03-01-14, 04:08 PM  
Kkthnx
A Flamescale Wyrmkin
 
Kkthnx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 141
File comments: 153
Uploads: 9
Any possible way to add class icons to the enemy plates? residing to the left side of the plate?
__________________
Last edited by Kkthnx : 03-01-14 at 04:08 PM.
Kkthnx is offline Report comment to moderator  
Reply With Quote
Old 02-24-14, 05:34 PM  
Ginko
A Kobold Labourer
 
Ginko's Avatar

Forum posts: 0
File comments: 8
Uploads: 0
Re: Re: Debuff icon above nameplates?

Thank you for the suggestion, I will take a look.

Originally Posted by zork
Yeah that's not going to happen with this nameplates. You could check out KUINameplates instead.
Ginko is offline Report comment to moderator  
Reply With Quote
Old 02-24-14, 01:24 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1289
File comments: 3270
Uploads: 84
Re: Debuff icon above nameplates?

Yeah that's not going to happen with this nameplates. You could check out KUINameplates instead.
__________________
| Simple is beautiful.
| Blog | Roth UI | Roth UI FAQ | GoogleCode | Zork | Guild | zorker.de

"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
Old 02-23-14, 05:46 PM  
Ginko
A Kobold Labourer
 
Ginko's Avatar

Forum posts: 0
File comments: 8
Uploads: 0
Debuff icon above nameplates?

Hi Zork,

I apologize if this has been asked before, but is there a function to show debuffs on the nameplates? Possibly attached or is this something that could work with rfilter?


Best,
Ginko is offline Report comment to moderator  
Reply With Quote
Old 01-15-14, 04:00 AM  
Kkthnx
A Flamescale Wyrmkin
 
Kkthnx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 141
File comments: 153
Uploads: 9
Thank you for your hard work!
__________________
Last edited by Kkthnx : 01-15-14 at 04:19 AM.
Kkthnx is offline Report comment to moderator  
Reply With Quote
Old 12-30-13, 05:06 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1289
File comments: 3270
Uploads: 84
That is not possible because accessing the current UnitId of a nameplate is quite difficult.
__________________
| Simple is beautiful.
| Blog | Roth UI | Roth UI FAQ | GoogleCode | Zork | Guild | zorker.de

"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
Old 12-29-13, 01:17 PM  
Beatrix
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Hi all. First of all I love your addon. Second, I was wondering whether or not it is possible to add the Guild name to allies underneath the bars and also to show only the character name in letters (no health bar) for allies also. I don't really know anything about lua code so I am not certain if it is even possible or not.

Thanks in advance
Beatrix is offline Report comment to moderator  
Reply With Quote
Old 12-05-13, 09:25 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1289
File comments: 3270
Uploads: 84
Impossible to fix since I have no Mac for testing. Seems like the threatbloat console settings are PC only.
__________________
| Simple is beautiful.
| Blog | Roth UI | Roth UI FAQ | GoogleCode | Zork | Guild | zorker.de

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 12-12-13 at 01:52 AM.
zork is offline Report comment to moderator  
Reply With Quote
Old 12-02-13, 07:24 PM  
kddude
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
health bar glitch

I'm getting this bug as well, and I, too, am on OSX Mavericks.

Any updates?
kddude is offline Report comment to moderator  
Reply With Quote
Old 11-26-13, 02:35 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1289
File comments: 3270
Uploads: 84
Re: Re: Re: Bug or addon problem

So that may be a Mac issue. Going to test sth then.
__________________
| Simple is beautiful.
| Blog | Roth UI | Roth UI FAQ | GoogleCode | Zork | Guild | zorker.de

"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
Post A Reply



Category Jump: