0% found this document useful (0 votes)
328 views7 pages

DCS World Multi-Monitor Setup Guide

This document provides instructions for setting up DCS World to use multiple monitors. It discusses setting up the Windows display, DCS World display parameters, and a LUA file to define the screen allocations. It then provides two examples - one using a secondary monitor for exported MFDs, and another for the F/18 using monitors for DDIs, AMPCD and IFEI. The document includes layout diagrams, code snippets from the LUA files, and screenshots of the resulting multi-monitor setups.

Uploaded by

Georges Taradaux
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
328 views7 pages

DCS World Multi-Monitor Setup Guide

This document provides instructions for setting up DCS World to use multiple monitors. It discusses setting up the Windows display, DCS World display parameters, and a LUA file to define the screen allocations. It then provides two examples - one using a secondary monitor for exported MFDs, and another for the F/18 using monitors for DDIs, AMPCD and IFEI. The document includes layout diagrams, code snippets from the LUA files, and screenshots of the resulting multi-monitor setups.

Uploaded by

Georges Taradaux
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
  • 1 Basics

DCS World Set-Up for Multiple Monitors

1 Basics
DCS World allows us to set up a larger virtual screen consisting of several physical monitors that we have previously
arranged in the Microsoft Windows environment. This larger display space can be used in different ways:
1. One single large “panorama” cockpit view
2. Cockpit view on one (typically main) monitor, plus exported cockpit elements like MFCD’s on the other monitor(s)
3. A combination of 1. and 2.
In this chapter we will provide the basic understanding of the display configuration structure and the steps necessary to
implement a new monitor configuration.
Author’s note: At this point in time, I have only 2 physical monitors which limits the ability to create more complex set-
ups. Also, I had to learn from posts on the forum plus trial and error, as there is no published documentation from ED.
Therefore, this document cannot describe all possible solutions. A working monitor set-up requires three elements to be
defined correctly:

1. Windows “Display” set-up


2. DCS World Options/System display parameters
3. .lua file that defines the allocation of screen space to “Viewports”.
There is always one viewport that displays the GUI (Graphical User Interface), the cockpit or the Mission Editor.
Additional viewports can be defined for MFD’s (Multi-Function Displays) and some other major display elements
of the cockpit that can be “exported”.

My physical monitors:

• Main Monitor 2560 x 1440 Pixels, in the Center


• Secondary Monitor 1680 x 1050 Pixels, at the right

1.1 Monitor set-up in Windows


This is defined in Settings/System/Display. On that same page in “Settings” I have selected the big monitor as “Main
Display”. My two physical monitors are bottom-aligned, and therefore I have bottom-aligned them in the Windows
Display setting.

The overall screen has a pixel size of 4240 x 1440. However, I will only use the left part of the secondary monitor. This will
allow me to display an Excel Sheet with control binding during the game.
1.2 DCS World Options/System display parameters

Resolution: The Pixel size of the virtual screen we want to use.


Aspect Ratio: Is calculated by the software
Monitors: Title of the .lua file we want to use

1.3 LUA File defining the Monito Set-up


There are two folders for these files:
The stock files from ED are in the sim folder “…\Config\MonitorSetup”.
Your custom files should be in the folder “C:\Users\your name\Saved Games\DCS\Config\MonitorSetup”. You could
actually save these files in the sim’s folder, but it’s better to keep them separate.

2 Example 1: Using 2nd Monitor for exported MFD’s


2.1 Layout Design
Especially for beginners, it’s probably a good idea to start with a drawing:

3080

DCS World Overall Screen Size =


400

3080 x 1440
919

512
512

Main Monitor First MFCD


1440

2560 x 1440 Secondary

1050
Monitor
1680 x 1050
512

Second MFCD

2560 1680
4240

The drawing helps us to determine the coordinate values we will use in the .lua file. As my secondary monitor has a
smaller vertical pixel count and the monitors are bottom-aligned, the upper right corner (512 x 400 pixels) of our virtual
screen space is not available for display.
Note that:
x-coordinates have their origin at the left edge of the virtual screen space.
y-coordinates have their origin at the top edge of the virtual screen space.
Thus the coordinates of our viewports are:
Main view: x = 0; y = 0
First MFCD: x = 2560; y = 400
Second MFCD: x = 2560; y = 919

The .lua file will determine what we display in the two MFCD viewports. It could be left and right MFCD, but one of the
viewports, if used for the F/A-18C could also be the AMPCD. I saved this file as “Camera+LMFCD+[Link]” in folder
“\...Saved Games\[Link]\Config\MonitorSetup”.
2.2 LUA file
As a starting point I use he stock file “Camera+[Link]” from the sim folder. We open it with Notepad++ and edit it by
adapting the coordinate values and adding a second MFCD:

_ = function(p) return p; end;


name = _('Camera + Left MFCD + Right MFCD');
Description = 'Left MFCD in Upper Right, Right MFCD in Lower Right, camera on the center'
Viewports =
{
Center =
{
x = 0;
y = 0;
width = 2560;
height = [Link];
viewDx = 0;
viewDy = 0;
aspect = 2560 / 1440;
}
}
-- LEFT_MFCD is on top of RIGHT_MFCD
RIGHT_MFCD =
{
x = 2560;
y = 919;
width = 512;
height = 512;
}

LEFT_MFCD =
{
x = 2560;
y = 400;
width = 512;
height = 512;
}

UIMainView = [Link]
GU_MAIN_VIEWPORT = [Link]

Note this line: name = _('Camera + Left MFCD + Right MFCD'); it defines the “name” of the file in the dropdown for “monitors” on
Options/System.
Formatting notes:
1. Spaces and blank lines have no function other than make the code more “human-readable”.
2. The semicolons at the ends of many of the lines are necessary.
3. The curly braces (“{“ and “}”) delimit blocks of code. They must not be omitted.
If you violate rule 2 or 3, the software will reject the file, and you will not see it in the dropdown!
Lines starting with two hyphens (“-”) are comments and are ignored by the software.
The viewport names “RIGHT_MFCD” and “LEFT_MFCD” are defined in the system and work for all aircrafts that have
MFCD’s (or DDI’s or whatever they are called). Therefore, you do not need to define a separate file for every aircraft.
For the AMPCD in the F/A-18C the system uses “CENTER_MFCD”.
2.3 Result
DCS World Screenshot of the virtual display we have created (A-10C):

Photo of the physical rig:

3 Example 2: Using 2nd Monitor for exported F/A-18C DDI’s and AMPCD
Next, we want to create a set-up for the F/A-18C which has a third MFD referred to as “AMPCD”. We also want to create
a “window” for showing the IFEI a bit more visibly. We’ll worry about how to “grab” the IFEI in paragraph Error!
Reference source not found..
3.1 Layout Design
We use the same thought process as for the previous example. The size of the IFEI at this point is tentative. We will need
to determine the right values empirically.

3600

DCS World Overall

380
Screen Size =
3080 x 1440

900
512

512
Left DDI Right DDI
Main Monitor
1440

2560 x 1440

1050
Secondary
IFEI
Monitor
1680 x 1050

512
AMPCD

2560 1680
3075
4240

3.2 DCS World Options/System display parameters

3.3 LUA File


_ = function(p) return p; end;
name = _('FA-18 Camera+LDDI+AMPCD+RDDI+IFEI');
Description = 'FA-18 AMPCD in Lower Right, Right DDI in Upper Right (both on secondary monitor), camera on the center (on main monitor)'
--Game screen size set to 3600 x 1440. Hardware: Main monitor 2560 x 1440; second monitor 1680 x1050 on the right.
Viewports =
{
Center =
{
x = 0;
y = 0;
width = 2560;
height = [Link];
viewDx = 0;
viewDy = 0;
aspect = 2560 / 1440;
}
}

CENTER_MFCD =
{
x = 2560;
y = 900;
width = 512;
height = 512;
}

RIGHT_MFCD =
{
x = 3075;
y = 380;
width = 512;
height = 512;
}
LEFT_MFCD =
{
x = 2560;
y = 380;
width = 512;
height = 512;
}

IFEI =
{
x = 3075;-- 2910
y = 900;-- 650
width = 430;
height = 167;
}

UIMainView = [Link]
GU_MAIN_VIEWPORT = [Link]

I saved this file as “Camera+FA-18_AMPCD.lua”.


3.4 Result
DCS World Screenshot of the virtual display we have created (F/A-18C):

Photo of the physical rig:


4 How to find the names of the indicators
We used the following names:

CENTER_MFCD
RIGHT_MFCD
LEFT_MFCD
IFEI

These names are defined in the “…[Link]” files under “…\Mods\aircraft\FA-18C\Cockpit\Scripts\INDICATOR\indicator”


where “INDICATOR” is the name of the indicating device. For the IFEI it’s the file “IFEI_init.lua” in the folder

“…\Mods\aircraft\FA-18C\Cockpit\Scripts\IFEI\indicator”

If you want to try and find the names of other indicators, look for this kind of line:

try_find_assigned_viewport("FA_18C_IFEI", "IFEI")

In my example I could have used the name "FA_18C_IFEI" and that would work with the Hornet, but not with the F-16
Viper. If you want to use your monitor set-up file for multiple similar aircraft you should use the generic names.

Common questions

Powered by AI

Aligning physical monitors correctly in Windows Display settings is significant when using DCS World with multiple monitors because it establishes the foundational layout for the virtual screen space. This alignment affects how different parts of the interface, such as cockpit views and MFCD exports, are arranged and displayed across monitors. Ensuring that monitors are configured—as bottom-aligned or otherwise—ensures consistency between what is defined in the .lua files and the actual display output, thus avoiding display errors or misalignments during gameplay .

Naming conventions in DCS World are critical for configuring different aircraft systems because they determine which elements can be displayed on which monitors. For instance, MFCDs use standard names like 'LEFT_MFCD' and 'RIGHT_MFCD', which are recognized across different aircraft. More specific elements like the AMPCD in the F/A-18C use the 'CENTER_MFCD' identifier. These conventions allow for the reuse of monitor setup configurations across different aircraft by leveraging the standard names defined in the system files, thereby ensuring compatibility and reducing the need for unique configurations for each aircraft .

To configure the DCS World Options/System display parameters for a multi-monitor setup, users need to set the desired resolution corresponding to the virtual screen size, calculate and set the appropriate aspect ratio determined by the software, and select the specific .lua file that defines their monitor configuration from a dropdown menu. These settings ensure that DCS World displays the cockpit and additional elements correctly across the multiple monitors .

A well-executed multi-monitor setup significantly enhances the user experience in DCS World by providing a more immersive and realistic simulation environment. It allows for broader peripheral views, effectively simulating a cockpit panorama, and organizes essential flight information across additional displays without cluttering the main screen. This can enhance situational awareness, improve reaction times, and simulate a more authentic flying environment, thus offering a more compelling and enjoyable experience for simulation enthusiasts .

.lua files play a crucial role in defining the layout of MFCDs in DCS World by specifying the coordinates and dimensions of different viewports within the virtual screen space. The files should be structured with block delimiters such as curly braces to define the viewports, and semicolons to separate commands. Each viewport, like 'RIGHT_MFCD' and 'LEFT_MFCD', is assigned specific x and y coordinates along with width and height parameters. Importantly, comments can be used to clarify the configuration for future reference, and errors in structure, like missing braces or semicolons, will lead to rejection of the file by the software .

In configuring multi-monitor setups in DCS World, coordinate systems are crucial for defining viewports within the virtual screen space. The x-coordinates originate from the left edge, and y-coordinates from the top edge of the virtual screen space. Each viewport is specified with coordinates defining its position and size—such as x, y, width, and height values—in the .lua configuration file. This system allows users to align cockpit views and MFCDs on different monitors accurately, and is fundamental to ensuring components are properly displayed across the multi-monitor setup .

It is advised to save custom monitor set-up .lua files in the 'C:\Users\[your name]\Saved Games\DCS\Config\MonitorSetup' folder rather than the simulation's directory to avoid potential overwriting of stock files during updates or repairs to the game. Keeping custom configurations separate ensures that user adjustments are not lost and maintains organizational integrity within the DCS World file system .

Users setting up DCS World for multiple monitors might face challenges due to insufficient official documentation and the complexity of accurately configuring .lua files and Windows display settings. These challenges can be mitigated by engaging with community forums for shared knowledge, employing a trial and error approach to fine-tune configurations, and using user-generated guides. Additionally, starting with a basic understanding of monitor alignment and viewport configuration can help users systematically address any issues that arise during set-up .

The layout design process for multiple monitor configurations in DCS World is essential for effective .lua file creation as it provides a blueprint for defining the precise coordinate values needed in the .lua file. By starting with a visual representation of the available screen space and desired output on each monitor, users can plan the exact positioning of viewports like cockpit views and MFCDs. This ensures that every display element fits within its designated area without overlap or wasted space. Additionally, the layout aids in troubleshooting and adjustments, by offering a clear reference against which practical setups can be compared .

In DCS World, multiple monitors can be configured to create a comprehensive cockpit view by setting up a large virtual screen using several physical monitors. This configuration can be done in several ways: 1) a single large 'panorama' cockpit view, 2) having the cockpit view on the main monitor with additional cockpit elements like Multi-Function Displays (MFCDs) exported to other monitors, or 3) a combination of both options. The process requires configuring the Windows display settings, setting the appropriate DCS World Options/System display parameters, and editing the .lua file to define the viewports. These steps ensure that the additional screen real estate is effectively utilized to enhance the flight experience .

DCS World Set-Up for Multiple Monitors 
1 Basics 
DCS World allows us to set up a larger virtual screen consisting of several
1.2 DCS World Options/System display parameters 
 
Resolution: The Pixel size of the virtual screen we want to use. 
Aspect R
2.2 LUA file 
As a starting point I use he stock file “Camera+RMFCD.lua” from the sim folder. We open it with Notepad++ and e
2.3 Result 
DCS World Screenshot of the virtual display we have created (A-10C): 
Photo of the physical rig: 
 
3 Example 2:
3.1 Layout Design 
We use the same thought process as for the previous example. The size of the IFEI at this point is tentati
LEFT_MFCD = 
{ 
     x = 2560; 
     y = 380; 
     width = 512; 
     height = 512; 
} 
 
IFEI = 
{ 
     x = 3075;-- 2910
4 How to find the names of the indicators 
We used the following names: 
CENTER_MFCD 
RIGHT_MFCD 
LEFT_MFCD 
IFEI 
These name

You might also like