Thick8 Posted May 12, 2013 Posted May 12, 2013 (edited) Hi all. I've relocated my MFCDs and RWR on a 16" monitor. I'd like to remove them from displaying on the aircraft (A-10c). Is this possible? Tia John edit: I did try PeterP's "export-fixed-for-DCS-A-10 1.1.1.1 and a example LUA" download with no joy. Everything still displayed in the cockpit. second edit: Here's my monitor LUA _ = function(p) return p; end; name = _('16inchmonitor'); Description = 'MFDs on 16 inch monitor'; Viewports = { Center = { x = 0; y = 0; width = 5836; height = 1080; viewDx = 0; viewDy = 0; aspect = 5.403703703703703; } } LEFT_MFCD = { x = 5890; y = 60; width = 441; height = 441; } RIGHT_MFCD = { x = 6701; y = 60; width = 441; height = 441; } RWR_SCREEN = { x = 6397; y = 0; width = 244; height = 244; } UIMainView = Viewports.Center Edited May 12, 2013 by Thick8 All of my posted work, ideas and contributions are licensed under the Creative Commons - Attribution-NonCommercial 4.0 International (CC BY-NC 4.0,) which precludes commercial use but encourages sharing and building on for non-commercial purposes, ©John Muldoon
FreeFall Posted May 12, 2013 Posted May 12, 2013 (edited) To get the incockpit MFCDs not to render, you need to edit ViewportHandling.lua file (with Notepad++. Open it as an Administrator.) In DCS World that file can be found here: C:\Program Files\Eagle Dynamics\DCS World\Scripts\Aircrafts\_Common Using Notepad++, comment out line 31 by adding the -- as highlighted in red below purposes = {[color=Red]--[/color]render_purpose.GENERAL, render_purpose.HUD_ONLY_VIEW, render_purpose.SCREENSPACE_OUTSIDE_COCKPIT, render_purpose.SCREENSPACE_INSIDE_COCKPIT} -- set purposes to draw it always render_target_always = true end And once again, when you next time update your DCS World, the updater will replace your edited file. So be prepared to restore it. Edited May 12, 2013 by FreeFall added information about updating 1
Thick8 Posted May 12, 2013 Author Posted May 12, 2013 Worked like a charm. Thanks FreeFall. All of my posted work, ideas and contributions are licensed under the Creative Commons - Attribution-NonCommercial 4.0 International (CC BY-NC 4.0,) which precludes commercial use but encourages sharing and building on for non-commercial purposes, ©John Muldoon
Recommended Posts