Go Back   WowAce Forums > Official Addon Threads > Unit Frames
Unit Frames ag_UnitFrames, Grid, Pitbull, X-Perl, etc., and modules

Reply
 
Thread Tools
Old 2 Weeks Ago   #1371
jokeyrhyme
Senior Member
 
jokeyrhyme's Avatar
 
Join Date: Aug 2008
Posts: 404
Send a message via ICQ to jokeyrhyme Send a message via Yahoo to jokeyrhyme Send a message via Skype™ to jokeyrhyme
Default Re: PitBull 4.0

Yeah, the built-in Pitbull castbars are nice, but they are just inflexible enough to make me search for another solution. My main issue with the Pitbull ones is the shuffling that is caused when the castbar appears. But if you have it turned on all the time (no auto-hide) then it just sits there sucking up screen real estate for absolutely no purpose. For a while I treated the inactive castbar as something of a blank bar and I put a few texts there, but I ended up ditching it.

I'm using Castbars too now and I'm having the same problem. The layout I'd love to have involves the castbars occupying the same space as my unitframes (or maybe just my powerbar) and just being drawn over the top whenever a cast is happening. But the strata levels between Pitbull and Castbars isn't distinct enough and the unitframe is often drawn over the top.

There are a bunch of related tickets if you guys wanted to show support with votes / comments:
- 504: option to change strata
- 613: possible solution to transient bar ugliness (superimpose)
- 351: castbars separate from unitframes
- 398: hide bars on cast
__________________
Author: EggTimer, SavedInstances
jokeyrhyme is offline   Reply With Quote
Old 2 Weeks Ago   #1372
vorsim
Member
 
Join Date: Sep 2008
Posts: 14
Post Re: PitBull 4.0

The time has come where I get the urge to attempt to make my own UI. Im trying to get my Pitbull player frame to look something like this....
.......100/100[ ]
..21.1k/21.1k[ ]
..................[ ]
..................[ ]
(The skewed [ ]'s represent vertical power/health bars)

What's the best way to arrange my power/health text like that? There's an option to switch x2 texts in the same position from left to right, dont see an option for switch from top to bottom. In older versions of Pitbull I could do it by creating 1 text and just squish x2 dogtags for power and health together, my attempts to do the same with Lua texts have not gone well.

local max = MaxPower(unit)
if max > 0 then
return "%s/%s",Power(unit),max
end
local s = Status(unit)
if s then
return s
end
local cur, max = HP(unit), MaxHP(unit)
return "%s/%s || %s%%",Short(cur,true),Short(max,true),Percent(cur, max)

Just shows my power, removing the end in the middle returns an error. So knowledgeable UI types how would u do it? Just going back to using dogtags (if thats still possible) would be an option too I guess
vorsim is offline   Reply With Quote
Old 2 Weeks Ago   #1373
Telal
Member
 
Join Date: Feb 2006
Posts: 20
Default Re: PitBull 4.0

I've been working on something with pitbull now for about a week and I'm stumped.

I'm a MT in my guild, and I'm trying to get Pitbull to show "stacks" of debuffs on the ToT windows (so that I can taunt off when it is my time), debuffs show, but I can only get "time remaining" to show.

Can anyone assist?
Telal is offline   Reply With Quote
Old 2 Weeks Ago   #1374
Kerecha
Legendary Member
 
Kerecha's Avatar
 
Join Date: Feb 2006
Location: Sweden
Posts: 2,086
Default Re: PitBull 4.0

Quote:
Originally Posted by Telal View Post
I've been working on something with pitbull now for about a week and I'm stumped.

I'm a MT in my guild, and I'm trying to get Pitbull to show "stacks" of debuffs on the ToT windows (so that I can taunt off when it is my time), debuffs show, but I can only get "time remaining" to show.

Can anyone assist?
Hmm... dosen't it do that by default?
Afaik there is no setting to control that, it always shows stacks.
__________________
*The face of the Angel hides the soul of the Demon*

Probably got caught in DPS kit as usual.
*Anonymity is an eternal Bliss, By name our soul forever bound*
*Normal is Boring*

Kerecha is online now   Reply With Quote
Old 2 Weeks Ago   #1375
Shadoweric
Senior Member
 
Join Date: Jul 2007
Posts: 298
Default Re: PitBull 4.0

Actually there is. Go to your layout for your frames, go to the Aura tab, then Texts, then select the various "counts" in the dropdown list.
Shadoweric is offline   Reply With Quote
Old 2 Weeks Ago   #1376
Kerecha
Legendary Member
 
Kerecha's Avatar
 
Join Date: Feb 2006
Location: Sweden
Posts: 2,086
Default Re: PitBull 4.0

Quote:
Originally Posted by Shadoweric View Post
Actually there is. Go to your layout for your frames, go to the Aura tab, then Texts, then select the various "counts" in the dropdown list.

Odd mine's not enabled and i see the stacks... must have some other addon doing it then...
__________________
*The face of the Angel hides the soul of the Demon*

Probably got caught in DPS kit as usual.
*Anonymity is an eternal Bliss, By name our soul forever bound*
*Normal is Boring*

Kerecha is online now   Reply With Quote
Old 2 Weeks Ago   #1377
dragoron
Newbie
 
Join Date: Sep 2008
Posts: 1
Default Re: PitBull 4.0

I'm trying to figure out a specific layout for my unit frames. I'm trying to place a blank bar above my other bars and portrait for a place for name / class / level texts, sort of like what you find in Xperl. I've gotten a bar placed, but it won't go into the position I want. I'm trying for the following:

-------------------------------
Name, Class, Level
-------------------------------
.............. Health
. Portrait . ----------------
.............. Mana
.............. ----------------
.............. Cast
-------------------------------

but the closest I can manage is this:

-------------------------------
.............. Name, Class, Level
.............. ----------------
.............. Health
. Portrait . ----------------
.............. Mana
.............. ----------------
.............. Cast
-------------------------------

Last edited by dragoron; 2 Weeks Ago at 06:54 AM.
dragoron is offline   Reply With Quote
Old 2 Weeks Ago   #1378
Kerecha
Legendary Member
 
Kerecha's Avatar
 
Join Date: Feb 2006
Location: Sweden
Posts: 2,086
Default Re: PitBull 4.0

Quote:
Originally Posted by dragoron View Post
I'm trying to figure out a specific layout for my unit frames. I'm trying to place a blank bar above my other bars and portrait for a place for name / class / level texts, sort of like what you find in Xperl. I've gotten a bar placed, but it won't go into the position I want. I'm trying for the following:

-------------------------------
Name, Class, Level
-------------------------------
.............. Health
. Portrait . ----------------
.............. Mana
.............. ----------------
.............. Cast
-------------------------------

but the closest I can manage is this:

-------------------------------
.............. Name, Class, Level
.............. ----------------
.............. Health
. Portrait . ----------------
.............. Mana
.............. ----------------
.............. Cast
-------------------------------
Thats how it will always look in PB due to how portrait vs bars is handled
__________________
*The face of the Angel hides the soul of the Demon*

Probably got caught in DPS kit as usual.
*Anonymity is an eternal Bliss, By name our soul forever bound*
*Normal is Boring*

Kerecha is online now   Reply With Quote
Old 1 Week Ago   #1379
idomu
Newbie
 
Join Date: Feb 2009
Posts: 2
Default Re: PitBull 4.0

Quote:
The time has come where I get the urge to attempt to make my own UI. Im trying to get my Pitbull player frame to look something like this....

.......100/100[ ]
..21.1k/21.1k[ ]
..................[ ]
..................[ ]

(The skewed [ ]'s represent vertical power/health bars)

What's the best way to arrange my power/health text like that?
Try something like this.

Code:
local s = Status(unit)
if s then
return s
end
local curp,maxp,curh,maxh = Power(unit),MaxPower(unit),HP(unit),MaxHP(unit)
   return "%s/%s\n%s/%s", curp,maxp,Short(curh),Short(maxh)
I used something similar to get this.
idomu is offline   Reply With Quote
Old 1 Week Ago   #1380
TheRey
Member
 
Join Date: Jun 2009
Posts: 13
Default Re: PitBull 4.0

Is there any way of making the HP-text change colour depending on the amount of HP?
Like 100% = green, 50% = yellow, 10% yellow? ._.
TheRey is offline   Reply With Quote
Reply

Tags
luatexts, pitbull, pitbull4, unit frames


Currently Active Users Viewing This Thread: 2 (0 members and 2 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 12:40 AM.