av8r13 Posted June 3, 2020 Share Posted June 3, 2020 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 Link to comment Share on other sites More sharing options...
LeCuvier Posted June 3, 2020 Share Posted June 3, 2020 (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 May 17, 2021 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 Link to comment Share on other sites More sharing options...
LeCuvier Posted June 3, 2020 Share Posted June 3, 2020 (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 May 17, 2021 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 Link to comment Share on other sites More sharing options...
Brun Posted May 16, 2021 Share Posted May 16, 2021 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 Link to comment Share on other sites More sharing options...
LeCuvier Posted May 17, 2021 Share Posted May 17, 2021 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. 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 More sharing options...
Recommended Posts