Jump to content

Recommended Posts

Posted

I've got 3 MFDs along with my main monitor.   My Lua file is as follows:

 

_  = function(p) return p; end;
name = _('3 mfds');


Viewports = 
{
Center = 
{
x = 0;
y = 0;
width = 5120;
height = 2160;
viewDx = 0;
viewDy = 0;
aspect = 5120/2160;
}
}
    
LEFT_MFCD = 
{
x = 5195;
y = 0;
width = 640;
height = 600;
}
        
    
RIGHT_MFCD =
{
x = 6000;
y = 0;
width = 640;
height = 600;
}

CENTER_MFCD =
{
X = 6805;
Y = 0;
width = 640;
height = 600;
}

TEDAC =
{
x = 6805;
y = 0;
width = 640;
height = 600;
}
 

 

When I'm flying the Apache the TEDAC shows up on the center MFD with no problem, but when I hop into the F-18, the center MFD is blank and the AMPCD shows up in the upper left hand corner of my main monitor.    Do I have to edit a file in the F-18 in order to export it to the MFD?   I was under the impression it would automatically detect the center MFD and that would be that.   At any rate, would appreciate any guidance.   Thanks!

Posted (edited)

I suspect that the issue is caused by having the same coordinates and sizes for CENTER_MFCD and TEDAC. You should probably use separate files for Hornet and Apache resp. That's what I do anyway.

The other thing I noticed is, you don't seem to have a line like "UIMainView = Viewports.Center". When I omit that line, the UI main view extends over all monitors. However, it does not affect display of the AMPCD.

Edited by LeCuvier

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Posted
9 hours ago, IanC58 said:

Only thing i can see is that you have have your CENTER_MFCD x and y in capitals not lower case?

Yep, you nailed it.    I probably never would have noticed that if you hadn't brought it to my attention.   I owe you one!

  • Recently Browsing   0 members

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