Jagged8988 Posted February 1 Posted February 1 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
draconus Posted February 2 Posted February 2 (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 February 3 by draconus I was wrong, sorry. 1 Win10 i7-10700KF 32GB RTX4070S Quest 3 T16000M VPC CDT-VMAX TFRP FC3 F-14A/B F-15E CA SC NTTR PG Syria
Recluse Posted February 3 Posted February 3 (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 February 3 by Recluse 4
Jagged8988 Posted February 6 Author Posted February 6 Wow thanks @Recluse what a great little tool thanks for the response!
Recommended Posts