1. #1

    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
    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)
    UI & AddOns expert | Interface & Macros moderator - My work

  3. #3
    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
    What are the frames called? I can't check right now.
    Just do a /fstack and hover your cursor over them.
    UI & AddOns expert | Interface & Macros moderator - My work

  5. #5
    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
    CompactRaidFrame? And you're sure that my script from above doesn't work?
    UI & AddOns expert | Interface & Macros moderator - My work

  7. #7
    yes its not including Main tank frames

  8. #8
    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)
    UI & AddOns expert | Interface & Macros moderator - My work

  9. #9
    Bloodsail Admiral Thundertom's Avatar
    Join Date
    Oct 2009
    Location
    The Netherlands
    Posts
    1,093
    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?

  10. #10
    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).
    UI & AddOns expert | Interface & Macros moderator - My work

Posting Permissions

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