Jump to content

Custom Monitor setup .lua files not appearing in DCS options monitor drop down box


Recommended Posts

Posted

Hi All, i have a triple screen set up (3 x 27" monitors at 

I am trying to edit the 3camera.lua file to enable the left and right MFD displays on the lower portion of my Left/right monitor. 

I feel relatively confident about the lua script to write, but for some reason, when i save my new lua file, it does not appear as an option in DCS from the Monitor drop down box. I am primarily using DCS open Beta MT installed on D drive, but DCS stable is installed on C drive. I am making sure to rename the "Name" variable in the lua file to something unique. 

I tried putting the lua file in a variety of locations and opening up the relevant DCS version - so, C://program files/eagledynamics/DCSworld/config/MonitorSetup with no luck. I then tried putting them in C:/users...//Saved Games/DCS/Config/MonitorSetup. No luck. Tried in C:/users..//SavedGames/DCSopenBeta/config/MonitorSetup - again, nothing. 

I then tried to create a file path D:/Users/..//Saved Games/DCSOpenBeta/Config/MonitorSetup. Again no dice. 

I then made a copy of the existing 3Camera.lua from DCS open beta to my desktop, and edited the original file directly within D:/DCSWorldOpenBeta/config/MonitorSetup with my additional text. To my surprise, when i opened DCS OpenBeta, the 3 screen option was no longer available! I then deleted it and copied back in the original from the desktop and whala! back again. 

Does anyone have any idea what is going on? Its driving me bonkers. Below is the lua code i am trying to use. 

Thanks in advance!

 

_  = function(p) return p; end;
name = _('3 Screen with MFD');
Description = 'Configuration with 3 identical monitors each with its own camera and MFDs'
Viewports = 
{
     Left = 
     {
          x = 0;
          y = 0;
          width = screen.width / 3;
          height = screen.height;
          viewDx = -1
          viewDy = 0;
          aspect = screen.aspect / 3;
     },

     Center = 
     {
          x = screen.width / 3;
          y = 0;
          width = screen.width / 3;
          height = screen.height;
          viewDx = 0;
          viewDy = 0;
          aspect = screen.aspect / 3;
     },

     Right = 
     {
          x = screen.width * 2 / 3;
          y = 0;
          width = screen.width / 3;
          height = screen.height;
          viewDx = 1;
          viewDy = 0;
          aspect = screen.aspect / 3;
     }
}
LEFT_MFCD -
{
x = 0;
y = screen.height -300;
height = 300;
width = 300;
}

RIGHT_MFCD - 
{x = screen.width -300;
y = screen.height - 300;
width = 300;
height = 300;
}

UIMainView = Viewports.Center
GU_MAIN_VIEWPORT = Viewports.Center

  • 1 month later...
Posted

I suspect there is a syntax error in these 2 lines:

LEFT_MFCD -
RIGHT_MFCD -

I think there should be a "=" instead of the "-"

  • Like 1

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

  • Recently Browsing   0 members

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