Jump to content

Recommended Posts

Posted

Long shot here. I know you can manually program the screens when you get in the aircraft, but looking at ways to automate. With a bit of help from ChatGPT i created the script below to go in my saved games export.lua script. I need to know what codes to use for the MFD's. 

In the example I'm trying to make it so (when in the front seat);

  • Air-to-Air Mode:

    • Left MFD: Air-to-Air Radar
    • Right MFD: TEWS
    • Center MFD: HSI page
  • Air-to-Ground Mode:

    • Left MFD: TGP (Targeting Pod)
    • Right MFD: Air-to-Ground Radar
    • Center MFD: ARMT page

Does anyone have any suggestions on how to get this to work or another easier alternative ? It would be great if one day Razbam or ED made it so you could change this without having to do it in the jet everytime. 

local function switch_mfd_layout(mode)
    -- Air-to-Air Mode Layout
    if mode == "A/A" then
        -- Left MFD to Air-to-Air Radar
        LoSetCommand(3001)  -- Example command for left MFD to Radar
        -- Right MFD to TEWS
        LoSetCommand(3002)  -- Example command for right MFD to TEWS
        -- Center MFD to HSI
        LoSetCommand(3003)  -- Example command for center MFD to HSI
    -- Air-to-Ground Mode Layout
    elseif mode == "A/G" then
        -- Left MFD to TGP (Targeting Pod)
        LoSetCommand(3004)  -- Example command for left MFD to TGP
        -- Right MFD to Air-to-Ground Radar
        LoSetCommand(3005)  -- Example command for right MFD to A/G Radar
        -- Center MFD to ARMT
        LoSetCommand(3006)  -- Example command for center MFD to ARMT
    end
end

-- Function to check master mode and switch displays accordingly
DCS.setUserCallbacks({
    onSimulationFrame = function()
        local master_mode = LoGetMCPState()  -- Get Master Mode state
        if master_mode == 0 then  -- A/A Mode
            switch_mfd_layout("A/A")
        elseif master_mode == 1 then  -- A/G Mode
            switch_mfd_layout("A/G")
        end
    end
})

f153changeMFDs.lua

Posted (edited)
On 2/1/2025 at 8:05 AM, Jagged8988 said:

It would be great if one day Razbam or ED made it so you could change this without having to do it in the jet everytime. 

ED works on DTC for some time but we don't know if it ever gets to RB F-15E. You can program the MFDs for short castle presses but not depending on the mode - that is not a function of the aircraft afaik and thus would not be welcome.

Edited by draconus
I was wrong, sorry.
  • Like 1

🖥️ Win10  i7-10700KF  32GB  RTX4070S   🥽 Quest 3   🕹️ T16000M  VPC CDT-VMAX  TFRP   ✈️ FC3  F-14A/B  F-15E   ⚙️ CA   🚢 SC   🌐 NTTR  PG  Syria

Posted (edited)

 

There is an external program:  "DCS DTC"

https://github.com/the-paid-actor/dcs-dtc

Where you can pre-program them and load them into the jet. Loading even works in VR (via a button on the UFC) as long as the DTC GUI is open in the background

 

(You can program MP(C)D's by MODE as well in the cockpit, or using the DCS-DTC)

I recall NOTSO saying somewhere (maybe in the Razbam Discord) that IRL, they seldom used the MODE programming because the need for various MPDs varied with the situation, and it was bad to have the setup you wanted only to have it switch to the programmed set when switching Modes. I actually find it useful as I do tend to use the different setups between AG and AA modes, (e.g. usually TPOD in AG but not in AA, though it can be useful there as well). That's where stacking the top 3 to be switched with front seat short castle (or appropriate Back Seat command) is helpful

I realized there is a built in Training mission for this as well

 

Another video if you are not GR averse 🙂

 

Edited by Recluse
  • Like 4
  • Recently Browsing   0 members

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