Elitist Jerks
Register
Blogs
Forums


Go Back   Elitist Jerks » Public Discussion » User Interface and AddOns

Reply
 
LinkBack Thread Tools
Old 04/15/08, 5:39 PM   #151
revoemag
Glass Joe
 
Gnome Warrior
 
Nesingwary
I use:

[Name("targettarget"):ClassColor("targettarget")] [PercentHP("targettarget")]

to show:

Someshammy 89%

"PercentHP" can also be replaced with "HP" or any other HP modifiers.

Offline
Reply With Quote
Old 04/15/08, 10:47 PM   #152
Camora
Von Kaiser
 
Camora's Avatar
 
Human Mage
 
Spirestone
Can someone refer to me a Reference wiki for Dog Tags or something? I am trying to learn how to use and make Dog Tags and I can't seem to find any reference material.

Offline
Reply With Quote
Old 04/15/08, 10:55 PM   #153
 Bass
PROCRASTINATE
 
Bass's Avatar
 
Mordant
Orc Hunter
 
No WoW Account
Originally Posted by Camora View Post
Can someone refer to me a Reference wiki for Dog Tags or something? I am trying to learn how to use and make Dog Tags and I can't seem to find any reference material.
LibDogTag-3.0 - WowAce Wiki (from post #6)

Also there is a rather extensive in-game help system in place for DogTags that you can access from Pitbull/Cowtip/a few other Ace mods that implement DogTag. Or, type '/dog'.

United States Online
Reply With Quote
Old 04/17/08, 8:12 AM   #154
Quenty
Glass Joe
 
Troll Warlock
 
Ravencrest (EU)
Different color og maxHP?

Hiya

Im quite new to dogtag however I'm quite certain what I want to do, however I can't seem to make it work

I want my CurrentHP and MaxHP to be show in the following way:

MaxHP shown in green when 100% (CurrentHP hidden)
CurrentHP/MaxHP shown in green from 75%-99%
CurrentHP/MaxHP shown in yellow from 74%-40%
CurrentHP/MaxHP shown in red from 39%-1%

I have gotten the currentHP to work like a charm with the following code:
[((HP < MaxHP * 0.99) >= MaxHP * 0.75):Color("00ff00") ((HP < MaxHP * 0.75) >= MaxHP * 0.4):Color("FFD700") (HP < MaxHP * 0.4):Color("DC143C") "/":Color("00ff00") MaxHP:Color("00ff00")]
However I dont seem to have any option to get the MaxHP and the "/" to show up in the correct color... Is that even possible?

//Q

Offline
Reply With Quote
Old 04/17/08, 11:25 AM   #155
tw4win
Glass Joe
 
Blood Elf Paladin
 
Laughing Skull
Originally Posted by Trouble View Post
Since most of the DogTags in the thread are now defunct it's probably best to get a new thread going to avoid confusion. Here's updated version of the tags I posted. Keep in mind DogTags 3.0 is still a bit buggy at the moment and is being actively worked on.

Scorch stack display:

[outline (if (Class(unit="player") = "Mage") and (TalentTree(unit="player") = "Fire") and HasAura("Fire Vulnerability") then
    NumAura("Fire Vulnerability"):Green
end)]
Display if a target is frozen:

[outline (if (Class(unit="player") = "Mage") and (TalentTree(unit="player") = "Frost") and (HasAura("Frostbite") or HasAura("Frost Nova") or HasAura("Freeze")) then
    "Frozen":Color("3333FF")
end)]



Colored dots to display buffs:

[outline (if HasAura("Arcane Intellect") or HasAura("Arcane Brilliance") then
    ".":Color("008aff")
end) (if HasAura("Power Word: Fortitude") or HasAura("Prayer of Fortitude") then
    ".":White
end) (if HasAura("Divine Spirit") or HasAura("Prayer of Spirit") then
    ".":Yellow
end) (if HasAura("Mark of the Wild") or HasAura("Gift of the Wild") then
    ".":Color("ff00ce")
end) (if HasAura("Shadow Protection") or HasAura("Prayer of Shadow Protection") then
    ".":Color("8300fd")
end)]
[outline (if HasAura("Well Fed") then
    ".":Color("682e00")
end) (if HasAura("Flask of Pure Death") or HasAura("Pure Death of Shattrath") then
    ".":Color("ad0505")
end)]
[outline (if HasAura("Blessing of Kings") or HasAura("Greater Blessing of Kings") then
    ".":Color("5b82ff")
end) (if HasAura("Blessing of Salvation") or HasAura("Greater Blessing of Salvation") then
    ".":Color("a2ff00")
end) (if HasAura("Blessing of Wisdom") or HasAura("Greater Blessing of Wisdom") then
    ".":Color("ac54ff")
end)]
I'm new to this board and new to using Pitbull and Dogtags. However, your examples above are exactly what I've been trying to create in pitbull. Would you mind posting how you created those and/or pointing me to a good tutorial for using pitbull.

Offline
Reply With Quote
Old 04/17/08, 12:32 PM   #156
Covet
Von Kaiser
 
Covet's Avatar
 
Blood Elf Paladin
 
Dethecus
Originally Posted by Quenty View Post
Hiya

Im quite new to dogtag however I'm quite certain what I want to do, however I can't seem to make it work

I want my CurrentHP and MaxHP to be show in the following way:

MaxHP shown in green when 100% (CurrentHP hidden)
CurrentHP/MaxHP shown in green from 75%-99%
CurrentHP/MaxHP shown in yellow from 74%-40%
CurrentHP/MaxHP shown in red from 39%-1%

I have gotten the currentHP to work like a charm with the following code:
[((HP < MaxHP * 0.99) >= MaxHP * 0.75):Color("00ff00") ((HP < MaxHP * 0.75) >= MaxHP * 0.4):Color("FFD700") (HP < MaxHP * 0.4):Color("DC143C") "/":Color("00ff00") MaxHP:Color("00ff00")]
However I dont seem to have any option to get the MaxHP and the "/" to show up in the correct color... Is that even possible?

//Q
Don't make it so complicated! Try this instead:

[HP:HPColor "/":Green][MaxHP:Green]
The "HPColor" tag will automatically change colors. If you want your "/" and MaxHP to display as a color other than green, then replace it with Color("000000").

Offline
Reply With Quote
Old 04/17/08, 12:46 PM   #157
Lorienne
...
 
Lorienne's Avatar
 
Vaikhan
Blood Elf Paladin
 
No WoW Account
Originally Posted by Covet View Post
Don't make it so complicated! Try this instead:

The "HPColor" tag will automatically change colors. If you want your "/" and MaxHP to display as a color other than green, then replace it with Color("000000").

I agree, this is much simpler than you're trying to make it, Quenty. However, I think the below code might be a bit closer to what you've described:

[if isMaxHP then MaxHP:Green
else FractionalHP:HPColor
end]
FractionalHP will display as CurrHP/MaxHP, and HPColor will automatically scale from green to yellow to red as health decreases. The if statement makes it display only MaxHP if you're at max, rather than MaxHP/MaxHP.

United States Offline
Reply With Quote
Old 04/17/08, 12:52 PM   #158
Covet
Von Kaiser
 
Covet's Avatar
 
Blood Elf Paladin
 
Dethecus
Originally Posted by Lorienne View Post
I agree, this is much simpler than you're trying to make it, Quenty. However, I think the below code might be a bit closer to what you've described:

[if isMaxHP then MaxHP:Green
else FractionalHP:HPColor
end]
FractionalHP will display as CurrHP/MaxHP, and HPColor will automatically scale from green to yellow to red as health decreases. The if statement makes it display only MaxHP if you're at max, rather than MaxHP/MaxHP.
Out of curiosity, that will change the color on both the current HP and MaxHP, right? It looked to me like he wanted to keep the "/MaxHP" unchanged, which is why I didn't offer a "FractionalHP" answer.

Offline
Reply With Quote
Old 04/17/08, 1:23 PM   #159
Lorienne
...
 
Lorienne's Avatar
 
Vaikhan
Blood Elf Paladin
 
No WoW Account
Originally Posted by Covet View Post
Out of curiosity, that will change the color on both the current HP and MaxHP, right? It looked to me like he wanted to keep the "/MaxHP" unchanged, which is why I didn't offer a "FractionalHP" answer.
MaxHP shown in green when 100% (CurrentHP hidden)
CurrentHP/MaxHP shown in green from 75%-99%
CurrentHP/MaxHP shown in yellow from 74%-40%
CurrentHP/MaxHP shown in red from 39%-1%
Emphasis mine. I could be reading it wrong, but looks like he wants the whole thing to change color to me. Not a big deal, both solutions should work. In case there's confusion, here's the difference (fear my spiffy color text~):

Covet's:
CurHP/MaxHP
CurHP/MaxHP
CurHP/MaxHP

Mine:
MaxHP <--where curhp = maxhp
CurHP/MaxHP
CurHP/MaxHP
CurHP/MaxHP

Sorry for the eye-rending colors, but hopefully they get the point across. Use whichever is what you want.

United States Offline
Reply With Quote
Old 04/17/08, 2:19 PM   #160
Abbi
Bald Bull
 
Abbi's Avatar
 
Gnome Warrior
 
Earthen Ring
Has anyone done anything clever with DogTag's threat tags? I'm using StatBlocks and I'm interested in a block which shows my TPS against my current target. As far as I can tell, DogTags will do percentages of total threat and total threat but doesn't have any good way to calculate TPS.

Offline
Reply With Quote
Old 04/17/08, 6:14 PM   #161
Alessandra
Glass Joe
 
Human Priest
 
Burning Legion
Originally Posted by IFed View Post
Well I decided to go ahead and make a version 2.0 of my Hamstring dogtag

Added:
- It verifies if the target is an enemy before pasting "Hamstring"
- 1 more color, it goes from Green->Yellow->Orange->Red.
- Icons and sized them according to the time left on Hamstring (Thanks to Zerchi for pointing out the icon feature of Dogtag)

[[if IsEnemy then
    (if AuraDuration("Hamstring", unit="target") >= 11 then
        Icon("Interface/Icons/Ability_Shockwave", size=20) AuraDuration("Hamstring"):Round:Green:Paren
    elseif (AuraDuration("Hamstring", unit="target") < 11) and (AuraDuration("Hamstring", unit="target") >= 6) then
        Icon("Interface/Icons/Ability_Shockwave", size=20) AuraDuration("Hamstring"):Round:Color("ffff00"):Paren
    elseif (AuraDuration("Hamstring", unit="target") < 6) and (AuraDuration("Hamstring", unit="target") >= 3) then
        Icon("Interface/Icons/Ability_Shockwave", size=20) AuraDuration("Hamstring"):Round:Color("ff8800"):Paren
    elseif (AuraDuration("Hamstring", unit="target") < 3) and (AuraDuration("Hamstring", unit="target") > 0) then
        Icon("Interface/Icons/Ability_Shockwave", size=30) AuraDuration("Hamstring"):Round:Red:Paren
    else
        "Hamstring":Red
    end)
end]]






To get the list of the icon to modify this code you'll have to go on this site: WoWWiki:Icons
I love this idea and got it to work for psychic scream although the number for some reason indents itself to another line below the icon. anyone know how to fix this?

Last edited by Alessandra : 04/19/08 at 3:54 PM.

Offline
Reply With Quote
Old 04/17/08, 9:46 PM   #162
TiaMaster
Banned
 
Human Warlock
 
Terokkar
I am using DaHUD, and it doesn't come with any preconfigured target info fields for the HUD. It gives you some minimal standard options, but nothing that comes close to the functionality of the original blizz frames.
Can someone post a dogtag code that i can paste in there that would give me some good target info? I want basically the same stuff that the blizz frame would provide - I.E. distinguishing between friend and enemy, player and pet, bosses and critters, etc. I would just like a format of something like this

<NAME> (Hostility colored) <GUILD>
<LVL> (difficulty colored) <Player Race, creature type, pet type, or whatever> <Class> (Class colored)

Thnx to any who can help.

Offline
Reply With Quote
Old 04/18/08, 4:50 PM   #163
Zedd
Piston Honda
 
Zedd's Avatar
 
Draenei Shaman
 
Nordrassil (EU)
Originally Posted by TiaMaster View Post
I am using DaHUD, and it doesn't come with any preconfigured target info fields for the HUD. It gives you some minimal standard options, but nothing that comes close to the functionality of the original blizz frames.
Can someone post a dogtag code that i can paste in there that would give me some good target info? I want basically the same stuff that the blizz frame would provide - I.E. distinguishing between friend and enemy, player and pet, bosses and critters, etc. I would just like a format of something like this

<NAME> (Hostility colored) <GUILD>
<LVL> (difficulty colored) <Player Race, creature type, pet type, or whatever> <Class> (Class colored)

Thnx to any who can help.
[Name:HostileColor][Guild]
[Level:Difficultycolor][If IsPlayer then Race else Creaturetype]
Thats the easyest way I reckon.

Offline
Reply With Quote
Old 04/18/08, 6:42 PM   #164
Covet
Von Kaiser
 
Covet's Avatar
 
Blood Elf Paladin
 
Dethecus
Originally Posted by Zedd View Post
[Name:HostileColor][Guild]
[Level:Difficultycolor][If IsPlayer then Race else Creaturetype]
Thats the easyest way I reckon.
You could also try:

[Name:HostileColor][Guild:Angle]
[Level:DifficultyColor][Classification:DifficultyColor][SmartRace][Class:ClassColor]
Adding Classification will return whether it's a Boss or Elite. Changing to SmartRace will automatically return the race if it's a player or the creature type if it's not.

Both codes will work, they just return slightly different info.

Offline
Reply With Quote
Old 04/19/08, 5:42 PM   #165
 Oggie
Disharmonious
 
Oggie's Avatar
 
Dwarf Paladin
 
Lightbringer
Originally Posted by Bass View Post
That one only applies to your target. I believe he is requesting a way to see everyone targeting you. If this is indeed possible I'd also love to know how.
I'm reasonably sure that there is no way in the API to determine what's targeting you without a potential 'chain' to them. Aka, if your party member is targeting someone who's targeting someone who's targeting you, you can know about it, but you can't be sure that another person that someone is not targeting is or is not targeting you.

Any sort of simulated version of this merely tracks what raid members are targeting and their targets.

It's quite possible this has changed since I last seriously looked into it, but I asked around quite a bit back then and got 'not supported, no desire to support it' as the general consensus.

Originally Posted by bartolimu View Post
It makes me want to hit Marge Thatcher on the nose with a rolled up newspaper.

United States Offline
Reply With Quote
Reply

Go Back   Elitist Jerks » Public Discussion » User Interface and AddOns

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
[DogTags] - Share yours! Fulnir User Interface and AddOns 164 03/30/08 1:30 AM