WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   nUI: Technical Support (https://www.wowinterface.com/forums/forumdisplay.php?f=92)
-   -   Disable NUI Focus Control (https://www.wowinterface.com/forums/showthread.php?t=38887)

Nightmare_Lord 02-11-11 06:16 PM

Disable NUI Focus Control
 
I been using NUI for 2+ years now, and the other day when playing with a friend, I decided to play with no addon on a new toon to speed things up, I hated it. I decided to focus him for bg and I really like having it on the screen and not at the bottom.

Now I read you can move it around by moving frames, but instead of doing all that each nui update, is their a way to just disable NUI control over Focus Frame so it go back to blizzard taking over it?

Nightmare_Lord 02-12-11 10:00 PM

any one know?

Chmee 02-13-11 08:01 AM

There is probably a way, but it probably requires editing the code, and it may cause other problems. IAC, I don't have a complete answer.

spiel2001 02-13-11 11:59 AM

Yeah... it would be much more work to disable the focus control than to move the focus frame. If it matters any, nUI6 now replaces the Target of Target with the Focus in the HUD if you have a focus set. You might give that a try.

Nightmare_Lord 02-13-11 02:10 PM

Quote:

Originally Posted by spiel2001 (Post 229616)
Yeah... it would be much more work to disable the focus control than to move the focus frame. If it matters any, nUI6 now replaces the Target of Target with the Focus in the HUD if you have a focus set. You might give that a try.


kk then I look up the thread how tells how to move it, and do that and see what I can do.

If I can't move it and keep everything in order, you think another addon can take control from NUI if needed. I want all nui feature just have the frame not at the bottom but someone where on the screen like blizzard puts it.

spiel2001 02-13-11 04:09 PM

To move the focus frame, edit [ Interface > AddOns > nUI > Layouts > Default > UnitPanels > {panel mode} > nUI_UnitPanel_{panel mode}.lua ] where {panel mode} is one of Solo, Party, Raid10, etc. and locate the "focus" unit frame... change the anchor section to move it.

But, again, this is not necessary in nUI6 since the HUD will show you the current health and power, auras, etc. for the focus right in the center of the screen with your other HUD units.

Nightmare_Lord 02-13-11 04:22 PM

Quote:

Originally Posted by spiel2001 (Post 229639)
To move the focus frame, edit [ Interface > AddOns > nUI > Layouts > Default > UnitPanels > {panel mode} > nUI_UnitPanel_{panel mode}.lua ] where {panel mode} is one of Solo, Party, Raid10, etc. and locate the "focus" unit frame... change the anchor section to move it.

But, again, this is not necessary in nUI6 since the HUD will show you the current health and power, auras, etc. for the focus right in the center of the screen with your other HUD units.

when NUI6 comes out I be looking forward to that, for the time being either I need to move the focus with editing, or figure something else out so I can see it better right now while I do pvp. KEEP up the good work

spiel2001 02-14-11 05:35 AM

You do know that nUI6 is out for testing now, yes?

Airlialuna 04-04-11 09:09 AM

I just hate that the frame covers the mini map...and you show where to go to change the anchor but no details on how once you have the file open...i found the "Anchor" section but it is all jibberish to me lol

Xrystal 04-04-11 02:44 PM

The way anchors work is that you have a relative position on the object you want to anchor like TOPLEFT, BOTTOMRIGHT, BOTTOM etc. Then you have the same for the object you want it to anchor to. And finally you have an offset x,y value which tells it how far away to place the object you are anchoring to the object you want to anchor it to.

EG.

frame: ChatFrameHolder
anchor : DashboardFrameHolder
anchorPoint : TOPLEFT
framePoint : TOPLEFT
xOffset : 5
yOffset : -5

This would tell the part of the addon dealing with this stuff that we want the ChatFrameHolder frame to anchor itself onto the DashboardFrameHolder frame at the TOP LEFT corner but slightly offset by 5 points.

So using that as a guide, look at what the file is telling you and you should see most of those items on the list except for the top item as that is generally the object the file or section of the file is working with anyway. See if you can understand what it is currently anchoring itself to and how and then work out what you want it to do instead and then reload the UI to see the effect. If things go wrong you can always redownload/install the standard nUI to restore the settings or simply save a copy of the file youre working on before making the changes.

I hope that helps you somewhat.

Airlialuna 04-04-11 03:31 PM

[nUI_UNITFRAME_PARTYFOCUS] =
{
anchor =
{
anchor_pt = "TOP",
relative_to = "$parent",
relative_pt = "CENTER",
xOfs = 0,
yOfs = 53,
},
options =
{
skinName = nUI_UNITSKIN_PARTYFOCUS,
enabled = true,

strata = nil,
level = 4,

unit_id = "focus",
party_id = nil,
raid_id = nil,

scale = 1,
clickable = true,

popup =
{
anchor_pt = "BOTTOMRIGHT",
relative_pt = "CENTER",
xOfs = 0,
yOfs = 0,

color = { r = 0, g = 0, b = 0, a = 0.75 },
};

border =
{
backdrop =
{
bgFile = "Interface\\Tooltips\\UI-Tooltip-Background",
edgeFile = "Interface\\AddOns\\nUI\\Layouts\\Default\\Art\\nUI_BevelboxBorder",
tile = true,
tileSize = 1,
edgeSize = 6,
insets = { left = 0, right = 0, top = 0, bottom = 0 },
},
color =
{
border = { r = 1, g = 1, b = 1, a = 1 },
backdrop = { r = 0,



That is the focus section of the party frames...i'd like to have the focus show up like in the top right of the screen or just on the middle at the right side of the screen or something...just out of the way...i don't use the frame for anything at all and wish i could just hide it altogether so anywhere out of the way would be good...all i use focus for is MD on my hunter so i don't need to see their frame...and it drives me nuts not having my mini map lol

Xrystal 04-04-11 04:04 PM

well if you don't use it at all you could just make sure you don't use /focus unless you mean you use focus but not the nUI one in case you could try setting enabled = false to see if that stops nUI from creating a focus frame when you do type /focus.

Outside of that I think it would be the case of trial and error of the two anchor areas to see which one moves the frame you want and then how it does that and repositions the frame.

Airlialuna 04-04-11 05:56 PM

yeah i need to use /focus still for my MD on my hunter but the frame is useless to me....

so i tried changing the true to false and it got rid of all my character frames...and now i have changed it back and they are still gone :(

guess i will try reinstalling it

Airlialuna 04-04-11 05:58 PM

lol nevermind...my bad...i put True instead of true lol

Airlialuna 04-04-11 06:31 PM

yeah i give up...i've changed pretty much every number and word i could to try and reposition it...all i get is no effect at all or all frames gone...and when all frames are gone and i set a focus the map still goes away so somehow the focus seems to disable the map and not just cover it...very annoying...

Xrystal 04-05-11 01:49 AM

Ah, that sounds like the changes are inside the main core code as well.

Sorry that my suggestion didn't work. I've never needed to disable that option so never tried to.

I'm not sure what else can be done at the moment though.

Airlialuna 04-05-11 06:35 PM

yeah i'm just waiting for nui 6 to be done so i can get the nice focus frame in that one that doesn't cover the minimap...not sure why he ever thought it would be a good idea to put the focus over the mini map in the first place lol...oh well :)

Seer 04-06-11 12:57 AM

You could try http://www.wowinterface.com/download...Infopanel.html ?


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

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI