Jump to content

2/3 way switches abstraction for MiG-15


firmek

Recommended Posts

I thought that I share the list.

 

Question and Answers

Q: Does it work?

A: Sort of. Most of the switches lack separate up and down actions definition by Belsimtek. In other words, they work but as toggles - player needs to make sure at mission start that in game and real switch are in the same position. That's why most of the bindings have both up and dn action set to the same value equal 1.

Request to Belsimtek to define and maintain proper up/dn actions for all of the in-cockpit switches of this great plane!

 

Q: How to install?

A: Copy paste into next line after "keyCommands = {" in DCSInstall\Mods\aircraft\MiG-15bis\Input\MiG-15bis\joystick\Throttle - HOTAS Warthog.lua file.

 

Q: Is there a JSGME version available

A: No as using JSGME can result in overwriting the updates. It shouldn't be a big issue with MiG-15 though as module is generally not updated. Feel free to create one, I just believe that JSGME is a bad idea with the DCS controllers definition files.

 

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-- START Custom Key Commands 
-- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
{down = RSI_6K_commands.Mig15_Command_RSI6K_ReceiveARC_EXT,                up = RSI_6K_commands.Mig15_Command_RSI6K_ReceiveARC_EXT,            cockpit_device_id = devices.RSI_6K,                    value_down = 1, value_up = 1,    name = _('RSI-6K Radio, RSI-6K Receive/ARC Switch'),                                category = _('.2/3 Way Switches Abstraction')}, -- experimental, toggle only, align in-cockpit/real keys position at mission start
{down = signalflare_commands.Mig15_Command_SignalFlare_switch_EXT,        up = signalflare_commands.Mig15_Command_SignalFlare_switch_EXT,        cockpit_device_id = devices.SIGNAL_FLARE_DISPENSER,    value_down = 1, value_up = 1,    name = _('Left Cockpit Side, Signal Flare Switch On/Off'),                            category = _('.2/3 Way Switches Abstraction')}, -- experimental, toggle only, align in-cockpit/real keys position at mission start
{down = iCommandPlaneAirBrakeOn,                                         up = iCommandPlaneAirBrakeOff,                                                                                             value_down = 1, value_up = 0,     name = _('Systems, Airbrake Switch Open/Close'),                                    category = _('.2/3 Way Switches Abstraction')},    -- ok


{down = ARC_5_commands.CMD_ARC_5_NearOrFar_EXT,                            up = ARC_5_commands.CMD_ARC_5_NearOrFar_EXT,                        cockpit_device_id = devices.ARC_5,                     value_down = 1, value_up = 1,     name = _('AARC-5 Radio Compass, ARC-5 NDB Switch Near/Far'),                        category = _('.2/3 Way Switches Abstraction')},    -- experimental, toggle only, align in-cockpit/real keys position at mission start
{down = ARC_5_commands.CMD_ARC_5_Near1_EXT,                                up = ARC_5_commands.CMD_ARC_5_Near1_EXT,                             cockpit_device_id = devices.ARC_5,                     value_down = 1, value_up = 1,     name = _('AARC-5 Radio Compass, ARC-5 NDB 1 Switch On/Off'),                        category = _('.2/3 Way Switches Abstraction')},    -- experimental, toggle only, align in-cockpit/real keys position at mission start
{down = ARC_5_commands.CMD_ARC_5_Near2_EXT,                                up = ARC_5_commands.CMD_ARC_5_Near2_EXT,                             cockpit_device_id = devices.ARC_5,                     value_down = 1, value_up = 1,     name = _('AARC-5 Radio Compass, RC-5 NDB 2 Switch On/Off'),                            category = _('.2/3 Way Switches Abstraction')},    -- experimental, toggle only, align in-cockpit/real keys position at mission start
{down = ARC_5_commands.CMD_ARC_5_Near3_EXT,                                up = ARC_5_commands.CMD_ARC_5_Near3_EXT,                             cockpit_device_id = devices.ARC_5,                     value_down = 1, value_up = 1,     name = _('AARC-5 Radio Compass, ARC-5 NDB 3 Switch On/Off'),                        category = _('.2/3 Way Switches Abstraction')},    -- experimental, toggle only, align in-cockpit/real keys position at mission start

{down = electric_commands.Mig15_Command_CB_BoosterPump_EXT,             up = electric_commands.Mig15_Command_CB_BoosterPump_EXT,            cockpit_device_id = devices.ELEC_INTERFACE,         value_down = 1, value_up = 1,    name = _('Left Panel, Booster Pump Switch'),                                        category = _('.2/3 Way Switches Abstraction')}, -- experimental, toggle only, align in-cockpit/real keys position at mission start
{down = engine_commands.Mig15_Command_IsolatingValve_EXT,                 up = engine_commands.Mig15_Command_IsolatingValve_EXT,                cockpit_device_id = devices.ENGINE_INTERFACE,         value_down = 1, value_up = 1,    name = _('Left Panel, Isolating Valve Switch'),                                     category = _('.2/3 Way Switches Abstraction')}, -- experimental, toggle only, align in-cockpit/real keys position at mission start
{down = electric_commands.Mig15_Command_CB_Ignition_EXT,                 up = electric_commands.Mig15_Command_CB_Ignition_EXT,                cockpit_device_id = devices.ELEC_INTERFACE,            value_down = 1, value_up = 1,    name = _('Left Panel, Ignition Switch'),                                            category = _('.2/3 Way Switches Abstraction')}, -- experimental, toggle only, align in-cockpit/real keys position at mission start
{down = electric_commands.Mig15_Command_CB_LightsAndInstruments_EXT,     up = electric_commands.Mig15_Command_CB_LightsAndInstruments_EXT,    cockpit_device_id = devices.ELEC_INTERFACE,         value_down = 1, value_up = 1,    name = _('Left Panel, Instruments and Lights Switch'),                                 category = _('.2/3 Way Switches Abstraction')}, -- experimental, toggle only, align in-cockpit/real keys position at mission start
{down = electric_commands.Mig15_Command_CB_TransferPump_EXT,             up = electric_commands.Mig15_Command_CB_TransferPump_EXT,            cockpit_device_id = devices.ELEC_INTERFACE,         value_down = 1, value_up = 1,    name = _('Left Panel, Transfer Pump Switch'),                                        category = _('.2/3 Way Switches Abstraction')}, -- experimental, toggle only, align in-cockpit/real keys position at mission start
{down = electric_commands.Mig15_Command_AirEngineStartSw_EXT,             up = electric_commands.Mig15_Command_AirEngineStartSw_EXT,            cockpit_device_id = devices.ELEC_INTERFACE,         value_down = 1, value_up = 1,    name = _('Left Panel, Air Start Switch'),                                             category = _('.2/3 Way Switches Abstraction')}, -- experimental, toggle only, align in-cockpit/real keys position at mission start
{down = navlights_commands.Mig15_Command_NoseLight_EXT,                    up = navlights_commands.Mig15_Command_NoseLight_EXT,                cockpit_device_id = devices.NAVLIGHT_SYSTEM,        value_down = 1, value_up = 1,    name = _('Left Panel, External Lights Switch On/Off'),                                category = _('.2/3 Way Switches Abstraction')},    -- experimental, toggle only, align in-cockpit/real keys position at mission start

{down = navlights_commands.Mig15_Command_PositionLights_EXT,            up = navlights_commands.Mig15_Command_PositionLights_EXT,            cockpit_device_id = devices.NAVLIGHT_SYSTEM,        value_down = 1, value_up = 1,    name = _('Instrument Panel, Nose Light Switch On/Off'),                                category = _('.2/3 Way Switches Abstraction')},    -- experimental, toggle only, align in-cockpit/real keys position at mission start

{down = iCommandPlaneGearUp,                                             up = gear_commands.Mig15_Command_LandingGearHandle,                 cockpit_device_id = devices.GEAR_INTERFACE,            value_down = 1, value_up = 0.5, name = _('Systems, Landing Gear Handle Up/Neutral'),                                category = _('.2/3 Way Switches Abstraction')},    -- ok
{down = iCommandPlaneGearDown,                                             up = gear_commands.Mig15_Command_LandingGearHandle,                 cockpit_device_id = devices.GEAR_INTERFACE,            value_down = 1, value_up = 0.5, name = _('Systems, Landing Gear Handle Dn/Neutral'),                                category = _('.2/3 Way Switches Abstraction')},    -- ok
{down = gear_commands.Mig15_Command_LandingGearHandleCover_EXT,            up = gear_commands.Mig15_Command_LandingGearHandleCover_EXT,        cockpit_device_id = devices.GEAR_INTERFACE,            value_down = 1, value_up = 1,     name = _('Systems, Landing Gear Handle Lock On/Off'),                                category = _('.2/3 Way Switches Abstraction')},    -- experimental, toggle only, align in-cockpit/real keys position at mission start

{down = fuel_commands.Mig15_Command_DropTanksSignal_EXT,                up = fuel_commands.Mig15_Command_DropTanksSignal_EXT,                cockpit_device_id = devices.FUELSYS_INTERFACE,        value_down = 1, value_up = 1,    name = _('Central Panel, Drop Tank Signal Switch On/Off'),                            category = _('.2/3 Way Switches Abstraction')}, -- experimental, toggle only, align in-cockpit/real keys position at mission start
{down = device_commands.Button_12,                                        up = device_commands.Button_12,                                        cockpit_device_id = devices.WEAPON_SYSTEM,            value_down = 1, value_up = 1,    name = _('Central Panel, Tactical Release Switch On/Off'),                            category = _('.2/3 Way Switches Abstraction')}, -- experimental, toggle only, align in-cockpit/real keys position at mission start

{down = electric_commands.Mig15_Command_BatterySw_EXT,                    up = electric_commands.Mig15_Command_BatterySw_EXT,                    cockpit_device_id = devices.ELEC_INTERFACE,         value_down = 1, value_up = 1,    name = _('Right Switches Panel, Accumulator Switch On/Off'),                        category = _('.2/3 Way Switches Abstraction')}, -- experimental, toggle only, align in-cockpit/real keys position at mission start
{down = electric_commands.Mig15_Command_GeneratorSw_EXT,                 up = electric_commands.Mig15_Command_GeneratorSw_EXT,                cockpit_device_id = devices.ELEC_INTERFACE,         value_down = 1, value_up = 1,    name = _('Right Switches Panel, Generator Switch On/Off'),                            category = _('.2/3 Way Switches Abstraction')}, -- experimental, toggle only, align in-cockpit/real keys position at mission start
{down = electric_commands.Mig15_Command_CB_NoseLight_EXT,                  up = electric_commands.Mig15_Command_CB_NoseLight_EXT,                cockpit_device_id = devices.ELEC_INTERFACE,         value_down = 1, value_up = 1,    name = _('Right Switches Panel, Nose Light Master Switch On/Off'),                    category = _('.2/3 Way Switches Abstraction')}, -- experimental, toggle only, align in-cockpit/real keys position at mission start
{down = electric_commands.Mig15_Command_CB_Trimmer_EXT,                      up = electric_commands.Mig15_Command_CB_Trimmer_EXT,                cockpit_device_id = devices.ELEC_INTERFACE,         value_down = 1, value_up = 1,    name = _('Right Switches Panel, Trim Master Switch On/Off'),                        category = _('.2/3 Way Switches Abstraction')}, -- experimental, toggle only, align in-cockpit/real keys position at mission start
{down = electric_commands.Mig15_Command_AGK_DGMK_EXT,                      up = electric_commands.Mig15_Command_AGK_DGMK_EXT,                    cockpit_device_id = devices.ELEC_INTERFACE,         value_down = 1, value_up = 1,    name = _('Right Switches Panel, AGK-47B Artificial Horizon + DGMK-3 Switch On/Off'),category = _('.2/3 Way Switches Abstraction')}, -- experimental, toggle only, align in-cockpit/real keys position at mission start
{down = electric_commands.Mig15_Command_CB_Radio_EXT,                      up = electric_commands.Mig15_Command_CB_Radio_EXT,                    cockpit_device_id = devices.ELEC_INTERFACE,         value_down = 1, value_up = 1,    name = _('Right Switches Panel, Radio Switch On/Off'),                                category = _('.2/3 Way Switches Abstraction')}, -- experimental, toggle only, align in-cockpit/real keys position at mission start
{down = electric_commands.Mig15_Command_Bomb_EXT,                          up = electric_commands.Mig15_Command_Bomb_EXT,                        cockpit_device_id = devices.ELEC_INTERFACE,            value_down = 1, value_up = 1,    name = _('Right Switches Panel, Bombs Switch On/Off'),                                category = _('.2/3 Way Switches Abstraction')}, -- experimental, toggle only, align in-cockpit/real keys position at mission start
{down = electric_commands.Mig15_Command_CB_EmergencyDrop_EXT,             up = electric_commands.Mig15_Command_CB_EmergencyDrop_EXT,            cockpit_device_id = devices.ELEC_INTERFACE,         value_down = 1, value_up = 1,    name = _('Right Switches Panel, Emergency Drop Switch On/Off'),                        category = _('.2/3 Way Switches Abstraction')}, -- experimental, toggle only, align in-cockpit/real keys position at mission start
{down = electric_commands.Mig15_Command_CB_ARC_EXT,                          up = electric_commands.Mig15_Command_CB_ARC_EXT,                    cockpit_device_id = devices.ELEC_INTERFACE,         value_down = 1, value_up = 1,    name = _('Right Switches Panel, ARC Switch On/Off'),                                category = _('.2/3 Way Switches Abstraction')}, -- experimental, toggle only, align in-cockpit/real keys position at mission start
{down = electric_commands.Mig15_Command_CB_RV2_EXT,                          up = electric_commands.Mig15_Command_CB_RV2_EXT,                    cockpit_device_id = devices.ELEC_INTERFACE,         value_down = 1, value_up = 1,    name = _('Right Switches Panel, RV-2 Radio Altimeter Switch On/Off'),                category = _('.2/3 Way Switches Abstraction')}, -- experimental, toggle only, align in-cockpit/real keys position at mission start
{down = electric_commands.Mig15_Command_NR23_EXT,                          up = electric_commands.Mig15_Command_NR23_EXT,                        cockpit_device_id = devices.ELEC_INTERFACE,         value_down = 1, value_up = 1,    name = _('Right Switches Panel, NR-23 Cannon Switch On/Off'),                        category = _('.2/3 Way Switches Abstraction')}, -- experimental, toggle only, align in-cockpit/real keys position at mission start
{down = electric_commands.Mig15_Command_N37D_EXT,                          up = electric_commands.Mig15_Command_N37D_EXT,                        cockpit_device_id = devices.ELEC_INTERFACE,         value_down = 1, value_up = 1,    name = _('Right Switches Panel, N-37D Cannon Switch On/Off'),                        category = _('.2/3 Way Switches Abstraction')}, -- experimental, toggle only, align in-cockpit/real keys position at mission start
{down = electric_commands.Mig15_Command_CB_ASP3N_EXT,                      up = electric_commands.Mig15_Command_CB_ASP3N_EXT,                    cockpit_device_id = devices.ELEC_INTERFACE,         value_down = 1, value_up = 1,    name = _('Right Switches Panel, ASP-3N Gunsight Switch On/Off'),                    category = _('.2/3 Way Switches Abstraction')}, -- experimental, toggle only, align in-cockpit/real keys position at mission start
{down = electric_commands.Mig15_Command_CB_PhotoGun_EXT,                  up = electric_commands.Mig15_Command_CB_PhotoGun_EXT,                cockpit_device_id = devices.ELEC_INTERFACE,         value_down = 1, value_up = 1,    name = _('Right Switches Panel, S-13 Gun Camera Switch On/Off'),                    category = _('.2/3 Way Switches Abstraction')}, -- experimental, toggle only, align in-cockpit/real keys position at mission start
-- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-- END Custom Key Commands
-- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Edit:

The folder is not "easy" (DCS game mode) version of the input files but the "sim" one.


Edited by firmek

F/A-18, F-16, F-14, M-2000C, A-10C, AV-8B, AJS-37 Viggen, F-5E-3, F-86F, MiG-21bis, MiG-15bis, L-39 Albatros, C-101 Aviojet, P-51D, Spitfire LF Mk. IX, Bf 109 4-K, UH-1H, Mi-8, Ka-50, NTTR, Normandy, Persian Gulf... and not enough time to fully enjoy it all

Link to comment
Share on other sites

  • Recently Browsing   0 members

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