![]() |
The DogTags 3.0 Thread
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.
Scorch stack display: Code:
[outline (if (Class(unit="player") = "Mage") and (TalentTree(unit="player") = "Fire") and HasAura("Fire Vulnerability") thenCode:
[outline (if (Class(unit="player") = "Mage") and (TalentTree(unit="player") = "Frost") and (HasAura("Frostbite") or HasAura("Frost Nova") or HasAura("Freeze")) then![]() Colored dots to display buffs: Code:
[outline (if HasAura("Arcane Intellect") or HasAura("Arcane Brilliance") thenCode:
[outline (if HasAura("Well Fed") thenCode:
[outline (if HasAura("Blessing of Kings") or HasAura("Greater Blessing of Kings") then![]() |
Here's Calyonis's sheep code ported to the newer format:
Code:
[outline (if HasAura("Polymorph") and (AuraDuration("Polymorph") <= 5) then |
Quote:
|
HasAura defaults the unit frame that the DogTag is located on. If you put it in your Focus unit frame then it's fine. If you want the sheep text on another unit frame then you have to, but that's the same for any code.
|
My new CowTip tags:
![]() Clockwise from top: players, mobs with <Fake Guild Names>, regular mobs, NPCs, pets. What you can't see in the screenshots: druid forms and shadowform show up after Class for players, and AFK, Offline, Dead, etc show up to the right of player name. The word "Special" on mobs like Slaag is there because CowTip won't allocate any height to a row that only has a tag on the right side. 1L: [Namerealm:HostileColor] 1R: [Status] 2L: [IsPet ? Creature ! (GuildRank | Faction | (Guild ? 'Special'))] 2R: [(Guild='player':Guild ? Green) Guild:Angle] 3L: [ShortSex:Upper] [Race] [not IsPlayer ? CreatureType] 3R: [Classification] [Level:DifficultyColor] [IsPlayer ? (Class:ClassColor DruidForm (IsShadowForm ? 'Shadow'))] 4L: [Zone | (Exists(unit=Target) ? 'Target:')] 4R: [(Target:IsPlayer ? ClassColor(unit=Target) ! (not Target:IsPlayer & Target:IsEnemy) ? Color("dddddd")) (IsUnit('player', Target) ? ClassColor("") '<<You>>':white ! Target:NameRealm)] 5L: [TalentTree ' ' TalentSpec:Paren] |
I would suggest adding the wowace.com/wiki/LibDogTag-3.0 wiki link to the original post for new reader's easy reference.
While trying to make an amateur DogTag for Pitbull, I seemed to encounter some sort of tag length restriction giving "syntax error" messages. Ended up breaking it into two working tags, one left justified, the other right justified: "M: Timer" format for mangle followed by "R: Timer" format for rip/lacerate: Code:
[if (IsEnemy and NumDebuffs>0) then Code:
[if (IsEnemy and NumDebuffs>0) then The Xperl feature mimicking would probably be better achieved by making a custom Pitbull layout, but I wouldn't know where to start with that. As it is, I'm not happy with the plain text look and will probably go back to Xperl until DogTags get access to textures/icons, but the apparent DogTag size limit is what dissuaded me from working on some other ideas. |
Quote:
|
Yeah woops.
|
Originally I had this as a request help post but did some looking around and figured out it isn't that hard at all, wanted to display different settings between targeting a NPC and a Player, this is what I use for my targets MP and HP now.
Code:
[if IsPlayer then |
Updated the number of debuffs & curses tag for 3.0:
Example: 14 S E R Code:
[NumDebuffs:Hide(0)] [HasAura("Curse of Shadow") ? "S":Fuchsia] [HasAura("Curse of the Elements") ? "E":Red] [HasAura("Curse of Recklessness") ? "R":Yellow] [HasAura("Curse of Tongues") ? "T":Green] |
Modified the sheep macro posted above, a bit. First time using and coding Dogtags, so I bet the code I used is pretty excessive, but at least it works.
Code:
[outline (if HasAura("Polymorph", unit="focus") and (AuraDuration("Polymorph", unit="focus") <= 5) then |
Similar to the above, I've modified my buff tracking tags to give a time-sense as well, i.e.
Code:
[if((HasAura("Mark of the Wild") and (AuraDuration("Mark of the Wild) < 300)) or (HasAura("Gift of the Wild") and (AuraDuration("Gift of the Wild) < 300))) then "M":Yellow elseif(HasAura("Mark of the Wild") or HasAura("Gift of the Wild")) then "M":Green else "M":Red end |
Quote:
|
Quote:
It took me a while to figure out that I can add them next to the "name" or "class" tag by clicking addon/pitbull/target (frame)/texts/name (or class), choosing custom style and then editing it. I haven't found a way to put them into a new line/text are, like your "freeze" is in new line, or the "." tags are below the unit frame. I suspect that the option addon/pitbull/target/texts/other => new might add a new line for that, but I can't seem to get to create one. Any hints, or pointers where I could read that up would be really appreciated. [Edit] Thanks for the quick help! I tried that before and nothing happened. Tried again now, still nothing. Then disabled all mods except pitbull, and it worked. Enabled all other mods, still works. Odd. Thanks again! Time to kill another day with UI fiddling :o |
To add a new dog tag to a frame in PitBull go to the frame settings, then Texts, then Other, then in the New Text box type a name for your new DogTag. It'll add a new entry under Texts for that frame. Then in the settings for the text you can set how do position it. You can either position it in reference to the frame with the dropdown next to Frame or you can position it in reference to any of the bars you have shown. For example, the Frozen text I have is Frame: Edge-Bottom.
|
| All times are GMT -4. The time now is 6:32 PM. |
Forum Infrastructure by vBulletin 3.6.12 ©2000-2007, Jelsoft Enterprises Ltd.