DCS Hornet: DDIs, IFEI and RWR to second monitor with Helios

Instead of editing DCS .lua files manually by yourself to get DDIs and IFEI into your second monitor, you can use Helios to add them and much more.

In a picture below, I have 4xCougar MFD’s attached onto a second monitor. One of them is working as a Hornet UFC. Standby indicators and IFEI background comes from Helios Captain Zeen’s Hornet profile http://www.captzeen.com/. Warning lights also comes from Captain Zeen profile (most not visible in pic below, see small SAM text next to right DDI).

Click picture to open it larger:

See Helios from: https://www.digitalcombatsimulator.com/en/files/3302014/
Downloads from: https://github.com/HeliosVirtualCockpit/Helios/releases

For my setup, I installed Helios and used Captain Zeens Hornet profile as a starting point. I ripped off everything I did not need. Then I moved/resized all pictures/gauges what was left to a correct positions and added my own pictures or edited pictures from Hornet profile to get the look what I wanted.

Fourth Cougar MFD was used as Hornets UFC by editing positions of buttons of Captain Zeens Hornet UFC. I added some small own created pics and also added labels for buttons for not need to remember what has been binded and witch button.

 

Change kneeboard location when Helios is used:

Because Helios creates its own .lua files for setting up views for DCS and monitors, kneeboard position is in DCS default location. And for me it was located in lower right corner of monitors area (in area of right DDI and standby indicators).

To change default kneeboard location I found a workaround from Reddit by user ScopeDopeBC:
https://www.reddit.com/r/hoggit/comments/az3i7q/kneeboard_position_on_multiple_monitors_which/

Process to do it is copied here below:

  1. Copy
    C:\Program Files\Eagle Dynamics\DCS World OpenBeta\Scripts\Aircrafts_Common\Cockpit\ViewportHandling
    to
    ViewportHandling-resize.lua
  2. Edit file and change line 33 from:
    dedicated_viewport = {default_x,default_y,default_width,default_height}

    into (or use location/size what you prefer):

    dedicated_viewport = {0,640,600,800}
  3. Copy
    C:\Program Files\Eagle Dynamics\DCS World OpenBeta\Scripts\Aircrafts_Common\Cockpit\KNEEBOARD\indicator\init.lua
    to
    init2.lua
  4. Change 2nd line:
    dofile(LockOn_Options.common_script_path.."ViewportHandling.lua")

    into:

    dofile(LockOn_Options.common_script_path.."ViewportHandling-resize.lua")
  5. Copy
    C:\Program Files\Eagle Dynamics\DCS World OpenBeta\Scripts\Aircrafts_Common\Cockpit\KNEEBOARD\declare_kneeboard_device.lua
    to
    declare_kneeboard_device2.lua
  6. Change:
    local init_script = LockOn_Options.common_script_path.."KNEEBOARD/indicator/init.lua"

    into:

    local init_script = LockOn_Options.common_script_path.."KNEEBOARD/indicator/init2.lua"

    Now kneeboard settings should not get changed on updates and you only need to edit the aircraft settings. For A10 (if you need to do it for F18, just find correct folder and similar files):

  7. Edit
    C:\Program Files\Eagle Dynamics\DCS World OpenBeta\Mods\aircraft\A-10C\Cockpit\Scripts\device_init.lua
    change:

    dofile(LockOn_Options.common_script_path.."KNEEBOARD/declare_kneeboard_device.lua")

    into:

    dofile(LockOn_Options.common_script_path.."KNEEBOARD/declare_kneeboard_device2.lua")

SRS Transponder – Squawk code

Bind some key or joystick button for SRS Overlay Toggle -control to show/hide it while playing DCS:

…or use SRS program toggle -button:

SRS Transponder in overlay:

Mission code (Mode 1 or M1):
In military use: Role, mission or aircraft type.

Aircraft identification code (M3):
Add squawk code here.

Toggle transponder on/off:
Button for toggling transponder on and off.

Ident button:
Makes your aircraft to “blossom” on the controllers radar scope. Controller asks you to use this if needed. Text “IDENT” will appear after text “TRANS” in DCS if Ident is on.

3-pulse reply (M4):
Mode 4 on/off button. Encryption or something…

Emergency squawk codes to use:
7700: General emergency
7600: Lost communications

Settings for SimpleRadioStandalone with Hornet

If you intent to fly with others in DCS, SRS (Simple Radio Standalone) is a must. So get familiar with it and see download and installation information from:
https://github.com/ciribob/DCS-SimpleRadioStandalone/wiki

To make it work best with Hornet, I suggest to use one hat for both radios 1 and 2. I use Thrustmaster Warthog, so I have plenty of buttons/hats to use.

I have selected “Coolie switch” from throttle to be as a radio selector. Hat left click for radio select 1 and hat right click for radio select 2 (radio 1 is left radio on hornet and right is number 2):

To set Radio 1 and 2 select buttons in SRS, go to Controls tab and with set button you can select them:

To make same Radio select buttons work as an radio PTT (Pust To Talk) button, go to Settings tab and set it on:

Now you have a radio selector switches that also work as an PTT switches.

OvGME and DCS Hornet view settings

If you edit files inside of a DCS game program folder (usually C:\Program Files\Eagle Dynamics\DCS…), files edited will be overwritten on DCS update. It might be frustrating, if you have to edit .lua files back to your settings after every update.

For this problem, you can use OvGME to add edited files as “mods” into a game. You can familiarize and download OvGME e.g. from https://wiki.hoggitworld.com/view/OVGME

You can use OvGME with my IFEI, UFC and kneeboard view settings .lua file edits. See posts:
DCS Hornet – IFEI and UFC to external monitor
DCS kneeboard position in multimonitor setup

First create a folder for mods. I have used Windows normal \Documents folder under my user profile and created there an OVGME Mods folder:
C:\Users\USERNAME\Documents\OVGME Mods

Install OvGME and check correct settings. Title is just a name for used configuration. Root folder is a DCS game folder. Mods folder is folder for mods that we just created:

Then see for where your edited .lua files are in DCS game folder and create the same structure into your OvGME Mods folder.

For IFEI and UFC edited .lua files, create folder and add .lua files to:

…and for kneeboard position .lua file, create folder structure and add file to:

Restart OvGME and you should see in OvGME a “Hornet View lua edits” folder mod that you can select and enable:

You can quit OvGME and your mods are still enabled. To disable them, you have to start OvGME and disable them.

NOTE!

Remember to disable and enable your mods after update (or better disable before update). They will not work after update.

DCS kneeboard position in multimonitor setup

Note: You can use OvGME with this setup. 

Annoyed by a kneeboard position in a multimonitor setup?

DCS seems to locate kneeboard to a lower right corner of a monitor area by default (my monitors are set up side by side in settings, while in cockpit they are on top of each other):

To change DCS a kneeboard position in a multimonitor setup, edit viewporthandling.lua file in C:\Program Files\Eagle Dynamics\DCS World\Scripts\Aircrafts\_Common\Cockpit\ folder.

Comment out old line with — and add a new one:
dedicated_viewport = [0,0,562,750}

Check that you are inside of a correct function:

Numbers inside of [x,y,w,h] are:
x = x position in monitor of kneeboard top left corner,
y = y position in monitor of kneeboard top left corner,
w = kneeboard width and
h = kneeboard height.

Result:

DCS Hornet – IFEI and UFC to external monitor

Note: You can use OvGME with this .lua edit.

DCS version used: openbeta 2.5.5.37626

Note! Files edited in DCS game folder (…\Program Files\Eagle Dynamics\ DCS World\…) will be overwritten in every update. Make sure to have backups of your edits.

Open C:\Program Files\Eagle Dynamics\DCS World\Mods\aircraft\FA-18C\Cockpit\Scripts\IFEI\indicator\IFEI_init.lua
and add following lines in end of file:

--ViewportHandling
dofile(LockOn_Options.common_script_path.."ViewportHandling.lua")
update_screenspace_diplacement(1, true, 0)
try_find_assigned_viewport("F18_IFEI")

Open C:\Program Files\Eagle Dynamics\DCS World\Mods\aircraft\FA-18C\Cockpit\Scripts\UFC\indicator\UFC_init.lua

and add following lines in end of file:

--ViewportHandling
dofile(LockOn_Options.common_script_path.."ViewportHandling.lua")
update_screenspace_diplacement(1, true, 0)
try_find_assigned_viewport("F18_UFC")

Open your monitor setup file (in this example it is HornetMonitorSetuo.lua) from C:\Users\YOUR_USER_NAME\Saved Games\DCS\Config\MonitorSetup and add following lines after Viewports = { text:

F18_IFEI =
{
x = 1720; -- x starting location of IFEI
y = 700; -- y starting location of IFEI
width = 640; -- width of IFEI
height = 300; -- height of IFEI
}

F18_UFC =
{
x = 1920 + 600;  -- x starting location of UFC
y = 0; -- y starting location of UFC
width = 640; -- width of UFC
height = 440; -- height of UFC
}

Remember to check and edit locations and sizes of your views to get good results.

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:

DCS force update

If you know that there is an update for DCS but starting DCS does not offer an update for you, you can start update from command prompt by going to DCS bin folder and starting dcs_updater.exe with update option:

After this command update should be offered:

DCS Finnish Air Force Hornet liveries and board number

Finnish Air Force liveries for DCS Hornet.

Download liveries from:
https://www.digitalcombatsimulator.com/en/files/3302822/

And save them to:
../Saved Games/DCS/Liveries/FA-18C_hornet

To use a livery with every “country” in DCS, edit livery’s “description.lua” file by adding to lines – – in front of countries line in bottom of file:

When done, start DCS and from radio’s ground crew… re-arm… page you can change livery and board number