Jump to content

Fuel dump switch binding, more options please


Arbil

Recommended Posts

I need separate ON and OFF bindings for the fuel dump switch, not just the generic ON/OFF as the only option as it is now. If there is a way for me to manually add this in the lua please someone direct me to instructions on how to do so.

  • Like 1
Link to comment
Share on other sites

On 3/8/2021 at 3:08 AM, Arbil said:

I need separate ON and OFF bindings for the fuel dump switch, not just the generic ON/OFF as the only option as it is now. If there is a way for me to manually add this in the lua please someone direct me to instructions on how to do so.

You can have it for two separate buttons for ON and OFF, or a single maintained ON/OFF switch. Both can be added to the "default.lua":

1. separate ON and OFF commands:

{down = fuel_commands.DumpSw, cockpit_device_id = devices.FUEL_INTERFACE, value_down =  1.0, name = _('Fuel Dump Switch ON'), category = {_('Left Console'), _('Fuel Control Panel')}},
{down = fuel_commands.DumpSw, cockpit_device_id = devices.FUEL_INTERFACE, value_down =  -1.0, name = _('Fuel Dump Switch OFF'), category = {_('Left Console'), _('Fuel Control Panel')}},

2. single ON/OFF switch (like in the sim cockpit)

{down = fuel_commands.DumpSw, up = fuel_commands.DumpSw, cockpit_device_id = devices.FUEL_INTERFACE, value_down =  1.0, value_up = -1.0, name = _('Fuel Dump Switch 2-Pos ON/OFF'), category = {_('Left Console'), _('Fuel Control Panel')}},

 


Edited by LeCuvier
  • Like 1
  • Thanks 1

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Link to comment
Share on other sites

On 3/9/2021 at 1:06 PM, TB said:

Please make two options for the Hornet Launch Bar, an Extended and a Retracted one.

Also two for Hook Bypass, Field and Carrier.

 

Thx


 

{down = gear_commands.LaunchBarSw, cockpit_device_id = devices.GEAR_INTERFACE, value_down = -1.0, name = _('Launch Bar Control Switch RETRACT'), category = {_('Left Vertical Panel')}},
{down = gear_commands.LaunchBarSw, cockpit_device_id = devices.GEAR_INTERFACE, value_down = 1.0, name = _('Launch Bar Control Switch EXTEND'), category = {_('Left Vertical Panel')}},

{down = cptlights_commands.HookBypass, cockpit_device_id = devices.CPT_LIGTHS, value_down =  1.0,    name = _('Hook Bypass Switch FIELD'), category = {_('Left Vertical Panel')}},
{down = cptlights_commands.HookBypass, cockpit_device_id = devices.CPT_LIGTHS,    value_down =  -1.0,    name = _('Hook Bypass Switch CARRIER'), category = {_('Left Vertical Panel')}},

 

  • Thanks 1

LeCuvier

Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5

Link to comment
Share on other sites

  • Recently Browsing   0 members

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