Jump to content

Recommended Posts

Posted

Hey, is it possible to make extra options for autopilot attitude and altitude hold switch, so that it would work the same way as the autopilot roll 3 - pos switch? Or like the dogfight 3 - pos switch. Because warthog throttle autopilot switch does not register the middle pos, just the fwd and aft. Btw, thank you for the awesome experience you are making available for all the mortals on this planet 🤩

  • Like 1
Posted

It's certainly possible and I haven't waited for ED to do it. Just added 2 lines to "default.lua".

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
On 3/4/2022 at 4:43 PM, LeCuvier said:

It's certainly possible and I haven't waited for ED to do it. Just added 2 lines to "default.lua".

Could you share, and learn how its done ?

Posted

Tutorial document: https://forums.eagle.ru/topic/270080-lua-editing-for-additional-key-binds-tutorial-no-discussion-here-please/#elControls_4646929_menu

For the F-16 pitch auto-pilot add these 2 lines of code to "default.lua":

{down = control_commands.ApPitchAlt_EXT, up = control_commands.ApPitchAlt_EXT, cockpit_device_id = devices.CONTROL_INTERFACE, value_down =  1.0, value_up = -1.0,	name = _('Autopilot PITCH Switch ALT HOLD/OFF'), category = {_('Instrument Panel'), _('FLCS')}},
{down = control_commands.ApPitchAtt_EXT, up = control_commands.ApPitchAlt_EXT, cockpit_device_id = devices.CONTROL_INTERFACE, value_down = -1.0,	value_up = -1.0, name = _('Autopilot PITCH Switch ATT HOLD/OFF'), category = {_('Instrument Panel'), _('FLCS')}},

 

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

  • 2 months later...
Posted (edited)

The keyboard default.lua or the joystick's default.lua to edit?

 

under DCS World\Config\Input\Aircrafts\Default or DCS World\Config\Input\Aircrafts\Common

Edited by void68
Posted

the "default.lua" under "...DISK:\Eagle Dynamics\DCS World OpenBeta\Mods\aircraft\F-16C\Input\F-16C\joystick"

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...