Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(6 Kb)
Download
Updated: 07-07-10 06:18 AM
Pictures
File Info
Updated:07-07-10 06:18 AM
Created:02-14-10 12:14 PM
Downloads:2,781
Favorites:22
MD5:
bar4threat
Version: 1.1.1
by: Lolzen [More]
based on lolThreat

What does this addon?
This is an Addon, to display your threatvalue of the current targeted mob, in form of a nice little bar, and the percentvalue. Also displayed is the current target of the mob (probably the Tank, but you never know :] ).

What are those "modes"?
I've taken the Stance/Buffcheck of lolThreat in order to detect which role you are in.

If a defensive stance or buff is detected, "Tank Mode" will be activated. In Tank Mode there is a second bar, showing the threat of the partymember, who's nearest to your threat. (examplepicture is on the right)

If you target an party/raidmember, and you have threat,"Heal Mode" displays your threat towards the mob targetted by the target you have, like a Tank.

Else it would use "Damage Mode", which is the simplest of all, and just shows your threat.

Upcoming features:
-Support for Raids on "Tank Mode"

Config:
The configuration is on top of the threat.lua file. Inexperienced users should read:
PosX and PosY are variables for the X and Y axis, the "Base Point" (0/0) is the middle of the screen.
height and width should be self explainable =)
texture is for the statusbar-texture-path
barcolor and secbar are variables for the colors of the statusbars ->
local barcolor = {r, g, b} Valid are values from 0 to 1
show_modetext can be true or false
1.1.1
*Never upload without testing :P

1.1
*Modetext is now optional
Archived Files (3)
File Name
Version
Size
Author
Date
1.1
6kB
Lolzen
07-07-10 05:23 AM
1.0
6kB
Lolzen
02-15-10 07:48 PM
1.0
6kB
Lolzen
02-14-10 12:14 PM


Post A Reply Comment Options
Unread 07-07-10, 07:33 PM  
Lolzen
A Murloc Raider
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 122
Uploads: 9
Originally posted by Annekynn
Can this addon be configured to just show the percentage number and nothing else?
Well you could, but i think it's easier to just dl that one or something similar. ^^

Originally posted by Cala
Slight thing, don't know if you realized this (and I was only looking for this because I was trying to fiddle with the border settings, but you have this at line 93:

Code:
edgeFile = "Interface\\AddOns\\bar4xp\\Textures\\border", edgeSize = 8,
I think it's supposed to be bar4threat, not XP. I was wondering why I didn't have a border.
Haha, thanks, i didn't notice at all, anyways i kinda like it without the border, but feel free to mess around with one ;>
Last edited by Lolzen : 07-07-10 at 07:36 PM.
Lolzen is offline Report comment to moderator  
Reply With Quote
Unread 07-07-10, 05:36 PM  
Annekynn
A Fallenroot Satyr

Forum posts: 21
File comments: 144
Uploads: 0
Can this addon be configured to just show the percentage number and nothing else?
Annekynn is offline Report comment to moderator  
Reply With Quote
Unread 05-31-10, 08:01 PM  
Cala
A Fallenroot Satyr
 
Cala's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 22
File comments: 48
Uploads: 1
Slight thing, don't know if you realized this (and I was only looking for this because I was trying to fiddle with the border settings, but you have this at line 93:

Code:
edgeFile = "Interface\\AddOns\\bar4xp\\Textures\\border", edgeSize = 8,
I think it's supposed to be bar4threat, not XP. I was wondering why I didn't have a border.
__________________
Insert Witty Message Here.


Cala is offline Report comment to moderator  
Reply With Quote
Unread 03-11-10, 04:34 PM  
Lolzen
A Murloc Raider
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 122
Uploads: 9
>in game

you switch to threat.lua, do your settings, save, /reload.

There is still no slash command.
Lolzen is offline Report comment to moderator  
Reply With Quote
Unread 03-10-10, 09:24 AM  
Pewpewdotz
A Kobold Labourer

Forum posts: 0
File comments: 35
Uploads: 0
how do u move the damn bar in game?
Pewpewdotz is offline Report comment to moderator  
Reply With Quote
Unread 03-05-10, 12:28 PM  
Veyska
A Kobold Labourer
 
Veyska's Avatar

Forum posts: 1
File comments: 48
Uploads: 0
Originally posted by boomboom
Wonderful, wonderful mod. Just fantastic.

One quick question though, is there a way to take away the "Damage, Healing Tanking" text? I find it slightly obtrusive, given my current UI style. If there isn't it's no biggie, just wondering if I can. Thanks!
Go through threat.lua in the bar4text folder and add "-- " (minus quotes) before every line that contains the word "modetxt", that will remove the line.

So "modetxt:SetText("Tank Mode")" would become "-- modetxt:SetText("Tank Mode")".
Veyska is offline Report comment to moderator  
Reply With Quote
Unread 02-17-10, 08:26 AM  
boomboom
A Fallenroot Satyr

Forum posts: 23
File comments: 37
Uploads: 0
Wonderful, wonderful mod. Just fantastic.

One quick question though, is there a way to take away the "Damage, Healing Tanking" text? I find it slightly obtrusive, given my current UI style. If there isn't it's no biggie, just wondering if I can. Thanks!
boomboom is offline Report comment to moderator  
Reply With Quote
Unread 02-16-10, 07:55 AM  
lodewijk
A Deviate Faerie Dragon

Forum posts: 13
File comments: 121
Uploads: 0
Originally posted by drdead
Edit lua file to change its position. Simple.
i didnt say i didnt know how to do it, just it would be far easier to be able to do it ingame.i am happy lolzen picked up on this.

tho i am not a fan of editing configs in a .lua file i, and i think most users of addons, are fully capable of doing just that. it is a questing of ease of use of an addon, for me, the one thing i ever ask of addon authors is to make at least moving around the ui elements an ingame option.
however, the more complex an addon gets in the course of time, the more configuration options will get available to it. at that point authors really should consider opting for writing the config in savedvariables. starting ones config from scratch every update of the addon (not this one in particular, but addons that read their config out of the main files in the addons folder) without savedvariables is just -very- unpractical.

sorry for a larger post than intended, bar4threat is a very nice addon and i'll keep using it. these are just my thoughts on how a addon configuration is easiest from a users perspective.
Last edited by lodewijk : 02-16-10 at 07:56 AM.
lodewijk is offline Report comment to moderator  
Reply With Quote
Unread 02-16-10, 04:52 AM  
drdead
A Murloc Raider

Forum posts: 6
File comments: 20
Uploads: 0
Originally posted by lodewijk
fair enough, it IS your addon. but would you please consider adding ingame moveability, it would make things so much easier for me (us?). added advantage would be my config wouldnt be overwritten each update.
Edit lua file to change its position. Simple.
drdead is offline Report comment to moderator  
Reply With Quote
Unread 02-15-10, 07:57 PM  
Lolzen
A Murloc Raider
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 122
Uploads: 9
Replaced files, should fix showing up when soloing.

I'll add a slashcommand to drag the bar around tomorrow or something, gotta go to sleep =X
Lolzen is offline Report comment to moderator  
Reply With Quote
Unread 02-15-10, 07:27 PM  
lodewijk
A Deviate Faerie Dragon

Forum posts: 13
File comments: 121
Uploads: 0
Originally posted by Lolzen
No, there is no inGame config, as this addon was in the first place for myself :P
fair enough, it IS your addon. but would you please consider adding ingame moveability, it would make things so much easier for me (us?). added advantage would be my config wouldnt be overwritten each update.
lodewijk is offline Report comment to moderator  
Reply With Quote
Unread 02-15-10, 07:15 PM  
Ferous
Sheer Sense of Doom
AddOn Author - Click to view AddOns

Forum posts: 863
File comments: 564
Uploads: 32
Originally posted by Lolzen
ah sorry, i just uploaded my "test-version", i am reupping when i,m back home
I look foward to it!

edit
I was curious, as to if there is a way I can 'test' so I can move it around ingame without having to gain threat of something to move it around?
What I meant was, can I show testing in the Lua so I can see where I'm moving it is what I meant
Last edited by Ferous : 02-15-10 at 07:16 PM.
Ferous is offline Report comment to moderator  
Reply With Quote
Unread 02-15-10, 01:34 PM  
Lolzen
A Murloc Raider
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 122
Uploads: 9
If that is true, why am I seeing the bar when solo on a Rogue? Did I inadvertently turn on an option to do so, or is something else not right?
ah sorry, i just uploaded my "test-version", i am reupping when i,m back home
Lolzen is offline Report comment to moderator  
Reply With Quote
Unread 02-15-10, 11:43 AM  
Jaim Sandar
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 357
Uploads: 1
Originally posted by Lolzen
In my opinion it is unnecessary to see you're at full threat if no one else is gathering threat
I agree.

Originally posted by Lolzen
The bar is only shown if you are either in a party or a raid, or have an pet
If that is true, why am I seeing the bar when solo on a Rogue? Did I inadvertently turn on an option to do so, or is something else not right?

Thank you.
Jaim Sandar is offline Report comment to moderator  
Reply With Quote
Unread 02-15-10, 05:08 AM  
Lolzen
A Murloc Raider
 
Lolzen's Avatar
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 122
Uploads: 9
Is the bar seen when solo, or only when in a party?
The bar is only shown if you are either in a party or a raid, or have an pet (warlock, hunter). In my oppinion it is unnecessary to see you're at full threat if no one else is gathering threat, than you^^

This looks like an awesome little threat bar addon. Reminds me of iThreat with a couple more features.
TBH, iThreat gave me the idea for this ;>

I was curious, as to if there is a way I can 'test' so I can move it around ingame without having to gain threat of something to move it around?
No, there is no inGame config, as this addon was in the first place for myself :P
Lolzen is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: