Jump to content

default.dtc that is loaded automatically when found by DCS


Recommended Posts

Posted

As title says. It would be very helpful on servers where you respawn a lot to have it already loaded. So you'd only have to press the MFD buttons once in the jet instead of browsing through files on th HDD via the DTC menu.

As soon as DCS sees a default.dtc file it loads it. If it does not find it the behavior stays as we already have it. For people who like to browse through menus 😉

Posted (edited)

You can do it.  You still need to load it in the plane (i.e. for the F-18 in the MUMI page you need to press the ALR-67 OSB), but you won't have to browse and load the file everytime.  However, I can't remember exactly how I set that up now, and I need to go hunting for directions and make a note of it in case I need to redo it 🫤

EDIT 3: OK, change to what you desire for your "default" loadout in this file (adjust path for whichever aircraft you're after): World/coremods/aircraft/FA-18C/DTC/ALR67/CMDS_defs.lua

You'll still need to load it in plane, but you won't need to browse for the file in the DTC manager.  You can do the same under ..../COMM/COMM1_defs.lua and COMM2_defs.lua for Comm Presets.

Can't say whether this breaks IC or not, I haven't checked.

Edited by rob10
  • Thanks 1
Posted (edited)

Thanks. Although I dont fly the F18 it seems to work the same in the F16. Well it does not to break IC. Thats basically the same way we had years ago, when we modified the old CMDS.lua ... before it started to break IC.

I would not wonder if it starts breaking IC at some point again. It works for me, and just brings back what we already had, back then.

I hope we get the functionality to set up MFD pages next. I dont mind to go through different LUA files to set stuff up. But thats clearly not desireable, and also not user friendly. Especially not because thats the reason we got the DTC.

99% of the time you want to have the same CMDS and MFD setup. That could be in the default DTC for a standard quick action public server sortie. 

I was quickly looking through the lua files if I could find something to change the default MFD setup- but that does not seem to be integrated yet. Not even in the LUA files.

EDIT: 

It is the EXACT same thing like the old CMDS.lua trick. You edit it, but as soon as a DCS update is rolled out it is being overwritten. I think thats not the proper way to edit a default DTC.

Edited by darkman222
Posted

I found this topic because I was using exactly that trick (editing Mods\aircraft\FA-18C\Cockpit1\Scripts\TEWS\device\CMDS_ALE47.lua) to setup the CM the way I liked it, and it doesn't work anymore.

As I read that thread it looks that if I load the "DEFAULT" DTC from the MUMI page by boxing the ALE47, I should get what it's in that file? But apparently it doesn't, not on my install at least. Any clue on what to do?

Or maybe the new path is aircraft\FA-18C\DTC\ALR67\CMDS_defs.lua ? That file doesn't exist here but maybe I should create it?

Posted (edited)
2 hours ago, Corsac said:

I found this topic because I was using exactly that trick (editing Mods\aircraft\FA-18C\Cockpit1\Scripts\TEWS\device\CMDS_ALE47.lua) to setup the CM the way I liked it, and it doesn't work anymore.

As I read that thread it looks that if I load the "DEFAULT" DTC from the MUMI page by boxing the ALE47, I should get what it's in that file? But apparently it doesn't, not on my install at least. Any clue on what to do?

Or maybe the new path is aircraft\FA-18C\DTC\ALR67\CMDS_defs.lua ? That file doesn't exist here but maybe I should create it?

Yes, it should be in that new path.  HOWEVER, make sure you are going to COREMODS rather than MODS as the start of the chain you're looking at (World/COREMODS/aircraft/FA-18C/DTC/ALR67/CMDS_defs.lua rather than World/MODS/aircraft/....) and it should be there.  It is formatted slightly differently in the file, but pretty easy to figure out. 

ALSO NOTE, you need to create a custom DTC file in the DTC manager to get this file to be created IIRC (you don't need to use the one you created, but it will create the default one you're going to want to edit).  And your changes in the default file will need to be redone after each update.

Edited by rob10
  • Recently Browsing   0 members

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