Jump to content

Bindings for anti-collision lights


Radius

Recommended Posts

The anti collision lights are controlled trough a two-positon switch in the jet.

We do not have binds for the ON and OFF positions, but only a toggle.
The toggle (named ON/OFF in the binds) does not allow people with physical switches to use them effectively.

I wish there were separate bindings for ON and OFF positions of the anti-coll lights switch, as there are for other switches around the cockpit.

 

Regards,

 

Link to comment
Share on other sites

On 3/21/2024 at 12:57 AM, Radius said:

The toggle (named ON/OFF in the binds) does not allow people with physical switches to use them effectively.

Until that's added, you can work around it with built in control mapping.

You can bind for example BTN_15 and BTN_15_OFF (off binding is in the dropdown menu) for the toggle and then whenever you put switch in either position it will actuate it. One caveat is that you need to set the physical switch in a position and then with mouse you can sync it.

  • Like 1
Link to comment
Share on other sites

  • 2 months later...

It's very easy to produce the desired bind by adding this line of code to "default.lua" under "DRIVE:\Eagle Dynamics\DCS World\Mods\aircraft\F-15E\Input\F-15E\joystick" :

{down = extlt_commands.anticoll_lt_sw, up = extlt_commands.anticoll_lt_sw, cockpit_device_id = devices.EXTLT, value_down =  1.0, value_up =  0.0, name = _('Anti-collision Lights 2-Pos. ON/OFF'), category = {_('Left Console'), _('Lights: Exterior')}},

Problem is, this file will be overwritten with original content if you do a repair or update.
Best way to avoid that is to use the "Command Injector" developed by @Quaggles and put all additions into a "default.lua" file under "Saved Games".

  • 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

It's very easy to produce the desired bind by adding this line of code to "default.lua" under "DRIVE:\Eagle Dynamics\DCS World\Mods\aircraft\F-15E\Input\F-15E\joystick" :
{down = extlt_commands.anticoll_lt_sw, up = extlt_commands.anticoll_lt_sw, cockpit_device_id = devices.EXTLT, value_down =  1.0, value_up =  0.0, name = _('Anti-collision Lights 2-Pos. ON/OFF'), category = {_('Left Console'), _('Lights: Exterior')}},

Problem is, this file will be overwritten with original content if you do a repair or update.
Best way to avoid that is to use the "Command Injector" developed by @Quaggles and put all additions into a "default.lua" file under "Saved Games".

Or even better. Add them to Munkwolf's Github so everyone can enjoy.

Sent from my SM-A536B using Tapatalk

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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