Jump to content

A10C Custom Commands


Recommended Posts

Of course I've fiddled with the default.lua.  I do it on every other plane, and do pretty good with the F-18.  This one is different.

Need a two position switch for TGP, but DCS only provides a toggle, so...

{down = iCommandPlaneAHCPTGPOnOff,                                         name = _('TGP switch ON/OFF'), category = _('Armament HUD Control Panel')},
{down = iCommandPlaneAHCPTGPOn,                                         name = _('TGP switch ON'), category = _('Armament HUD Control Panel')},
{down = iCommandPlaneAHCPTGPOff,                                         name = _('TGP switch OFF'), category = _('Armament HUD Control Panel')},

ON shows up in the list, but off does not.  Anyone have any ideas?

Link to comment
Share on other sites

You cannot create new "iCommand..." that way.
A working solution for the TGP ON/OFF 2-position switch is in the thread with my tutorial document in this post: https://forum.dcs.world/topic/270080-lua-editing-for-additional-key-binds-tutorial-no-discussion-here-please/#elControls_4691602_menu (4th LUA line)

  • 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

Link to comment
Share on other sites

  • Recently Browsing   0 members

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