Jump to content


Photo

The DogTags 3.0 Thread


  • Please log in to reply
635 replies to this topic

#21 Septih

Septih

    Glass Joe

  • Members
  • 17 posts

Posted 30 March 2008 - 02:00 AM

Couple of questions:

What mods currently support DT3? I know Pitbull does, but can't find a list of others

Secondly, the fire vun. example in the original post. I don't suppose it's expandable to do one dot for one stack, two dots for two stacks and so on?

#22 Drayerina

Drayerina

    Von Kaiser

  • Members
  • 29 posts

Posted 30 March 2008 - 04:29 AM

Don't know how to add 'dots' but I use this Tag to tell me duration and count:

[(if (Class(unit="player") = "Mage") and (TalentTree(unit="player") = "Fire") and HasAura("Fire Vulnerability") then
    NumAura("Fire Vulnerability"):Red
end) AuraDuration("Fire Vulnerability"):FormatDuration:Prepend(" ") (HasAura("Curse of the Elements") ? "E":Red)]


#23 dylan

dylan

    Glass Joe

  • Members
  • 8 posts

Posted 30 March 2008 - 04:40 AM

What mods currently support DT3? I know Pitbull does, but can't find a list of others

Well, there's CowTip and you can bet that Parrot will be on the list whenever it is fixed.

Secondly, the fire vun. example in the original post. I don't suppose it's expandable to do one dot for one stack, two dots for two stacks and so on?

[".":Repeat(NumAura("Fire Vulnerability"))]


#24 Daize

Daize

    Von Kaiser

  • Members
  • 31 posts

Posted 30 March 2008 - 09:16 AM

Apologies for slight repost (other thread got locked):
http://elitistjerks....3746-post4.html

I'm still looking for a modified version of AG_UF, sadly nowhere to be found. Is there anyone who can help?

#25 Lakesh

Lakesh

    Glass Joe

  • Members
  • 2 posts

Posted 30 March 2008 - 12:57 PM

The idea was to replace Demon.
(I too Apologies for the repost but now i have a screen shoot.)

Posted Image

The text is only visible if the target is a enemy (and not a player or pet).

[(IsEnemy ? ~IsPlayerOrPet ? NumDebuffs:Hide(0)) (if (IsEnemy ? ~IsPlayerOrPet) then
    (if (HasAura("Demoralizing Shout") or HasAura("Demoralizing Roar")) then
        " DS":Green
    else
        " DS":Red
    end) (if HasAura("Thunder Clap") then
        " TC":Green
    else
        " TC":Red
    end) (if HasAura("Curse of the Elements") then
        " CoE":Green
    else
        " CoE":Red
    end) (if HasAura("Curse of Shadow") then
        " CoS":Green
    else
        " CoS":Red
    end) (if HasAura("Curse of Recklessness") then
        " CoR":Green
    else
        " CoR":Red
    end) (if HasAura("Curse of Tongues") then
        " CoT":Green
    else
        " CoT":Red
    end) (if (HasAura("Faerie Fire") or HasAura("Faerie Fire (Feral)")) then
        " FF":Green
    else
        " FF":Red
    end) (if (HasAura("Mangle") or HasAura("Mangle (Bear)") or HasAura("Mangle (Cat)")) then
        " MA":Green
    else
        " MA":Red
    end)
end)]


#26 badMonkey

badMonkey

    Von Kaiser

  • Members
  • 79 posts

Posted 30 March 2008 - 03:09 PM

I wrote a DogTag that displays any debuff/buff duration in form of alpha value
(means that when the (de)buff is at 100% duration it has 1.0 alpha value and
when it is at 80% the alpha value is 0.8 and so on):

[Alpha(((100 / X) * AuraDuration("Y")) / 100)]
[HasAura("Y") ? "whatever"]
X is the maximum (not the remaining) debuff/buff duration (in seconds!*),
Y is the debuff/buff name.

* You can place the initial debuff/buff duration in minutes also, but you have to add "* 60".

Example:
Sap, 45sec

[Outline]
[Alpha(((100 / 45) * AuraDuration("Sap")) / 100)]
[HasAura("Sap") ? "Sapped!":Red]


#27 Sethik

Sethik

    Glass Joe

  • Members
  • 24 posts

Posted 30 March 2008 - 09:12 PM

Had a few requests for updated tags for my CowTip styles:

Posted Image

LEFT:

[Level:White] [NameRealm:ClassColor] [Classification:Paren]
[if Guild then Guild:Angle:Green " " GuildRank:Paren:Color("caf6c8") else " " end]
[(if IsPlayer and IsFriend then (if TalentSpec then TalentTree " " TalentSpec:Paren:Gray else "Loading..." end) end) (if IsUnit("pet") then HappyText end)]
[Zone]
[if IsUnit("player", Target) then Red "Targeting << You >>" elseif Target:NameRealm then "Targeting <" Target:NameRealm:ClassColor(Target) ">" end]

RIGHT:

[Faction or SmartRace]
[if Faction then SmartRace end]
[if IsPlayerOrPet then PercentHP:Percent:HPColor elseif InCombat then PercentHP:Percent:HPColor end]

Something I whipped up last night:

Posted Image

And if the CC is your own:

Posted Image

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!

#28 Imbar

Imbar

    Piston Honda

  • Members
  • 195 posts

Posted 30 March 2008 - 11:06 PM

Is there a way to truncate overly long names?
I want to put names on my unitframes, but "Mature Netherwing Drake" takes up nearly the whole bar and causes my health text to show as "6789/67..."

I read Banhammer posts when I'm having a bad day.


#29 Desikâ„¢

Desikâ„¢

    Glass Joe

  • Members
  • 12 posts

Posted 30 March 2008 - 11:28 PM

=> "Hel..."; ["Hello":Truncate(3, nil)] => "Hel"


As an example my Target's name is :

[Name:Truncate(15):ClassColor] [(AFK or DND):Angle]


#30 Olon97

Olon97

    Von Kaiser

  • Members
  • 69 posts

Posted 30 March 2008 - 11:30 PM

I use truncate for a very fun dogtag tag in CowTip:
[TargetingList:Truncate(35)]
On a line by itself it shows everyone in your party/raid targetting the mob you're mousing over (lets one tank see that another tank is already targetting a loose mob before they've actually reached it & taunted). In the case of raid boss fights, where 24 other people are targetting the same thing, it gets a tad unwieldly without they truncate modifier (as I discovered the hard way with a CowTip the width of my screen on Magtheridon).

#31 Imbar

Imbar

    Piston Honda

  • Members
  • 195 posts

Posted 31 March 2008 - 12:06 AM

Olond, that makes me think of another tag.
Would there be a way to have "Targetted by: 24 others" if a bunch of people (the whole raid) are targetting the mob, but "Targetted by: Tank1, DPS1, DPS2" if only a few people are targetting it?

Say, something like:
if(# of raid members targetting mob < 5)
       print each individual name separated by commas
else
       print # of raid members targetting mob

I read Banhammer posts when I'm having a bad day.


#32 Zedd

Zedd

    Piston Honda

  • Members
  • 162 posts

Posted 31 March 2008 - 12:31 AM

With some help of Wowace forums:

[if MissingMP >= 2200 then
    (if MissingMP >= 3200 then
        "FelMana"
    else
        "ManaPot"
    end)
end]

Displays "Manapot" when 2200 mana is used and "FelMana" when 3200 is used.
Nice to know when you wont overshoot a Mana Potion.

#33 MaveN

MaveN

    Von Kaiser

  • Members
  • 62 posts

Posted 31 March 2008 - 12:52 AM

Had a few requests for updated tags for my CowTip styles:

Posted Image

LEFT:

[Level:White] [NameRealm:ClassColor] [Classification:Paren]
[if Guild then Guild:Angle:Green " " GuildRank:Paren:Color("caf6c8") else " " end]
[(if IsPlayer and IsFriend then (if TalentSpec then TalentTree " " TalentSpec:Paren:Gray else "Loading..." end) end) (if IsUnit("pet") then HappyText end)]
[Zone]
[if IsUnit("player", Target) then Red "Targeting << You >>" elseif Target:NameRealm then "Targeting <" Target:NameRealm:ClassColor(Target) ">" end]

RIGHT:

[Faction or SmartRace]
[if Faction then SmartRace end]
[if IsPlayerOrPet then PercentHP:Percent:HPColor elseif InCombat then PercentHP:Percent:HPColor end]

Something I whipped up last night:

Posted Image

And if the CC is your own:

Posted Image

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!


None of them worked when i put them in the cowtip :(. What am i doing wrong?

#34 Sethik

Sethik

    Glass Joe

  • Members
  • 24 posts

Posted 31 March 2008 - 01:06 AM

None of them worked when i put them in the cowtip :(. What am i doing wrong?


Make sure you're using the latest CowTip (read: the one using the 3.0 lib). Aside from that, couldn't tell you.

#35 MaveN

MaveN

    Von Kaiser

  • Members
  • 62 posts

Posted 31 March 2008 - 01:31 AM

Make sure you're using the latest CowTip (read: the one using the 3.0 lib). Aside from that, couldn't tell you.


Still givin me syntax errors, *sigh* guess i gota start over, and this is cotip 3.0 to i dont get it. Maybe if i delete the entire cowtip and the saved variables, then put in cowtip over again and start there? I think ill try that.

#36 FAME

FAME

    Von Kaiser

  • Members
  • 58 posts

Posted 31 March 2008 - 03:25 AM

Does anyone know if there is a new equivalent to IsLessEqual() yet?

#37 Cronax

Cronax

    Von Kaiser

  • Members
  • 57 posts

Posted 31 March 2008 - 04:59 AM

Does anyone know if there is a new equivalent to IsLessEqual() yet?


I think you can solve this with an "if" structure combined with the >= operand. Like for instance:

[if MissingMP >= 2200 then 
    (if MissingMP >= 3200 then 
        "FelMana" 
    else 
        "ManaPot" 
    end) 
end]

In this case, it should return "FelMana" for less then or equal to 3200 mana and "ManaPot" for less then or equal to 2200 mana.

#38 Thanahtos

Thanahtos

    Von Kaiser

  • Members
  • 68 posts

Posted 31 March 2008 - 03:42 PM

I'm having a bit of trouble figuring out how to do this... It's for my ToT bar, and I'd like for it to display the name of the ToT, and if the ToT is me, to say "ME" instead of Thanahtos... Is there any way to do it? :)

#39 Malan

Malan

    Mike Tyson

  • Allied Members
  • 29,830 posts

Posted 31 March 2008 - 03:44 PM

I'm having a bit of trouble figuring out how to do this... It's for my ToT bar, and I'd like for it to display the name of the ToT, and if the ToT is me, to say "ME" instead of Thanahtos... Is there any way to do it? :)


(IsUnit('player', Target) ? ClassColor("") '<<You>>':white ! Target:NameRealm)

Some modification of the above will get you there.

#40 Hamsda

Hamsda

    Piston Honda

  • Members
  • 161 posts

Posted 31 March 2008 - 03:47 PM

Olond, that makes me think of another tag.
Would there be a way to have "Targetted by: 24 others" if a bunch of people (the whole raid) are targetting the mob, but "Targetted by: Tank1, DPS1, DPS2" if only a few people are targetting it?

Say, something like:

if(# of raid members targetting mob < 5)
       print each individual name separated by commas
else
       print # of raid members targetting mob


i'm not 100 percent sure with the spelling as i couldn't check it ingame but this should help you:

[if IsEnemy ? if not IsPlayerorPet ? then
(if NumTargeting(unit="mouseovertarget") >= 6 then
"targetted by [NumTargeting(unit="mouseovertarget)] people" else
TargetingList(unit="mouseovertarget")
end) end]






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users