ncimike3 Posted December 3, 2011 Share Posted December 3, 2011 ok. I got stuff showing up on my 2nd screen. What I'm running into now is how to get more than just the text showing up. for example, i have my cdu file showing up, but only the text. How does one go about getting the entire computer, buttons and all to show up. What am I missing? EVGA X58 FTW3 | i7-960 3.2GHz | 6Gb DDR3 1600Mhz | GTX 680 4Gb | Win 7 64 |TM HOTAS Warthog | Combat Rudder Pedals | TrackIR 5 | TM MFD Cougar set | Logithech G35 Headset Link to comment Share on other sites More sharing options...
airdog Posted December 3, 2011 Share Posted December 3, 2011 ok. I got stuff showing up on my 2nd screen. What I'm running into now is how to get more than just the text showing up. for example, i have my cdu file showing up, but only the text. How does one go about getting the entire computer, buttons and all to show up. What am I missing? Your missing Helios http://www.scsimulations.com DCS only exports the text the rest of the stuff needs to be done with Helios software. It is Donationware so its free to download and try but please donate to the developer if you continue to use it. You will get all the help you need on their forums to get it up and running. 1 Airdog | Asus ROG Strix Z370-E Mobo | i7 8700K @ 4.7 | 32 GB DDR4@3200mhz | Gigabyte 2080Ti OC 11GB| Samsung M.2 960 Evo 250Gb and 500Gb | Win10 Pro | Hotas Warthog #02743 | Track IR 5 | Toshiba 47" 120hz LED | Acer 23" Touchscreen | HELIOS |Oculus Rift-S| http://www.blackknightssquadron.com/ Link to comment Share on other sites More sharing options...
ncimike3 Posted December 4, 2011 Share Posted December 4, 2011 (edited) perfect. Thanks so much. without support from people like you I would have given up this game a long time ago. I'm now on my way over to Helios. I'll for sure donate. Edited December 4, 2011 by ncimike3 EVGA X58 FTW3 | i7-960 3.2GHz | 6Gb DDR3 1600Mhz | GTX 680 4Gb | Win 7 64 |TM HOTAS Warthog | Combat Rudder Pedals | TrackIR 5 | TM MFD Cougar set | Logithech G35 Headset Link to comment Share on other sites More sharing options...
FreeFall Posted December 16, 2011 Share Posted December 16, 2011 (edited) 1.1.1.1 patch related info FYI. If you have your exports working OK at the moment (with v.1.1.1.0), and you are going to update to v1.1.1.1, I suggest that before patching make a backup copy of your AN_ALR69V_init.lua -file. The installer seems to replace that file with a version that won't export RWR. And if your Helios won't work after the patch 1.1.1.1, open the Helios Profile Editor, add the interface and refresh the A-10C Setup Install Path. Then open your working Helios Profile and save it (perhaps with a new name). Open it and it should work. At least worked for me. Edited December 16, 2011 by FreeFall Link to comment Share on other sites More sharing options...
beynesairforce Posted December 21, 2011 Share Posted December 21, 2011 Need help with CMSC rendering. No pb to export it but after that CMSC is no longer rendering in the cockipt view..... I've got this "pb" only with CMSC. Thank for your help because after 2hours, i'm being crazy. My CMSC_init.lua dofile(LockOn_Options.common_script_path.."devices_defs.lua") indicator_type = indicator_types.COMMON purposes = {render_purpose.GENERAL, render_purpose.HUD_ONLY_VIEW, render_purpose.SCREENSPACE_OUTSIDE_COCKPIT, render_purpose.SCREENSPACE_INSIDE_COCKPIT} local x_size = 1 local y_size = 1 function update_screenspace_diplacement(zoom_value) local default_width = 0.5 * LockOn_Options.screen.height + (64 * zoom_value) if default_width > LockOn_Options.screen.height then default_width = LockOn_Options.screen.height end if default_width > 0.5 * LockOn_Options.screen.width then default_width = 0.5 * LockOn_Options.screen.width end local default_height = (y_size/x_size) * default_width local default_y = LockOn_Options.screen.height - default_height local default_x = LockOn_Options.screen.width - default_width dedicated_viewport = {default_x,default_y,default_width,default_height} dedicated_viewport_arcade = {default_x, 0 ,default_width,default_height} end update_screenspace_diplacement(0) function set_full_viewport_coverage(viewport) dedicated_viewport = {viewport.x, viewport.y, viewport.width, viewport.height} dedicated_viewport_arcade = dedicated_viewport 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 render_target_always = true end -- try to find assigned viewport local multimonitor_setup_name = "Config/MonitorSetup/"..get_multimonitor_preset_name()..".lua" local env = {} env.screen = LockOn_Options.screen local f = loadfile(multimonitor_setup_name) if f then setfenv(f,env) pcall(f) local vp = nil vp = env.CMSC if vp ~= nil then dbg_print("ok we have directly assigned viewport to MFCD\n") set_full_viewport_coverage(vp) end end opacity_sensitive_materials = { "font_CMS" } -------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.."CMSC/indicator/CMSC_page.lua" ---------------------- pages = {} pages[id_Page.PAGE_MAIN] = {id_pagesubset.MAIN} init_pageID = id_Page.PAGE_MAIN purposes = {--render_purpose.GENERAL, render_purpose.HUD_ONLY_VIEW, render_purpose.SCREENSPACE_OUTSIDE_COCKPIT, render_purpose.SCREENSPACE_INSIDE_COCKPIT} My viewport handling.lua -- positioning on screen in HUD Only view function update_screenspace_diplacement(aspect,is_left,zoom_value) local aspect = aspect or 1 local zoom_value = zoom_value or 0 local default_width = 0.5 * LockOn_Options.screen.height + (64 * zoom_value) if default_width > LockOn_Options.screen.height then default_width = LockOn_Options.screen.height end if default_width > 0.5 * LockOn_Options.screen.width then default_width = 0.5 * LockOn_Options.screen.width end local default_height = default_width / aspect local default_y = LockOn_Options.screen.height - default_height local default_x = LockOn_Options.screen.width - default_width if is_left then default_x = 0 end dedicated_viewport = {default_x,default_y,default_width,default_height} dedicated_viewport_arcade = {default_x, 0 ,default_width,default_height} end function set_full_viewport_coverage(viewport) dedicated_viewport = {viewport.x, viewport.y, viewport.width, viewport.height} dedicated_viewport_arcade = dedicated_viewport 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 render_target_always = true end -- try to find assigned viewport function try_find_assigned_viewport(exactly_name,abstract_name) local multimonitor_setup_name = "Config/MonitorSetup/"..get_multimonitor_preset_name()..".lua" local f = loadfile(multimonitor_setup_name) if f then local env = {screen = LockOn_Options.screen} setfenv(f,env) pcall(f) local target_env = env[exactly_name] if not target_env and abstract_name then target_env = env[abstract_name] end if target_env then set_full_viewport_coverage(target_env) end end end [sIGPIC][/sIGPIC] Intel I7-960 / 12Gb Corsair DDR3 Ram / Asus GTX980 Ti Strix / Asus PB287Q / TIR 5+Clip Pro Logitech G13/ TM Warthog N°01295 / Saitek Combat Rudder Pedals / Win Seven 64bits/ TM Cougar MFDs (Vers. 1) / 1 Syncmaster 206BW running Helios Link to comment Share on other sites More sharing options...
airdog Posted December 21, 2011 Share Posted December 21, 2011 Uncomment this line below in your CMSC Lua purposes = {--render_purpose.GENERAL Take out the -- Airdog | Asus ROG Strix Z370-E Mobo | i7 8700K @ 4.7 | 32 GB DDR4@3200mhz | Gigabyte 2080Ti OC 11GB| Samsung M.2 960 Evo 250Gb and 500Gb | Win10 Pro | Hotas Warthog #02743 | Track IR 5 | Toshiba 47" 120hz LED | Acer 23" Touchscreen | HELIOS |Oculus Rift-S| http://www.blackknightssquadron.com/ Link to comment Share on other sites More sharing options...
beynesairforce Posted December 21, 2011 Share Posted December 21, 2011 Uncomment this line below in your CMSC Lua purposes = {--render_purpose.GENERAL Take out the -- S.....t :doh: I didn't notice this render at the end of the file .... Many thank for your "eyes" :thumbup: [sIGPIC][/sIGPIC] Intel I7-960 / 12Gb Corsair DDR3 Ram / Asus GTX980 Ti Strix / Asus PB287Q / TIR 5+Clip Pro Logitech G13/ TM Warthog N°01295 / Saitek Combat Rudder Pedals / Win Seven 64bits/ TM Cougar MFDs (Vers. 1) / 1 Syncmaster 206BW running Helios Link to comment Share on other sites More sharing options...
cichlidfan Posted January 15, 2012 Share Posted January 15, 2012 Just want to add my thanks to everyone who has added to this thread. I had not messed with Helios since 09 came out. In the mean time I switched out my second monitor to a standard 1920x1080 so I could use Loz profile as is. Once I dug through the changes to the process, and files edits, I actuallly got all the viewport exported in properly located. Thanks again to Loz for the outstanding profile and everyone else who helped sort this mess out.:thumbup::thumbup: ASUS ROG Maximus VIII Hero, i7-6700K, Noctua NH-D14 Cooler, Crucial 32GB DDR4 2133, Samsung 950 Pro NVMe 256GB, Samsung EVO 250GB & 500GB SSD, 2TB Caviar Black, Zotac GTX 1080 AMP! Extreme 8GB, Corsair HX1000i, Phillips BDM4065UC 40" 4k monitor, VX2258 TouchScreen, TIR 5 w/ProClip, TM Warthog, VKB Gladiator Pro, Saitek X56, et. al., MFG Crosswind Pedals #1199, VolairSim Pit, Rift CV1 :thumbup: Link to comment Share on other sites More sharing options...
cichlidfan Posted January 20, 2012 Share Posted January 20, 2012 BTW, the lines in red are not needed at the end of the CMSP and CMSC init luas. init_pageID = id_Page.PAGE_MAIN purposes = {render_purpose.GENERAL, [color=red]render_purpose.HUD_ONLY_VIEW,[/color] [color=red]render_purpose.SCREENSPACE_OUTSIDE_COCKPIT,[/color] [color=red]render_purpose.SCREENSPACE_INSIDE_COCKPIT}[/color] The original file ends like this, and the part in red should be removed instead of added to. init_pageID = id_Page.PAGE_MAIN [color=red]purposes = {render_purpose.GENERAL}[/color] ASUS ROG Maximus VIII Hero, i7-6700K, Noctua NH-D14 Cooler, Crucial 32GB DDR4 2133, Samsung 950 Pro NVMe 256GB, Samsung EVO 250GB & 500GB SSD, 2TB Caviar Black, Zotac GTX 1080 AMP! Extreme 8GB, Corsair HX1000i, Phillips BDM4065UC 40" 4k monitor, VX2258 TouchScreen, TIR 5 w/ProClip, TM Warthog, VKB Gladiator Pro, Saitek X56, et. al., MFG Crosswind Pedals #1199, VolairSim Pit, Rift CV1 :thumbup: Link to comment Share on other sites More sharing options...
tacno Posted January 25, 2012 Share Posted January 25, 2012 Hi SeaEye, I'm interresting by the solution. I've the same problem for RWR display (at top left) but after check my multimonitor lua file and AN_ALR69V_init.lua file, I found nothink to do... Mayday ! Thanks, Tacno UniversRadio for DCS : http://universradio.fr Homepit on eagle.ru forum :http://forums.eagle.ru/showpost.php?p=1547848&postcount=1 (more details : http://www.tacnoworld.fr) 3rd-Wing.net/75th vFighter "Tiger Sharks"/S-01 Tacno (squadron commander) Link to comment Share on other sites More sharing options...
Strix Posted February 2, 2012 Share Posted February 2, 2012 Hi! I have exported my MFCD to 2 separated 8" monitors and I don't want to see the MFCD in 3 D view. I did try this from a earlier post, but it seems not to work. My 8 " is going black to! Strange enough, they did work once, then I cant get them to work. ------------------------------------------------------ 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 render_target_always = true ------------------------------------------------------ Today the code is differnt from the above! ------------------------------------------------- if LockOn_Options.flight.easy_radar then render_target_always = true purposes = {render_purpose.GENERAL,render_purpose.HUD_ONLY_VIEW,render_purpose.SCREENSPACE_OUTSIDE_COCKPIT} else render_target_always = false purposes = {render_purpose.GENERAL,render_purpose.HUD_ONLY_VIEW} end ----------------------------------- And I cant get it to work even if I do like this. " = {--render_purpose.GENERAL,render_purpose.HUD_ONLY_VIEW} end" Any one have a clue? Win 10 64. GTX1080 ti 11 Gb, Intel i-5, 16 Gb ram, SSD 1,5 Tb, 2 Terrabyte HD, Monitor ASUS XG32V 144Hz, Slaw Milans Rudder Pedals BF109F :thumbup:, Joystick - HOTAS Warthog, Throttle - HOTAS Warthog, TrackIR V5. Pimax 5. Link to comment Share on other sites More sharing options...
airdog Posted February 2, 2012 Share Posted February 2, 2012 Here Airdog | Asus ROG Strix Z370-E Mobo | i7 8700K @ 4.7 | 32 GB DDR4@3200mhz | Gigabyte 2080Ti OC 11GB| Samsung M.2 960 Evo 250Gb and 500Gb | Win10 Pro | Hotas Warthog #02743 | Track IR 5 | Toshiba 47" 120hz LED | Acer 23" Touchscreen | HELIOS |Oculus Rift-S| http://www.blackknightssquadron.com/ Link to comment Share on other sites More sharing options...
Strix Posted February 2, 2012 Share Posted February 2, 2012 I did edit wrong file. Sry! THX! Solved! Win 10 64. GTX1080 ti 11 Gb, Intel i-5, 16 Gb ram, SSD 1,5 Tb, 2 Terrabyte HD, Monitor ASUS XG32V 144Hz, Slaw Milans Rudder Pedals BF109F :thumbup:, Joystick - HOTAS Warthog, Throttle - HOTAS Warthog, TrackIR V5. Pimax 5. Link to comment Share on other sites More sharing options...
algerad3 Posted February 20, 2012 Share Posted February 20, 2012 Is it possible to export to file the data provided by viewports? Also , is it possible to intercept the data by calling the viewports? Or, does the viewports shoot the data directly to the video card. I am trying to figure out how to get the gauges with out using shared memory. I hope these questions make sense. [sIGPIC][/sIGPIC] CPIAS FOR Saitek: Saitek Flight instrument panels and X-52 pro mfd scripts for Dcs http://forums.eagle.ru/showthread.php?t=94174 Link to comment Share on other sites More sharing options...
XtremePsionic Posted February 21, 2012 Share Posted February 21, 2012 Sorry, I'm really new and quite confused. I managed to get the MFCDs on my left and right screens, but I can't for the life of me figure out how to export the buttons surrounding the MFCSs. There has been mention of Helios, do I need that to have workable buttons or is there a way to export with LUA script. Thanks! Link to comment Share on other sites More sharing options...
cichlidfan Posted February 21, 2012 Share Posted February 21, 2012 Sorry, I'm really new and quite confused. I managed to get the MFCDs on my left and right screens, but I can't for the life of me figure out how to export the buttons surrounding the MFCSs. There has been mention of Helios, do I need that to have workable buttons or is there a way to export with LUA script. Thanks! The buttons you see on other folks' displays are from Helios (or HawgTouch). You can't export them, just the displays themselves. EDIT: ....and welcome to the forum! ASUS ROG Maximus VIII Hero, i7-6700K, Noctua NH-D14 Cooler, Crucial 32GB DDR4 2133, Samsung 950 Pro NVMe 256GB, Samsung EVO 250GB & 500GB SSD, 2TB Caviar Black, Zotac GTX 1080 AMP! Extreme 8GB, Corsair HX1000i, Phillips BDM4065UC 40" 4k monitor, VX2258 TouchScreen, TIR 5 w/ProClip, TM Warthog, VKB Gladiator Pro, Saitek X56, et. al., MFG Crosswind Pedals #1199, VolairSim Pit, Rift CV1 :thumbup: Link to comment Share on other sites More sharing options...
TedStriker Posted February 24, 2012 Share Posted February 24, 2012 Help! I am unable to get this to work. I have the 2 MFDs succesfully exported to a 2nd monitor and I've been trying to get the RWR to export as well. I copied the code as listed at the beginning of this thread and created a .lua file in the monitor setup folder as listed below. I know it's doing something because if I don't uncomment "render_purpose.GENERAL" then the crosshairs disappear from the RWR in the 3d cockpit. I've also tried putting the RWR at the same coordinates Where one of the MFDs have been displaying succesfully so I'm pretty sure it's not trying to display off the screen. What am I doing wrong? Thanks, -Ted Denver, CO _ = function(p) return p; end; name = _('BottomMFDs2'); Description = 'Two monitor configuration'; Viewports = { Center = { x = 0; y = 0; width = 1680; height = 1050; viewDx = 0; viewDy = 0; aspect = 1.6; } } LEFT_MFCD = { x = 1700; y = 350; width = 390; height = 390; } RIGHT_MFCD = { x = 2254; y = 350; width = 390; height = 390; } RWR_SCREEN = { x = 2254; y = 50; width = 390; height = 390; } UIMainView = Viewports.Center Link to comment Share on other sites More sharing options...
TedStriker Posted February 24, 2012 Share Posted February 24, 2012 Oops Well, disregard my last post. I figured it out. I guess I didn't read far enough into the forum to find the new changes. It's working now. Link to comment Share on other sites More sharing options...
FreeFall Posted February 24, 2012 Share Posted February 24, 2012 TedStriker, I think that your leftmost Thrustmaster Cougar MFD is actually the right one, and the rightmost is the left one. At least I think so. :music_whistling: Link to comment Share on other sites More sharing options...
PeterP Posted February 24, 2012 Share Posted February 24, 2012 (edited) Hello Icemaker! I see in this thread people asking over and over again how to enable the files for export and disabling them in the Cockpit render... Would you be so kind and upload this attachment to your first post? Download: Enable exports for DCS-A10 1.1.1.1 and a Example LUA.zip 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 Export example.lua: _ = function(p) return p; end; name = _('Export example'); Description = 'Export example'; Viewports = -- Put your values in , and delete all exports that you don't want to use ! -- You will have to determine the area for the MP/SP GUI { Center = { x = 0; y = 0; width = 800; height = 600; viewDx = 0; viewDy = 0; aspect = 1.3333333333; } } GUI= { x = 0; y = 0; width = 800; height = 600; } LEFT_MFCD = { x = 0; y = 600; width = 300; height = 300; } RIGHT_MFCD = { x = 500; y = 600; width = 300; height = 300; } CMSC_SCREEN = { x = 800; y = 0; width = 300; height = 300; } CMSP_SCREEN = { x = 1100; y = 0; width = 300; height = 300; } RWR_SCREEN = { x = 800; y = 300; width = 300; height = 300; } DIGIT_CLOCK = { x = 1400; y = 600; width = 200; height = 300; } UHF_FREQUENCY_STATUS = { x = 800; y = 600; width = 300; height = 300; } UHF_PRESET_CHANNEL = { x = 1100; y = 600; width = 300; height = 300; } UHF_REPEATER = { x = 1100; y = 300; width = 300; height = 300; } CDU_SCREEN = { x = 300; y = 600; width = 200; height = 300; } UIMainView = GUI Screen-shot of the Pre-Sets are attached: 1. MFCDs in Cockpit ON 2. MFCDs in Cockpit OFF 3. Visualisation of "Export example.lua" Edited March 2, 2012 by PeterP Link to comment Share on other sites More sharing options...
Strix Posted February 24, 2012 Share Posted February 24, 2012 Nice PeterP!! 1 Win 10 64. GTX1080 ti 11 Gb, Intel i-5, 16 Gb ram, SSD 1,5 Tb, 2 Terrabyte HD, Monitor ASUS XG32V 144Hz, Slaw Milans Rudder Pedals BF109F :thumbup:, Joystick - HOTAS Warthog, Throttle - HOTAS Warthog, TrackIR V5. Pimax 5. Link to comment Share on other sites More sharing options...
icemaker Posted February 25, 2012 Author Share Posted February 25, 2012 Done PeterP Thank's Link to comment Share on other sites More sharing options...
jakare Posted March 11, 2012 Share Posted March 11, 2012 (edited) Bad Indicators displays I had stopped using helios and now I'm back with this software. I use Cap Loz profile with 2 screens (1920x1080). I tried several init.lua files for each indicators and I always get the same result. Some indicators are functioning normally: MFCD, RWR, CLOCK But others have neither the right size or the right position. (UHF, PBMC, CMSC) I also tried to modify the files as indicated Icemaker and Airdog. But nothing works. my monitor setup : _ = function(p) return p; end; name = _('HELIOS'); Description = 'HELIOS' Viewports = { Center = { x = 0; y = 0; width = 1920; height = 1080; viewDx = 0; viewDy = 0; aspect = 1920/1080; } } RIGHT_MFCD = { x = 1404; y = 1209; width = 443; height = 443; } LEFT_MFCD = { x = 75; y = 1208; width = 430; height = 430; } CMSC_SCREEN = { x = 855; y = 1125; width = 245; height = 245 } CMSP_SCREEN = { x = 1082; y = 1171; width = 267; height = 267; } RWR_SCREEN = { x = 587; y = 1228; width = 200; height = 200 } DIGIT_CLOCK = { x = 487; y = 1919; width = 100; height = 100; } UHF_FREQUENCY_STATUS = { x = 625; y = 1586; width = 145; height = 145; } UHF_PRESET_CHANNEL = { x = 746; y = 1553; width = 35; height = 35; } UHF_REPEATER = { x = 652; y = 1732; width = 117; height = 117; } UIMainView = Viewports.Center My CMSC file dofile(LockOn_Options.common_script_path.."devices_defs.lua") indicator_type = indicator_types.COMMON purposes = {render_purpose.GENERAL, render_purpose.HUD_ONLY_VIEW, render_purpose.SCREENSPACE_OUTSIDE_COCKPIT, render_purpose.SCREENSPACE_INSIDE_COCKPIT} local x_size = 1 local y_size = 1 function update_screenspace_diplacement(zoom_value) local default_width = 0.5 * LockOn_Options.screen.height + (64 * zoom_value) if default_width > LockOn_Options.screen.height then default_width = LockOn_Options.screen.height end if default_width > 0.5 * LockOn_Options.screen.width then default_width = 0.5 * LockOn_Options.screen.width end local default_height = (y_size/x_size) * default_width local default_y = LockOn_Options.screen.height - default_height local default_x = LockOn_Options.screen.width - default_width dedicated_viewport = {default_x,default_y,default_width,default_height} dedicated_viewport_arcade = {default_x, 0 ,default_width,default_height} end update_screenspace_diplacement(0) function set_full_viewport_coverage(viewport) dedicated_viewport = {viewport.x, viewport.y, viewport.width, viewport.height} dedicated_viewport_arcade = dedicated_viewport 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 render_target_always = true end -- try to find assigned viewport local multimonitor_setup_name = "Config/MonitorSetup/"..get_multimonitor_preset_name()..".lua" local env = {} env.screen = LockOn_Options.screen local f = loadfile(multimonitor_setup_name) if f then setfenv(f,env) pcall(f) local vp = nil vp = env.CMSC_SCREEN if vp ~= nil then dbg_print("ok we have directly assigned viewport to MFCD\n") set_full_viewport_coverage(vp) end end opacity_sensitive_materials = { "font_CMS" } -------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.."CMSC/indicator/CMSC_page.lua" ---------------------- pages = {} pages[id_Page.PAGE_MAIN] = {id_pagesubset.MAIN} init_pageID = id_Page.PAGE_MAIN purposes = {render_purpose.GENERAL, render_purpose.HUD_ONLY_VIEW, render_purpose.SCREENSPACE_OUTSIDE_COCKPIT, render_purpose.SCREENSPACE_INSIDE_COCKPIT} In french here : http://www.checksix-forums.com/showpost.php?p=1254763&postcount=117 Edited March 11, 2012 by jakare link added Enjoy you flights:pilotfly: [sIGPIC]http://lh4.ggpht.com/_2nZGbOZAW0k/TMKfgcMUOzI/AAAAAAAADFk/W8Na6FhYNCM/jakare-signature.jpg[/sIGPIC] Link to comment Share on other sites More sharing options...
airdog Posted March 12, 2012 Share Posted March 12, 2012 I'll assume that you are using a 1920x2160 resolution in the ingame gui resolution setting. The biggest issue I see is that your cmsc and cmsp numbers are equal for width and height which is the main issue here it needs to rectangular shape, as in the length should be longer that its height. Loz's profile has a readme that refers to a BMFCD.lua he uses. This by itself would have got you the correct numbers for width and height of all the exports So start by making your width and height numbers match what Loz has in his BMFCD.lua that was included with his profile. After that it is just a matter of adjusting the x and y coordinates to get them into the right position, it looks as if you are close with those numbers Loz's BMFCD.lua below _ = function(p) return p; end; name = _('BMFCD'); Description = 'BMFCD' Viewports = { Center = { x = 0; y = 0; width = 6048; height = 1200; viewDx = 0; viewDy = 0; aspect = 5.04; } } RIGHT_MFCD = { x = 7454; y = 120; width = 445; are equal for width and height height = 445; } LEFT_MFCD = { x = 6115; y = 120; width = 445; height = 445; } CMSC_SCREEN = { x = 6904; y = 141; width = 230; height = 49; } CMSP_SCREEN = { x = 7123; y = 190; width = 270; height = 70; } RWR_SCREEN = { x = 6648; y = 161; width = 175; height = 175; } DIGIT_CLOCK = { x = 6528; y = 830; width = 122; height = 122; } UHF_FREQUENCY_STATUS = { x = 6683; y = 565; width = 120; height = 30; } UHF_PRESET_CHANNEL = { x = 6796; y = 477; width = 30; height = 30; } UHF_REPEATER = { x = 6704; y = 695; width = 110; height = 30; } UIMainView = Viewports.Center 1 Airdog | Asus ROG Strix Z370-E Mobo | i7 8700K @ 4.7 | 32 GB DDR4@3200mhz | Gigabyte 2080Ti OC 11GB| Samsung M.2 960 Evo 250Gb and 500Gb | Win10 Pro | Hotas Warthog #02743 | Track IR 5 | Toshiba 47" 120hz LED | Acer 23" Touchscreen | HELIOS |Oculus Rift-S| http://www.blackknightssquadron.com/ Link to comment Share on other sites More sharing options...
jakare Posted March 12, 2012 Share Posted March 12, 2012 (edited) The problem is solved. Thanks Airdog ; Like you said, I had to change the size of the indicators in the monitor setup file. I had already tried but at thistime ,I dont know why that was not rworking and gave weird results. I surely miss something of. So I thought it came from elsewhere. After your answer, I tried again and it worked. Now everything is working properly. Edited March 12, 2012 by jakare Enjoy you flights:pilotfly: [sIGPIC]http://lh4.ggpht.com/_2nZGbOZAW0k/TMKfgcMUOzI/AAAAAAAADFk/W8Na6FhYNCM/jakare-signature.jpg[/sIGPIC] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now