Kevinhun Posted December 3, 2020 Posted December 3, 2020 Please implement special assignment. Thanks a lot!
Antix70 Posted December 14, 2020 Posted December 14, 2020 (edited) {path}\DCSWorld\Mods\aircraft\FA-18C\Input\FA-18C\joystick Edit your Default.LUA file to include these lines: -------------------------------------------------------------------------------------- -- Special input for 3-pos 2-signals switches on joystick F/A-18 Thrustmaster -------- -------------------------------------------------------------------------------------- { down = SMS_commands.MasterArmSw, up = SMS_commands.MasterArmSw, cockpit_device_id = devices.SMS, value_down = 1.0, value_up = 0.0, name = _('Master Arm Switch (special) - ARM/SAFE'), category = {_('Special For Joystick'), _('Instrument Panel'), _('Master Arm Panel')}}, { down = iCommandPlaneGearUp, up = iCommandPlaneGearDown, cockpit_device_id = devices.GEAR_INTERFACE, name = _('Landing Gear Control Handle (special) - UP/DOWN'), category = {_('Special For Joystick'), _('Left Vertical Panel')}}, { down = fuel_commands.IntrWingInhibitSw, up = fuel_commands.IntrWingInhibitSw, cockpit_device_id = devices.FUEL_INTERFACE, value_down = 1.0, value_up = 0.0, name = _('Internal Wing Tank Fuel Control (special) - NORM/INHIBIT'), category = {_('Special For Joystick'), _('Left Console'), _('Exterior Lights Panel')}}, I found the "special" section around line number 899. For some reason, pasting the code screwed up the alignment, I don't know if this will affect outcome, so maybe line them up after you paste them into the LUA file. Edited December 14, 2020 by Antix70
Recommended Posts