Download
(61 Kb)
Download
Updated: 10-16-10 06:32 AM
Pictures
File Info
Updated:10-16-10 06:32 AM
Created:03-03-09 07:10 AM
Downloads:22,665
Favorites:216
MD5:
sThreatMeter2  Popular! (More than 5000 hits)
Version: 101016
by: Shantalya [More]
I don't play WoW anymore. No money for this. :-(


sThreatMeter2 (www.Shantalya.de)

sThreatMeter2 is a small (~14kb) but fine threat meter.

The option (my first option *happy*) can be found in the interface options.

SharedMedia is supported for textures and fonts!

sThreatMeter2_Option is now LoadOnDemand. You don't have to deactivate it anymore.

I hope, you like the first version. I wish you much fun with sThreatMeter2!

Localization:
- enUS/enGB
- deDE
- zhCN (Need little update)
- zhTW (Need little update)
- koKR (Need little update)
- frFR
- ruRU
- I need your help with the others.

Known bugs:
- nothing yet (I hope so ^__^).

To do:
- Eliminating bugs ^_^
- TPS (Next version or a following one. My beta version for TPS is buggy Sorry)
- Your ideas!

Credits to:
- To all (scaife, DroArc, ALZA, launcelot) translators!
- To all, who use my addons!
- And to all, who bear a hand!
101016:
- TOC update

090402:
- ruRU and frFR updated

090401:
- My threat indicator now setable (Text, Bar, Background, Own color)

090311:
- frFR updated

090310:
- You now see the threat from enemies, which are not attackable at first (f.e. Malygos)
- zhCN and zhTW updated

090309:
- koKR updated

090307.1:
- Error fixed: attempt to index global 'locale' (a nil value)

090307:
- Options is now LoadOnDemand
- ruRU added

090305:
- DropDownMenu more improved
- Class Colors (Addon by Phanx) is now supported
- koKR and frFR added.
- Font outline and font shadow alpha added
- -4 million threat value "bug" fixed

090304:
- DropDownMenu improved (not final)
- Animated bars now suppressible
- zhCN and zhTW added and need update :x
- Short threat value added
Optional Files (0)


Archived Files (10)
File Name
Version
Size
Author
Date
090402
61kB
Shantalya
04-02-09 02:36 PM
090401
61kB
Shantalya
04-01-09 02:43 PM
090311
60kB
Shantalya
03-11-09 01:15 PM
090310
60kB
Shantalya
03-10-09 01:57 PM
090309
60kB
Shantalya
03-09-09 09:55 AM
090307.1
52kB
Shantalya
03-07-09 12:05 PM
090307
60kB
Shantalya
03-07-09 06:45 AM
090305
57kB
Shantalya
03-06-09 10:04 AM
090304
55kB
Shantalya
03-04-09 01:32 PM
090303
54kB
Shantalya
03-03-09 07:10 AM


Post A Reply Comment Options
Old 03-09-09, 09:49 AM  
Shantalya
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 22
Uploads: 3
@syrupk: Here, a makro will look like this. :-)
Code:
/run local f = ChatFrame3; local min_x = 245 min_y = 125 max_x = 365 max_y = 125 if dX then f:SetWidth(min_x); f:SetHeight(min_y); dX = nil; else f:SetWidth(max_x); dX = true; f:SetHeight(max_y); end
Shantalya is offline Report comment to moderator  
Reply With Quote
Old 03-09-09, 11:29 AM  
Dimpf
A Fallenroot Satyr
AddOn Author - Click to view AddOns

Forum posts: 25
File comments: 22
Uploads: 5
Would it be possible to get a threat bar for Mages with Mirror Images up? Omen handles this pretty well, by displaying a grey bar in their place.

I think their solution was to simply add a very large number to the mages' threat to accomplish that, because they have a negative threat while the images are up.
Dimpf is offline Report comment to moderator  
Reply With Quote
Old 03-10-09, 09:21 PM  
syrupk
A Cliff Giant
 
syrupk's Avatar
AddOn Author - Click to view AddOns

Forum posts: 71
File comments: 209
Uploads: 25
Originally posted by Shantalya
@syrupk: Here, a makro will look like this. :-)
Code:
/run local f = ChatFrame3; local min_x = 245 min_y = 125 max_x = 365 max_y = 125 if dX then f:SetWidth(min_x); f:SetHeight(min_y); dX = nil; else f:SetWidth(max_x); dX = true; f:SetHeight(max_y); end
Thankyou so much <3
__________________
I guess my brain will never work right. At least I’m pretty.
syrupk is offline Report comment to moderator  
Reply With Quote
Old 03-11-09, 10:06 AM  
scaife
A Kobold Labourer

Forum posts: 0
File comments: 29
Uploads: 0
frFR locale update

Code:
sThreatMeter_locale["frFR"] = {
	["Text"] = "Texte",
	["Animated bars"] = "Barres animées",
	["Hide test bars"] = "Cacher les barres de test",
	["Show test bars"] = "Afficher les barres de test",
	["Width"] = "Largeur",
	["Height"] = "Hauteur",
	["Up"] = "Haut",
	["Down"] = "Bas",
	["Left"] = "Gauche",
	["Right"] = "Droite",
	["Direction"] = "Direction",
	["Spacing"] = "Espacement",
	["Number"] = "Nombre",
	["Texture"] = "Texture",
	["Class colors"] = "Couleurs des classes",
	["Own color"] = "Votre couleur",
	["Background"] = "Arrière plan",
	["Font"] = "Police",
	["Font size"] = "Taille de la police",
	["Font outline"] = "Contour de la police",
	["Font shadow alpha"] = "Visibilité de l'ombre de la police",
	["Outline"] = "Contour",
	["Thick outline"] = "Contour épais",
	["Text left"] = "Texte gauche",
	["Text right"] = "Texte droite",
	["Select..."] = "Sélectionner...",
	["$name = Threat name\n$shortvalue = Short threat value\n$value = Threat value\n$perc = Threat percent number"] = "$name = Nom de menace\n$shortvalue = Valeur de menace courte\n$value = Valeur de menace\n$perc = Pourcentage de menace",
}
Last edited by scaife : 03-11-09 at 10:44 AM.
scaife is offline Report comment to moderator  
Reply With Quote
Old 03-14-09, 02:06 PM  
ckaotik
A Fallenroot Satyr
 
ckaotik's Avatar
AddOn Author - Click to view AddOns

Forum posts: 24
File comments: 166
Uploads: 5
Originally posted by Dawn
Thanks, but as far as I understand it. This will also show when I'm solo Questing or something like that. And there is no Threatmeter showing under these circumstances (I'm on a non-pet class).
Just by what I see, I guess sThreatMeter works off the Blizzard Threat-UI, so you'd want to turn that one on. It's in the Interface options and defauts to "only show when in a group" (change it to "always" and you're set)
ckaotik is offline Report comment to moderator  
Reply With Quote
Old 03-17-09, 04:48 PM  
Shantalya
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 22
Uploads: 3
@Dawn:
Here, this should it be:
OnLoad script:
Code:
self:RegisterEvent("UNIT_THREAT_LIST_UPDATE");
self:RegisterEvent("PLAYER_TARGET_CHANGED");
self:RegisterEvent("PLAYER_REGEN_ENABLED");
self:Hide();
OnEvent script:
Code:
if ( event == "UNIT_THREAT_LIST_UPDATE" ) then
	if ( UnitExists("target") and UnitCanAttack("player", "target") ) then
		if ( not self:IsShown() and ( HasPetUI() or GetNumRaidMembers() > 0 or GetNumPartyMembers() > 0 ) ) then
			self:Show();
		end
	end
elseif ( event == "PLAYER_TARGET_CHANGED" ) then
	self:Hide();
elseif ( event == "PLAYER_REGEN_ENABLED" ) then
	self:Hide();
end
I hope it works.
Shantalya is offline Report comment to moderator  
Reply With Quote
Old 03-17-09, 11:09 PM  
Sangull
A Murloc Raider

Forum posts: 5
File comments: 49
Uploads: 0
Any chance you would consider adding an agro warning sound option? Pretty much the only thing I miss from Omen
Sangull is offline Report comment to moderator  
Reply With Quote
Old 03-21-09, 02:43 AM  
Facktotum
A Kobold Labourer

Forum posts: 1
File comments: 36
Uploads: 0
Shantalya,

Is it possible to add font changing in the options trough sharedmedia like the statusbar is currently.

If that is not possible, can you tell me how I would change the font for the bars?

Thank you for this great addon.
Facktotum is offline Report comment to moderator  
Reply With Quote
Old 03-21-09, 10:35 AM  
Shantalya
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 22
Uploads: 3
@Facktotum:
You can rather change the font, if you have sharedmedia installed among other things.
Otherwise, you can also replace "font.ttf" in "AddOns/sThreatMeter2" with yours.
Shantalya is offline Report comment to moderator  
Reply With Quote
Old 03-26-09, 09:03 AM  
Facktotum
A Kobold Labourer

Forum posts: 1
File comments: 36
Uploads: 0
When do you think TPS will be implemented?

I have posted a screenshot of my UI in my guild forums and tanks got interested in this addon. Altough i had to say that there is no tps view yet.

Thanks
Facktotum is offline Report comment to moderator  
Reply With Quote
Old 03-26-09, 10:48 AM  
fru
A Kobold Labourer

Forum posts: 0
File comments: 11
Uploads: 0
Great Addon! But one thing i miss from omen... is it possible to implement a function, that would allow my threat bar to have an unique color? At the moment the background of my bar is red, but it would be more eye-catching, if the whole bar is (for example) red.
Last edited by fru : 03-26-09 at 10:51 AM.
fru is offline Report comment to moderator  
Reply With Quote
Old 03-26-09, 12:52 PM  
Shantalya
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 22
Uploads: 3
@Facktotum:
The TPS is already done for a while.
I only wait for my testers.

@fru:
An option for that is in planning state, but I don't play very much WOW at the moment, and therefore I can't program.
Shantalya is offline Report comment to moderator  
Reply With Quote
Old 04-01-09, 11:40 PM  
ALZA
A Deviate Faerie Dragon
 
ALZA's Avatar
AddOn Author - Click to view AddOns

Forum posts: 19
File comments: 11
Uploads: 2
Thanks for update!

ruRU locale update:
Code:
	["My threat indicator"] = "Цвет своей полосы",
	["Bar"] = "Бар",
Last edited by ALZA : 04-01-09 at 11:46 PM.
ALZA is offline Report comment to moderator  
Reply With Quote
Old 04-02-09, 01:14 AM  
scaife
A Kobold Labourer

Forum posts: 0
File comments: 29
Uploads: 0
frFR Update for 2.090401

Code:
["My threat indicator"] = "Affichage de ma menace",
["Bar"] = "Barre",
Last edited by scaife : 04-02-09 at 01:15 AM.
scaife is offline Report comment to moderator  
Reply With Quote
Old 04-04-09, 12:25 PM  
Shantalya
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 22
Uploads: 3
\o/

TPS is now built in and seems to work.
A few last tests will be made.
An update is following in the next days.

\o/
Last edited by Shantalya : 04-04-09 at 12:27 PM.
Shantalya is offline 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.