Skip to content
Jerker Dahlblom edited this page Mar 25, 2024 · 3 revisions

Tools

  • DCS World\bin\ModelViewer2.exe lets you explore the cockpit and all the controls. It is with this tool you get the argument_id for a control. Once the tools is running you open the cockpit edm file which is located in DCS World\Mods\aircraft\<airplane>\Cockpit\Shape\.
  • You need a good program for searching files. You are going to have to search multiple cockpit files a lot in the folder mentioned below.
  • You need to use a DCS BIOS Control Reference Page for examining how your code works with the DCS cockpit control.

Files

You are going to need to search for information in lua files located here DCS World\Mods\aircraft\<airplane>\Cockpit\Scripts.

  • devices.lua contains information about device categories
  • mainpanel_init.lua, information on main panel controls
  • command_defs.lua, command id definitions
  • clickabledata.lua, here the controls are composed

There are other files too, it depends on the developer of the DCS model.

Back