 |
| Welcome to Elitist Jerks |
|
If this is your first visit, please be sure to check out the FAQ and the forum rules. Users must register to post and new registrations are subject to a one day "mute" period to get acquainted with the community.
To start viewing messages, select the forum that you want to visit from the selection below.
|
04/15/08, 6:39 PM
|
#151 (permalink)
|
|
Glass Joe
Gnome Warrior
Eldre'Thalas
|
I use:
[Name("targettarget"):ClassColor("targettarget")] [PercentHP("targettarget")]
to show:
Someshammy 89%
"PercentHP" can also be replaced with "HP" or any other HP modifiers.
|
|
|
|
|
|
04/15/08, 11:47 PM
|
#152 (permalink)
|
|
Von Kaiser
|
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.
|
|
|
|
|
|
04/15/08, 11:55 PM
|
#153 (permalink)
|
|
Chairman Meow
Undead Death Knight
Mal'Ganis
|
Originally Posted by Camora
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'.
|
Originally posted by Zyla
Whisper diospadre ingame.
Originally posted by Facejob
I tried that he said "I am not in charge of recruitment" then he said "I dont know what you are talking about"
Originally posted by Nurru
He gets a bit annoyed when people message him on his Dios* characters. Your best bet is to catch him when he's on Gonktarget.
|
|
|
|
|
04/17/08, 9:12 AM
|
#154 (permalink)
|
|
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
|
|
|
|
|
|
04/17/08, 12:25 PM
|
#155 (permalink)
|
|
Glass Joe
Blood Elf Paladin
Laughing Skull
|

Originally Posted by Trouble
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.
|
|
|
|
|
|
04/17/08, 1:32 PM
|
#156 (permalink)
|
|
Von Kaiser
Blood Elf Paladin
Dethecus
|
Originally Posted by Quenty
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").
|
|
|
|
|
|
04/17/08, 1:46 PM
|
#157 (permalink)
|
|
...
Blood Elf Paladin
Moon Guard
|
Originally Posted by Covet
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.
|
|
|
|
|
|
04/17/08, 1:52 PM
|
#158 (permalink)
|
|
Von Kaiser
Blood Elf Paladin
Dethecus
|
Originally Posted by Lorienne
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.
|
|
|
|
|
|
04/17/08, 2:23 PM
|
#159 (permalink)
|
|
...
Blood Elf Paladin
Moon Guard
|
Originally Posted by Covet
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. 
|
|
|
|
|
|
04/17/08, 3:19 PM
|
#160 (permalink)
|
|
Bald Bull
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.
|
|
|
|
|
|
04/17/08, 7:14 PM
|
#161 (permalink)
|
|
Glass Joe
Human Priest
Burning Legion
|

Originally Posted by IFed
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 4:54 PM.
|
|
|
|
|
|
04/17/08, 10:46 PM
|
#162 (permalink)
|
|
Glass Joe
|
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.
|
|
|
|
|
|
04/18/08, 5:50 PM
|
#163 (permalink)
|
|
Piston Honda
Draenei Shaman
Nordrassil (EU)
|
Originally Posted by TiaMaster
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.
|
|
|
|
|
|
04/18/08, 7:42 PM
|
#164 (permalink)
|
|
Von Kaiser
Blood Elf Paladin
Dethecus
|
Originally Posted by Zedd
[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.
|
|
|
|
|
|
04/19/08, 6:42 PM
|
#165 (permalink)
|
|
I am speccing scrivener in wotlk
Dwarf Paladin
Lightbringer
|
Originally Posted by Bass
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 Toots Hepcat
Wraithlin, promote that man so he can do no more harm!
|
|
|
|
|
04/20/08, 2:10 AM
|
#166 (permalink)
|
|
Von Kaiser
Blood Elf Paladin
Dethecus
|
In honor of Trouble's little buff dots, I made a similar DogTag that shows if you have cleansable debuffs. Basically it'll put a red X if you have UA and will color every other cleansable debuff by the spell color.
[(if HasAura("Unstable Affliction") then
"X":Red
end) (if HasCurseDebuff then
" -":Fuchsia
end) (if HasMagicDebuff then
" -":Blue
end) (if HasPoisonDebuff then
" -":Green
end) (if HasDiseaseDebuff then
" -":Yellow
end)]
I also used the code from Caith's unit frames to show the MP for my target, but it changes color depending on the MP they have. Blue for mana, Red for rage and Yellow for energy. The only bummer is that it's blank if they have no MP, but I'm willing to live with it.
[HasMP and IsMana ? MP:Short:PowerColor " | " MaxMP:Hide(0):Short:Color('385d71') ! HasMP and IsEnergy ? MP:Short:PowerColor " | " MaxMP:Hide(0):Short:Color('999933') ! HasMP and IsRage ? MP:Short:PowerColor " | " MaxMP:Hide(0):Short:Color('663333')]

Last edited by Covet : 04/20/08 at 2:24 AM.
|
|
|
|
|
|
04/21/08, 12:29 AM
|
#167 (permalink)
|
|
Piston Honda
Night Elf Druid
Bronzebeard
|
I'm just now starting to mess with DogTags and could use a bit of help. I tried to look this up in the in-game dogtag help but the only hit didn't really help me out...
Basically, I'm doing a greyscale unit frame color scheme in this version of my UI. I want to color player names by class (which I believe is easy enough to do) and NPC names by their reaction (i.e. friendly, neutral, hostile). However... I'm not sure how to color by reaction. I have set custom colors in pitbull but I don't know if there's a way to call on them.
[edit] Oops, right after submitting this reply I had a friend whisper me the correct code. Now I have a slightly different request...
Can someone supply the code I would use to color the name based on player class if it is a player and on NPC reaction if it's anything other than a player (mob, NPC, pet, etc)?
Last edited by Aranan : 04/21/08 at 12:40 AM.
|
|
|
|
|
|
04/21/08, 6:13 AM
|
#168 (permalink)
|
|
Von Kaiser
Human Death Knight
Moonglade (EU)
|
[if IsPlayer then Name:ClassColor else Name:HostileColor end]
Should get you going in the right direction, although I'm not in game to test it.
|
|
|
|
|
|
04/21/08, 8:18 AM
|
#169 (permalink)
|
|
Piston Honda
Draenei Shaman
Nordrassil (EU)
|
I cant seem to get this right:
I want a dogtag to:
Show level in classcolor when its a friendly/neutral target under level 70
Show level in Difficultycolor when its a enemy target
Display Pet levels in hostilitycolor
Dont show level for friendly/neutral level 70 players
|
|
|
|
|
|
04/21/08, 11:12 AM
|
#170 (permalink)
|
|
Glass Joe
Troll Priest
Mannoroth (EU)
|
Originally Posted by Zedd
I cant seem to get this right:
I want a dogtag to:
Show level in classcolor when its a friendly/neutral target under level 70
Show level in Difficultycolor when its a enemy target
Display Pet levels in hostilitycolor
Dont show level for friendly/neutral level 70 players
|
|
[if IsPet then Level:HostileColor elseif (IsEnemy then Level:DifficultyColor else Level:Hide("70"):ClassColor)]
|
can't test it ingame atm but this should do the trick :D
|
|
|
|
|
|
04/21/08, 11:58 AM
|
#171 (permalink)
|
|
Von Kaiser
Human Death Knight
Moonglade (EU)
|
Try this:
[if IsPet then Level:HostileColor else [if IsMaxLevel and IsFriend then " " else [if ~IsMaxLevel and IsFriend then Level:ClassColor else Level:Hide("70"):DifficultyColor end]]]
It seems to work, will show level 70 pets in the appropriate hostility colour, you will just need to test it against enemies (as I was sat working it out in Stormwind).
[e] oops, that will hide the number for max level enemies. Might want to try tagging in a ~IsEnemy in the end bit, like so.... | |