1. Looking for help with a Santaui lookalike script

    Hi I recently found an old topic http://www.arenajunkies.com/topic/22...lt-ui-scripts/ at arenajunkies about scripts to enhance the default blizzard interface and I particularly liked the one that darkens all the unitframes and actionbars. It basicly emulates what Santaui textures does. If you scroll down you can find it under ,,2.3. Darken all the graphics Ibo/Lorti UI style:,,

    So I made an simple addon out of the script and it works alright but I have one specific issue with it which I cant find solution to. As you can see http://i.imgur.com/BIdHPTB.gifv I am playing a druid and for some reason the dark texture doesnt apply to the catform and bearform actionbar and it stays unchanged. Same thing happens on my rogue when I go into stealth and the stealth bar rolls over the basic action bar.

    It seems that this is the part http://i.imgur.com/L6G9G9D.jpg of the script that defines for which parts of the interface is the darker texture applied. Although I have no prior experience with scripts or Lua I figured that this line BonusActionBarFrameTexture0, BonusActionBarFrameTexture1, BonusActionBarFrameTexture2, BonusActionBarFrameTexture3, BonusActionBarFrameTexture4 is for all the action bars so I tried to add ShapeshiftBarFrameTexture to it but it doesnt work since its probably not the corrent name of the bar.

    Anyways I was hoping that maybe some of you guys might be able to help. Thanks in advence for any repplies.
    Edited: June 19, 2016

  2. This might help you
    Spoiler: Show

    Code:
    local ActionBars = { "Action", "PetAction", "MultiBarBottomLeft", "MultiBarBottomRight", "MultiBarRight", "MultiBarLeft", "Bonus", "BonusAction", "Shapeshift",}
    local function noop() end
    for _, barName in pairs(ActionBars) do
    	for i=1,12 do 
            local btn = barName .. "Button" .. i
    	local button = _G[btn]
    		if button then 
    		local BlizBorder =  _G[btn .. "Border"]
    		local icon  = _G[btn .. "Icon"]
    		local uglyTexture = _G[btn .. "NormalTexture"]
    			if icon then 
    			icon:SetTexCoord(0.07,0.9,0.07,0.90) 	-- remove borders 
    			button.border = CreateFrame("Frame", nil, button)
    			button.border:SetPoint("CENTER", button)
    			button.border:SetBackdrop({
    			 bgFile=nil,	
    			 edgeFile="Interface\\ChatFrame\\ChatFrameBackground",
    			 tile=true,
    			 tileSize=5,
    			 edgeSize= 3,	-- border thickness
    			})
    			button.border:SetBackdropColor(0,0,0)
    			button.border:SetBackdropBorderColor(0,0,0)
    			button.border:SetAlpha(1)
    			button.border:SetAllPoints(button)
    			button.SetNormalTexture = noop
    			BlizBorder:Hide()
    			
    			end 
    				if uglyTexture then 
    				uglyTexture:SetTexture("")
    				uglyTexture:Hide()
    				end 
    		end 
    	end 
    end

Posting Permissions

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