Jump to content

Recommended Posts

Posted

had to reinstall DCS and lost my lua mods.

 

does anyone have the lua command for separate on/off field and carrier bypass bindings?

 

i would like to assign field and carrier to different switches

 

thanks in advance

Posted (edited)

If you want to use two separate pushbuttons these should work:

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

 

I could not test because DCS World is updating.

Edited by LeCuvier

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

Posted (edited)

Just saw your other post. I use this command with a single two-position switch. Would work with the pinky switch.

{down = cptlights_commands.HookBypass, up = cptlights_commands.HookBypass,    cockpit_device_id = devices.CPT_LIGHTS,    value_down =  1.0,    value_up = -1.0,    name = _('Hook Bypass 2-Pos Switch FIELD/CARRIER'), category = {_('Left Vertical Panel')}},

 

Edited by LeCuvier

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

  • 11 months later...
Posted

Should be noted that a typo in the lua has been fixed, and instances of

CPT_LIGTHS

 

have been corrected to

CPT_LIGHTS

 

Kinda critical for anyone trying to copy and paste.

Asus Z690 Hero | 12900K | 64GB G.Skill 6000 | 4090FE | Reverb G2 | VPC MongoosT-50CM2 + TM Grips  | Winwing Orion2 Throttle | MFG Crosswind Pedals

Posted
21 hours ago, Brun said:

Should be noted that a typo in the lua has been fixed, and instances of


CPT_LIGTHS

 

have been corrected to


CPT_LIGHTS

 

Kinda critical for anyone trying to copy and paste.

Good point, thanks!
I have updated my two posts above.

  • Like 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

  • Recently Browsing   0 members

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