DCS Hornet – DDIs and MFCD to external monitor

Create a folder for monitor profile files:
C:\Users\”USER NAME”\Saved Games\DCS\Config\MonitorSetup

Create HornetMonitorSetup.lua text file and open it with text editor.

Add this code into it:

_ = function(p) return p; end;
name = _('HornetMonitorSetup');
Description = 'Visual on 1st monitor, DDIs and MFCD on 2nd'
Viewports =
{
Center =
{
x = 0;
y = 0;
width = 1920;     --visual monitor width
height = 1080;    --visual monitor height
viewDx = 0;
viewDy = 0;
aspect = 1920 / 1080;  --visual monitor aspect ratio
}
}

LEFT_MFCD =
{
x = 1920;     -- x start location of left DDI
y = 0;        -- y start location of left DDI
width = 450;  -- width of left DDI
height = 450; -- height of left DDI
}

RIGHT_MFCD =
{
x = 1920 + 1280 - 450; -- x start location of right DDI
y = 0;                 -- y start of right DDI
width = 450;           -- width of right DDI
height = 450;          -- height of right
}

CENTER_MFCD =
{
x = 1920 + (1280 / 2) - 225;  -- x start of center MFCD
y = 1024 - 450;               -- y start of center MFCD
width = 450;
height = 450;
}
UIMainView = Viewports.Center

Explanation of monitor locations:

Start DCS and from Options, change resolution to your maximum calculated monitor size:

Then change to your monitor setup file to your own setup:

Click Ok. Go to fly and test it: