1. #1
    Deleted

    blizzard raid ui buff size

    I have been looking for a way to alter the size of buffs in blizzards standard raid frames.
    In another post on this forum i have found

    hooksecurefunc("DefaultCompactUnitFrameSetup",function(f) for _,d in ipairs(f.debuffFrames) do d.baseSize = 23 end end)
    (Cant find the post again so cant give credit)

    that works for debuffs but i wondered if theres anything similar for buffs.

    thz in advance =)

  2. #2
    Deleted
    Think that was mine. Let me take a look.

    ---------- Post added 2012-07-12 at 03:04 PM ----------

    Untested, but should work:
    Code:
    hooksecurefunc("DefaultCompactUnitFrameSetup",function(f) for _,d in ipairs(f.buffFrames) do d:SetSize(23,23) end end)

  3. #3
    Deleted
    Hey there,

    thank for the debuff size file,

    can you explain me how i make such a file for the tank frames in the Blizz UI

    greetings from germany and thanks in advance

    DeeJay

  4. #4
    Deleted
    What are the frames called? I can't check right now.
    Just do a /fstack and hover your cursor over them.

  5. #5
    Deleted
    Tank 1

    Medium
    <2> CompactRaidFrameContainer
    <0> UIParent
    LOW
    <3> CompactRaidFrame1
    <3> CompactRaidFrame1HealthBar
    World
    <0> WorldFrame

    Tank 2

    Medium
    <2> CompactRaidFrameContainer
    <0> UIParent
    LOW
    <3> CompactRaidFrame4
    <3> CompactRaidFrame4HealthBar
    World
    <0> WorldFrame

    I hope i can help

  6. #6
    Deleted
    CompactRaidFrame? And you're sure that my script from above doesn't work?

  7. #7
    Deleted
    yes its not including Main tank frames

  8. #8
    Deleted
    Try:
    (for buffs)
    Code:
    hooksecurefunc("DefaultCompactMiniFrameSetup",function(f) for _,d in ipairs(f.buffFrames) do d:SetSize(23,23) end end)
    (for debuffs)
    Code:
    hooksecurefunc("DefaultCompactMiniFrameSetup",function(f) for _,d in ipairs(f.debuffFrames) do d.baseSize = 23 end end)

  9. #9
    Brewmaster Thundertom's Avatar
    10+ Year Old Account
    Join Date
    Oct 2009
    Location
    The Netherlands
    Posts
    1,319
    Just a quick question regarding this;
    - Altering "23" will either enlarge or smaller the icons?
    - can this be a macro too? Since it's so short, can you add /run to it?
    Warlock (SL main)

  10. #10
    Deleted
    If you can fit it in, sure. You'd have to run it every time you log on, though.

    Yes, the '23's are the buff/debuff size. For debuffs, according to the FrameXML, this is a base size and will get resized depending on various factors (not sure which those are, never used the default UI).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •