RodBorza Posted June 8, 2020 Posted June 8, 2020 Hello all! I'm doing some training missions for landings and ground attack, in different atmosferic conditions. Since I'm starting in the air, the barometric pressure on the aircfat is not correctly set, and will always show a different altitude than the real one I'm flying. I would like to start the mission with the barometric pressure set to the correct value on the aircraft altimeter. I know there are the commands X: Cockpit Parameters in the mission editor, but they don't make sense to me (there must be a table somewhere that liststhem all and which does what). It is one way. Is there any other way to do it? This is an amazing sim! 'Nuff said!:pilotfly: YouTube: SloppyDog
RodBorza Posted June 8, 2020 Author Posted June 8, 2020 Answering my own question: Found this old thread. Evil-Bivol answer gives you the list by aircraft. In the case of the P-47D the list stays at: C:\Program Files\Eagle Dynamics\DCS World OpenBeta\Mods\aircraft\P-47D-30\Cockpit\Scripts The file is clickableadata.lua Open it with Notepad ++. This is an amazing sim! 'Nuff said!:pilotfly: YouTube: SloppyDog
RodBorza Posted June 8, 2020 Author Posted June 8, 2020 Found it! Mainpanel_init.lua AltimeterSetPressure = CreateGauge() AltimeterSetPressure.arg_number = 21 AltimeterSetPressure.input = {28.1, 31.0} AltimeterSetPressure.output = {0.0, 1.0} AltimeterSetPressure.controller = controllers.AltimeterSetPressure This is an amazing sim! 'Nuff said!:pilotfly: YouTube: SloppyDog
Rudel_chw Posted June 8, 2020 Posted June 8, 2020 Rather than having to modify one of the aircraft's lua files, why dont you just tell the pilot to set the altimeter to the value you need? It would be just an additional step on the training sylabus and the training would be more complete. For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra For Gaming: 34" Monitor - Ryzen 3600 - 32 GB DDR4 2400 - nVidia RTX2080 - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar Mobile: iPad Pro 12.9" of 256 GB
Recommended Posts