Scooternutz Posted May 21, 2012 Share Posted May 21, 2012 Pilots, In DCS World, I have all my displays exported with the exception of two, the CMSC and CICU. This may be a coordinate problem. I did the same thing I did for the standalone version of A-10C. Here are some examples: I am running 4 screens at 6960x1050. The first three screen are connected to a Matrox TH2G at 5040x1050. The forth screen is running my HELIOS profile utilizing a touch screen. My Monitor Export File. _ = function(p) return p; end; name = _('ScooternutzTest'); Description = 'ScooterHelios' Viewports = { Center = { x = 0; y = 0; width = 5040; height = 1050; viewDx = 0; viewDy = 0; aspect = 4.8; } } RIGHT_MFCD = { x = 6540; y = 0; width = 430; height = 430; } LEFT_MFCD = { x = 5040; y = 0; width = 430; height = 430; } UHF_PRESET_CHANNEL = { x = 5791; y = 450; width = 30; height = 30; } UHF_FREQUENCY_STATUS = { x = 5674; y = 530; width = 130; height = 40; } UHF_REPEATER = { x = 5721; y = 690; width = 87; height = 25; } DIGIT_CLK = { x = 5566; y = 807; width = 100; height = 100; } CMSP = { x = 6117; y = 160; width = 260; height = 70; } CMSC = { x = 5896; y = 118; width = 218; height = 58; } RWR_SCREEN = { x = 5563; y = 87; width = 242; height = 242; } CDU = { x = 5849; y = 253; width = 320; height = 240; } Gui = { x = 1680; y = 0; width = 1680; height = 1050; } UIMainView = Gui The CDU init file, the addition is in red, the export display name is in orange: dofile(LockOn_Options.common_script_path.."devices_defs.lua") dofile(LockOn_Options.common_script_path.."ViewportHandling.lua") indicator_type = indicator_types.COMMON purposes = {render_purpose.GENERAL} try_find_assigned_viewport("CDU") dofile(LockOn_Options.common_script_path.."devices_defs.lua") indicator_type = indicator_types.COMMON dofile(LockOn_Options.script_path.."CDU/indicator/CDU_pages.lua") init_pageID = id_CDU_Pages.CDU_PAGE_OFF CDU_preinit_files_path = LockOn_Options.script_path.."CDU/Indicator/Preinit/" page_subsets = {} dofile(LockOn_Options.script_path.."CDU/indicator/CDU_subsets_init.lua") ---------------------- pages = {} pages_by_mode = {} clear_mode_table(pages_by_mode, 10, 10, 29) function get_page_by_mode(master, L2, L3, L4) return get_page_by_mode_global(pages_by_mode,init_pageID,master,L2,L3,L4) end dofile(LockOn_Options.script_path.."CDU/indicator/CDU_pages_init.lua") use_parser = false dofile(LockOn_Options.common_script_path.."devices_defs.lua") indicator_type = indicator_types.COMMON used_render_mask = "interleave.bmp" ****The display name you enter in the init.lua file must match your monitor config file.**** I have added the lines in red and named them accordingly to the following files located in the Eagle Dynamics\DCS World\Scripts\Aircrafts\A-10C\Cockpit folder. Example: AN_ALR69V\indicator\AN_ALR69V_init.lua (This is the RWR) Rather than enter all the file names I will just give the folder names and by now you should be able to find them. :thumbup: CDU CMSC CMSP DigitalClock UHF_Radio I hope this helps some. Once I figure out the ECM displays I will update. BACK UP ANY FILES YOU MESS WITH :doh: [sIGPIC]https://drive.google.com/file/d/16rUBmmJR7A3YGZVGPGskxG1XtvulGojJ/view?usp=sharing[/sIGPIC] Link to comment Share on other sites More sharing options...
s3141529 Posted May 22, 2012 Share Posted May 22, 2012 (edited) This should be added/replaced for CMSC and CMSP: purposes = {render_purpose.GENERAL, render_purpose.HUD_ONLY_VIEW, render_purpose.SCREENSPACE_OUTSIDE_COCKPIT, render_purpose.SCREENSPACE_INSIDE_COCKPIT} -- set purposes to draw it always CMSP_init.lua dofile(LockOn_Options.common_script_path.."devices_defs.lua") dofile(LockOn_Options.common_script_path.."ViewportHandling.lua") indicator_type = indicator_types.COMMON [color=Green] purposes = {render_purpose.GENERAL, render_purpose.HUD_ONLY_VIEW, render_purpose.SCREENSPACE_OUTSIDE_COCKPIT, render_purpose.SCREENSPACE_INSIDE_COCKPIT} -- set purposes to draw it always [/color] try_find_assigned_viewport("CMSP") dofile(LockOn_Options.common_script_path.."devices_defs.lua") indicator_type = indicator_types.COMMON opacity_sensitive_materials = { "font_CMSP" } -------PAGE IDs------- id_Page = { PAGE_NULL = 0, PAGE_OFF = 1, PAGE_MAIN = 2 } id_pagesubset = { MAIN = 0 } page_subsets = {} page_subsets[id_pagesubset.MAIN] = LockOn_Options.script_path.."CMSP/indicator/CMSP_page.lua" ---------------------- pages = {} pages[id_Page.PAGE_MAIN] = {id_pagesubset.MAIN} init_pageID = id_Page.PAGE_MAIN [color=Red]-- purposes = {render_purpose.GENERAL}[/color] Edited May 22, 2012 by s3141529 Link to comment Share on other sites More sharing options...
PeterP Posted May 26, 2012 Share Posted May 26, 2012 (edited) No need to do all edits manually again and again....: enabling Cockpit Exports in DCS-A10 ReadMe: This will switch on the export of avionics to dedicated view-ports. Pre-Sets : 1. MFCD in cockpit ON 2. MFCD in cockpit OFF (better FPS) 3. Backup of default 1.1.1.1 files Make a backup of you "Aircrafts" folder before using my files! Copy the "Aircrafts" from preset 1. or 2 . into: Eagle Dynamics\DCS A-10C\Scripts\ And allow to overwrite. "Export example.lua" Copy this file to \Eagle Dynamics\DCS A-10C\Config\MonitorSetup and select "Export example" in the Options screen from the "Monitors" drop-down tab. This LUA file already contains al possible exports - delete the one you don't want to use. Keep special attention to the "GUI" export ! - this will determine where you have the in-game GUI. If you want to bind this GUI to a special export you have to change the last line "UIMainView = GUI" - to something else. Example : "UIMainView = Center" More info: http://forums.eagle.ru/showthread.php?t=70716 PeterP 3-1-2012 Everything is already preconfigured for the A-10C. Works the same for DCS:World 1.1.2.1 if you change the destination file-path to "Eagle Dynamics\DCS World\Scripts\" Edited May 26, 2012 by PeterP Link to comment Share on other sites More sharing options...
DayGlow Posted September 25, 2012 Share Posted September 25, 2012 bump. I've finally got around to dl'ing DCS World and trying to setup Helios with the A-10. I've got the gauges working, but other than the MFCD's I can't get any of the other displays to export properly. Even with PeterP's scripts and running his example.lua none of the displays are exporting. "It takes a big man to admit he is wrong...I'm not a big man" Chevy Chase, Fletch Lives 5800X3D - 64gb ram - RTX3080 - Windows 11 Link to comment Share on other sites More sharing options...
PeterP Posted September 25, 2012 Share Posted September 25, 2012 Doublecheck the the DCS Version you are running (I hope it is 1.2.0) and than use this link: Here is all you need to know for a successful... Link to comment Share on other sites More sharing options...
DayGlow Posted September 28, 2012 Share Posted September 28, 2012 So I tried the one with the MFCD's on in the cockpit and it worked flawlessly. For some reason when I used the preset with the MFCD's off it didn't work. No worries I'll just manually turn them off. Thanks a bunch for the presets "It takes a big man to admit he is wrong...I'm not a big man" Chevy Chase, Fletch Lives 5800X3D - 64gb ram - RTX3080 - Windows 11 Link to comment Share on other sites More sharing options...
Recommended Posts