Jump to content

[RESOLVED] Jester wheel position


Jeepyb

Recommended Posts

FOUND SOLUTION

 

Regarding to the post of jonsky7 I found (really surprised how fast if you look at my upper post some minutes ago :pilotfly:) a solution.

----------------------------------------------------------------------------------------------------------

If you can't wait for the hotfix, may I reference a post from Clorydric, which did the trick!

 

For my 3 screen setup (2560*1440)+(1920*1080)+(1920*1080) in that order.

grid_origin.init_pos = {[b]-2.7[/b], 0, 0}

to get it bang in the middle

----------------------------------------------------------------------------------------------------------

 

The above mentioned code in the JesterAI_Page.LUA

grid_origin.init_pos = {0, 0, 0}

now looks like this for me in the latest open beta branch/patch:

grid_origin.init_pos = {cx * aspect, -cy, 0}

so I thought, maybe it is the wrong place to look for a fix.

 

So I did the following (my 2 screens are [in game] set up with a resolution of 1920x2160, main screen res: 1920x1080):

commenting the line 16:

height = LockOn_Options.screen.height;

out and/or change it to:

height = 1080;

 

et voilà

 

-- in my case because main screen res is 1920x1080 where the Jester menu should be drawn.

Of course you could change it to anything you want.

 

For example draw the jester menu to any screen you want (for this; expect the line 13 and 14 of the JesterAI_Page.LUA)

 

Hope this help some folks :joystick:

 

\\EDIT sry nearly forgot the post reply button xD

  • Thanks 1
Link to comment
Share on other sites

There is probably an easier way to fix this now...

Editing the jesterai_page.lua shouldn't be required anymore.

For those of you who use a multi monitor setup and would like to have more freedom with the positioning of your Jester Menu, you can add the following section to the camera.lua in MonitorSetup:

 

F14_JESTER_MENU =

{

x = 0;

y = 0;

width = 1920;

height = 1080;

}

 

Now you can move the menu to any position you like by adjusting the values. (It works the same way as you would position your gauges.) smile.gif

 

 

This is ignored in VR.

 

Best regards from the Heatblur Team

But I think 1920x1080 as height/width is wrong, the wheel would draw on the whole screen (?)

 

X and Y are the coords of the upper left corner.

So, if you want U and V as the wheel center, you'll end up with:

 

x = U - (width/2)

Y = V - (height/2)

width and height = whatever you want. I'm using 800 x 800

 

 

what about this : ?

 

 

_ = function(p) return p; end;
name = _('SubDisplay');
Description = 'Sub Displays'
Viewports =
{
Center =
{
x = 0;
y = 0;
width = 3440;
height = 1440;
viewDx = 0;
viewDy = 0;
}
}

LEFT_MFCD =
{
x = 0;
y = 1440;
width = 525;
height = 525;
}

RIGHT_MFCD =
{
x = 2910;
y = 1440;
width = 525;
height = 525;
}

F14_JESTER_MENU =
{
   x = 1720 - 500;    --half of 3440 (center of screen) minus half of wheel width
   y = 50;    --Y displacement for the wheel, increase the value to lower the wheel
   width = 1000;     -- for a 1000x1000 wheel
   height = 1000;
}

UIMainView = Viewports.Center 

 


Edited by Clorydric

Intel 9900KF @ 5.1GHz / RTX 2080S OC @ 1.93GHz / ASUS Prime Z390-A / 2x16Gb DDR4 @ 3333 CL16 / Corsair TX850M / Samsung NVME 970 EVO+ / TM warthog Thr. / VKB Gunfighter mkIII + MCG / MFG Crosswind mk3 / Valve Index

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...