Jump to content

Monitor.lua multiple aircraft


Dachs
 Share

Recommended Posts

In the Open Beta and Open Alpha 3Cameras.lua file, there is a section talking about having different viewport configurations for each aircraft type.

Has anyone gotten this to work, and are willing to share an example with three aircraft or so?

 

Snippet from the .lua in question

for reconfigure viewports setup for each unit type independently you can declare here function

 

function reconfigure_for_unit(unit_type) --unit type is string with unit name

if unit_type == "A-10C" then

 

Viewports = ... define new Viewports table

-- also you can define cockpit displays viewports here

RIGHT_MFCD = ... define new RIGHT_MFCD viewport

 

else

Viewports = ... define default for others

RIGHT_MFCD = nil -- remove for others

end

end

System: Asus z270 A Prime, Intel i7-7700K 4.8GHz, 32GB DDR4, RTX2080, Samsung 500GB 850 EVO SSD.

Valve Index VR, TM Warthog Throttle & Grip, Virpil MongoosT-50CM2 base, TM TPDR Rudders.

OS: Win10 Home

 

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...