Thread Tools Display Modes
02-11-11, 06:16 PM   #1
Nightmare_Lord
A Cliff Giant
 
Nightmare_Lord's Avatar
Join Date: Oct 2008
Posts: 70
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?
 
02-12-11, 10:00 PM   #2
Nightmare_Lord
A Cliff Giant
 
Nightmare_Lord's Avatar
Join Date: Oct 2008
Posts: 70
any one know?
 
02-13-11, 08:01 AM   #3
Chmee
A Molten Giant
Join Date: Dec 2006
Posts: 960
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.
 
02-13-11, 11:59 AM   #4
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
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.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
02-13-11, 02:10 PM   #5
Nightmare_Lord
A Cliff Giant
 
Nightmare_Lord's Avatar
Join Date: Oct 2008
Posts: 70
Originally Posted by spiel2001 View Post
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.
 
02-13-11, 04:09 PM   #6
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
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.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
02-13-11, 04:22 PM   #7
Nightmare_Lord
A Cliff Giant
 
Nightmare_Lord's Avatar
Join Date: Oct 2008
Posts: 70
Originally Posted by spiel2001 View Post
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
 
02-14-11, 05:35 AM   #8
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
You do know that nUI6 is out for testing now, yes?
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
04-04-11, 09:09 AM   #9
Airlialuna
A Murloc Raider
Join Date: Nov 2010
Posts: 8
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
 
04-04-11, 02:44 PM   #10
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,927
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.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
 
04-04-11, 03:31 PM   #11
Airlialuna
A Murloc Raider
Join Date: Nov 2010
Posts: 8
[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
 
04-04-11, 04:04 PM   #12
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,927
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.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
 
04-04-11, 05:56 PM   #13
Airlialuna
A Murloc Raider
Join Date: Nov 2010
Posts: 8
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
 
04-04-11, 05:58 PM   #14
Airlialuna
A Murloc Raider
Join Date: Nov 2010
Posts: 8
lol nevermind...my bad...i put True instead of true lol
 
04-04-11, 06:31 PM   #15
Airlialuna
A Murloc Raider
Join Date: Nov 2010
Posts: 8
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...
 
04-05-11, 01:49 AM   #16
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,927
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.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
 
04-05-11, 06:35 PM   #17
Airlialuna
A Murloc Raider
Join Date: Nov 2010
Posts: 8
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
 
04-06-11, 12:57 AM   #18
Seer
A Molten Giant
Join Date: Dec 2007
Posts: 649
You could try http://www.wowinterface.com/download...Infopanel.html ?
__________________
Take it as you want or leave it as it is.
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Support » nUI: Technical Support » Disable NUI Focus Control

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off