WoWInterface

WoWInterface (http://www.wowinterface.com/forums/index.php)
-   nUI: Customizing Layouts (http://www.wowinterface.com/forums/forumdisplay.php?f=95)
-   -   Boss Frames (http://www.wowinterface.com/forums/showthread.php?t=42084)

gymtansmush 12-12-11 10:50 AM

Boss Frames
 
Okay, Im pretty sure this has been discussed but what I was looking for I couldn't find an exact answer.

I was doing a Firelands run (first raid with NUI) and the boss frames appear at the top under the top design dead center. For instance, for shannox, there was his boss frame and his two dogs' frames under the micro bar in the center. I would love to move these to the sides for better viewing (since im raid leading)

Also, I was having a problem seeing stacks of Ryolith when trying to get his armor down to get to burn phase.

I tried /movers and that doesnt help me move boss frames and I just lost in all the "/" commands.

Also, I was wondering how could i turn the buffs & debuffs into pictures instead the names of them on the sides.

Thanks for any help you may give me.

schmitty 12-12-11 02:48 PM

Hi gymtansmush,

You could always try nUI AuraButtons, this replaces the default Aura frames with buttons.

gymtansmush 12-12-11 03:23 PM

thanks ill try that plugin for the auras. I really wish I could figure out how to move the boss frames at the top during fights.

Xrystal 12-12-11 04:18 PM

Hmm I thought the boss frames were movable but maybe things changed or they never were... Scott ?

gymtansmush 12-12-11 04:21 PM

it would be awesome if i could do something with them bc they just sit on top the bosses head during raids and its such a bad position to me, though everything else about the UI is flawless honestly.

spiel2001 12-12-11 07:14 PM

I don't think they are movable using '/nui movers' -- but they can be moved by editing the layout files.

gymtansmush 12-12-11 07:18 PM

well since i dont know how to mess with all that it looks like on my main raiding toon i will have to disable the UI, really depressing.

spiel2001 12-12-11 07:35 PM

It's not difficult at all... you can do it with any text editor (notepad even)

Edit [ Interface > AddOns > nUI > Layouts > Default > UnitPanels > {panel mode} > nUI_UnitPanel_{panel mode}.lua ] where "{panel mode}" is the type of unit panel you are using in your raids... i.e. Raid10, Raid 25, etc.

Now look for the "BOSS" frames in the file... they will be near the bottom and look something like this...

Code:

        [nUI_UNITFRAME_RAID10BOSS.."2"] =
        {
            anchor =
            {
                anchor_pt  = "TOPRIGHT",
                relative_to = "nUI_TopBars",
                relative_pt = "BOTTOM",
                xOfs        = -2.5,
                yOfs        = 7.5,
            },
            options =
            {
                skinName  = nUI_UNITSKIN_BOSSFRAME,
                enabled  = true,
               
                strata    = nil,
                level    = 8,
               
                unit_id  = "boss2",
                party_id  = nil,
                raid_id      = nil,
               
                scale      = 1,
                clickable  = true,
               
                popup =
                {
                    anchor_pt = "TOPRIGHT",
                    relative_pt = "BOTTOM",
                    xOfs = 0,
                    yOfs = 0,
                   
                    color = { r = 0, g = 0, b = 0, a = 0.75 },
                };
            },
        },
        [nUI_UNITFRAME_RAID10BOSS.."3"] =
        {
            anchor =
            {
                anchor_pt  = "TOPLEFT",
                relative_to = "nUI_TopBars",
                relative_pt = "BOTTOM",
                xOfs        = 2.5,
                yOfs        = 7.5,
            },
            options =
            {
                skinName  = nUI_UNITSKIN_BOSSFRAME,
                enabled  = true,
               
                strata    = nil,
                level    = 8,
               
                unit_id  = "boss3",
                party_id  = nil,
                raid_id      = nil,
               
                scale      = 1,
                clickable  = true,
               
                popup =
                {
                    anchor_pt = "TOPRIGHT",
                    relative_pt = "BOTTOM",
                    xOfs = 0,
                    yOfs = 0,
                   
                    color = { r = 0, g = 0, b = 0, a = 0.75 },
                };
            },
        },
        [nUI_UNITFRAME_RAID10BOSS.."1"] =
        {
            anchor =
            {
                anchor_pt  = "RIGHT",
                relative_to = nUI_UNITFRAME_RAID10BOSS.."2",
                relative_pt = "LEFT",
                xOfs        = -5,
                yOfs        = 0,
            },
            options =
            {
                skinName  = nUI_UNITSKIN_BOSSFRAME,
                enabled  = true,
               
                strata    = nil,
                level    = 8,
               
                unit_id  = "boss1",
                party_id  = nil,
                raid_id      = nil,
               
                scale      = 1,
                clickable  = true,
               
                popup =
                {
                    anchor_pt = "TOPRIGHT",
                    relative_pt = "BOTTOM",
                    xOfs = 0,
                    yOfs = 0,
                   
                    color = { r = 0, g = 0, b = 0, a = 0.75 },
                };
            },
        },
        [nUI_UNITFRAME_RAID10BOSS.."4"] =
        {
            anchor =
            {
                anchor_pt  = "LEFT",
                relative_to = nUI_UNITFRAME_RAID10BOSS.."3",
                relative_pt = "RIGHT",
                xOfs        = 5,
                yOfs        = 0,
            },
            options =
            {
                skinName  = nUI_UNITSKIN_BOSSFRAME,
                enabled  = true,
               
                strata    = nil,
                level    = 8,
               
                unit_id  = "boss4",
                party_id  = nil,
                raid_id      = nil,
               
                scale      = 1,
                clickable  = true,
               
                popup =
                {
                    anchor_pt = "TOPRIGHT",
                    relative_pt = "BOTTOM",
                    xOfs = 0,
                    yOfs = 0,
                   
                    color = { r = 0, g = 0, b = 0, a = 0.75 },
                };
            },
        },

There are only two lines you need to edit per unit frame... the xOfs and yOfs values in the "Anchor" section for each boss frame. I highlighted them in purple above. The xOfs value moves the frame left and right and the yOfs value moves it up and down.

Just experiment by changing the vales, doing a "file/save" in the panel file and then a '/nui rl' in game to see your changes. It shouldn't take long to get them the way you like them. Once you've done it in one panel file, it will be super simple to make the same changes in the other panel files.

And, if it all goes horribly wrong, just unzip the nUI download file overtop of your copy and it will be back to where I had it.

gymtansmush 12-12-11 08:17 PM

Omg thank you for that info. I will most likely not use it for my main raider since I "need" alot of random crap to lead, but this will be great for every other toon.

Also, I seen it somewhere last night but I cant find it again today in the posts, but I want to scale the bottom console and I believe I seen that post last night. Anyway you can give me that / command for it, if you dont mind.

spiel2001 12-12-11 08:35 PM

You probably saw it in this FAQ?

http://www.wowinterface.com/forums/s...ad.php?t=20917

Akestrasz 12-30-11 09:19 AM

Thanks, those boss frames are at the wrong place for ages, finally have a way to move them :)
You're doing a great job!

But...
Quote:

Originally Posted by spiel2001 (Post 249275)
Just experiment by changing the vales, (...) to see your changes.

BTW how can you see those 4 boss frames to scale them, I mean out of combat? (being on a boss aint the best time to make such long settings xD )
Cant find a way to make them appear.
Thanks a lot in advance!

spiel2001 12-30-11 05:01 PM

You can try changing the unit ID for each of them temporarily... just change all of them from "boss1" , "boss2", etc. to "player" -- when you're done getting them where you want them, change them all back to "bossX" and you're all set.

Akestrasz 01-01-12 08:13 AM

good idea, thank you

and happy new year!


All times are GMT -6. The time now is 08:08 AM.

vBulletin © 2014, Jelsoft Enterprises Ltd
©2012 ZAM Network LLC