Jump to content

Has anyone cracked 'how to' set default MFD Button Presets? Which button for TGP, HAD etc?


Recommended Posts

Posted

I did a search a few times on this topic.  

I have to think that in the 'real thing' a pilot's preferences for the MFD buttons in AA or AG or NAV must be saved somehow?  Each time I have to lay out the keys the way I like. Minor issue I know, don't jump all over me.  Even the tutorial videos show the pilot setting their preferred location for the TGP, HAD etc as part of their setup but none ever mention saving this for the next flight.

But has anyone found the file that can be edited to set up your preferences and save them??

I have the process of setting the location of the Knee board down pat, as I have to restore those settings after any update to DCS.

Thanks,

 

Mike

 

Posted (edited)
20 minutes ago, Aronis said:
I did a search a few times on this topic.  
I have to think that in the 'real thing' a pilot's preferences for the MFD buttons in AA or AG or NAV must be saved somehow?  Each time I have to lay out the keys the way I like. Minor issue I know, don't jump all over me.  Even the tutorial videos show the pilot setting their preferred location for the TGP, HAD etc as part of their setup but none ever mention saving this for the next flight.
But has anyone found the file that can be edited to set up your preferences and save them??
I have the process of setting the location of the Knee board down pat, as I have to restore those settings after any update to DCS.
Thanks,
 
Mike
 

 

I might be wrong, while I assume you mean the MFD pages, not buttons. This will probably/hopefully come with the data cartridge, (DTC), functionality that we are waiting for. The reason it takes so long I believe, is that it will come in some iteration for all modules. Even those that don't have one in reality.
Cheers!

Sent from my SM-A536B using Tapatalk
 

Edited by MAXsenna
  • Like 1
Posted

Yes, I know they are working on that simulation of a Data Cartridge, will be very nice, but there must be a setting somewhere in the LUA files where I can tweak it. I'm going to poke around a bit and see.

Will be interesting if WinWing puts out a DTC device LOL.  Or if a Thumb Drive can be used to simulate the Data Cartridge function!

 

Mike

Posted
9 minutes ago, Aronis said:

Yes, I know they are working on that simulation of a Data Cartridge, will be very nice, but there must be a setting somewhere in the LUA files where I can tweak it. I'm going to poke around a bit and see.

Will be interesting if WinWing puts out a DTC device LOL.  Or if a Thumb Drive can be used to simulate the Data Cartridge function!

 

Mike

Righty, then I don't know. Probably somewhere you can tweak it and make it into a mod that needs to be applied after every update. 👍🏻

Posted (edited)
1 hour ago, Aronis said:

Yes, I know they are working on that simulation of a Data Cartridge, will be very nice, but there must be a setting somewhere in the LUA files where I can tweak it. I'm going to poke around a bit and see.

Will be interesting if WinWing puts out a DTC device LOL.  Or if a Thumb Drive can be used to simulate the Data Cartridge function!

 

Mike

If you are not bothered about passing the IC check on multiplayer servers with "Pure Scripts" required, you could modify the macro_sequencies.lua (yes it is spelt wrong) file.

DCS > Mods > aircraft > F-16C > Cockpit > Scripts >

That file is what is used to run the auto-start procedure, but it will run whatever is in there when Win+Home is pressed.

So you could either:
1. If you like to start up the jet yourself, delete everything else and just enter the button commands to set up your MFDs
2. If you use auto-start, modify the file to include the MFD setup.

You could also edit the "auto-shutdown" section. That part of the script will run whenever Win+End is pressed.
So you could leave the auto-start as is, and then press Win+End to setup your MFDs.

You are able to set the delay, if any, between button presses, so you can make it do it's thing very quickly.

Here I have included my file, this does a stored heading start-up, and set up my MFDs how I like them, you could modify it as required
Macro_sequencies.lua


Or, as I've just remembered somebody made an add-on, check out

 

Edited by jonsky7
  • Like 1
Posted

The other option would be to use something like AutoHotKey (AHK) which sidesteps the IC issue (at least mostly, not sure if some servers might have an issue with it running) and have it press whatever key sequence you need to set up things as you like.  I use it to set up radar and JHMCS reject in the F-18.  May need a bit of playing around with delays to make it work consistently (some DCS keypresses seem to need to be held for a small amount of time (milliseconds) rather than just a straight press to register), but it's pretty light performance and does a good job.  Also totally independent of DCS so you won't need to replace anything when DCS updates etc.

Posted

That is VERY interesting. I was wounding why I got error on some servers.

 

I have the modified lua file to set the kneeboard position for me.  That is why I get that error I guess. Wow.  Thanks.  

 

I will see if I can figure out a way to use Voice Attack to enter the orders to set up the buttons, had not considered that.

 

Mike

 

  • Like 1
Posted
That is VERY interesting. I was wounding why I got error on some servers.
 
I have the modified lua file to set the kneeboard position for me.  That is why I get that error I guess. Wow.  Thanks.  
 
I will see if I can figure out a way to use Voice Attack to enter the orders to set up the buttons, had not considered that.
 
Mike
 
You can use VoiceAttack to move the Kneeboard too.

Sent from my SM-A536B using Tapatalk

Posted

read the code, very interesting, so you have that all run with the Auto startup sequence.  Very cool.

How do you do similar with voiceattack???

Mike

Posted
read the code, very interesting, so you have that all run with the Auto startup sequence.  Very cool.
How do you do similar with voiceattack???
Mike

Autostart or move the keyboard?
For autostart you just add the relevant and correct keystrokes. Unfortunately they are probably not all populated.
Moving the kneeboard is very easy. Just use left button down on the correct coordinates. Then move to new coordinates, then left button up. Same procedure if you want to resize it.

Sent from my SM-A536B using Tapatalk

Posted

Essentially these macro solutions involve a sequence of key presses emulating what a human would do to set up the MFDs, just faster and automatically, rather than firing up the jet and having the pages already set like a DTC would? 

  • Like 2
  • 2 weeks later...
Posted
On 1/12/2025 at 3:03 AM, Aronis said:

read the code, very interesting, so you have that all run with the Auto startup sequence.  Very cool.

How do you do similar with voiceattack???

Mike

The free version of voice attack allows 20 commands (IIRC) to be programmed. It is however only $10 and in my opinion extremely worth it.

For the most part, voice attack is an automated key-pressing program, where each command is voice activated.

So you would say something like "Set up Viper MFD", and then voice attack would simulate pressing keys in the order you set them.
You can add pauses between keys, do modifiers and keys {eg Ctrl+A, Ctrl+Shift+A etc), make the mouse click, hold the mouse button, move the mouse around, and many other things.
In order to fully utilise this feature, it is necessary to set keybinds for the things you want VoiceAttack to use. 
eg
image.png

A user by the name of @Bailey worked with the developer to create a code that uses 
DCS BIOS - a script that directly communicates with DCS.
That is a little bit more difficult to set up the commands, but the keys are sent directly to DCS, which means while it is running a command, you can do other things, even minimise DCS, and all the button presses still work, and you don't have to set up a keybind for every button in the cockpit, or any at all for that matter, Thanks Bailey!
(the odd thing doesn't work, DCS BIOS doesn't usually work for axis commands unfortunately)

As Razbam didn't use the normal macro-sequencies.lua file for their start ups, I found this really useful for making my own F-15E start-up sequence.

This section looks really long, but it does in fact press every key almost simultaneously.

nullimage.png

As MAXsenna mentioned, you can also use it to operate the mouse, to move the kneeboard for example.
nullimage.png

 

It really is a remarkable tool.

  • Like 1
Posted
On 1/20/2025 at 3:36 PM, jonsky7 said:

The free version of voice attack allows 20 commands (IIRC) to be programmed. It is however only $10 and in my opinion extremely worth it.

For the most part, voice attack is an automated key-pressing program, where each command is voice activated.

So you would say something like "Set up Viper MFD", and then voice attack would simulate pressing keys in the order you set them.
You can add pauses between keys, do modifiers and keys {eg Ctrl+A, Ctrl+Shift+A etc), make the mouse click, hold the mouse button, move the mouse around, and many other things.
In order to fully utilise this feature, it is necessary to set keybinds for the things you want VoiceAttack to use. 
eg
image.png

A user by the name of @Bailey worked with the developer to create a code that uses 
DCS BIOS - a script that directly communicates with DCS.
That is a little bit more difficult to set up the commands, but the keys are sent directly to DCS, which means while it is running a command, you can do other things, even minimise DCS, and all the button presses still work, and you don't have to set up a keybind for every button in the cockpit, or any at all for that matter, Thanks Bailey!
(the odd thing doesn't work, DCS BIOS doesn't usually work for axis commands unfortunately)

As Razbam didn't use the normal macro-sequencies.lua file for their start ups, I found this really useful for making my own F-15E start-up sequence.

This section looks really long, but it does in fact press every key almost simultaneously.

nullimage.png

As MAXsenna mentioned, you can also use it to operate the mouse, to move the kneeboard for example.
nullimage.png

 

It really is a remarkable tool.

thank you very much for the information.  I have voiceattack (paid version and it is very good.    I was going to look into how to do what you suggest but your info above makes it much easier for me LOL.   saved me searching for it.

I'm going to give it a try.

 

Mike

On 1/20/2025 at 5:21 PM, MAXsenna said:

VoiceAttack is one of the best add-ons you can get for DCS, and other games/apps. One can even use it to control Windows.

Sent from my SM-A536B using Tapatalk
 

Yes, I actually told a blind friend about it for just that reason.  It's a great tool. 

 

Mike

  • Like 1
  • Recently Browsing   0 members

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