PitBull Unit Frames 4.0

Pitbull 4 Config Menu

PitBull4 is a continuation of PitBull.

Differences from PitBull 3:

  • It's mostly done, but not entirely done thus why there are still only betas (despite this it is still very stable).
  • Documentation is written before functions
  • Much easier for third-party extensions.
  • Options will be much, much simpler. In 3.0, there's about 200 panels that you can mess with, it's overwhelming. I want to bring this down to somewhere around 10.
    • Layouts are defined deterministically and unit groups use the layout rather than ad-hoc layouts on a per-unit basis. This will make setting up your unit frames far, far easier.
    • Due to some decisions made, 4.0 is actually more configurable than 3.0. As a layout designer, you will have a lot more control over how things look. You can have different fonts on the same frame, different textures, more precise positioning, and a whole slough of other things.
  • CPU Efficiency will be taken much more seriously.
  • It uses Ace3 instead of Rock.

FAQ: http://www.wowace.com/addons/pitbull4.../faq/.

Guide: http://www.wowace.com/addons/pitbull4.../guide/.

If you want to help localize PitBull in your language, go to http://www.wowace.com/projects/pitbul.../localization/.

Forum thread: http://forums.wowace.com/showthread.php?t=15552...

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Shefki Shefki Jun 18, 2009 at 21:44 UTC - 0 likes

    fnitrox89, don't believe this can be done but I might be wrong.

  • Avatar of Shefki Shefki Jun 18, 2009 at 21:43 UTC - 0 likes

    Silvanoshei,

    local cast_data = CastData(unit)
    if cast_data then
      if not cast_data.stop_time then
        local delay,end_time,start_time = cast_data.delay, cast_data.end_time,cast_data.start_time
        local duration
        local total
        if end_time then
          duration = end_time - GetTime()
          total = end_time - start_time
        end
        if delay and delay ~= 0 then
          if duration and duration >= 0 then
            local totalanddelay = total + delay
            return "|cffff0000+%s|r  %.1f / %.2f",Round(delay,1),Round(duration,1),Round(totalanddelay,1)
          else
            return "|cffff0000+%s|r",Round(delay,1)
          end
        elseif duration and duration >= 0 then
          return "%.1f / %g",duration,Round(total,1)
        end
      end
    end
    return ConfigMode()
    

    You had CastDate instead of CastData and you don't want to calculate totalanddelay at the same time as duration because delay might be nil... You also redid the calculateion to find total which was unnecessary. Otherwise it looks fine from me eyeballing it.

  • Avatar of Sherwiness Sherwiness Jun 18, 2009 at 15:45 UTC - 0 likes

    on the newest version yall have posted I can not find where to upload lua text for setup anywhere would someone let me know so I can upload others setup styles

    Thanks

  • Avatar of rakkarage rakkarage Jun 18, 2009 at 13:00 UTC - 0 likes

    the options window does not stay resized? goes back to default every time i change an option or a selection?

  • Avatar of fnitrox89 fnitrox89 Jun 18, 2009 at 08:14 UTC - 0 likes

    not sure if this is the right place to ask at all, but anyway i'd like to know how to make bar that are aligned on Right/Left to fill horizontally instead of vertically, if that's possible...

  • Avatar of Silvanoshei Silvanoshei Jun 18, 2009 at 03:33 UTC - 0 likes

    I've been working on a new LuaText for the Cast Time. I like to use the format (pushback timeleft / total cast time)

    Here is what I've got, I have done a bit of testing and wanted to just see what everyone else things. (I'm a bit of a noob with Lua)

    local cast_data = CastDate(unit)
    if cast_data then
      if not cast_data.stop_time then
        local delay,end_time,start_time = cast_data.delay, cast_data.end_time,cast_data.start_time
        local duration
        local total
        local totalanddelay
        if end_time then
          duration = end_time - GetTime()
          totalanddelay = (end_time - start_time) + delay
          total = end_time - start_time
        end
        if delay and delay ~= 0 then
          if duration and duration >= 0 then
            return "|cffff0000+%s|r  %.1f / %.2f",Round(delay,1),Round(duration,1),Round(totalanddelay,1)
          else
            return "|cffff0000+%s|r",Round(delay,1)
          end
        elseif duration and duration >= 0 then
          return "%.1f / %g",duration,Round(total,1)
        end
      end
    end
    return ConfigMode()
    

    Like I said, I'm a bit of a noob, for the most part I started off of the cast time Luatext that was already there and worked from there, so any suggestions and pointers are welcome.

  • Avatar of Shefki Shefki Jun 17, 2009 at 22:02 UTC - 0 likes

    Kaziedk, Yes it was intentional. LuaTexts is faster and generally better for most of our users. So I changed the default text provider, but like I said before this changed it for everyone because pretty much everyone was just using the defaults.

  • Avatar of Kaziedk Kaziedk Jun 17, 2009 at 14:20 UTC - 0 likes

    Shefki: Thanks man.. it worked, everything is back to normal .. not really sure why an update would do that, maybe it was intentional from you guys? :P

    Kupotek: yea, i haven't checked the Pitbull borders atm. but last time i checked pitbull only had crap borders and not "per bar"-borders like on the screenshot i posted hehe.. :D

  • Avatar of Kupotek Kupotek Jun 17, 2009 at 12:15 UTC - 0 likes

    Kaziedk, I use KGPanels for the borders as well ;)

  • Avatar of Shefki Shefki Jun 17, 2009 at 04:37 UTC - 0 likes

    Kaziedk, Go to modules, uncheck Enabled under LuaTexts and check Enabled under DogTagTexts.

Facts

Date created
Aug 01, 2008
Category
Last update
Aug 14, 2015
Development stage
Beta
Language
  • deDE
  • enUS
  • esES
  • esMX
  • frFR
  • koKR
  • ruRU
  • zhCN
  • zhTW
License
All Rights Reserved
Curse link
PitBull Unit Frames 4.0
Reverse relationships
4
Downloads
3,918,461
Recent files

Authors