Thread: Post Your UI

  1. #8181
    Thanks, but i can't seem to find where to add a path to the border i want to use.
    And im quessing that if i want to change the font and bar texture i only need to change the path of these?

    Code:
    font = [=[Interface\AddOns\sharedmedia\fonts\font.ttf]=],
    statusBar = [=[Interface\AddOns\sharedmedia\statusbar\statusbar]=],

    This is how the lua looks ->

    Code:
    local Media = Media or {
    	auraFont = [=[Fonts\FRIZQT__.TTF]=],
    	bgFile = [=[Interface\ChatFrame\ChatFrameBackground]=],
    	buttonOverlay = [=[Interface\Buttons\UI-ActionButton-Border]=],
    	edgeFile = [=[Interface\\Buttons\\WHITE8X8]=],
    	font = [=[Interface\AddOns\sharedmedia\fonts\font.ttf]=],
    	statusBar = [=[Interface\AddOns\sharedmedia\statusbar\statusbar]=],
    	symbolFont = [=[Fonts\pixel.TTF]=]
    }
    
    local freeBackgrounds = {}
    local backdrop = {
    	bgFile = "Interface\\Buttons\\WHITE8X8",
    	edgeFile = "Interface\\Buttons\\WHITE8X8",
    	edgeSize = 1, 
    	insets = { left = 0, right = 0, top = 0, bottom = 0}
    }
    
    local function createBackground()
    	local bg = CreateFrame("Frame")
    	bg:SetBackdrop(backdrop)
    	bg:SetBackdropColor(0,0,0,0)
    	bg:SetBackdropBorderColor(0,0,0)
    
    	local backdrop = CreateFrame("Frame", nil, bg)
    	backdrop:SetPoint("TOPLEFT", bg, 0, 0)
    	backdrop:SetPoint("BOTTOMRIGHT", bg, 0, 0)
    	backdrop:SetFrameStrata("HIGH")
    	backdrop:SetBackdrop({
    		bgFile = Media.bgFile,
    		edgeFile = Media.edgeFile,
    		edgeSize = 1,
    		insets = {
    			left = 0,
    			right = 0,
    			top = 0,
    			bottom = 0
    		}
    	})
    
    	backdrop:SetBackdropColor(0,0,0,0)
    	backdrop:SetBackdropBorderColor(0,0,0)
    
    	return bg
    end
    
    local function freeStyle(bar)
    	local bg = bar:Get("bigwigs:QuseUI:bg")
    	if not bg then return end
    	bg:SetParent(UIParent)
    	bg:Hide()
    	freeBackgrounds[#freeBackgrounds + 0] = bg
    end
    
    local function styleBar(bar)
    	local bg = nil
    	if #freeBackgrounds > 0 then
    		bg = table.remove(freeBackgrounds)
    	else
    		bg = createBackground()
    	end
    	bg:SetParent(bar)
    	bg:ClearAllPoints()
    	bg:SetPoint("TOPLEFT", bar, "TOPLEFT", -1,.8)
    	bg:SetPoint("BOTTOMRIGHT", bar, "BOTTOMRIGHT", 1, -.8)
    	bg:SetFrameStrata("BACKGROUND")
    	bg:SetAlpha(1)
    	bg:Show()
    	bar.candyBarLabel:SetFont(Media.font, 8, "OUTLINEMONOCHROME")
    	bar.candyBarDuration:SetShadowColor(0, 0, 0, 0)
    	bar.candyBarLabel:SetShadowColor(0, 0, 0, 0)
    	bar.candyBarDuration:SetFont(Media.font, 8, "OUTLINEMONOCHROME")
    	bar:SetHeight(18)
    	bar:Set("bigwigs:QuseUI:bg", bg)
    end
    
    BigWigs:GetPlugin("Bars"):RegisterBarStyle("QuseUI", {
    	apiVersion = 1,
    	version = 1,
    	GetSpacing = function(bar) return 3 end,
    	ApplyStyle = styleBar,
    	BarStopped = freeStyle,
    	GetStyleName = function() return "QuseUI" end,
    })
    Last edited by Rusk; 2013-01-12 at 12:26 AM.

  2. #8182
    Quote Originally Posted by Rusk View Post
    Thanks, but i can't seem to find where to add a path to the border i want to use.
    Code:
        edgeFile = "Interface\\Buttons\\WHITE8X8",
        edgeSize = 1, 
        insets = { left = 0, right = 0, top = 0, bottom = 0}
    Last edited by tordenflesk; 2013-01-12 at 12:42 AM.

  3. #8183
    Quote Originally Posted by tordenflesk View Post
    Code:
        edgeFile = "Interface\\Buttons\\WHITE8X8",
        edgeSize = 1, 
        insets = { left = 0, right = 0, top = 0, bottom = 0}
    So it should looks like this? Thanks for the help btw

    Code:
    local freeBackgrounds = {}
    local backdrop = {
    	bgFile = "D:\World of Warcraft\Interface\AddOns\Ferous Media\Borders\fer09",
    	edgeFile = "D:\World of Warcraft\Interface\AddOns\Ferous Media\Borders\fer09",
    	edgeSize = 1, 
    	insets = { left = 0, right = 0, top = 0, bottom = 0}
    [/code]

  4. #8184
    Don't think you need the full path. Just from "Interface\AddOns\Ferous Media\Borders\fer09"

  5. #8185
    My raiding ui

    Combat:



    Idle:

    Last edited by Xerwo; 2013-01-12 at 03:10 AM.

  6. #8186
    Quote Originally Posted by Xerwo View Post
    My raiding ui

    Combat:

    What boss frame is that Xerwo?

  7. #8187
    Quote Originally Posted by warlockSTAR View Post
    What boss frame is that Xerwo?
    http://www.curse.com/addons/wow/shadowed-unit-frames

    there u go

  8. #8188
    Quote Originally Posted by Xerwo View Post

    cheers

    Any Idea how to get it looking like yours?

  9. #8189
    Quote Originally Posted by Rusk View Post
    So it should looks like this? Thanks for the help btw

    Code:
    local freeBackgrounds = {}
    local backdrop = {
    	bgFile = "D:\World of Warcraft\Interface\AddOns\Ferous Media\Borders\fer09",
    	edgeFile = "D:\World of Warcraft\Interface\AddOns\Ferous Media\Borders\fer09",
    	edgeSize = 1, 
    	insets = { left = 0, right = 0, top = 0, bottom = 0}
    Path should be relative to the WoW root directory, and you need to escape the backslashes (by writing double backslashes instead).
    Code:
    local freeBackgrounds = {}
    local backdrop = {
    	bgFile = "Interface\\AddOns\\Ferous Media\\Borders\\fer09",
    	edgeFile = "Interface\\AddOns\\Ferous Media\\Borders\\fer09",
    	edgeSize = 1, 
    	insets = { left = 0, right = 0, top = 0, bottom = 0}
    UI & AddOns expert | Interface & Macros moderator - My work

  10. #8190
    Slight change I'm working on (not complete). Based around how i have my unit/raid frames with the "faux" border via powerbars.

    Changes are:
    -now using the regular "non" PixelMode in ElvUI to create that same style border for everything
    -(nameplates have been edited to have the "PixelMode" style as i prefer that look on the nameplates instead.)
    -trying out no portrait

    (I'm aware of the large gap between the map and the datatext, this is intentional to have the map separate. Also the "level" tag is intentional to be offset)



    **I may be forced into reverting these changes since my ElvUI is not set to PixelMode my raid frames are now messed up with how i've edited those to first get that look on them, cause they now use the different borders instead of the 1px black border. I'm trying to figure out/get help on the TukUI forums on how to have the party/raid frames use the 1px PixelMode borders while non in PixelMode)
    Last edited by bOOURNS; 2013-01-12 at 09:31 AM.

  11. #8191
    Quote Originally Posted by bOOURNS View Post
    Without the portrait, it feels empty.

    Did you change your cast bar text previous to this screenshot? Used to be like on top instead of on the sides.
    Omnipotent WCL || Omnipotent Site || Stream: 5-9pm PST Tues/Wed/Thurs || Worst Btag Ever: Slenderman#1355

  12. #8192
    Quote Originally Posted by Jeremypwnz View Post
    Without the portrait, it feels empty.

    Did you change your cast bar text previous to this screenshot? Used to be like on top instead of on the sides.
    Yeah it's a bit empty OOC but in combat the space is filled with my totem duration Weakauras(used to be above player frame)

    Castbar text hasn't changed from the last screenie, but I think it has since 2 screens ago. Target cast name is below the target castbar and above the player castbar "centred". The very first post with these castbars had target cast name aligned left under the target bar(time on the right) with the player cast name and time kinda sandwiched in between.

  13. #8193
    Thanks alot Treeston and Tordeflask!
    !QuseWigs does however not seem to work, not even with his default lua code.
    When i select it to be my style in configure and press test the game freezes for ½ second and no test bars appears.
    Last edited by Rusk; 2013-01-12 at 10:27 AM.

  14. #8194
    love dem clean Uis

  15. #8195
    Quote Originally Posted by TellyTop View Post
    Took me a whooping 3 minutes to do that.

    Open up ingame options, Eclipse Bar, Bar Options, check Show Border, select a bar texture (any will work, even the blizzard ones), change border size to make a nice looking border (I used Blizzard Dialog at the size 2). Then go to Color and change the border color to black.

    Now then, the problem is that the border is outside the bar itself. For this you'll have to go into the SavedVariables lua and change insets to 1. Don't forget to exit the game first!
    Code:
    	["eclipse_bar"] = {
    		["showInAllStances"] = false,
    		["ly"] = 0,
    		["insets"] = {
    			["top"] = 1,
    			["right"] = 1,
    			["left"] = 1,
    			["bottom"] = 1,
    Kablamo, you've got yourself a nice 1px border!

    One more thing I noticed. Height and Width has to be even numbers otherwise the border won't show at all after doing this. So Width at 200 works, 201 doesn't.
    My Lua skill stretches to moving, resizing and changing font/texture paths. Hence asking for someone who was more capable than myself :P
    Thanks for this however, will give it a bash later on, working on an essay for college at the mo.

  16. #8196
    Quote Originally Posted by bOOURNS View Post
    And everything that isn't to my personal liking in your UI makes me want to stab 100 people with a rusty bent spoon. Get lost.

    Not only was your post not even relevant to what I was posting about, the font type I use is also 100% irrelevant. Considering I'm the one who plays with it and personally I have no trouble reading the font on my screen.

    It's like saying the color yellow makes me angry therefore cause your UI has yellow in it I hate it so much I want to choke someone. I'm sorry but you're a bloody retard.

    This must be what Blizzard feels like. People complaining just for the sake of complaining.
    And you're such a charmer, right? Enough.

  17. #8197
    Hold your horses, people. No need to get personal here. I'd hate having to whip out my mod face.
    UI & AddOns expert | Interface & Macros moderator - My work

  18. #8198
    The Lightbringer Joyful's Avatar
    Join Date
    Dec 2010
    Location
    Sweee?
    Posts
    3,124

  19. #8199
    Quote Originally Posted by Drayarr View Post
    My Lua skill stretches to moving, resizing and changing font/texture paths. Hence asking for someone who was more capable than myself :P
    Thanks for this however, will give it a bash later on, working on an essay for college at the mo.
    Yeah, I've been there too. Makes it easier when you kinda know what you're looking for within the lua.
    Hopefully it works for you the same way it did for me. I did wonder why this wasn't in the ingame options though. Would make this addon quite a bit better just by adding this ingame.

  20. #8200
    Hey guys,

    I just started working a new UI, the idea behind it would be to replace everything I can with custom WeakAuras.

    What I have for now :



    What I manage to do in WeakAuras so far is HealthBar (player/target), PowerBar(player/target), target name, level, percentages and castbar.
    The bad thing is I suck at doing graphic stuff, so I'm stuck with the textures that come with WeakAuras for the moment.

    What do you guys think?
    Last edited by Treeston; 2013-01-12 at 06:21 PM.

Posting Permissions

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