Jump to content

Recommended Posts

Posted

Hey all. I am trying to export my MFDs to external 800X600 screens. I can do it on a universal manner. But lets say I fit it for the A10, then jump in the AV8 or another plane, the MFDs sizing just doesnt seem right. Do I have to make a separate .lua file for each and every plane for it to fit properly? I don't want to me in a multi player server, then change aircraft and having to exit to main screen, change the lua monitor setup then join the multiplayer server again each and every time. I am guessing that each module has its own name for the MFD and I can put all of them into one LUA file. If they are all called LEFT_MFCD I guess I'm screwed huh

  • 2 weeks later...
Posted

I'm also pretty surprised nobody has answered this. Either you CAN hack the various planes' view definitions to have different named viewports or you can't (at least not without triggering cheating detection.) Seems like someone would have figured this out long ago?

Posted (edited)

Chief. I had same trouble too.

 

I needed to give a different name for Harrier's MFDs to display them with different size on other monitor(s).

 

So, first, I edited MPCD_init.lua in "...\Mods\aircraft\AV8BNA\Cockpit\MPCD\indicator" folder.

(Note: Integrity Check may be a problem because of this editing.)

 

See line #12.

I replace it as this:

 

if monitorpos == 'R' then
try_find_assigned_viewport("RIGHT_MPCDR") -- orig: "RIGHT_MFCD"
else 
try_find_assigned_viewport("LEFT_MPCDL") -- orig: "LEFT_MFCD"
end

 

Now, I can enter specific values to display Harrier MFDs on my 2nd monitor, in "...\Config\MonitorSetup\mysetup.lua".

 

(This code is a part of my lua file, not whole file and values are according to my monitors.)

 

-------------------------
-- GENERAL MFD DISPLAY --
-------------------------

LEFT_MFCD =
{
    x = 1970; -- LMFCD start pos.
    y = 333; -- LMFCD pos from top.
    width = 383;
    height = 388;
}

RIGHT_MFCD =
{
    x = 2443; -- RMFCD start pos.
    y = 333; -- RMFCD pos from top.
    width = 385;
    height = 383;
}

CENTER_MFCD =
{
    x = 2862; -- CMFCD start pos.
    y = 300; -- CMFCD pos from top.
    width = 434;
    height = 434;
}

------------------------
-- FOR AV8-NA HARRIER --
------------------------

LEFT_MPCDL =
{
    x = 1980; -- LMFCD start pos.
    y = 343; -- LMFCD pos from top.
    width = 366;
    height = 366;
}

RIGHT_MPCDR =
{
    x = 2452; -- RMFCD start pos.
    y = 343; -- RMFCD pos from top.
    width = 364;
    height = 364;
}

Edited by Devrim

Intel i7-14700@5.6GHz | MSI RTX4080 SuperSuprimX | Corsair V. 64GB@6400MHz. | Samsung 1TB 990 PRO SSD (Win10Homex64)
Samsung G5 32" + Samsung 18" + 2x8"TFT Displays | TM Warthog Stick w/AVA Base | VPC MongoosT-50CM3 Throttle | TM MFD Cougars | Logitech G13, G230, G510, PZ55 & Farming Sim Panel | TIR5 & M.Quest3 VR
>>MY MODS<< | Discord: Devrim#1068

  • Recently Browsing   0 members

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