malingos Posted February 2 Posted February 2 (edited) I managed to scrounge up information from various scattered forum posts a while ago to make this monitor config a while ago, which currently has no issues working: Spoiler _ = function(p) return p; end; name = _('One Monitor One MFD'); Description = '1mon1mfd' Viewports = { Center = { x = 0; y = 0; width = 3440; height = 1440; aspect = 3440/1440; } } function reconfigure_for_unit(unit_type) if unit_type == "FA-18C_hornet" then CENTER_MFCD = { x = 3448; y = 661; width = 752; height = 752; } elseif unit_type == "F-15ESE" then CENTER_MFCD = { x = 3448; y = 661; width = 752; height = 752; } elseif unit_type == "F-14A-135-GR" then F14_VDI = { x = 3448; y = 661; width = 752; height = 752; } elseif unit_type == "KA-50" or unit_type == "KA-50_3" then ABRIS = { x = 3448; y = 661; width = 752; height = 752; } elseif unit_type == "F-16C_50" then RIGHT_MFCD = { x = 3448; y = 661; width = 752; height = 752; } elseif unit_type == "MiG-21Bis" then RP22 = { x = 3448; y = 661; width = 752; height = 752; } else RIGHT_MFCD = { x = 3448; y = 661; width = 752; height = 752; } end end UIMainView = Viewports.Center --{ x = 0; y = 0; width = 3440; height = 1440; } GU_MAIN_VIEWPORT = Viewports.Center --{ x = 0; y = 0; width = 3440; height = 1440; } However, I recently got 2 more MFD screens, but when I tried to add them to my monitor config file the main menu now stretches across all the MFDs, is there something I missed? Spoiler _ = function(p) return p; end; name = _('One Monitor Three MFDs'); Description = '1 monitor with 3 MFDs' Viewports = { Center = { x = 0; y = 0; width = 3440; height = 1440; aspect = 3440/1440; } } function reconfigure_for_unit(unit_type) if unit_type == "FA-18C_hornet" then LEFT_MFCD = { x = 3448; y = 661; width = 752; height = 752; } CENTER_MFCD = { x = 4208; y = 661; width = 752; height = 752; } RIGHT_MFCD = { x = 4968; y = 661; width = 752; height = 752; } elseif unit_type == "F-15ESE" then LEFT_MFCD = { x = 3448; y = 661; width = 752; height = 752; } CENTER_MFCD = { x = 4208; y = 661; width = 752; height = 752; } RIGHT_MFCD = { x = 4968; y = 661; width = 752; height = 752; } elseif unit_type == "F-14A-135-GR" then F14_VDI = { x = 3448; y = 661; width = 752; height = 752; } F14_HSD = { x = 4968; y = 661; width = 752; height = 752; } elseif unit_type == "KA-50" or unit_type == "KA-50_3" then ABRIS = { x = 3448; y = 661; width = 752; height = 752; } Shkval = { x = 4968; y = 661; width = 752; height = 752; } elseif unit_type == "F-16C_50" then LEFT_MFCD = { x = 3448; y = 661; width = 752; height = 752; } RIGHT_MFCD = { x = 3448; y = 661; width = 752; height = 752; } elseif unit_type == "MiG-21Bis" then RP22 = { x = 3448; y = 661; width = 752; height = 752; } else RIGHT_MFCD = { x = 4968; y = 661; width = 752; height = 752; } end end UIMainView = Viewports.Center; --{ x = 0; y = 0; width = 3440; height = 1440; } GU_MAIN_VIEWPORT = Viewports.Center; --{ x = 0; y = 0; width = 3440; height = 1440; } Was hoping there would be some centralized up to date area where I can find out what I need to edit. EDIT: I plugged the code into copilot and it managed to pull the answer out of the ether for me, here it is in case it helps anyone. Spoiler _ = function(p) return p; end name = _('One Monitor Three MFDs2') Description = '1 monitor with 3 MFDs2' Viewports = { Center = { x = 0, y = 0, width = 3440, height = 1440, aspect = 3440/1440, } } UIMainView = Viewports.Center GU_MAIN_VIEWPORT = Viewports.Center function reconfigure_for_unit(unit_type) if unit_type == "FA-18C_hornet" or unit_type == "F-15ESE" then LEFT_MFCD = { x = 3448, y = 661, width = 752, height = 752 } CENTER_MFCD = { x = 4208, y = 661, width = 752, height = 752 } RIGHT_MFCD = { x = 4968, y = 661, width = 752, height = 752 } elseif unit_type == "F-14A-135-GR" then F14_VDI = { x = 3448, y = 661, width = 752, height = 752 } F14_HSD = { x = 4968, y = 661, width = 752, height = 752 } elseif unit_type == "KA-50" or unit_type == "KA-50_3" then ABRIS = { x = 3448, y = 661, width = 752, height = 752 } Shkval = { x = 4968, y = 661, width = 752, height = 752 } elseif unit_type == "F-16C_50" then LEFT_MFCD = { x = 3448, y = 661, width = 752, height = 752 } RIGHT_MFCD = { x = 4968, y = 661, width = 752, height = 752 } elseif unit_type == "MiG-21Bis" then RP22 = { x = 3448, y = 661, width = 752, height = 752 } else RIGHT_MFCD = { x = 4968, y = 661, width = 752, height = 752 } end end UIMainView = Viewports.Center GU_MAIN_VIEWPORT = Viewports.Center Edited February 2 by malingos
MAXsenna Posted February 2 Posted February 2 For people that don't want to mess with Lua files. Helios will let you config everything in a GUI and write the relevant files for you. Just remembe to manually type in the correct resolution in DCS and select Helios as the Monitor setting file.Helios in itself does not export MFDs. Only instruments if one wants it. Sent from my SM-A536B using Tapatalk
malingos Posted February 2 Author Posted February 2 (edited) Does Helios allow setting up a configuration file with multiple aircraft? I tried to use helios and it seemed like I could only set up configurations for one aircraft at a time, which I was hoping to avoid by creating my own lua file(and it works fine with just one MFD, I have no clue why it's not working when I try three). While I was able to get the montiorconfig option to show up in DCS settings after feeding it into copilot it still crashes on export start so not sure what is wrong with the code. Do you know if there's any location where the devs have put documentation for the monitorconfig setup? EDIT: I have finally got it working, turns out I just needed to delete the Export.lua created by SimAppPro. Edited February 2 by malingos fixed the issue
MAXsenna Posted February 2 Posted February 2 5 minutes ago, malingos said: Does Helios allow setting up a configuration file with multiple aircraft? Yes, that's one of it's major points. There was an issue with FC modules before, because DCS didn't support it. Now you can configure the exports differently for every FC module, and I guess that's the issue you ran into. Currently you need to manually edit the file to accomplish this. I assume Helios will support it in the future. Many modules just have "LMFD, RMFD and CENTRE_MFD", (or something like that), defined in the cockpit scripts settings. While Helios can write patches that will let you export additional displays, but not instruments, these patches break IC, just so you know. If you need to NOT break IC, the modules, like the Jf-17. Needs to have these exports already defined in the core. For other modules you are limited to the MFDs settings mentioned above. 14 minutes ago, malingos said: Do you know if there's any location where the devs have put documentation for the monitorconfig setup? No, but other users are very helpful in the monitor export forum and Helios forum. I'm not at my computer, and can't have a look, (don't remember everything), but feel free to ask and I can steer you in the right direction. What modules are you looking into exports for?
Recommended Posts