Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(30 Kb)
Download
Updated: 10-18-14 09:27 AM
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.2)
Updated:10-18-14 09:27 AM
Created:08-21-13 05:56 PM
Downloads:3,468
Favorites:44
MD5:
6.0.2
rNamePlates  Updated this week!
Version: 60000.01
by: zork [More]

Intro
Just simple Diablo themed nameplates.

Based on this.
SVN
http://code.google.com/p/rothui/sour....0/rNamePlates
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 (5)
File Name
Version
Size
Author
Date
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 10-22-13, 01:41 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1362
File comments: 3271
Uploads: 86
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.
| 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 : 10-22-13 at 01:42 AM.
zork is offline Report comment to moderator  
Reply With Quote
Unread 10-21-13, 04:25 PM  
Dhaern
A Kobold Labourer

Forum posts: 0
File comments: 61
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.
Dhaern is offline 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: 1362
File comments: 3271
Uploads: 86
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.
| 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 : 10-21-13 at 01:17 PM.
zork is offline Report comment to moderator  
Reply With Quote
Unread 10-21-13, 12:43 PM  
Cashtro
A Defias Bandit
 
Cashtro's Avatar

Forum posts: 3
File comments: 67
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
__________________
Cashtro is offline 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?
nuubcakeboss is offline 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: 1362
File comments: 3271
Uploads: 86
Glad that you like it. You can edit the addon to whatever floats your boat.
__________________
| 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-13 at 08:50 AM.
zork is offline Report comment to moderator  
Reply With Quote
Unread 09-07-13, 05:17 PM  
Cashtro
A Defias Bandit
 
Cashtro's Avatar

Forum posts: 3
File comments: 67
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 Cashtro : 09-08-13 at 07:57 AM.
Cashtro is offline Report comment to moderator  
Reply With Quote
Unread 09-07-13, 03:56 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1362
File comments: 3271
Uploads: 86
Cloudnyne reminded me of some hidden nameplate variables. Some of them are relicts from a bug that appeared in Cataclysm where nameplates would just disappear out of nowhere.

Code:
/console bloattest 1 - Might make nameplates larger but it fixes the disappearing ones.
/console spreadnameplates 0 - Makes them overlap like they used to.
/console bloatnameplates 1 - Makes nameplates larger depending on threat percentage.
/console bloatthreat 1 - Makes nameplates resize depending on threat gain/loss. Only active when a mob has multiple units on its threat table.
If you are having issues with "exanding" nameplates just use this:
Code:
/console bloatnameplates 0
/console bloatthreat 0
I just reseted my config files to test it.

*edit*

Ok. I could reproduce it.

Since they are still needed I'm going to add them to the addon.
__________________
| 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-07-13 at 04:39 AM.
zork is offline Report comment to moderator  
Reply With Quote
Unread 09-06-13, 10:47 AM  
Cloudnyne84
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
LOL! I would over think it. I've been using other plates for so long that don't use anything from the wow interface so i didn't even think of that. Thanks!
Cloudnyne84 is offline Report comment to moderator  
Reply With Quote
Unread 09-06-13, 10:38 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1362
File comments: 3271
Uploads: 86
Originally Posted by Cloudnyne84
Very nice plates! One prob i'm having is in bg's/pvp it's not showing class colors just the hostile color. Any solution to this?
Of course. You need to enable the "show class color" checkbox in your interface settings first.
It is hidden somewhere in the Blizzard interface settings.
__________________
| 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 09-06-13, 10:04 AM  
Cloudnyne84
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Very nice plates! One prob i'm having is in bg's/pvp it's not showing class colors just the hostile color. Any solution to this?
Cloudnyne84 is offline Report comment to moderator  
Reply With Quote
Unread 08-24-13, 06:12 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1362
File comments: 3271
Uploads: 86
Of course I'm thinking of additional features. One of them is about coloring the healthbar. Have not decided about that yet because those calculations would run on the original healthbar and had to be done every single frame. Not sure if I like that.

Need to think/test this through first.

*edit*

I decided against it. I tried to use a new threat glow texture that is applied to the healthbar now. I will stick with this one. I like it way more than the top glow.

__________________
| 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-24-13 at 02:11 PM.
zork is offline Report comment to moderator  
Reply With Quote
Unread 08-24-13, 05:44 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1362
File comments: 3271
Uploads: 86
That is Coalition: http://www.dafont.com/coalition.font
All other texts are in Expressway: http://www.dafont.com/expressway.font
__________________
| 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-24-13 at 05:50 AM.
zork is offline Report comment to moderator  
Reply With Quote
Unread 08-24-13, 12:22 AM  
KiLLMasTer
A Murloc Raider
 
KiLLMasTer's Avatar

Forum posts: 8
File comments: 49
Uploads: 0
may i ask what is the battle font you use
__________________
My Toons
KiLLMasTer is offline Report comment to moderator  
Reply With Quote
Unread 08-23-13, 11:13 AM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1362
File comments: 3271
Uploads: 86
@BNS
Currently not implemented. But you can add it yourself. Advanced only though.

1.) You need to create a new font string.
2.) You need to hook the OnValueChanged on the plate.healthbar
3.) You need to write a function that updates the font string

Currently the addon is as close to the default nameplates as possible.
__________________
| 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-23-13 at 11:13 AM.
zork is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: