Jump to content

Taurus92

Registered
  • Posts

    1
  • Joined

  • Last visited

Everything posted by Taurus92

  1. Hey guys, I don't usually right on forums but i really haven't made any progress with my setup, this is a plea for help!!!! I have a 1920x1080, 3440x1440 and 1920x1200, my monitors are setup in this format from left to right. I would also like to add both left and right MFCD's to the third monitor and a Kneeboard and RWR to the left monitor, the plane i am using is a F-16c. Please could someone take a look at the .lua file i have written up and maybe show me the correct way of formatting it, or maybe give me an alternative solution. _ = function(p) return p; end; name = _('F-16C'); Description = 'TRIPLE SCREEN SETUP' -- MAIN monitor (center) Viewports = { LEFT = { x = 0 y = 0 width = 1920; height = 1080; viewDx = 0; viewDy = 0; aspect = 1920/1080; } Center = { x = 1920; y = 0; width = 3440; height = 1440; viewDx = 0; viewDy = 0; aspect = 3440/1440; } Right = { x = 5360 y = 0 width = 1920; height = 1200; viewDx = 0; viewDy = 0; aspect = 1920/1200; } } UIMainView = Viewports.Center GU_MAIN_VIEWPORT = Viewports.Center function reconfigure_for_unit(unit_type) --unit type is string with unit name if unit_type == "F-16C_50" then { Viewports = Right --display on right monitor, showing LEFT_MFCD AND RIGHT_MFCD split half and half LEFT_MFCD = { x = 5360; y = 0; width = 960; height = 1200; } RIGHT_MFCD = { x = 6320; y = 0; width = 960; height = 1200; } } { Viewports = Left RWR_SCREEN = { x = 960; y = 0; width = 960; height = 1080 } }
×
×
  • Create New...