Jump to content

Recommended Posts

Posted

Many of us use the macro "Start Procedure" which is available in the A-10C like in most other aircrafts.

The code for this macro is in the file "Macro_sequencies.lua" in the folder "...\Mods\aircraft\A-10C_2\Cockpit\Scripts".

That file (for both versions of the A-10C) also contains a macro that turns all internal lights ON (to about 90%). It does this for

- flight instruments lights

- engine instruments lights

- auxiliary instruments lights

- flood light

- console light

The macro has always been there, but ED has never added the line of code in "default.lua" that's required to make the macro available to users.

This is the line of code:

{down = 300, name = _('Macro all internal Lights UP'), category = _('Cheat')},

The line can be added close to the beginning of the file "default.lua", preferrably just below these lines:

return {

forceFeedback = {
trimmer = 1.0,
shake = 0.5,
swapAxes = false,
},

keyCommands = {
{down = iCommandActivePauseOnOff, name = _('Active Pause'), category = _('Cheat')},
{down = iCommandEnginesStart, name = _('Start Procedure'), category = _('Cheat')},
{down = iCommandEnginesStop, name = _('Stop Procedure'), category = _('Cheat')},

It creates a new binding "Macro all internal Lights UP" in the category "Assist".

I've been using it for a long time, and I thought it would make sense to share it.

Notes:

1. To my knowledge, the A-10C modules are the only ones that have this macro.

2. No problem with Integrity Check (Multiplayer)

3. If you want to use the added command from one of the common HOTAS devices like TM WH Throttle or stick, Saitek X52 Pro Flight Controller, F16 MFD 1 or 2, then you must add the line of code to the related lua file (e.g., "Throttle - HOTAS Warthog.lua". (Ignore files ending with "diff.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

  • 2 months later...
  • Recently Browsing   0 members

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