Jump to content

Recommended Posts

Posted

Not sure how to fix this and was wondering if anyone had run into this issue with the AI gunner control panel not showing up at all in a multimonitor setup

monitor.PNG

 

_  = function(p) return p; end;
name = _('Custom');
Description = 'Put MFD Screens on 2nd Monitor'
--1366+ 768
--3440 + 1440
--4806 x 2208

--this might be incorrect: it is suppose to be = 3440x2208
Viewports =
{
     Center =
     {
          x = 0;
          y = 0;
          width = 3440;
          height = 1440;
          viewDx = 0;
          viewDy = 0;
          aspect = 2.388888889;
     }
}
LEFT_MFCD =
{
     x = 3;
     y = 1638;
     width = 575;
     height = 570;
	 aspect = screen.aspect;
}

RIGHT_MFCD =
{
     x = 780;
     y = 1638;
     width = 585;
     height = 570;
	 aspect = screen.aspect;
}
F14_HSD =
{
x = 3;
y = 1638;
width = 575;
height = 570;
}

F14_VDI =
{
x = 780;
y = 1638;
width = 585;
height = 570;
}
GUI = 
{
x = 0;
y= 0;
width = 3440;
height = 1440;
}
KNEEBOARD =
{
x = 0;
y = 0;
width = 600;
height = 800;
}


UIMainView = GUI
GU_MAIN_VIEWPORT = Viewports.Center

 

  • Like 1
Posted (edited)

The control panel pops up in the bottom right of the total resolution used, which is not visible to you at the minute because there's no screen there to display it. This also happens with the NS430 pop-up window, and the Mi8 gunner panel.

 

The easiest way to fix it is by moving your monitor "1" to the right corner instead of the left and adjust your viewports as required.

Alternatively you can edit the lua file (use notepad++), it passes integrity check too.
DCS World\Mods\aircraft\Uh-1H\Cockpit\Scripts\AI\ControlPanel\g_panel_page.lua

and

DCS World\Mods\aircraft\Mi-8TV2\Cockpit\Scripts\AI\ControlPanel\g_panel_page.lua

 

line 60

orginal

base.init_pos       = {aspect + shift_X,firstLineY + shift_Y}

 

for the Huey mine looks like
base.init_pos       = {aspect + shift_X - 4.6,firstLineY + shift_Y + 1.2} ---{aspect + shift_X,firstLineY + shift_Y}

 

You will have to play around with numbers (-4.6 and +1.2), and I can't fathom out the relationship, I just know that

 

"shift_X - number"        makes the indicator go left

"shift_X + number"       would make it go right but not useful as it already all the way to the right.

"shift_Y + number"      makes it go up the screen

 

 

I have included my OvGME ready files, but you will have to adjust the numbers for you!

 

 

Crew indicator move.zip

Edited by jonsky7
  • Like 1
  • Thanks 1
  • 1 year later...
Posted

Hey I just implemented this and it worked flawlessly. Thanks very much.

  • Like 2
Processor AMD Ryzen 7 5800X 3.80 GHz; 80.0 GB DDR4 3200 (2 x 32; 2 x 8); nVidia RTX4090 24GB RAM; 2TB Samsung 980 NVmA; 2TB HDD; 1TB SSD (System); MoBo MSI X-570 A Pro; PSU: Corsair RM1000X
3 x ASUS 27" 2560 x 1440 75fps monitors, stitched/surround for DCS
1 x ViewSonic 27" Touchscreen (Viewsonic 3420)
  • Recently Browsing   0 members

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