Download
(275Kb)
Download
Updated: 04-16-10 07:29 AM
Addon for:
Tidy Plates.
Pictures
File Info
Updated:04-16-10 07:29 AM
Created:10-25-09 07:27 AM
Downloads:94,918
Favorites:418
MD5:
Categories:Unit Mods, Discontinued and Outdated Mods

Tidy Plates: Threat Plates  Popular! (More than 5000 hits)

Version: v3.0.4
by: suicidalkatt [More]

--[[v3.0.4]]--
  • ~~ Fixed: Typo on "showdangerskull" to "showDangerSkull".

--[[v3.0.3]]--
  • ~~ Fixed: OnInitialize conditionals to prevent multiple widgets being created when not needed. (5.11)


--[[v3.0.2]]--
  • ~~ Fixed: Target highlight lag spikes on targeting.

--[[v3.0.1]]--
  • ~~ Fixed: Target highlight toggling should now be functioning properly.

--[[v3.0]]-- NOTE: UPDATING TO THIS VERSION WILL RESET YOUR VARIABLES!!
  • ++ New Feature: Elite Icon's have now been implemented.
  • ++ New Feature: Combo Point widget has now been implemented.
  • ++ New Feature: Threat Widget is now been implemented.
  • ++ New Feature: Color HP by percentage fading from green (high HP) to red (low HP).
  • ++ New Feature: Override the default blizzard nameplate fade as well as allow adjustments.
  • ++ New Feature: The threat system now has a "look and feel" category allowing users to change texture, disable scaling, or disable alpha changes created by the threat system.
  • ++ New Feature: More lazy trees (courtesy of mimichi).
  • ~~ Coding Alteration: Nameplates have been readjusted in height to better reflect the actual mouseover area.
  • ~~ Coding Alteration: Switched to .primary & .secondary from the depreciated .theme
  • || Fixed: Widgets from "sticking" while changing from theme to theme.
  • || Fixed: Target highlight texture sometimes being overlapped by threat glows.
  • -- Removed: Automatic nameplate hiding and showing features has been removed as it is now a feature provided by Tidy Plates v5.10.

--[[v2.3.1]]--
  • ++ Added some additional custom health color options as well as a toggle to hide class colors in pvp.

--[[v2.3]]--
  • ++ Name text is now able to be changed in color and will no longer change color upon entering combat.
  • ++ Healthbars can now have a custom color.
  • -- Removed the threat widget until it is more stable. (drastic memory and cpu improvement)
  • ~~ Fixed some users not having functionality due to threat glows not being enabled (glows are now automatically turned on if the user is using the threat system or off if not).
  • ~~ Improved the automatic turning on and off of the threat system while leaving a battleground.
  • || "Non-Combat" units will no longer exclude units with less than 100% HP.
  • || Alpha levels can now reach 0%.

--[[v2.2]]--
  • ++ A new toggle command has been implemented. The command "/tptpol" will now toggle nameplate overlapping.
  • ++ The threat system will now automatically be turned off while entering arenas or BG's. The threat system also be turned back on if it were so before hand.
  • ~~ Welcome message and talent detection has been fixed and now will properly detect new player specs.
  • ~~ Fixed "ACTIVE_TALENT_GROUP_CHANGED" from firing on log in.
  • ~~ Fixed the "none" threat theme from sometimes showing class icons.

--[[v2.1f]]--
  • ++ A new Autohide feature has been implemented. This will allow you to automatically hide enemy nameplates after leaving combat, and automatically show them upon entering combat.

--[[v2.1e]]--
  • ~~ Fixed the intended change of v2.1d. Apologies for my missed coding.

--[[v2.1d]]--
  • ++ Added a toggle for the temporary threat widget(not completed yet).
  • ~~ Player role settings and spec preferences are now character specific, as intented.

--[[v2.1c]]--
  • ++ Class Icons now have a transparent setting.
  • ++ Threat Textures now have a "none" style which removes the threat textures.
  • ++ All text's now have outline options and shadow toggles.
  • ++ New Feature: Health bars can now be colored according to threat levels.
  • ++ New users will now be prompted on loading to assign their current theme to Threat Plates or not.
  • || Textures have been moved around to make better sense of the theme system.
  • || Threat widget is currently in progress.

--[[v2.1b]]--
  • Lua error fix. Meant to comment that out.

--[[v2.1a]]--
  • -- Removed frame x and y offsets as this caused conflicts with positioning.
  • ++ Class icons can now be toggled, sized, and positioned.
  • ++ Boss danger skull icons can now be toggled, sized, and positioned.
  • ++ Raid icons can now be sized, and positioned.
  • ++ Paladin and Warrior tanking spec's can now be determined on first usage of the addon.
  • ++ When players respec, talent information and spec is displayed.(i.e. Enhancement: (19/52/0))
  • ~~ Cast text is now working.
  • ~~ Statusbar widget now displays textures properly as well as statusbar names.
  • || Options optimized. (lower memory)

--[[v2.1]]--
  • Added SharedMedia support.
  • Added text options.
  • Added threat glow color options. ~ Requires reloading of UI to update.
  • Added target art.
  • Added unit type threat scaling offsets as well as a toggle for that system.
  • Added threat ignored marked scaling and alpha.
  • Added non-combat mob threat hiding. ~ May not be accurate.
  • Threat texture style 'Bar' has been remade to reflect the proper colors (reversed).
  • Option functions reworked. (Lower memory)
  • Switched back to global saved variables.

--[[v2.0a]]--
  • Memory and CPU usage optimized.
  • Ace Libraries updated. (no more 'IsVisible' lua errors)
  • Empty.lua fixed to no longer change the empty texture to a shared media texture.
  • Options reworked and custom profile names can be created (per character ~ no worries they still look the same).

--[[v2.0]]--
  • New Feature: Custom Theme's can now be created and used. (More info in the userConfig.lua)
  • New Theme: 'Bar Style' is now available in the threat options. ~ made by suicidalkatt (COULD BE YOU! Find out HOW! more info in the userConfig.lua)
  • Additional SharedMedia adjustments made available in the userConfig.lua as well as an additional localization font option for defaultFont. (Blizzard global for default localized text.)
  • Typo's fixed.

--[[v1.9a]]--
  • New Feature: A new userConfig.lua file has been created for more user settings such as Shared Media and Localization. Open the userConfig.lua with notepad for more information.
  • Welcome message fixed to only display on first usage.
  • First time users will have some dual spec settings auto configured.
  • Warning for first time users to enable the Threat Plates theme in the Tidy Plates configurations.
  • Added dual spec support to all toggles including slash commands.

--[[v1.9]]--
  • Saved Variables are now Per Character
  • New Feature: Dual Spec settings will now auto toggle your role depending on your spec and settings.
  • Fixed an error with class icons in pvp combat.

--[[v1.8]]--
  • Saved variables redone.
  • Marked units can now be ignored by some threat managed components.
  • Some new text options have become available.
  • Fixed an error with non-elite but "dangerous" level mobs (skull level).

--[[v1.7h]]--
  • Fixed threat textures showing out of combat.

--[[v1.7g]]--
  • Minor typo fix.

--[[v1.7f]]--
  • All lua errors fixed. Strange conditionals for threat ignored units will now be working. :D

--[[v1.7e]]--
  • Fixed lua errors.

--[[v1.7d]]--
  • Fixed lua errors.

--[[v1.7c]]--
  • Fixed conditionals sometimes giving a nil return when threat options were disabled.

--[[v1.7b]]--
  • Fixed friendly nameplates giving the "empty" return for conditionals.

--[[v1.7a]]--
  • Images Compressed to reduce memory usage.
  • Casting text is now on by default.

--[[v1.7]]--
  • Neutral units are now detected by the threat system.
  • Each level of threat now has per role, per level custom alpha settings.
  • Specific unit classifications can now be toggled to be ignored from the threat system.
  • Specific unit classifications can now be completely turned off.
  • Specific unit classifications now have custom scale settings.
  • Specific unit classifications now have custom alpha settings.

--[[v1.6b]]--
  • Toc update for 30300.

--[[v1.6a]]--
  • Threat textures are now working.

--[[v1.6]]--
  • Threat system reworked to allow much cleaner scaling to avoid frame size mismatches.
  • Options have been completely redone.
  • Per role and per threat level scaling has been implemented.
  • Spell Cast text has been implemented.

--[[v1.5]]--
Now included a /tptp, /tptptoggle /tptpdps, and /tptptank commands for class role changes between dpsing and tanking.

Updated ToC
Changed the "high threat" texture to a "default" style texture for better clarity.
Special Text is now working! ~ Thanks DanielTiger <3
Auto class colors in nameplates and auto threat warning enabled.
Ace3 Profiling now included.
Now implemented a toggle switch to enable or disable the threat system.

/tptp - Displays options.
/tptptoggle - Toggle Role from one to the other.
/tptpdps - Toggles DPS threat plates
/tptptank - Toggles Tank threat plates
Post A Reply Comment Options
Unread 02-22-10, 05:40 PM  
suicidalkatt
A Rage Talon Dragon Guard
 
suicidalkatt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 331
File comments: 1467
Uploads: 50
Originally posted by galvin
Well before you came out with this update. The plates changing color never overwrote the selection rectangle. So how come it cant be fixed whats different than before?

Thanks I used the setcolor code. This looks much better way of doing it.
I don't understand what you mean with the overwriting. Do you have a screenshot?
Report comment to moderator  
Reply With Quote
Unread 02-22-10, 11:46 AM  
galvin
A Frostmaul Preserver
AddOn Author - Click to view AddOns

Forum posts: 265
File comments: 166
Uploads: 1
Well before you came out with this update. The plates changing color never overwrote the selection rectangle. So how come it cant be fixed whats different than before?

Thanks I used the setcolor code. This looks much better way of doing it.
Last edited by galvin : 02-22-10 at 12:29 PM.
Report comment to moderator  
Reply With Quote
Unread 02-22-10, 05:27 AM  
suicidalkatt
A Rage Talon Dragon Guard
 
suicidalkatt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 331
File comments: 1467
Uploads: 50
Originally posted by galvin
The threat system works nice for dps. But one problem, it covers up the selection rectangle. For threat I have it change the color of the health bar. But it also keeps using the outer edge of the bar that covers up the selection border.

Nice work though, but I'm going to have to turn that feature off for now.
If I could adjust the way the clickable region worked, I would, however I can't.

As for this:

Code:
 if not plate.NameText then OnInitialize(plate) end

 local c = db.name.color
 if db.options.showName then

   local st = unit.name:lower()
   -- local color = "|cFF00FF00" -- green
   local color = "|cFFFFFF00" -- yellow
   if st == "cult adherent" or st == "empowered adherent" or st == "reanimated adherent" then
     unit.name = color .. unit.name
   end

  plate.NameText:SetText(unit.name)
 else
  plate.NameText:SetText(nil)
 end
Should be this:

Code:
 if not plate.NameText then OnInitialize(plate) end

 local c = db.name.color
 if db.options.showName then

   local st = unit.name:lower()
   -- local color = "|cFF00FF00" -- green
   local color = "|cFFFFFF00" -- yellow
   if st == "cult adherent" or st == "empowered adherent" or st == "reanimated adherent" then
    
     st = color .. unit.name
   end

  plate.NameText:SetText(st)
 else
  plate.NameText:SetText(nil)
 end
You could also just change the SetTextColor and that would be much safer:

Code:
local c = db.name.color
local st = unit.name:lower()
if st == "cult adherent" or st == "empowered adherent" or st == "reanimated adherent" then
	plate.NameText:SetTextColor(1, 1, 0) -- Yellow
else
	plate.NameText:SetTextColor(c.r, c.g, c.b)
end
Last edited by suicidalkatt : 02-22-10 at 05:32 AM.
Report comment to moderator  
Reply With Quote
Unread 02-22-10, 02:41 AM  
galvin
A Frostmaul Preserver
AddOn Author - Click to view AddOns

Forum posts: 265
File comments: 166
Uploads: 1
The threat system works nice for dps. But one problem, it covers up the selection rectangle. For threat I have it change the color of the health bar. But it also keeps using the outer edge of the bar that covers up the selection border.

Nice work though, but I'm going to have to turn that feature off for now.
Report comment to moderator  
Reply With Quote
Unread 02-22-10, 01:44 AM  
galvin
A Frostmaul Preserver
AddOn Author - Click to view AddOns

Forum posts: 265
File comments: 166
Uploads: 1
This won't break anything since i'm setting unit.name a new value?

Code:
 if not plate.NameText then OnInitialize(plate) end

 local c = db.name.color
 if db.options.showName then

   local st = unit.name:lower()
   -- local color = "|cFF00FF00" -- green
   local color = "|cFFFFFF00" -- yellow
   if st == "cult adherent" or st == "empowered adherent" or st == "reanimated adherent" then
     unit.name = color .. unit.name
   end

  plate.NameText:SetText(unit.name)
 else
  plate.NameText:SetText(nil)
 end
Report comment to moderator  
Reply With Quote
Unread 02-22-10, 12:39 AM  
suicidalkatt
A Rage Talon Dragon Guard
 
suicidalkatt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 331
File comments: 1467
Uploads: 50
Originally posted by galvin
So for now if I wanted to change the color based on the name. Where would I edit the LUA?
Extensions.lua
Report comment to moderator  
Reply With Quote
Unread 02-21-10, 10:41 PM  
galvin
A Frostmaul Preserver
AddOn Author - Click to view AddOns

Forum posts: 265
File comments: 166
Uploads: 1
So for now if I wanted to change the color based on the name. Where would I edit the LUA?
Report comment to moderator  
Reply With Quote
Unread 02-21-10, 12:45 AM  
galvin
A Frostmaul Preserver
AddOn Author - Click to view AddOns

Forum posts: 265
File comments: 166
Uploads: 1
The plates shown in this post look awesome. Except maybe for the star icon. These look better than any plates i've seen.

http://www.tankspot.com/showthread.p...086#post337086

How come something like this is not being used. They look so much better.
Last edited by galvin : 02-21-10 at 01:31 AM.
Report comment to moderator  
Reply With Quote
Unread 02-20-10, 09:22 PM  
Dope
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
That was idd the problem...I didnt use that because i found em spammy. Well now i enjoyed your very nice addon ! No more threat problems with groups...Tho HoR stays a lil problem ^^

Grtz & Thx !
Report comment to moderator  
Reply With Quote
Unread 02-20-10, 04:11 PM  
galvin
A Frostmaul Preserver
AddOn Author - Click to view AddOns

Forum posts: 265
File comments: 166
Uploads: 1
using threatplates bar texture fixed it. These make the bar color brightness much better.

The new version sounds like it's going to kick ass.
Last edited by galvin : 02-20-10 at 04:13 PM.
Report comment to moderator  
Reply With Quote
Unread 02-20-10, 02:51 PM  
suicidalkatt
A Rage Talon Dragon Guard
 
suicidalkatt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 331
File comments: 1467
Uploads: 50
Re: Problem with Threatplates

Originally posted by Dope
hey,

I got a little problem with threat plates and I just cant figure out what im doing wrong.

I have tidyplates installed, neon plates aswell for another look.
This is the problem.

I log on, the wow asks me politly to switch over to Threat plates and reloads my UI. Then i set it to "tank mode" ...I start tanking. The bars stay red all the time with the "explosion graphics next to it" and it stays red. Even tho i got aggro all the time.

I then started to tank stupid and lose aggro on purpose to see if anything would change. Nothing...the plates stay red all the time...

Did I miss something in settings ? I have reseted the addon (in profile tab) more then once...I used the "color health by threat" ...still same.

I hope you can help me out, cause i really like this addon !

Grtz Dope
You probably just need to double check if your default threat settings are turned on to "always".

The way these nameplates work is by the default nameplate threat glows, so these won't function without working glows.

To ensure they're currently on and working follow these steps:
1. Press ESC on your keyboard and click on interface.
2. Click on the "Game" tab at the top left of the options window.
3. Click on "Display".
4. Locate the "Display Aggro Warning" dropdown and select "Always"

This should ensure that your aggro warnings are always on and working.

This problem will be fixed with the next version of Threat Plates.
Last edited by suicidalkatt : 02-20-10 at 02:52 PM.
Report comment to moderator  
Reply With Quote
Unread 02-20-10, 02:50 PM  
suicidalkatt
A Rage Talon Dragon Guard
 
suicidalkatt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 331
File comments: 1467
Uploads: 50
Originally posted by galvin
1. Show nameplate for target only. Be nice if this can be set for friendly or harmful only.
This unfortunately doesn't seem like a feature I'd like to implement. The amount of time to create the system to make that functional would not be enjoyable and the majority would probably not use it.

Originally posted by galvin
2. Healthbar background, right now as the health gets low theres no darker background behind it. Maybe this could get an alpha setting for background so you can set it just how you want it. It's always easier to read healthbars when they have backgrounds. Actually this is probably not needed if there is a way to make the healthbar brighter.
Due to the way nameplates overlap having multiple background colors overlapping each other would ultimately result in the darkening of other nameplates. By leaving the background "empty" even though there is a slight background that you may not notice, You can see through to other nameplates, which (in my opinion) is more "legible".

Originally posted by galvin
3. Assigns different colors to a list of names and have those names appear in different color in the name text.
With the merger of Clean Plates and Threat Plates there is going to be a "special" nameplate for certain designated mobs such as your usage of adherents and fanatics and their transformations.

Originally posted by galvin
4. Theres no way to change width/height of the name plates.
While changing the height and width is doable, the responsive mouseover area can not be changed and even though you may be moused over the texture, it won't be reactive.

Originally posted by galvin
5. Nameplate health bars are too dark. Be nice if there is a slider to set how dark/light you want the bar to be.
The reason why this could be is that the texture you are innately using is shaded in a very dark grey(since all textures for statusbars are grey). I will be introducing custom health bar coloring with the next version, which could alleviate your problem.

Originally posted by galvin
Also if possible is there an LUA edit I can do to change how dark the healthbars are?
There is no way to create textures on the fly with lua in a manor that would suffice.
Report comment to moderator  
Reply With Quote
Unread 02-20-10, 12:55 PM  
Dope
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
Problem with Threatplates

hey,

I got a little problem with threat plates and I just cant figure out what im doing wrong.

I have tidyplates installed, neon plates aswell for another look.
This is the problem.

I log on, the wow asks me politly to switch over to Threat plates and reloads my UI. Then i set it to "tank mode" ...I start tanking. The bars stay red all the time with the "explosion graphics next to it" and it stays red. Even tho i got aggro all the time.

I then started to tank stupid and lose aggro on purpose to see if anything would change. Nothing...the plates stay red all the time...

Did I miss something in settings ? I have reseted the addon (in profile tab) more then once...I used the "color health by threat" ...still same.

I hope you can help me out, cause i really like this addon !

Grtz Dope
Report comment to moderator  
Reply With Quote
Unread 02-20-10, 12:29 PM  
galvin
A Frostmaul Preserver
AddOn Author - Click to view AddOns

Forum posts: 265
File comments: 166
Uploads: 1
So any of these features making it in for next release?

1. Show nameplate for target only. Be nice if this can be set for friendly or harmful only.
2. Healthbar background, right now as the health gets low theres no darker background behind it. Maybe this could get an alpha setting for background so you can set it just how you want it. It's always easier to read healthbars when they have backgrounds. Actually this is probably not needed if there is a way to make the healthbar brighter.
3. Assigns different colors to a list of names and have those names appear in different color in the name text.
4. Theres no way to change width/height of the name plates.
5. Nameplate health bars are too dark. Be nice if there is a slider to set how dark/light you want the bar to be.

Also if possible is there an LUA edit I can do to change how dark the healthbars are?
Last edited by galvin : 02-20-10 at 01:52 PM.
Report comment to moderator  
Reply With Quote
Unread 02-19-10, 09:18 PM  
suicidalkatt
A Rage Talon Dragon Guard
 
suicidalkatt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 331
File comments: 1467
Uploads: 50
Originally posted by galvin
You open to the idea of adding custom color for different mob names? The only thing I'm concerned about is if doing a lookup in a table in the specialtext function will cause a lot of overhead.

I been playing with the change in 5mans, I can spot mob names so much easier now.

For my own use I made the adherent mobs appear in green text. Here is the code snippit I used to do this:
Code:
local function SetSpecialText(unit)
  local st = unit.name:lower()
  local st2 = ""
  local color = "|cFF00FF00" -- green
  if st == "cult adherent" or st == "empowered adherent" or st == "reanimated adherent" then
    st = color .. unit.name
  else
    st = unit.name
  end
  return st
end
But my other question, is there a way to disable the rectangle on mouse over? I take it this is the glowtexture under the healthborder theme.
Yea just put it to .."Empty" instead
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.