Pand Posted April 18, 2022 Share Posted April 18, 2022 I'm working on my own customized autostart script for the f-16 so I can have things the way I like them. Here is a snippet of some of those commands; however, I want to configure additional cockpit items; however, I can't find the device and/or action to utilize them. Is there a full list of these somewhere, or does someone know them? I'm looking for: PARKING BRAKE ECM BUTTON 1 ECM BUTTON 2 ECM BUTTON 3 ECM BUTTON 4 ECM BUTTON 5 ECM OPR SWITCH Thanks! push_start_command(dt, {message = _("- PROBE HEAT SWITCH - ON"), message_timeout = dt_mto}) push_start_command(dt, {device = devices.ELEC_INTERFACE, action = elec_commands.ProbeHeatSw, value = 1.0}) push_start_command(dt, {message = _("- IFF MASTER KNOB - NORM"), message_timeout = dt_mto}) push_start_command(dt, {device = devices.IFF_CONTROL_PANEL, action = iff_commands.MasterKnob, value = 0.3}) push_start_command(dt, {message = _("- CMDS SWITCHES - ON - MAN"), message_timeout = dt_mto}) push_start_command(dt, {device = devices.CMDS, action = cmds_commands.ChExp, value = 1.0}) push_start_command(dt, {device = devices.CMDS, action = cmds_commands.FlExp, value = 1.0}) push_start_command(dt, {device = devices.CMDS, action = cmds_commands.RwrSrc, value = 1.0}) push_start_command(dt, {device = devices.CMDS, action = cmds_commands.JmrSrc, value = 1.0}) push_start_command(dt, {device = devices.CMDS, action = cmds_commands.Mode, value = 0.2}) push_start_command(dt, {message = _("- RWR - ON"), message_timeout = dt_mto}) push_start_command(dt, {device = devices.RWR, action = rwr_commands.Power, value = 1.0}) push_start_command(dt, {message = _("- HUD SCALES - OFF"), message_timeout = dt_mto}) push_start_command(dt, {device = devices.MMC, action = mmc_commands.VvVah, value = -1.0}) push_start_command(dt, {message = _("- SNSR PWR PANEL - HARDPOINTS ON"), message_timeout = dt_mto}) push_start_command(dt, {device = devices.SMS, action = sms_commands.LeftHDPT, value = 1.0}) push_start_command(dt, {device = devices.SMS, action = sms_commands.RightHDPT, value = 1.0}) push_start_command(dt, {message = _("- FUEL QTY SEL KNOB - WINGS"), message_timeout = dt_mto}) push_start_command(dt, {device = devices.FUEL_INTERFACE, action = fuel_commands.FuelQtySelSw, value = 0.4}) push_start_command(dt, {message = _("- HMCS SYMBOLOGY INT POWER KNOB - FULL"), message_timeout = dt_mto}) push_start_command(dt, {device = devices.HMCS, action = hmcs_commands.IntKnob, value = 1.0}) push_start_command(dt, {message = _("- HUD SYMBOLOGY - FULL"), message_timeout = dt_mto}) push_start_command(dt, {device = devices.UFC, action = ufc_commands.SYM_Knob, value = 1.0}) push_start_command(dt, {message = _("- MASTER ARM SWITCH - ON"), message_timeout = dt_mto}) push_start_command(dt, {device = devices.MMC, action = mmc_commands.MasterArmSw, value = 1.0}) Link to comment Share on other sites More sharing options...
Pand Posted April 19, 2022 Author Share Posted April 19, 2022 Kept digging and found it myself. For reference, I found it under joystick and keyboard default.lua files to get the device and action --- below is what I added to the startup file. push_start_command(dt, {message = _("- ECM Pod Control Panel - READY"), message_timeout = dt_mto}) push_start_command(dt, {device = devices.ECM_INTERFACE, action = ecm_commands.OneBtn, value = 1.0}) push_start_command(dt, {device = devices.ECM_INTERFACE, action = ecm_commands.TwoBtn, value = 1.0}) push_start_command(dt, {device = devices.ECM_INTERFACE, action = ecm_commands.ThreeBtn, value = 1.0}) push_start_command(dt, {device = devices.ECM_INTERFACE, action = ecm_commands.FourBtn, value = 1.0}) push_start_command(dt, {device = devices.ECM_INTERFACE, action = ecm_commands.FiveBtn, value = 1.0}) push_start_command(dt, {device = devices.ECM_INTERFACE, action = ecm_commands.SixBtn, value = 1.0}) push_start_command(dt, {device = devices.ECM_INTERFACE, action = ecm_commands.FrmBtn, value = 1.0}) push_start_command(dt, {device = devices.ECM_INTERFACE, action = ecm_commands.SplBtn, value = 1.0}) push_start_command(dt, {device = devices.ECM_INTERFACE, action = ecm_commands.XmitSw, value = 0.0}) push_start_command(dt, {device = devices.ECM_INTERFACE, action = ecm_commands.PwrSw, value = -1.0}) 4 Link to comment Share on other sites More sharing options...
SlipHavoc Posted April 27, 2022 Share Posted April 27, 2022 You can also find a full list of allowed commands in the lua files in C:\Games\DCS World OpenBeta\Mods\aircraft\F-16C\Cockpit\Scripts (or whatever your game install folder is). command_defs.lua lists all the "devices" and their associated commands, and clickabledata.lua lists some details about each command which can be useful in figuring out how they should be called. 1 Link to comment Share on other sites More sharing options...
Recommended Posts