Jump to content

Recommended Posts

Posted (edited)

Hello,

 

I started a github project to collect lua modifications to enable toggle switches in DCS. Currently it's a mess...

 

The project can be found here: https://github.com/f4l0/DCS-ToggleSwitches

 

If someone knows a similar project or has modified luas. Feel free to contribute!

 

Edit: @Mods: Typo in title, if possible please fix

Edited by f4l0
Posted (edited)

Got some for the MiG-21.

 

This one lets you enable the Throttle idle/stop for the Warthog Throttle. It is not flawless by the way.

 

--Throttle start/stop (you might want to wiggle the throttle through the "stop" one or three times)
{down=device_commands.RUDStop_lock, up=device_commands.RUDStop_lock, cockpit_device_id=devices.ENGINE_START_DEVICE, value_down=1.0, value_up=0.0, name='Alt Throttle Lock Toggle', category='Engine'},

 

Got some ASP commands as well.

 

--Alternate ASP mode
{down=device_commands.ASPpipperOn,			up=device_commands.ASPpipperOn,			cockpit_device_id=devices.ASP,	value_down=1.0,value_up=0.0,	name='Pipper Toggle switch',	category='Weapons / ASP'},
{down=device_commands.ASPnetOn,				up=device_commands.ASPnetOn,			cockpit_device_id=devices.ASP,	value_down=1.0,value_up=0.0,	name='Fix net Toggle switch',	category='Weapons / ASP'},
{down=device_commands.ASPmissileGunSelect,	up=device_commands.ASPmissileGunSelect,	cockpit_device_id=devices.ASP,	value_down=1.0,value_up=0.0,	name='Gun-missile Toggle',		category='Weapons / ASP'},

--Alternate ASP Mode - Giro
{down=device_commands.ASPssGiroSelect, up=device_commands.ASPssGiroSelect, cockpit_device_id=devices.ASP, value_down=1.0, value_up=0.0, name='Alternate ASP Mode - Giro', category='Weapons / ASP'},

--Alternate ASP Mode - Bombardment
{down=device_commands.ASPbombStrelbSelect, up=device_commands.ASPbombStrelbSelect, cockpit_device_id=devices.ASP, value_down=1.0, value_up=0.0, name='Alternate ASP Mode - Bombardment', category='Weapons / ASP'},

--Alternate ASP Main Mode
{down=device_commands.ASPmanAutoSelect, up=device_commands.ASPmanAutoSelect, cockpit_device_id=devices.ASP, value_down=1.0, value_up=0.0, name='Alternate ASP Main Mode', category='Weapons / ASP'},

 

And of course as of recent, this might be interesting as well, the aileron booster! :D

 

--Alternate aileron booster
{down=device_commands.AileronBoosters, up=down=device_commands.AileronBoosters, cockpit_device_id=devices.MAIN_HYDRO,value_down=1.0, value_up=0.0, name='Alternate Aileron Boosters On/Off',category='Flight Controls'},

Edited by 1.JaVA_Platypus

Happy Flying! :pilotfly:

Posted

Maybe not really toggle switch related, but these might be helpful to people as well. These lines make the PKV gunsight brigthness and 'elevation' assignable as an axis in game for the Mi-8

 

{action = 3001, cockpit_device_id = 47, name = "PKV Intensity"}, 
{action = 3003, cockpit_device_id = 47, name = "PKV Elevation"},

 

And this does the same thing for the pilot's gunsight in the UH-1

 

{action = 3001, cockpit_device_id = 49, name = "Pilot Sighting Station Intensity"},
{action = 3003, cockpit_device_id = 49, name = "Sight Elevation"},

Happy Flying! :pilotfly:

  • Recently Browsing   0 members

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