PitBull Unit Frames 4.0
PitBull Unit Frames 4.0
Woof. Arf. Yip.
Getting Started:
You can help translate PitBull for your language with the localization tool.
Classic
PitBull works with WoW Classic! Classic Era/Vanilla is supported in
v4.3.x-vanilla
releases. Cataclysm Classic is supported in v4.2.x
releases
(the same releases retail use).
Classic Era caveats:
- Aura duration is not available from the API, so PitBull uses LibClassicDurations to show them. The duration can be inaccurate if it's affected by rank or talents.
- Cast info is only available for your spells from the API. PitBull uses LibClassicCasterino to show cast bars for other units, but this can be inaccurate since there is a lot of guess-work involved.
Download
CurseForge: https://www.curseforge.com/wow/addons/pitbull-unit-frames-4-0
Wago: https://addons.wago.io/addons/pitbull4
WoWInterface: https://www.wowinterface.com/downloads/info20021
v4.0.0-beta1-32-g4fc149f
config mode bugged for party and raid units?
g1breel, or if you're using the Alpha you can just do:
I made it handle single nil returns for you guys. :D
No plans to turn it into a library. It's pretty tied to PB4 at this point. If I change it then I'd need to make it handle a lot of things it assumes PB4 will do for it. Like wacky units.
Any plans to spin LuaTexts out into a library so I can bug the UnderHood developer to include it and let me ditch DogTags? :) Alternately, has anyone created a HUD layout using Pitbull4?
@tysor:
is less typing (unless I have horribly misunderstood LUA operator precedence)
Bika,
Or the code posted above. Both works just fine. :)
I have a very small problem but i would need some help to fix it, because my measures failed. I've been pretty much using Pitbull 3 since BT times and now i've decided to change from PB 3 to PB 4 i am having a small problem which is showing guild names in text. Here is my old UI. http://img135.imageshack.us/img135/8937/narlyaser8.jpg
Here is the PB 4 one. http://img27.imageshack.us/img27/250/wowscrnshot070709160449.jpg
Here is what i tried to add in the custom place to view it: "return '%s',GetGuildInfo(unit)"
But it gives an error everytime i target a pet or someone that doesnt have a guild or an NPC. Could i get a working one please :), also it shows (err..) when i target a player who has no guild.
Huray! Thanks!
I am so dumb for not thinking about \n!
LycanCC, You sure you have your Raid group set to Sho when in 40 man raid?
Kuzah, put \n in your format string to achieve the same thing as you were doing in DogTags. Sometime soon I'm gonna get to the layout stuff and provide some more options there/fix the ones that are there.
Thanks for the quick reply Shefki, but I'm afraid I was too vague.
Under the Layout Editor > Text Tab
Since it is 'attached to: health bar' the only 'location' selections are mid, left, right, out left, and out right. However, if you select 'attach to: unit frame' you'll get more options and the one I was trying to replicate within the health bar area.
Here's a really old screenshot of my old pitbull 3 layout with the text where I'd like it to be in p4. Not sure if it's worth mentioning, but in p3 I just pushed down the dogtag code with empty lines above it to achieve the positioning. I wasn't able to do that with the lua box tho :<
I hope that explains it! Thanks for your help!
Hi Not sure if this has been asked before, everything's ok but i am unable to see the Raid & Party's Target frames. In Groups/*Unit Groups* -Raid, nothing comes up, all this while in *Config Mode - 40man-raid. And when i do the same with * -Party's Target while in *Config Mode - Party, the PARTY frame lags and comes back up as if it was the Party's target.
I hope my weird explanation can be understood (same goes for my english) =P Thx in advance, and great work.
Kuzah, change the anchor position for the text in the texts tab of the layout.
fennia, Use Enhanced Colour Picker: http://wow.curse.com/downloads/wow-addons/details/enhanced-colour-picker.aspx
Nice work.
But i am missing the "copy" and "paste" functions for colors. It is hard to get the same colors for the frames. Maybe an RGB field (or something similar) would help.
Quick question! How can I make the text go to the bottom right or left of a bar, like the hp bar?
@Kamano: Go to modules and unselect "LUA-Texts" and enable "DogTags". That should make dogtags work.
[Player] 21,201 100% [target] 5.85M 100%
I have tried for a long long time to figure it out and I just can't get the health to work that way. Its the only unit frames mod I've come across which you can't see how much health you have. Quite frankly though, I want to figure it out because I really like pitbull otherwise.