1. #1

    Help with Bigwigs stylization (and maybe a noob question or 2)

    Guild started Heroic Paragons and Bigwigs has some extra features we need so it became a requirement to have it for next Tuesday. So I thought I might just make a full time switch if I can make it look the way I want.

    With DBM, I used the Aurora_DBM plug-in and !dbm (from Quse). So I had the Range Radar and the Info bar styled with borders and backdrops similar to the rest of my UI. Now with Bigwigs, I got !Qusewigs (from Quse again). I got the bars the way I want them but I can't get other aspects like the Proximity and Altpower to look the same. How do I add borders to the Altpower and Proximity window?

    Now for my noobness on this addon. What is the AltPower for? What is the Info Bar equivalent? And sometimes when I set the style profile in Bigwigs and log out, I log back in to find the default profile chosen, "what?" describes my reaction perfectly.
    Omnipotent WCL || Omnipotent Site || Stream: 5-9pm PST Tues/Wed/Thurs || Worst Btag Ever: Slenderman#1355

  2. #2
    Mechagnome Resania's Avatar
    Join Date
    Jan 2010
    Location
    Sweden, skåne
    Posts
    532
    Alt power is all alternative power resources. The only place in SoO where I noticed it was on Sha where it tracked everyones pride.

    For styling I have no clue always been content with how it looks since it's only showing in combat.
    WarCry [A] 25m - Auchindoun EU
    14/14 Heroic SoO - See below what we're recruiting

  3. #3
    Show us a pastebin of your code so far please.
    Author of BadBoy, BasicChatMods, BigWigs, oRA3, SexyMap, [...]

    DBM: 21.2 CPU/sec
    BW: 3.7 CPU/sec
    [Source]

  4. #4
    Literally stock aside from BigWigs_Plugins\AltPower.lua line 461/463 color changes and BigWigs_Plugins\Poximity.lua lines 995/997 color changes.

    I tried adding this on those spots.

    "xxx":SetBackdrop({
    edgeFile = 'Interface\\Buttons\\WHITE8x8', edgeSize = 1,
    bgFile = 'Interface\\AddOns\\ElvUI\\media\\textures\\normTex2',
    insets = {left = 1, right = 1, top = 1, bottom = 1}})

    Didn't seem to work.
    Omnipotent WCL || Omnipotent Site || Stream: 5-9pm PST Tues/Wed/Thurs || Worst Btag Ever: Slenderman#1355

  5. #5
    I actually meant the modified code you're using for your skinning addon. :P I figured you were just bundling everything into an external addon (which would be the best idea) rather than going through the hassle of modifying BW.

    The SetConfigureTarget functions are used to highlight which frame is being configured, they don't fire during normal addon use, I wouldn't bother modifying those.

    I'm going to add a callback event for you to register (in your skinning addon) that will trigger every time a new frame is created (proximity, altpower, infobox (soon)) and you can use that to add your border. Until I release that, what you want to do is look for the "createFrame" functions and add that backdrop code directly to the frame as soon as it's created. e.g.

    display = CreateFrame("Frame", "BigWigsAltPower", UIParent)
    display:SetBackdrop(...)
    Author of BadBoy, BasicChatMods, BigWigs, oRA3, SexyMap, [...]

    DBM: 21.2 CPU/sec
    BW: 3.7 CPU/sec
    [Source]

  6. #6
    The callback is now in the latest release. As you haven't posted any code, I'm just going to assume all you've done is literally change the "style" of Qusewigs and kept the code the same. The following snippet can be added at the bottom of Qusewigs:

    Code:
    if BigWigsLoader then
    	BigWigsLoader.RegisterMessage(Media, "BigWigs_FrameCreated", function(frame, frameName)
    		frame:SetBackdrop(...)
    		frame:DoThings(...)
    	)
    end

    Now you don't need to modify BW at all.
    Author of BadBoy, BasicChatMods, BigWigs, oRA3, SexyMap, [...]

    DBM: 21.2 CPU/sec
    BW: 3.7 CPU/sec
    [Source]

  7. #7
    Sorry, I've been busy last couple days and had no time to respond before today's raid. After meddling with the callback code you gave, and failing to get it working...

    Code:
    Message: Interface\AddOns\!QuseWigs\wigs.lua:94: cannot use '...' outside a vararg function near '...'
    Time: 12/10/13 21:12:26
    Count: 1
    Stack: [C]: ?
    [C]: ?
    [C]: in function `LoadAddOn'
    Interface\AddOns\BigWigs\Loader.lua:148: in function <Interface\AddOns\BigWigs\Loader.lua:139>
    Interface\AddOns\BigWigs\Loader.lua:172: in function <Interface\AddOns\BigWigs\Loader.lua:171>
    Interface\AddOns\BigWigs\Loader.lua:182: in function `?'
    Interface\FrameXML\ChatFrame.lua:4313: in function `ChatEdit_ParseText'
    Interface\FrameXML\ChatFrame.lua:3967: in function `ChatEdit_SendText'
    Interface\FrameXML\ChatFrame.lua:4006: in function <Interface\FrameXML\ChatFrame.lua:4002>
    [C]: in function `ChatEdit_OnEnterPressed'
    [string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>
    
    Locals:
    Lines 88-96
    Code:
    if BigWigsLoader then
    	BigWigsLoader.RegisterMessage(Media, "BigWigs_FrameCreated", function(frame, frameName)
    		frame:SetBackdrop({
    			edgeFile = "Interface\\Buttons\\WHITE8x8", edgeSize = 1,
    			bgFile = "Interface\\AddOns\\ElvUI\\media\\textures\\normTex2",
    			insets = {left = 1, right = 1, top = 1, bottom = 1}})
    		frame:DoThings(...)
    	)
    end
    Basically, I have no idea what to do with "frameoThings(...)" and I'm not sure whether I should be changing things on the 2nd line for whatever frame I want to change.

    And I'm still having problems with my BigWigs profile saving a style profile.

    Sorry for having not much of a clue on what I'm doing, and thanks for helping me so far.
    Omnipotent WCL || Omnipotent Site || Stream: 5-9pm PST Tues/Wed/Thurs || Worst Btag Ever: Slenderman#1355

  8. #8
    Sorry I thought you were experienced with Lua, just remove the DoThings line entirely it was just an example of "do whatever you want with the frame and its children".

    You can also shove the following in at the bottom to force your style, and rename it if you changed the style name away from QuseUI.

    Code:
    BigWigs:GetPlugin("Bars"):SetBarStyle("QuseUI")
    Author of BadBoy, BasicChatMods, BigWigs, oRA3, SexyMap, [...]

    DBM: 21.2 CPU/sec
    BW: 3.7 CPU/sec
    [Source]

Posting Permissions

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