Elitist Jerks
Register
Blogs
Forums


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

Reply
 
LinkBack Thread Tools
Old 03/29/08, 2:13 PM   #16
 Adoriele
Happy October 19th!
 
Adoriele's Avatar
 
Night Elf Druid
 
Dragonblight
Originally Posted by Roywyn View Post
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.
That's exactly it. Under Other, there should be an option to create a new one. Type in the name and hit enter, and it will show up in your list of activated texts.

[edit]Bah, beaten to it.

United States Offline
Reply With Quote
Old 03/29/08, 2:41 PM   #17
Trouble
Bald Bull
 
Trouble's Avatar
 
Trouble
Blood Elf Druid
 
No WoW Account
I think there may be a bug where adding a new text isn't working. I was trying to yesterday but nothing was happening. That's the correct way to do it, but if it's not working then it's just a bug.

United States Offline
Reply With Quote
Old 03/29/08, 2:56 PM   #18
 Adoriele
Happy October 19th!
 
Adoriele's Avatar
 
Night Elf Druid
 
Dragonblight
Originally Posted by Trouble View Post
I think there may be a bug where adding a new text isn't working. I was trying to yesterday but nothing was happening. That's the correct way to do it, but if it's not working then it's just a bug.
Something's wonky, but I've found that composing in the help section's test window, then copy/pasting, works incredibly well.

United States Offline
Reply With Quote
Old 03/29/08, 3:19 PM   #19
Olon97
Von Kaiser
 
Tauren Druid
 
Tichondrius
Originally Posted by Adoriele View Post
Something's wonky, but I've found that composing in the help section's test window, then copy/pasting, works incredibly well.
You can also be brave and manually edit your Pitbull.lua file in your savedvariables folder (make a backup copy first and edit while logged out).

First search for the frame you're trying to modify, say search for "["target"]" (without the outer quotes) for the stuff related to the target frame, then slowly scroll down to the ["texts"] subsection. I start with a copy/paste of one of the existing texts, and add it to the list. It should look something like:
		["YOUR LABEL FOR YOUR CUSTOM DOGTAG HERE"] = {
			["styleType"] = "none",
			["style"] = "Custom",
			["position"] = "frame-outbottomright",
			["custom"] = "[YOUR DOGTAG HERE]",
			["hidden"] = false,
			["size"] = 1.5,
		},
Note that in the lua, any quotation marks in your DogTag need to be escaped with a backslash (\" instead of "). Hidden has to be false obviously. Position / Size you can take a stab at if you know what you're doing. Style should be "Custom" unless you want to risk overwriting some of the formatting in your tag.

As far as working around the ingame GUI, I've had the most luck access the full texts list right after logging in and before ever getting in combat. Sometimes messing with the texts list of other frames has made the texts of the frame I'm working on accessible.

Offline
Reply With Quote
Old 03/29/08, 6:26 PM   #20
 Bass
PROCRASTINATE
 
Bass's Avatar
 
Mordant
Orc Hunter
 
No WoW Account
A nice one for CowTip for those who missed it from Tinytip: Same line target.
[(if IsPlayer then ClassColor else HostileColor end) NameRealm (if (Target:Exists) then ' :: ':White end) (if Target:IsPlayer then ClassColor(unit=Target) else HostileColor(unit=Target) end) (if IsUnit('player', Target) then '<<You>>' else Target:NameRealm or '' end)]
So, what this will do is as follows. If your mouseover has no target, it will show the name of the mouseover - Class colored for players, Hostile color for not. For example:

ex1: Shamanguy
ex2: Prince Malchezaar

If your mouseover does have a target, it will show in a format such as Name :: Target. Same coloration for targets. Examples:

ex1: Shamanguy :: Berudan Keysworn
ex2: Prince Malchezaar :: Yourmaintank
note: assuming your MT is a paladin

It will also do "<<YOU>>" if it happens to be you.

United States Online
Reply With Quote
Old 03/29/08, 10:00 PM   #21
Septih
Glass Joe
 
Human Warrior
 
Neptulon (EU)
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?

Offline
Reply With Quote
Old 03/30/08, 12:29 AM   #22
Drayerina
Von Kaiser
 
Human Death Knight
 
Die Silberne Hand (EU)
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)]

Offline
Reply With Quote
Old 03/30/08, 12:40 AM   #23
dylan
Glass Joe
 
dylan's Avatar
 
Blood Elf Paladin
 
Nazjatar
Originally Posted by Septih View Post
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"))]

Offline
Reply With Quote
Old 03/30/08, 5:16 AM   #24
Daize
Von Kaiser
 
Undead Priest
 
Ragnaros (EU)
Apologies for slight repost (other thread got locked):
http://elitistjerks.com/623746-post4.html

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

Offline
Reply With Quote
Old 03/30/08, 8:57 AM   #25
Lakesh
Glass Joe
 
Night Elf Druid
 
<WW>
Das Syndikat (EU)
The idea was to replace Demon.
(I too Apologies for the repost but now i have a screen shoot.)



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)]

Last edited by Lakesh : 07/12/08 at 9:44 PM.

Offline
Reply With Quote
Old 03/30/08, 11:09 AM   #26
badMonkey
Von Kaiser
 
badMonkey's Avatar
 
Night Elf Rogue
 
Tirion (EU)
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]

Offline
Reply With Quote
Old 03/30/08, 5:12 PM   #27
Sethik
Glass Joe
 
Blood Elf Hunter
 
Drak'thul
Had a few requests for updated tags for my CowTip styles:



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:



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!

Offline
Reply With Quote
Old 03/30/08, 7:06 PM   #28
Imbar
Piston Honda
 
Imbar's Avatar
 
Blood Elf Paladin
 
Sentinels
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.

Offline
Reply With Quote
Old 03/30/08, 7:28 PM   #29
Desik™
Glass Joe
 
Desik™'s Avatar
 
Blood Elf Mage
 
Illidan
Originally Posted by http://www.wowace.com/wiki/LibDogTag-3.0
Truncate(value, number, ellipses=true)
Truncate value to the length specified by number, adding ellipses by default
["Hello":Truncate(3)] => "Hel..."; ["Hello":Truncate(3, nil)] => "Hel"
As an example my Target's name is :

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

Offline
Reply With Quote
Old 03/30/08, 7:30 PM   #30
Olon97
Von Kaiser
 
Tauren Druid
 
Tichondrius
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).

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