Jump to content

Recommended Posts

Posted

Things I found out so far:

 

At DCS World\Config\MonitorSetup I can define my monitor setup.

But how can I code it to write the variables altBar, altRad & engine?

 

_  = function(p) return p; end;
name = _('1 Screen + InfoDisplay');
Description = 'One monitor configuration + InfoDisplay'
Viewports =
{
    Center =
    {
         x = 0;
         y = 0;
         width = screen.width;
         height = screen.height;
         viewDx = 0;
         viewDy = 0;
         aspect = screen.aspect;
    }
}

local altBar = LoGetAltitudeAboveSeaLevel()
local altRad = LoGetAltitudeAboveGroundLevel()
local engine = LoGetEngineInfo()
--engine.fuel_internal

MyInfoDisplay =
{
    x = 0;
    y = 0;
    --width = screen.width / 2;
    --height = screen.height;
}

UIMainView = Viewports.Center

  • Recently Browsing   0 members

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