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")

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:

Xplane and SIMVIM: 7 segment display (direct connection)


This guide will show you how to use SimVimPlugin to show Xplane’s radio frequencies on 7-segment display to be used on homecockpit. For more information about plugin visit: www.simvim.com

Components needed:

  • Arduino Mega
  • 7-segment led display with Max7219 chip
  • Wall wart to power led display

Software:

  • Xplane 11.30 (Cessna 172 used)
  • SIMVIM 0.9.33
  • This guide was done with Ubuntu but it should work also in Windows

Wiring:

  • Wall wart +5V to led display VCC
  • Wall wart GND to led display GND and arduino GND
  • Led display:
    • DN to pin 28 on Arduino Mega
    • CS to pin 27 on Arduino Mega
    • CLK to assigned pin (pin 36 on this guide)
  • USB connection between Arduino and PC

How to:

  • Go to SIMVIM configurator page: http://simvim.com/config.html and first choose following selections:
    • Parameter Table
    • Number of engines 1
    • COM/NAV
    • Com/Nav Displays
SIMVIM www page configurator
  • From Com/Nav Displays:
    • Click Com1_Stby_6 and…
    • …from opening windows select 7-segment display
Click Com1_Stdby_6 and select 7-segment display
  • After 7-segment display selection, select proper pin (36 on this guide) from table on right side of www-page. Check that MAX7219 is selected and click Done
Settings of 7-segment display
  • Go to top off configurator page and click red save button. It downloads a data.cfg file for you.
Configurator page’s save button
  • Copy data.cfg file from your downloads folder and replace old data.cfg file on Xplane’s SimVimCockpit plugin folder (…\X-Plane 11\Resources\plugins\SimVim).
  • Switch to Xplane, and with a plane running, go to plugins and SimVimPlugin’s status window. Click reload if needed.
  • Now try to change planes NAV1 radios standby frequency. Changes should be seen in 7-segment led display.

Xplane and SIMVIM: Firmware upload to Arduino Mega

This guide will show you how to install SIMVIM firmware to Arduino Mega to be used on a home cockpit. For more information about hardware and SIMVIM Xplane -plugin visit: www.simvim.com

Components needed:

  • Arduino Mega
  • USB cable

Software needed:

  • Xplane 11.30
  • SIMVIM 0.9.33
  • This guide was done with Windows but it should work also in Ubuntu

Note if using Ubuntu! purge “modemmanager” program if not needed. It reserves Arduino Mega USB port when connected to a PC and SimVim firmware upload does not succeed. You might also need to eject USB before upload can be achieved.

Wiring:

Arduino Mega with USB cable to PC. (Do not connect it now!)

How to install SimVimCokcpit plugin:

Download SimVimCockpit plugin from https://www.patreon.com/simvim.

Extract it and copy SimVim folder to Xplane plugins folder
(…/X-Plane 11/Resources/plugins).

Check that plugins starts with X-plane. Start a plane in Xplane and look for SimVimCockpit from Xplanes Plugins drop down menu.

SimVimCokcpit plugin working in Xplane.

How to upload SimVimCokcpit Firmware to Arduino Mega:

In Xplane and plane running: Go to Plugins… SimVimCockpit… Firmaware upload…

From Firmware Upload window: Click “Next” button.
Plug in Arduino Mega with USB cable to PC and click “Detect port ->” button.
Now we are making a Master board so select correct settings and click “Upload” button. Wait for an empty black window to open. It is seen for a while when SimVimCockpit uploads hardware to Arduino.
When window closes, firmware upload should be ready and SimVimCockpit informs it “Upload attempt completed”
Go to Plugins… SimVimCokpit and click “Hardware Reconnect”. It reconnects Arduino.
Go to Plugins… SimVimCockpit… Status… You should now see your Arduino as connected device.