Hawkeye60 Posted May 8, 2016 Posted May 8, 2016 I thought I would see if I could export the nadir display to my second liliput monitor and it works! Just wanted to use the the extra screen space. To do this, go to mods\aircraft\sa342\cockpit\nadir\init,lua and add dofile(LockOn_Options.common_script_path.."ViewportHandling.lua") try_find_assigned_viewport("NADIR") at end of file.Then make a viewport in monitor config lua for Nadir NADIR = { x = 10; y = 1100; width = 540; height = 540; } Your Position and size may vary. I need to adjust both slightly. I now have both tv and nadir exported. Think I'll try the radar. Enjoy, Greg 1 "Yeah, and though I work in the valley of Death, I will fear no Evil. For where there is one, there is always three. I preparest my aircraft to receive the Iron that will be delivered in the presence of my enemies. Thy ALCM and JDAM they comfort me. Power was given unto the aircrew to make peace upon the world by way of the sword. And when the call went out, Behold the "Sword of Stealth". And his name was Death. And Hell followed him. For the day of wrath has come and no mercy shall be given."
Mt5_Roie Posted May 8, 2016 Posted May 8, 2016 Very cool. I might have to get my old USB monitors out to use for this. Coder - Oculus Rift Guy - Court Jester
BaD CrC Posted May 9, 2016 Posted May 9, 2016 Brilliant! I wish captain Zeen will take the gazelle as his next helios cockpit project once he finishes the huey. Having a standalone nadir will also be awesome. https://www.blacksharkden.com http://discord.gg/blacksharkden
uboats Posted May 9, 2016 Posted May 9, 2016 Hope this export can be added officially. Sent from my iPhone using Tapatalk [sIGPIC][/sIGPIC] My DCS Mods, Skins, Utilities and Scripts | Windows 10 | i7-4790K | GTX 980Ti Hybrid | 32GB RAM | 3TB SSD | | TM Warthog Stick | CH Pro Throttle + Pro Pedal | TIR5 Pro | TM MFD Cougar | Gun Camera: PrtScn |
Scooternutz Posted May 9, 2016 Posted May 9, 2016 Brilliant! I wish captain Zeen will take the gazelle as his next helios cockpit project once he finishes the huey. Having a standalone nadir will also be awesome. I concur! [sIGPIC]https://drive.google.com/file/d/16rUBmmJR7A3YGZVGPGskxG1XtvulGojJ/view?usp=sharing[/sIGPIC]
LiveBait Posted May 22, 2016 Posted May 22, 2016 Thanks for the info Hawkeye. I couldnt get the Nadir or the radios to export, then i found the culprit: "Viewpor tHandling.lua"
Hawkeye60 Posted May 23, 2016 Author Posted May 23, 2016 This seems to be a common problem on this forum, the adding of spaces in the middle of words. I've seen it a number of other times, with the space in the same spot! The text I used for the command was a cut and paste from a working file. Good catch! "Yeah, and though I work in the valley of Death, I will fear no Evil. For where there is one, there is always three. I preparest my aircraft to receive the Iron that will be delivered in the presence of my enemies. Thy ALCM and JDAM they comfort me. Power was given unto the aircrew to make peace upon the world by way of the sword. And when the call went out, Behold the "Sword of Stealth". And his name was Death. And Hell followed him. For the day of wrath has come and no mercy shall be given."
Ligeti Posted May 24, 2016 Posted May 24, 2016 Will give this a try thanks. Has anyone had any luck with the multiple monitors options in DCS? I have two screens but can never get anything to work on my second screen.
Whisper Posted May 24, 2016 Posted May 24, 2016 I tried a similar thing for the RWR, no cigar :( Has anyone been able to export RWR? Whisper of old OFP & C6 forums, now Kalbuth. Specs : i7 6700K / MSI 1070 / 32G RAM / SSD / Rift S / Virpil MongooseT50 / Virpil T50 CM2 Throttle / MFG Crosswind. All but Viggen, Yak52 & F16
Mt5_Roie Posted May 27, 2016 Posted May 27, 2016 Can you share how you got your TV to export? I found my two 7" USB monitors and want to set one up for the TV and one for the NADIR.... I will add these exports to our list of enchacements as well to make it easier in the future. I thought I would see if I could export the nadir display to my second liliput monitor and it works! Just wanted to use the the extra screen space. To do this, go to mods\aircraft\sa342\cockpit\nadir\init,lua and add dofile(LockOn_Options.common_script_path.."ViewportHandling.lua") try_find_assigned_viewport("NADIR") at end of file.Then make a viewport in monitor config lua for Nadir NADIR = { x = 10; y = 1100; width = 540; height = 540; } Your Position and size may vary. I need to adjust both slightly. I now have both tv and nadir exported. Think I'll try the radar. Enjoy, Greg Coder - Oculus Rift Guy - Court Jester
Hawkeye60 Posted May 28, 2016 Author Posted May 28, 2016 Hi, Add this to the bottom of the tv init.lua dofile(LockOn_Options.common_script_path.."ViewportHandling.lua") try_find_assigned_viewport("SA342_TV") Then create the viewport in your monitor config called SA324_TV. I find that both NADIR and RWR on same screen works well, Just turn down the NADIR and/or RWR brightness when needed. I also assigned all the NADIR controls to the cougar mfd's and have a working NADIR at hand. Enjoy, Can't wait for more weapons, Perhaps next week? "Yeah, and though I work in the valley of Death, I will fear no Evil. For where there is one, there is always three. I preparest my aircraft to receive the Iron that will be delivered in the presence of my enemies. Thy ALCM and JDAM they comfort me. Power was given unto the aircrew to make peace upon the world by way of the sword. And when the call went out, Behold the "Sword of Stealth". And his name was Death. And Hell followed him. For the day of wrath has come and no mercy shall be given."
Hawkeye60 Posted May 28, 2016 Author Posted May 28, 2016 "Has anyone been able to export RWR? " Add this to the bottom of the RWR init.lua file, indicator_type = indicator_types.COMMON purposes = {render_purpose.GENERAL} dofile(LockOn_Options.common_script_path.."ViewportHandling.lua") try_find_assigned_viewport("GazelleRWR") Then, make the view port in the monitor config file for GazelleRWR. If you have any trouble I'll try to help. Have Fun! "Yeah, and though I work in the valley of Death, I will fear no Evil. For where there is one, there is always three. I preparest my aircraft to receive the Iron that will be delivered in the presence of my enemies. Thy ALCM and JDAM they comfort me. Power was given unto the aircrew to make peace upon the world by way of the sword. And when the call went out, Behold the "Sword of Stealth". And his name was Death. And Hell followed him. For the day of wrath has come and no mercy shall be given."
Hawkeye60 Posted May 28, 2016 Author Posted May 28, 2016 Just a note, the code above has been altered by a added space in "ViewportHandling" between the r and t, and will not work with it there. I do know the text was fine in the preview window before it was submitted. Just remove the space if you cut and paste. "Yeah, and though I work in the valley of Death, I will fear no Evil. For where there is one, there is always three. I preparest my aircraft to receive the Iron that will be delivered in the presence of my enemies. Thy ALCM and JDAM they comfort me. Power was given unto the aircrew to make peace upon the world by way of the sword. And when the call went out, Behold the "Sword of Stealth". And his name was Death. And Hell followed him. For the day of wrath has come and no mercy shall be given."
Mt5_Roie Posted May 28, 2016 Posted May 28, 2016 (edited) Ah...I have TV thinking it would work. Will try SA342_TV tomorrow and test it out. As for weapons....I'm playing with them now making sure they work nice and well. So we'll say Soon™ Hi, Add this to the bottom of the tv init.lua dofile(LockOn_Options.common_script_path.."ViewportHandling.lua") try_find_assigned_viewport("SA342_TV") Then create the viewport in your monitor config called SA324_TV. I find that both NADIR and RWR on same screen works well, Just turn down the NADIR and/or RWR brightness when needed. I also assigned all the NADIR controls to the cougar mfd's and have a working NADIR at hand. Enjoy, Can't wait for more weapons, Perhaps next week? Edited May 28, 2016 by Mt5_Roie Coder - Oculus Rift Guy - Court Jester
Mt5_Roie Posted May 28, 2016 Posted May 28, 2016 So got it working somewhat...I can export it to my main screen ok. But having issues getting it to USB monitors. Wasn't sure it was Gazelle related so posed about it in another thread: http://forums.eagle.ru/showpost.php?p=2793450&postcount=1 Coder - Oculus Rift Guy - Court Jester
Whisper Posted May 29, 2016 Posted May 29, 2016 "Has anyone been able to export RWR? " Add this to the bottom of the RWR init.lua file, indicator_type = indicator_types.COMMON purposes = {render_purpose.GENERAL} dofile(LockOn_Options.common_script_path.."ViewportHandling.lua") try_find_assigned_viewport("GazelleRWR") Then, make the view port in the monitor config file for GazelleRWR. If you have any trouble I'll try to help. Have Fun! Dammit, I missed your answer! More lines to add than NADIR, I didn't think bout the usual ones.... Thanks a ton, gotta test that asap. Whisper of old OFP & C6 forums, now Kalbuth. Specs : i7 6700K / MSI 1070 / 32G RAM / SSD / Rift S / Virpil MongooseT50 / Virpil T50 CM2 Throttle / MFG Crosswind. All but Viggen, Yak52 & F16
San Patricio Posted June 10, 2016 Posted June 10, 2016 By monitor config file, do you mean the one in Config/MonitorSetup? I tried adding the Nadir to the file I use there for my two 8'" Liliputs but it doesn't seem to be working. Do I need to add the port in the ViewportHandling.lua as well?
Hawkeye60 Posted June 11, 2016 Author Posted June 11, 2016 You only need to make a viewport in the monitor config file in dcsworld\config\monitorsetup Make sure the name of the viewport matches the name given in the NADIR init.lua file. Hope this helps. "Yeah, and though I work in the valley of Death, I will fear no Evil. For where there is one, there is always three. I preparest my aircraft to receive the Iron that will be delivered in the presence of my enemies. Thy ALCM and JDAM they comfort me. Power was given unto the aircrew to make peace upon the world by way of the sword. And when the call went out, Behold the "Sword of Stealth". And his name was Death. And Hell followed him. For the day of wrath has come and no mercy shall be given."
Capt Zeen Posted September 1, 2016 Posted September 1, 2016 Brilliant! I wish captain Zeen will take the gazelle as his next helios cockpit project once he finishes the huey. Having a standalone nadir will also be awesome. :music_whistling: Capt_Zeen_HELIOS PROFILES_WEBSITE Capt_Zeen_Youtube Channel
molevitch Posted September 1, 2016 Posted September 1, 2016 :megalol::megalol::doh: SCAN Intel Core i9 10850K "Comet Lake", 32GB DDR4, 10GB NVIDIA RTX 3080, HP Reverb G2. Custom Mi-24 pit with magnetic braked cyclic and collective. See it here: Molevitch Mi-24 Pit. [sIGPIC][/sIGPIC] www.blacksharkden.com
BaD CrC Posted September 1, 2016 Posted September 1, 2016 (edited) :music_whistling: What the......:huh: This looks like almost finished. I am dying right now..... Edited September 1, 2016 by BaD CrC https://www.blacksharkden.com http://discord.gg/blacksharkden
Home Fries Posted September 29, 2016 Posted September 29, 2016 (edited) A few more exports to add to the list: SA342L/Mistral Weapons Panel: Mods\aircraft\SA342\Cockpit\WP1\init.lua add the following lines to the end of the file: dofile(LockOn_Options.common_script_path.."ViewportHandling.lua") try_find_assigned_viewport("SA342_WP1")I use the dimensions 408x60 to give an idea of the proper aspect ratio UHF Radio: Mods\aircraft\SA342\Cockpit\Radio\Indicator\UHF\init.lua dofile(LockOn_Options.common_script_path.."ViewportHandling.lua") try_find_assigned_viewport("SA342_UHF")VHF FM Radio: Mods\aircraft\SA342\Cockpit\Radio\Indicator\FM\init.lua dofile(LockOn_Options.common_script_path.."ViewportHandling.lua") try_find_assigned_viewport("SA342_FM")I use dimensions of 408x80 for both radios. The UHF radio is particularly useful if you map the number keys to your keyboard (I use a modifier with them) because you can enter frequencies without having to look under the collective. Now if only I could find a way to display the Rocket/Cannon lights in the L... Edited September 29, 2016 by Home Fries -Home Fries My DCS Files and Skins My DCS TARGET Profile for Cougar or Warthog and MFDs F-14B LANTIRN Guide
Recommended Posts