deaconjb Posted December 10, 2013 Posted December 10, 2013 I'm still running V 1.2.5.16508 and found to get my gauges, rwr, etc to export, the monitor.lua needed to have these names. I made them BOLD. Mine works great now. _ = function(p) return p; end; name = _('New'); Description = 'New' Viewports = { Center = { x = 0; y = 0; width = 1920; height = 1080; viewDx = 0; viewDy = 0; aspect = 1.77777777777778; } } RIGHT_MFCD = { x = 3330; y = 120; width = 450; height = 450; } LEFT_MFCD = { x = 1980; y = 120; width = 450; height = 450; } DIGIT_CLOCK = { x = 2400; y = 828; width = 122; height = 122; } CMSP_SCREEN = { x = 2995; y = 200; width = 270; height = 60; } CMSC_SCREEN = { x = 2776; y = 141; width = 230; height = 49; } UHF_REPEATER = { x = 2565; y = 692; width = 140; height = 40; } RWR_SCREEN = { x = 2530; y = 170; width = 155; height = 155; } UIMainView = Viewports.Center [sIGPIC][/sIGPIC]
nebuluski Posted December 20, 2013 Posted December 20, 2013 1.2.7 Having problems with getting this to work for 1.2.7 OpenBeta. Any ideas? Rig: MSI Mag X570 Tomahawk| AMD 5600 | 32 GB DDR3 | M2 NVME Gen4 1TB SSD | Samsung EVo 850 2TB, 500 & 256 GB SSD | Gigabyte AORUS GTX 1080Ti | Samsung 24" (1920x1200) | 2 x Iiyama 22" T2250MTS touch screen (1920x1080) | 2 x 6.4" LCD | Cougar MFDs | Thrustmaster Warthog | CH Pro Pedals | Windows 10 [sIGPIC][/sIGPIC]
deaconjb Posted December 20, 2013 Posted December 20, 2013 I'm still using 1.2.5 so no help here. [sIGPIC][/sIGPIC]
vicvega Posted January 26, 2014 Posted January 26, 2014 Hi all, Quick question concerning all these sentences,lines written in red or green in the lua scripts: when copy pasting lua files from other users, do you have to keep those aswell or can u delete them?
IvanTehFennec Posted February 1, 2014 Posted February 1, 2014 Alright, so I'm using three monitors, 2 1280x1024's on either side of my main monitor, which is 1920x1080. I want to get DCS to display the main cockpit on my main monitor, and have the guages off to the left, while leaving the right intact. My current monitorsetup file is this, however keep in mind that I'm troubleshooting with it, and the settings are just to get it to center my main display. _ = function(p) return p; end; name = _('3 Screen'); Description = 'Configuration with 3 identical monitors each with its own camera' Viewports = { Center = { x = 640; y = 0; width = 1920; height = 1080; viewDx = 0; viewDy = 0; aspect = 16 / 9; } } LEFT_MFCD = { x = 0; y = 0; width = 400; height = 400; } RIGHT_MFCD = { x = 0; y = 451; width = 400; height = 400; } CDU_SCREEN = { x = 405; y = 0; width = 450; height = 335; } UIMainView = Viewports.Center The current issue is that when I set it to the proper resolution of 4480x1080, it blacks out all my monitors (as expected), and displays my exported guages on the left monitor. When I try and set the resolution to 3200x1080, my main + left, it lops off a third of both my side monitors. This isn't what I want at all. How do I fix this?
Ratcatcher Posted February 10, 2014 Posted February 10, 2014 Sighhhhhhhhhhhhhhhhhhhhhhhhh. Yesterday all my exported indicators were where I wanted them...today ( following a small patch ) they are now back at default settings! I have checked my monitor.lau and its loading the correct one in the menu. Any ideas whats changed? ( I wouldn't mind so much but its just taken me about a week to get the damn things working were I want them! ) :wallbash: Techlabs Chameleon Watercooled Gaming PC - Intel Core i7 6700K @ 4.7GHz : Samsung 950 Pro 256GB SSD, Samsung 500 gig SSD, Seagate 1TB 7200RPM Drive : MSI GeForce GTX 1080 "Founders Edition" 8192MB : 800W '80 Plus Gold' Modular Power Supply : 32GB (2x16GB) DDR4 PC4-25600C16 3200MHz : Occulus Rift S : TM Warthog : MFG Crosswind V2 : Win 10 64. PointCTRL.
Mick F Posted February 10, 2014 Posted February 10, 2014 It looks like they've released updated versions of luas in Mods/aircrafts/A-10C/Cockpit/Scripts. I've compared the versions with my backup from the last update and nothing seems to have changed in the init.luas for: AN_ALR69V CMSC CMSP DigitalClock UHF_Radio which are all the ones I have exported. Easiest way to get the exportable ones back is from Easy Monitor Configurator.
Ratcatcher Posted February 10, 2014 Posted February 10, 2014 Thanks Mick I will take a look tomorrow. Cheers Techlabs Chameleon Watercooled Gaming PC - Intel Core i7 6700K @ 4.7GHz : Samsung 950 Pro 256GB SSD, Samsung 500 gig SSD, Seagate 1TB 7200RPM Drive : MSI GeForce GTX 1080 "Founders Edition" 8192MB : 800W '80 Plus Gold' Modular Power Supply : 32GB (2x16GB) DDR4 PC4-25600C16 3200MHz : Occulus Rift S : TM Warthog : MFG Crosswind V2 : Win 10 64. PointCTRL.
Ratcatcher Posted February 11, 2014 Posted February 11, 2014 Well this is very strange ( as is always the case with anything to do with DCS lol )... I have just amended my monitor.lua and renamed the viewports as per deaconjb's post on page 48. I have amended all the ones on his list, saved and loaded it and the 2 MFD's are now back on my fourth monitor ( and in the right positions I left them ) but all the other indicators are still missing! MickF, could you post your Export.lua please? So I can see what your naming the indicators. This is what I have at the moment that gives me 2 MFD's but no more...( please note its now a mish mash of the old naming conventions and the one I took from deaconjb's, neither of which are working ) _ = function(p) return p; end; name = _('HELIOS_Ver2'); Description = 'HELIOS setup' Viewports = { Center = { x = 0; y = 0; width = 5040; height = 1050; viewDx = 0; viewDy = 0; aspect = 5.04; } } CDU_EXPORT = { x = 6423; y = 733; width = 280; height = 180; } LEFT_MFCD = { x = 5105; y = 145; width = 380; height = 380; } RIGHT_MFCD = { x = 6265; y = 145; width = 380; height = 380; } DIGIT_CLOCK = { x = 5456; y = 809; width = 100; height = 100; } RWR_SCREEN = { x = 5536; y = 141; width = 200; height = 200; } CMSP_SCREEN = { x = 5980; y = 182; width = 236; height = 47; } CMSC_SCREEN = { x = 5784; y = 139; width = 218; height = 34; } ED_A10C_UHF_FREQUENCY_STATUS = { x = 5609; y = 671; width = 120; height = 33; } ED_A10C_UHF_PRESET_CHANNEL = { x = 5693; y = 466; width = 30; height = 27; } UHF_REPEATER = { x = 5599; y = 540; width = 110; height = 28; } Gui = { x = screen.width / 3; y = 0; width = screen.width / 3; height = screen.height; } UIMainView = Gui UIMainView = Viewports.Center Techlabs Chameleon Watercooled Gaming PC - Intel Core i7 6700K @ 4.7GHz : Samsung 950 Pro 256GB SSD, Samsung 500 gig SSD, Seagate 1TB 7200RPM Drive : MSI GeForce GTX 1080 "Founders Edition" 8192MB : 800W '80 Plus Gold' Modular Power Supply : 32GB (2x16GB) DDR4 PC4-25600C16 3200MHz : Occulus Rift S : TM Warthog : MFG Crosswind V2 : Win 10 64. PointCTRL.
docfu Posted February 12, 2014 Posted February 12, 2014 Is it possible to have the MFD's draw twice? I have them small due to the Thrustmaster MFD's but if I could have an extra copy drawn twice as large(plenty of space for it) that would be nice...
Ratcatcher Posted February 12, 2014 Posted February 12, 2014 Hey MickF, Thanks again for the suggestion to use EMC, worked like a dream this time! All exports back to the correct positions! Just have to re run Peters great clcikable menu prog to get that where I need it and I'm sorted! Cheers P.S Sorry docfu, no idea about the double draw question. Techlabs Chameleon Watercooled Gaming PC - Intel Core i7 6700K @ 4.7GHz : Samsung 950 Pro 256GB SSD, Samsung 500 gig SSD, Seagate 1TB 7200RPM Drive : MSI GeForce GTX 1080 "Founders Edition" 8192MB : 800W '80 Plus Gold' Modular Power Supply : 32GB (2x16GB) DDR4 PC4-25600C16 3200MHz : Occulus Rift S : TM Warthog : MFG Crosswind V2 : Win 10 64. PointCTRL.
Mick F Posted February 19, 2014 Posted February 19, 2014 Just caught up on this. Glad I could help! 1
LoneMerc Posted March 17, 2014 Posted March 17, 2014 Still reading posts but trying to get this to work for me. I got a problem with the instructions as follows: Here is the way to do that : - First go to S:\DCS A-10C\Scripts\Aircrafts\A-10C\Cockpit - Then go to the indicator folder you want to use (Eg : AN_ALR69V\indicator - then open the init.lua file of your indicator (Eg : AN_ALR69V_init.lua here) - find this line : Problem That directory as is does not exist for me I can find that files under: E:\Program Files (x86)\Steam\SteamApps\common\DCSWorld\Scripts\Aircrafts\_Common\Cockpit There is no reference to A-10C directory in aircrafts, I tried it anyway but not working not sure if wrong file or I still have another issue. I have further issues with the instructions but until I get answer on this Im stuck. any help appreciated
Loz Posted March 17, 2014 Posted March 17, 2014 This is where mine is ""\Program Files\Eagle Dynamics\DCS World\Mods\aircrafts\Cockpit\Scripts\AN_ALR69V\indicator good luck 1 i9 9900x at 5.1 Ghz // ASUS ROG Maximus XI Formula EK Bloc // 64Gb Corsair Vengence 3600Mhz DDR4 Ram // Gigabyte Aorus 3090 Watercooled block//Samsung SM951 M2 x4 SSD // Windows 10 64 Bit //48inch LG48 @ 3840x2160 120Hz//Asus ROG Swift PG35VQ 3440 x 14440 144Hz // TM Warthog HOTAS (Ser. No. 00836) //MFG Crosswind Pedals // TrackIR 5 //Varjo Aero An old pilot is one who remembers when flying was dangerous and sex was safe. My YouTube DCS World Four Screen Videos
LoneMerc Posted March 17, 2014 Posted March 17, 2014 (edited) This is where mine is ""\Program Files\Eagle Dynamics\DCS World\Mods\aircrafts\Cockpit\Scripts\AN_ALR69V\indicator good luck Yep there they are thank you! Okay now next set of unclear items. Per post 1 instructions I am to copy that code supplied into that lua after that certain line. 1. Code looks like maybe possibly 2 parts? am I to use all of it or just the half I need? 2. To be clear this code gets pasted into each indicator file I want displayed? and the only thing different is the name reference at the bottom for each indicator code? 3. Do I use the lua files in the game or use the lua files supplied by Loz SM V2.1 and copy them over? Why do we have these indicator files with the profile? Should I have placed them elsewhere already? right now they in the helios directory. Help appreciated! Edited March 17, 2014 by LoneMerc
OverDhill Posted November 20, 2014 Posted November 20, 2014 Is there any chance something like this could be done with the P-51?
Banjo Posted November 29, 2014 Posted November 29, 2014 (edited) Troubleshooting I recently discovered this thread and decided to start setting up a new monitorconfig.lua file with Left + Right MFCD, RWR, and CDU. So far setting up the .lua file to include both MFCD's works fine although adding the other indicators such as CDU and RWR are not working out so well. Here is an image of how it appears ingame - The left + Right MFCD's are in their correct positions and I have no issue with them, but the CDU is in the wrong position and altering it's x/y values does not seem to affect it's position. And finally the RWR is appearing on the main display being used for the cockpit and it is appearing in the very upper left corner at a very small size instead of on the second display, again the x/y values do not seem to affect it's position. I'm not sure if I missed a step or simply made an error but if anyone has any input as to how to correct this issue it would be appreciated. Here is the monitorconfig.lua file I created - http://www.mediafire.com/download/q8kik85j39o1xja/2_Monitor_Display_Alt.rar Running this on a 1920x1080 montior for the cockpit view and a 1600x900 monitor for the exported indicators. Combined resolution of 3520x1080 Edited November 29, 2014 by Banjo
Treudd Posted December 17, 2014 Posted December 17, 2014 The left + Right MFCD's are in their correct positions and I have no issue with them, but the CDU is in the wrong position and altering it's x/y values does not seem to affect it's position. And finally the RWR is appearing on the main display being used for the cockpit and it is appearing in the very upper left corner at a very small size instead of on the second display, again the x/y values do not seem to affect it's position. I experience the same problems after setting up instrument export. Right and left MFCD are positioned correctly. Also the RWR seems to be positioned accordning to the monitor lua. Everything else is on the far right, top corner. Here is my monitor setup. Copied from PeterP files here at the forum. _ = function(p) return p; end; name = _('A-10 Touch'); Description = 'A-10 Touch' Viewports = { Center = { x = 1920; y = 0; width = 1920*2; height = screen.height; viewDx = 0; viewDy = 0; aspect = 3840/1080; } } GUI = { x = 0; y = 0; width = 1920; height = 1080; } UIMainView = Center LEFT_MFCD = { x = 60; y = 120; width = 445; height = 445; } RIGHT_MFCD = { x = 1415; y = 120; width = 445; height = 445; } DIGIT_CLOCK = { x = 0; y = 0; width = 122; height = 122; } RWR_SCREEN = { x = 600; y = 161; width = 175; height = 175; } CMSP_SCREEN = { x = 1075; y = 190; width = 270; height = 70; } CMSC_SCREEN = { x = 856; y = 141; width = 230; height = 49; } UHF_FREQUENCY_STATUS = { x = 748; y = 161; width = 120; height = 30; } UHF_PRESET_CHANNEL = { x = 748; y = 447; width = 30; height = 30; } UHF_REPEATER = { x = 656; y = 695; width = 110; height = 30; } Here is my viewporthandling local x0 = 0 local w0 = 0.5 * LockOn_Options.screen.height if LockOn_Options.screen.oculus_rift then w0 = 0.4 * LockOn_Options.screen.height x0 = 0.18 * LockOn_Options.screen.width end -- 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 = w0 + (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 - x0 if is_left then default_x = x0 end dedicated_viewport = {default_x,default_y,default_width,default_height} dedicated_viewport_arcade = {default_x, 0 ,default_width,default_height} end function make_viewport(aspect,is_left,is_top,default_width,zoom_value) local aspect = aspect or 1 local zoom_value = zoom_value or 0 local default_width = default_width or w0 default_width = default_width + (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 - x0 if is_left then default_x = x0 end if is_top then default_y = 0 end return {default_x,default_y,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 viewport = find_viewport(exactly_name) or find_viewport(abstract_name) if viewport then set_full_viewport_coverage(viewport) end end My screen setup is: One monitor (left, starting at 0,0) Two projectors (center and right) So they are positioned as 3x1 row. I'm running Windows 8.1 and DCS 1.2.12 Any help is appreciated! [sIGPIC][/sIGPIC]
Treudd Posted December 20, 2014 Posted December 20, 2014 Problem solved for me. With the PeterP viewporthandling it is assumed you have the monitorsetup.lua in the correct place (i.e. in a the Config/Monitorsetup/youLuafile.lua) So the problem for me was solved by placing the file here instead in under the Saved Games folder. [sIGPIC][/sIGPIC]
DaveofDefeat Posted February 6, 2015 Posted February 6, 2015 Is it possible to do this with the mig-21's RWR? It does not seem to have an indicator file.
regiregi22 Posted March 23, 2015 Posted March 23, 2015 (edited) I am trying this method, and while left and right MFCD work as expected, I can't make the RWR to work. My DCS World version is the latest update, 1.2.16.37730. I just edited the file with the viewport as shown in the first post, but no joy. The place where it should be is just a black square. Does this method still work for anyone with the last DCS version? This is my lua file: _ = function(p) return p; end; name = _('Regi both MFCD right screen'); Description = 'Camara en el grande, dos MFCD en el pequeño' Viewports = { Center = { x = 0; y = 0; width = 2560; height = 1440; viewDx = 0; viewDy = 0; aspect = 1.7; } } RWR_SCREEN = { x = 2560; y = 192; width = 640; height = 640; } RIGHT_MFCD = { x = 3200; y = 192; width = 640; height = 640; } UIMainView = Viewports.Center Edited March 23, 2015 by regiregi22 Hey there! I am using WhatsApp.
regiregi22 Posted March 23, 2015 Posted March 23, 2015 Not working for me Admin: Please delete this post. Hey there! I am using WhatsApp.
Home Fries Posted May 11, 2015 Posted May 11, 2015 (edited) New exports released for 1.2.16 Hi everybody, A while back, I received permission from PeterP to update some of his mods for later DCS versions, and I have recently updated the instrument exports to be compatible with DCS World 1.2.16. For example, the legacy code only looks for MonitorSetup lua files in the DCS World install folder (and not Saved Games\DCS), and with the function reconfigure_for_unit(unit_type) available in the MonitorSetup lua file, there is no longer a need for unique identifiers for each device across separate aircraft. My updates also reduce the number of modified datafiles. The module is JSGME compatible, and is available on the DCS site. I look forward to any feedback. Edited May 12, 2015 by Home Fries File now available on DCS site. -Home Fries My DCS Files and Skins My DCS TARGET Profile for Cougar or Warthog and MFDs F-14B LANTIRN Guide
slowhand Posted May 12, 2015 Posted May 12, 2015 Very Cool and a :thumbup:BIG THX to you Both.. [sIGPIC][/sIGPIC] SMOKE'M:smoke: IF YA GOT'M!:gun_rifle: H2o Cooler I7 9700k GA 390x MB Win 10 pro Evga RTX 2070 8Gig DD5 32 Gig Corsair Vengence, 2T SSD. TM.Warthog:joystick: :punk:, CV-1:matrix:,3x23" monitors, Tm MFD's, Saitek pro rudders wrapped up in 2 sheets of plywood:megalol:
Recommended Posts