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,991
Favorites:43
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
Unread 05-22-14, 06:34 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1343
File comments: 3306
Uploads: 86
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
An Aku'mai Servant
 
feraldrood's Avatar

Forum posts: 39
File comments: 32
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 Defias Bandit

Forum posts: 2
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
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: 1343
File comments: 3306
Uploads: 86
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
Unread 03-02-14, 05:06 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1343
File comments: 3306
Uploads: 86
No sorry.
__________________
| 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-01-14, 05:08 PM  
Kkthnx
A Flamescale Wyrmkin
 
Kkthnx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 141
File comments: 158
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 05:08 PM.
Kkthnx is offline Report comment to moderator  
Reply With Quote
Unread 02-24-14, 06: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
Unread 02-24-14, 02:24 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1343
File comments: 3306
Uploads: 86
Re: Debuff icon above nameplates?

Yeah that's not going to happen with this nameplates. You could check out KUINameplates instead.
__________________
| 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 02-23-14, 06: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
Unread 01-15-14, 05:00 AM  
Kkthnx
A Flamescale Wyrmkin
 
Kkthnx's Avatar
AddOn Author - Click to view AddOns

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

Forum posts: 1343
File comments: 3306
Uploads: 86
That is not possible because accessing the current UnitId of a nameplate is quite difficult.
__________________
| 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-29-13, 02: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
Post A Reply



Category Jump: