 |
04/26/08, 1:30 PM
|
#196
|
|
Piston Honda
Human Warlock
Scarlet Crusade
|
Originally Posted by dylan
From the wiki: [CastEndDuration].
|
Yes, I've tried that. Using the tag [CastEndDuration:FormatDuration] specifically. After casting, it continues to count. Not quite sure why, but there it is.
Last edited by Tinava : 04/26/08 at 1:37 PM.
|
|
|
|
|
04/26/08, 3:06 PM
|
#197
|
|
Glass Joe
Night Elf Death Knight
Caelestrasz
|
Originally Posted by Adoriele
Fixed above. It's subtle, but parentheses are pretty important sometimes. You also don't need to put quotes around the numbers. I also compacted it into one tag, since the two situations are mutually exclusive.
|
Thanks a ton. =] I have no idea why I couldn't remember that when I was remaking it.
|
|
|
|
|
04/28/08, 8:26 AM
|
#198
|
|
...
Vaikhan
Blood Elf Paladin
No WoW Account
|
Originally Posted by Pagarth
Ok, two things I can't figure out. First, I want that . centered. Basically I want it to display the name then the dot at the center, not like a period. Secondly, I want only the dot to be outlined, not the entire name. Would I be better off making my own icon and then just using that as opposed to trying to figure those two things out? Also, this shows up on Warriors. I want it to only show up on mana users. Below is the code that I'm trying to work with:
|
Your first two things are pretty much not possible, as far as I know. The period spacing is based on your font style. I managed to get mine to look okay by not putting any normal text with the period indicators, so I could change the font size and fiddling with placement a bit to get it to look right. For the outline tag, it seems that it affects the entire line, regardless of placement, so unless you want to split up your Name and mana indicator tags, I think you may be out of luck there as well. Going with an icon may be your best bet.
However, your last problem is quite easily solved: just add a check to see if the unit uses mana.
[Name (AFK or DND)] [if [isMana and PercentMP < 20] then
".":Color("00F5FF")
end]
|
|
|
|
|
04/28/08, 8:32 AM
|
#199
|
|
Piston Honda
Human Warlock
Kirin Tor (EU)
|
First, a small question. I have a very basic tag used to display whenever I can use a mana potion without loosing mana (basically, it check if I'm missing more than 3k mana). I'd like it to be displayed only if my mana potions are *not* on cooldown. Do anyone know of a tag that could check for potions cooldown ? If not, do anyone know of the API function used to do that ? (I could still try to hack my own tag if needed...)
On a side note, here is the tag I use on Naj'entus, it may be of interest for some peoples.
[if (not Dead and ((Name(unit="target") = "High Warlord Naj'entus") or (Name(unit="targettarget") = "High Warlord Naj'entus") or (Name(unit="focus") = "High Warlord Naj'entus")) and HP < 8200) then
"Low Life !":Red
end]
Basically, if you are a healer, you'll want to focus Naj before the fight. Else, the tag won't be displayed if you are targetting anothre healer (no "target chain" to Naj'entus).
|
|
|
|
|
04/28/08, 7:55 PM
|
#200
|
|
King Hippo
|
So, I can't figure a way to get the last word in a phrase, for my target frame. For instance, Get "Mauler" from "Shattered Sun Mauler". You can use Substring to do this for a fixed length, but I want it variable back to the space.
|
|
|
|
|
04/29/08, 3:27 AM
|
#201
|
|
Von Kaiser
Blood Elf Paladin
Sargeras
|
Either I'm blind, or severly mentally challenged, I'll leave that up for debate, but how the hell can I turn on 'other' text's for unit frames in pitbull other than player, I have a buffcheck tag set that works for my player unit, but I can't for the life of me find where to input custom tags for Raid, Party, Focus or Target.
|
|
|
|
|
04/29/08, 9:19 AM
|
#202
|
|
Happy October 19th!
Night Elf Druid
Dragonblight
|
Originally Posted by Delita
Either I'm blind, or severly mentally challenged, I'll leave that up for debate, but how the hell can I turn on 'other' text's for unit frames in pitbull other than player, I have a buffcheck tag set that works for my player unit, but I can't for the life of me find where to input custom tags for Raid, Party, Focus or Target.
|
Make sure configuration mode is on. Pitbull only allows you to work on frames that it has loaded, and it unloads any frame which does not exist. If you have no target, you can't change the target frame, etc. Configuration mode forces all frames to exist (among other things).
|
|
|
|
|
04/29/08, 12:01 PM
|
#203
|
|
Glass Joe
Night Elf Priest
Zenedar (EU)
|

Originally Posted by Sethik
Had a few requests for updated tags for my CowTip styles:
Something I whipped up last night:
And if the CC is your own:
Yes, it is as good as it looks. Works with focus, target, whatever you like. Position is Frame - Edge, Top Middle.

[if HasAura("Freezing Trap Effect") or HasAura("Polymorph") or HasAura("Sap") or HasAura("Gouge") or HasAura("Seduce") or HasAura("Banish") or HasAura("Fear") or HasAura("Howl of Terror") or HasAura("Intimidating Shout") or HasAura("Entangling Roots") or HasAura("Cyclone") or HasAura("Hibernate") or HasAura("Psychic Scream") or HasAura("Blind") or HasAura("Repentance") then
(Outline "*Crowd Control* " Gray AuraDuration("Freezing Trap Effect"):FormatDuration("s"):Paren AuraDuration("Polymorph"):FormatDuration("s"):Paren AuraDuration("Sap"):FormatDuration("s"):Paren AuraDuration("Gouge"):FormatDuration("s"):Paren AuraDuration("Seduce"):FormatDuration("s"):Paren AuraDuration("Banish"):FormatDuration("s"):Paren AuraDuration("Fear"):FormatDuration("s"):Paren AuraDuration("Howl of Terror"):FormatDuration("s"):Paren AuraDuration("Intimidating Shout"):FormatDuration("s"):Paren AuraDuration("Entangling Roots"):FormatDuration("s"):Paren AuraDuration("Cyclone"):FormatDuration("s"):Paren AuraDuration("Hibernate"):FormatDuration("s"):Paren AuraDuration("Psychic Scream"):FormatDuration("s"):Paren AuraDuration("Blind"):FormatDuration("s"):Paren AuraDuration("Repentance"))
end]
Pseudo code for the above is:
[if HasAura("CC") then (Outline "*Crowd Control* " Gray AuraDuration("CC"):FormatDuration("s"):Paren) end]
Enjoy!
|
How do I add a simple check to see if any of these debuffs are magic and thus dispellable? If they are I'd like it to show a new text, something like "Crowd Controlled, Dispellable"
|
|
|
|
|
04/30/08, 3:45 PM
|
#204
|
|
Piston Honda
|
Hunter viper mp5 dogtag
Ok, I'm pretty proud of this:
["%.0f":Format((0.7 - 0.0065 * PercentMP):Max(0.1):Min(0.55) * (MaxMP - 3103) / 15)]
This tag displays the mana per 5 seconds provided by aspect of the viper to a hunter. It is based on my own testing of the scaling formula for viper, for level 70 hunters without 2-pc T6.
|
|
|
|
|
04/30/08, 5:20 PM
|
#205
|
|
Glass Joe
|
I'm afraid I'm completely overwhelmed by the task of writing dogtags. I've done a great deal of ui customization through the guis provided by individual mods, but I'm afraid I've never had to actually write anything.
In the case of Pitbull, I have two specific goals at the moment.
The first is that I want to make my pet's focus ("power") bar change colors depending upon its happiness, instead of the health bar. I suspect that this is quite simple to achieve, but I just can't see it.
My second goal is probably a bit more complicated, and I'm not entirely sure it's possible. I would like to filter target debuffs in a very specific way. The default Pitbull setup will filter debuffs to show only those which my class (in this case a hunter) can apply, but I would like to create a filter which shows only those debuffs which affect hunters. In addition to all the hunter debuffs (mark, expose weakness, stings), I would like it to show paladin judgements, Curse of Recklessness, Sunder Armor, Faerie Fire, and Expose Armor. The idea is basically to clean up all the clutter on targets in a 25 man raid environment.
Thank you for reading and thank you in advance for any help.
|
|
|
|
|
04/30/08, 5:26 PM
|
#206
|
|
Happy October 19th!
Night Elf Druid
Dragonblight
|

Originally Posted by Crytz
I'm afraid I'm completely overwhelmed by the task of writing dogtags. I've done a great deal of ui customization through the guis provided by individual mods, but I'm afraid I've never had to actually write anything.
In the case of Pitbull, I have two specific goals at the moment.
The first is that I want to make my pet's focus ("power") bar change colors depending upon its happiness, instead of the health bar. I suspect that this is quite simple to achieve, but I just can't see it.
My second goal is probably a bit more complicated, and I'm not entirely sure it's possible. I would like to filter target debuffs in a very specific way. The default Pitbull setup will filter debuffs to show only those which my class (in this case a hunter) can apply, but I would like to create a filter which shows only those debuffs which affect hunters. In addition to all the hunter debuffs (mark, expose weakness, stings), I would like it to show paladin judgements, Curse of Recklessness, Sunder Armor, Faerie Fire, and Expose Armor. The idea is basically to clean up all the clutter on targets in a 25 man raid environment.
Thank you for reading and thank you in advance for any help.
|
Yeah, Tags won't really help with either of those (Well, you can do it for the second, but there are vastly better ways). For pet happiness, I think you're right that there's an option to color any pet-related bar by happiness, but I don't have the ability to check right now. For the second, get Elkano's Buff Bars. Has the ability to filter buffs and debuffs by name. Takes a bit to set up, as you'll only get the filtering option after you've seen the de/buff at least once, but once you do it's really good for clearing up UI real estate.
|
|
|
|
|
04/30/08, 6:08 PM
|
#207
|
|
Glass Joe
|
Originally Posted by Adoriele
Yeah, Tags won't really help with either of those (Well, you can do it for the second, but there are vastly better ways). For pet happiness, I think you're right that there's an option to color any pet-related bar by happiness, but I don't have the ability to check right now. For the second, get Elkano's Buff Bars. Has the ability to filter buffs and debuffs by name. Takes a bit to set up, as you'll only get the filtering option after you've seen the de/buff at least once, but once you do it's really good for clearing up UI real estate.
|
Thank you for the response.
Pitbull will by default allow me to color my pet's health frame by its happiness, or it will allow me to use the pet happiness tag thing, but both interfere with the aesthetics of my ui. I have health frames for all units set to the same color, so I want to keep my pet's that color as well. Power bars are set to the colors of power types, though (mana, rage, energy, focus), so my pet's focus bar changing color would be more congruent with everything else.
As for debuffs, I'm not referring to my debuffs but rather the debuffs of my target. To my knowledge EBB (which I use) has no feature to show target buffs/debuffs.
*EDIT*
Apparently EBB can in fact show target debuffs. Cool. I'm going to play around with that, but I'd still like to find a way to achieve it with Pitbull if possible.
Last edited by Crytz : 04/30/08 at 6:13 PM.
|
|
|
|
|
04/30/08, 6:51 PM
|
#208
|
|
Piston Honda
Undead Mage
Jaedenar (EU)
|
Originally Posted by Crytz
Apparently EBB can in fact show target debuffs. Cool. I'm going to play around with that, but I'd still like to find a way to achieve it with Pitbull if possible.
|
It's possible to show icons based on what de/buffs are present, but it will look different than the default PB de/buff frame (can't have CD shown on it - both visual and text based, doesn't have colored borders etc.). Look through the thread for the code. I don't remember it 
|
|
|
|
|
05/01/08, 9:24 AM
|
#209
|
|
Glass Joe
Night Elf Rogue
Kargath (EU)
|
The following DogTag shows the duration of Slice and Dice (deDE-localisation: SnD is named "Zerh\195\164ckseln") and additionally the SnD icon is shown if SnD is about to drop.
[if (AuraDuration("Zerh\195\164ckseln", unit="player") < 5) then
Icon("Interface\icons\Ability_Rogue_SliceDice", size=30) AuraDuration("Zerh\195\164ckseln", unit="player"):Round:Red:Paren
else
AuraDuration("Zerh\195\164ckseln", unit="player"):Round:Yellow:Paren
end]
This info on the upper left corner of the target frame, enlarged standard PB-CPs in the middle and rupture-uptime (a simple [Auraduration("Rupture"):Round:Red:Paren] on the right side make it easy to watch the rotation.
A bit annoying is that it seems I can't change the DogTag for combo points in Pitbull. So if I'd want to modify that, I'd have to substitute it.
Are there any AddOns which rely so heavily on DogTags 3.0 except Pitbull and where it is so easy to add DogTags? I'd really like to use DogTags for modifying text on action bars and/or just an empty free floating frame / output area to show some information using dogtags.
Last edited by iuron : 05/01/08 at 9:33 AM.
|
|
|
|
|
05/01/08, 10:18 AM
|
#210
|
|
Von Kaiser
Tauren Hunter
Lightbringer (EU)
|
Not sure how helpful it would be but I think there is a "statBlock" for dogTags 3.0 which should give you your "free floating" area.
|
|
|
|
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| [DogTags] - Share yours! |
Fulnir |
User Interface and AddOns |
164 |
03/30/08 1:30 AM |
|