Cacher Posted June 3, 2018 Posted June 3, 2018 I think I’ve gained an understanding of my multiple monitor setup and how to modify/create my own monitor.lua file. I basically have 4 different monitors built into a home cockpit setup that I’ve used for years with P3D. I have arranged the monitors in Windows so that 2 - 1920x1080 are side by side on top. Underneath these monitors, I have a 1680x1050 on the left and a 1280x1024 on the right. In DCS, this gives me a useful display resolution of 2960x2130. A portion of the upper right monitor (880x1080) cannot be used by DCS. I have scripted my monitor.lua file so that the “Center” display fills the upper left 1920x1080 monitor. I’ve created a viewport for the LEFT_MFCD at x = 0 and y = 2130-900, figuring the MFCD is 900x900. Similarly, I’ve created a viewport for the RIGHT_MFCD at x = 2960-900 and y= 2130-900. These export the MFCD’s to the lower left and lower right monitors respective. I’ve added a viewport for the GUI at x=1920 and y=0 which will place it in the DCS controlled area of the upper right monitor at a size of 1040x1080. I ended the monitor.lua file with the statement “UIMainView = GUI”. Is this correct for what I’m doing? Since I still have space on the 2 lower monitors, I would like to create viewports for other gauges. I found Icemakers post on “[How To] Export ALL Indicators Like MFCD via Viewports” but couldn’t quite grasp the technique. It appears I would need the name of the viewport but also add code to export it? In other words, more has to be done than creating a viewport entry in the monitor.lua file? Any help woul be appreciated. Lantz
Cacher Posted June 3, 2018 Author Posted June 3, 2018 (edited) Follow On: At the end of the Monitor.lua file, UIMainView = GUI messed up my display. Only a portion of it was displaying on the upper right monitor. I changed the line back to UIMainView=Viewports.Center Could someone explain what the UIMainView is? Edited June 3, 2018 by Cacher
Recommended Posts