Jump to content

Flare Dispenser Keycommands


Devrim

Recommended Posts

Hi.

 

These are Flare Dispenser device keycommands.

 

-- FLARE DISPENSER

{down = device_commands.Button_1, cockpit_device_id = devices.FD, value_down = 1, name = _('SA342 Flare Side Left'), category = _('Flare Dispenser')},

{down = device_commands.Button_1, cockpit_device_id = devices.FD, value_down = 0, name = _('SA342 Flare Side Both'), category = _('Flare Dispenser')},

{down = device_commands.Button_1, cockpit_device_id = devices.FD, value_down = -1, name = _('SA342 Flare Side Right'), category = _('Flare Dispenser')},

{down = device_commands.Button_2, cockpit_device_id = devices.FD, value_down = 1, name = _('SA342 Flare Sequence'), category = _('Flare Dispenser')},

{down = device_commands.Button_2, cockpit_device_id = devices.FD, value_down = 0, name = _('SA342 Flare Single'), category = _('Flare Dispenser')},

{down = device_commands.Button_3, cockpit_device_id = devices.FD, value_down = 1, name = _('SA342 Flare Speed Fast'), category = _('Flare Dispenser')},

{down = device_commands.Button_3, cockpit_device_id = devices.FD, value_down = 0, name = _('SA342 Flare Speed Slow'), category = _('Flare Dispenser')},

{down = device_commands.Button_3, cockpit_device_id = devices.FD, value_down = -1, name = _('SA342 Flare Off'), category = _('Flare Dispenser')},

With this code, you can assign your commands, but I'm not lua-wizard. So, for example, I can't use Flare Side L/Both/R function for two-way switch on my X-55 Throttle.

I tried many things, but couldn't make it happened.

 

Anyone? :) Pleeeeease. :)

  • Like 1

i7-2600 @3.4GHz | Corsair 16GB @1600MHz. | MSI GTX1660Ti Gaming X | Samsung 256GB SSD (Win10HPx64)
Samsung G5 32" + Samsung 18" + 2x8"TFT Displays | Saitek X-55 Rhino & Rudder | TM MFD Cougars | Logitech G13, G230, G510, PZ55 & Farming Sim Panel | TIR5
>>MY MODS<< | Discord: Devrim#1068

Link to comment
Share on other sites

Edit: i just reread your post and realized that you have it working but want to put it on a 2-way switch. Sorry cant help there.

 

 

 

hey Devrim, heres what im using and it works:

 

-- FLARE DISPENSER

{down = device_commands.Button_1,cockpit_device_id = devices.FD, value_down = 1.0, name = _('FLARES L'), category = _('MODDED')},

{down = device_commands.Button_1,cockpit_device_id = devices.FD, value_down = 0.0, name = _('FLARES BOTH'), category = _('MODDED')},

{down = device_commands.Button_1,cockpit_device_id = devices.FD, value_down = -1.0, name = _('FLARES R'), category = _('MODDED')},

 

{down = device_commands.Button_3,cockpit_device_id = devices.FD, value_down = 1.0, name = _('FLARE SLOW'), category = _('MODDED')},

{down = device_commands.Button_3,cockpit_device_id = devices.FD, value_down = 0.0, name = _('FLARE FAST'), category = _('MODDED')},

{down = device_commands.Button_3,cockpit_device_id = devices.FD, value_down = -1.0, name = _('FLARE OFF'), category = _('MODDED')},

 

{down = device_commands.Button_2,cockpit_device_id = devices.FD, value_down = 1.0, name = _('FLARE SINGLE'), category = _('MODDED')},

{down = device_commands.Button_2,cockpit_device_id = devices.FD, value_down = 0.0, name = _('FLARE SEQ'), category = _('MODDED')},


Edited by LiveBait
  • Like 1
Link to comment
Share on other sites

Very good, I tried to make commands for the weapons panel on/off day/night switch without luck.

 

Any help on these?

 

Don't mean to hijack the thread, perhaps a dedicated thread for key binds?

 

Thanks for these.

"Yeah, and though I work in the valley of Death, I will fear no Evil. For where there is one, there is always three. I preparest my aircraft to receive the Iron that will be delivered in the presence of my enemies. Thy ALCM and JDAM they comfort me. Power was given unto the aircrew to make peace upon the world by way of the sword. And when the call went out, Behold the "Sword of Stealth". And his name was Death. And Hell followed him. For the day of wrath has come and no mercy shall be given."

Link to comment
Share on other sites

No, it's OK Hawkeye. I tried it too, but no luck here, either. :\

 

Edit: i just reread your post and realized that you have it working but want to put it on a 2-way switch. Sorry cant help there.
Thanks man. :)

i7-2600 @3.4GHz | Corsair 16GB @1600MHz. | MSI GTX1660Ti Gaming X | Samsung 256GB SSD (Win10HPx64)
Samsung G5 32" + Samsung 18" + 2x8"TFT Displays | Saitek X-55 Rhino & Rudder | TM MFD Cougars | Logitech G13, G230, G510, PZ55 & Farming Sim Panel | TIR5
>>MY MODS<< | Discord: Devrim#1068

Link to comment
Share on other sites

--WEAPS DAY NIGHT

{down = device_commands.Button_1,cockpit_device_id = devices.PH, value_down = 0.0, name = _('WEAPS TEST2'), category = _('MODDED')},

{down = device_commands.Button_1,cockpit_device_id = devices.PH, value_down = 0.3, name = _('WEAPS TEST1'), category = _('MODDED')},

{down = device_commands.Button_1,cockpit_device_id = devices.PH, value_down = 0.5, name = _('WEAPS OFF'), category = _('MODDED')},

{down = device_commands.Button_1,cockpit_device_id = devices.PH, value_down = 0.8, name = _('WEAPS DAY'), category = _('MODDED')},

{down = device_commands.Button_1,cockpit_device_id = devices.PH, value_down = 1.0, name = _('WEAPS NIGHT'), category = _('MODDED')},

Link to comment
Share on other sites

While i'm at it here is all the switches ive got working so far:

 

 

 

--MODDED

 

--NADIR mode SELECTOR

{down = device_commands.Button_2,cockpit_device_id = devices.NADIR, value_down = 0.0, name = _('SA342 NADIR OFF'), category = _('MODDED')},

{down = device_commands.Button_2,cockpit_device_id = devices.NADIR, value_down = 0.2, name = _('SA342 NADIR STANDBY'), category = _('MODDED')},

{down = device_commands.Button_2,cockpit_device_id = devices.NADIR, value_down = 0.4, name = _('SA342 NADIR GROUND'), category = _('MODDED')},

{down = device_commands.Button_2,cockpit_device_id = devices.NADIR, value_down = 0.6, name = _('SA342 NADIR SEA'), category = _('MODDED')},

{down = device_commands.Button_2,cockpit_device_id = devices.NADIR, value_down = 0.8, name = _('SA342 NADIR AIR SPEED'), category = _('MODDED')},

{down = device_commands.Button_2,cockpit_device_id = devices.NADIR, value_down = 1.0, name = _('SA342 NADIR GROUND TEST'), category = _('MODDED')},

 

 

--NADIR parameter SELECTOR

{down = device_commands.Button_3,cockpit_device_id = devices.NADIR, value_down = 0.0, name = _('SA342 NADIR WIND'), category = _('MODDED')},

{down = device_commands.Button_3,cockpit_device_id = devices.NADIR, value_down = 0.2, name = _('SA342 NADIR MAG DEV'), category = _('MODDED')},

{down = device_commands.Button_3,cockpit_device_id = devices.NADIR, value_down = 0.4, name = _('SA342 NADIR GND SPEED'), category = _('MODDED')},

{down = device_commands.Button_3,cockpit_device_id = devices.NADIR, value_down = 0.6, name = _('SA342 NADIR CALC TIME'), category = _('MODDED')},

{down = device_commands.Button_3,cockpit_device_id = devices.NADIR, value_down = 0.8, name = _('SA342 NADIR CYRR POS'), category = _('MODDED')},

{down = device_commands.Button_3,cockpit_device_id = devices.NADIR, value_down = 1.0, name = _('SA342 NADIR WPT'), category = _('MODDED')},

 

 

--VCB MODE DIAL

{down = device_commands.Button_7,cockpit_device_id = devices.PE, value_down = 0.0, name = _('VCB MODE DIAL OFF'), category = _('MODDED')},

{down = device_commands.Button_7,cockpit_device_id = devices.PE, value_down = 0.2, name = _('VCB MODE DIAL TRAVEL'), category = _('MODDED')},

{down = device_commands.Button_7,cockpit_device_id = devices.PE, value_down = 0.5, name = _('VCB MODE DIAL STBY'), category = _('MODDED')},

{down = device_commands.Button_7,cockpit_device_id = devices.PE, value_down = 0.7, name = _('VCB MODE DIAL MANUAL'), category = _('MODDED')},

{down = device_commands.Button_7,cockpit_device_id = devices.PE, value_down = 1.0, name = _('VCB MODE DIAL TRACK'), category = _('MODDED')},

 

 

--ArtVisVhfDop-PTR

{down = device_commands.Button_7,cockpit_device_id = devices.FLIGHT_CONTROLS, value_down = 0.0, name = _('ArtVisVhfDop-ART'), category = _('MODDED')},

{down = device_commands.Button_7,cockpit_device_id = devices.FLIGHT_CONTROLS, value_down = 0.3, name = _('ArtVisVhfDop-VIS'), category = _('MODDED')},

{down = device_commands.Button_7,cockpit_device_id = devices.FLIGHT_CONTROLS, value_down = 0.6, name = _('ArtVisVhfDop-VHF'), category = _('MODDED')},

{down = device_commands.Button_7,cockpit_device_id = devices.FLIGHT_CONTROLS, value_down = 1.0, name = _('ArtVisVhfDop-WPT'), category = _('MODDED')},

 

 

--TRIM ON/OFF

{down = device_commands.Button_6,cockpit_device_id = devices.AUTOPILOT, value_down = 1, name = _('TRIM On'), category = _('MODDED')},

{down = device_commands.Button_6,cockpit_device_id = devices.AUTOPILOT, value_down = 0.0, name = _('TRIM Off'), category = _('MODDED')},

 

-- FLARE DISPENSER

{down = device_commands.Button_1,cockpit_device_id = devices.FD, value_down = 1.0, name = _('FLARES L'), category = _('MODDED')},

{down = device_commands.Button_1,cockpit_device_id = devices.FD, value_down = 0.0, name = _('FLARES BOTH'), category = _('MODDED')},

{down = device_commands.Button_1,cockpit_device_id = devices.FD, value_down = -1.0, name = _('FLARES R'), category = _('MODDED')},

 

{down = device_commands.Button_3,cockpit_device_id = devices.FD, value_down = 1.0, name = _('FLARE SLOW'), category = _('MODDED')},

{down = device_commands.Button_3,cockpit_device_id = devices.FD, value_down = 0.0, name = _('FLARE FAST'), category = _('MODDED')},

{down = device_commands.Button_3,cockpit_device_id = devices.FD, value_down = -1.0, name = _('FLARE OFF'), category = _('MODDED')},

 

{down = device_commands.Button_2,cockpit_device_id = devices.FD, value_down = 1.0, name = _('FLARE SINGLE'), category = _('MODDED')},

{down = device_commands.Button_2,cockpit_device_id = devices.FD, value_down = 0.0, name = _('FLARE SEQ'), category = _('MODDED')},

 

 

--WEAPS DAY NIGHT

{down = device_commands.Button_1,cockpit_device_id = devices.PH, value_down = 0.0, name = _('WEAPS TEST2'), category = _('MODDED')},

{down = device_commands.Button_1,cockpit_device_id = devices.PH, value_down = 0.3, name = _('WEAPS TEST1'), category = _('MODDED')},

{down = device_commands.Button_1,cockpit_device_id = devices.PH, value_down = 0.5, name = _('WEAPS OFF'), category = _('MODDED')},

{down = device_commands.Button_1,cockpit_device_id = devices.PH, value_down = 0.8, name = _('WEAPS DAY'), category = _('MODDED')},

{down = device_commands.Button_1,cockpit_device_id = devices.PH, value_down = 1.0, name = _('WEAPS NIGHT'), category = _('MODDED')},

 

Link to comment
Share on other sites

Thanks a lot LiveBait.

 

I've just realized how to get work Weapons commands a few minutes ago, but your values (0.3, 0.5 etc.) help a lot! Thank you.

 

I think we have already other all commands you provided, in DCS v1.5

 

Best wishes.

i7-2600 @3.4GHz | Corsair 16GB @1600MHz. | MSI GTX1660Ti Gaming X | Samsung 256GB SSD (Win10HPx64)
Samsung G5 32" + Samsung 18" + 2x8"TFT Displays | Saitek X-55 Rhino & Rudder | TM MFD Cougars | Logitech G13, G230, G510, PZ55 & Farming Sim Panel | TIR5
>>MY MODS<< | Discord: Devrim#1068

Link to comment
Share on other sites

Wow, Thanks again, I'm setting up switches in my pit and these are perfect.

 

BTW, Devrim, Love your cockpits. Helped a lot while learning.

 

And I LOL when I read about your daughters inverted flight. You better watch out, in a few years she may be coming at your six!

  • Like 2

"Yeah, and though I work in the valley of Death, I will fear no Evil. For where there is one, there is always three. I preparest my aircraft to receive the Iron that will be delivered in the presence of my enemies. Thy ALCM and JDAM they comfort me. Power was given unto the aircrew to make peace upon the world by way of the sword. And when the call went out, Behold the "Sword of Stealth". And his name was Death. And Hell followed him. For the day of wrath has come and no mercy shall be given."

Link to comment
Share on other sites

Wanted to say thanks again LiveBait, these work perfect. I'll study how you did them.

I made a 10 position key bind for the M2000 Flare dispenser number switch, as well as a couple of others that where missing for the EW panel, but had trouble with this one.

"Yeah, and though I work in the valley of Death, I will fear no Evil. For where there is one, there is always three. I preparest my aircraft to receive the Iron that will be delivered in the presence of my enemies. Thy ALCM and JDAM they comfort me. Power was given unto the aircrew to make peace upon the world by way of the sword. And when the call went out, Behold the "Sword of Stealth". And his name was Death. And Hell followed him. For the day of wrath has come and no mercy shall be given."

Link to comment
Share on other sites

Radar altimeter key binds

 

I've managed to create the CW and on/off test button key binds, but can not make the CCW work.

 

Would you guys mind taking a look and fix the code? With this working, I can finish the other gauges.

 

 

 

--RADAR_ALTIMETER

{down = device_commands.Button_1, up = device_commands.Button_1, cockpit_device_id = devices.RADAR_ALTIMETER, device_commands.Button_1, value_down = 0, value_up = 0.1, name = _('SA342 Radar Alt Bug CW'), category = _('SA342 Radar Alt')},

{down = device_commands.Button_3, up = device_commands.Button_3, cockpit_device_id = devices.RADAR_ALTIMETER, device_commands.Button_3, value_down = 1, value_up = 0, name = _('SA342 On/Off - Test'), category = _('SA342 Radar Alt')},

{down = device_commands.Button_2, up = device_commands.Button_2, cockpit_device_id = devices.RADAR_ALTIMETER, device_commands.Button_2, value_down = 0.1, value_up = 0.2, name = _('SA342 Radar Alt Bug CCW'), category = _('SA342 Radar Alt')},

 

 

Thanks

"Yeah, and though I work in the valley of Death, I will fear no Evil. For where there is one, there is always three. I preparest my aircraft to receive the Iron that will be delivered in the presence of my enemies. Thy ALCM and JDAM they comfort me. Power was given unto the aircrew to make peace upon the world by way of the sword. And when the call went out, Behold the "Sword of Stealth". And his name was Death. And Hell followed him. For the day of wrath has come and no mercy shall be given."

Link to comment
Share on other sites

I was playing around with the radar alt. this morning. I didnt bother with the test fuction and the bug will only move in small increments with each button push you assign to it (relates to the 0.1 values)

 

-- RADAR ALTIMETER

{down = device_commands.Button_2, up = device_commands.Button_2, cockpit_device_id = devices.RADAR_ALTIMETER, value_down = 1, name = _('RADAR ALTIMETER OFF'), category = _('MODDED')},

{down = device_commands.Button_2, up = device_commands.Button_2, cockpit_device_id = devices.RADAR_ALTIMETER, value_up = -1, name = _('RADAR ALTIMETER ON'), category = _('MODDED')},

 

 

-- RADAR ALTIMETER BUG

{down = device_commands.Button_1, up = device_commands.Button_1, cockpit_device_id = devices.RADAR_ALTIMETER, value_down = 0.1, name = _('RADAR ALTIMETER BUG UP'), category = _('MODDED')},

{down = device_commands.Button_1, up = device_commands.Button_1, cockpit_device_id = devices.RADAR_ALTIMETER, value_up = -0.1, name = _('RADAR ALTIMETER BUG DN'), category = _('MODDED')},

 

 

Would you guys mind taking a look and fix the code?

I only know very little about lua's from stuffing around in DCS which would be very obvious to someone who knows what they are doing. I really have no idea if theres a better way to do this, its all trial and error for me to work it out.

Glad i can help and share, like you did with some exports and Devrim does with his great mods.

What goes around, comes around.........

Link to comment
Share on other sites

Devrim, i remembered that HighwaymanEd had mad some lua changes for the warthog throttle to recognize 3-way switches for the huey. Heres a sample he did for the position light switch. In Mods\aircraft\Uh-1H\Input\UH-1H\joystick\Throttle - HOTAS Warthog.lua

 

-- Position Lights - 3 Way

{down = device_commands.Button_2, up = device_commands.Button_2, cockpit_device_id = devices.NAVLIGHT_SYSTEM, value_down = 1.0, value_up = 0.0, name = 'Nav Lights Steady / Off', category = 'MODDED'},

{down = device_commands.Button_2, up = device_commands.Button_2, cockpit_device_id = devices.NAVLIGHT_SYSTEM, value_down = -1.0, value_up = 0.0, name = 'Nav Lights Flash / Off', category = 'MODDED'},

And here is an example of a 2-way switch

 

-- Position Lights Brightness - 2 Way

{down = device_commands.Button_3, up = device_commands.Button_3, cockpit_device_id = devices.NAVLIGHT_SYSTEM, value_down = 1.0, value_up = 0.0, name = "Position Lights BRIGHT / DIM", category = "MODDED"},

 

Hope it helps you but it looks like your trying to get 3 possible positions out of a 2-way switch and this is as much help as i can offer.

  • Like 1
Link to comment
Share on other sites

Thank you guys. :)

i7-2600 @3.4GHz | Corsair 16GB @1600MHz. | MSI GTX1660Ti Gaming X | Samsung 256GB SSD (Win10HPx64)
Samsung G5 32" + Samsung 18" + 2x8"TFT Displays | Saitek X-55 Rhino & Rudder | TM MFD Cougars | Logitech G13, G230, G510, PZ55 & Farming Sim Panel | TIR5
>>MY MODS<< | Discord: Devrim#1068

Link to comment
Share on other sites

Thanks for the fix, I am learning as I go as well. So.......

 

Main panel trim switch (could not find this one at first, was listed under autopilot in clickable lua)

 

{down = device_commands.Button_6,cockpit_device_id = devices.AUTOPILOT, value_down = 1.0, name = _('SA342 Trim On'), category = _('SA342 Main Panel')},

{down = device_commands.Button_6,cockpit_device_id = devices.AUTOPILOT, value_down = 0.0, name = _('SA342 Trim Off'), category = _('SA342 Main Panel')},

 

Artificial Horizon

 

-- Artificial Horizon

{down = device_commands.Button_2, up = device_commands.Button_2, cockpit_device_id = devices.FLIGHT_CONTROLS, device_commands.Button_2, value_down = 1, value_up = 0, name = _('SA342 HA Unlock'), category = _('Artificial Horizon')},

 

-- Artificial Horizon Rotate

{down = device_commands.Button_1, up = device_commands.Button_1, cockpit_device_id = devices.FLIGHT_CONTROLS, device_commands.Button_1, value_down = 0.1, name = _('SA342 HA_Rot CW'), category = _('Artificial Horizon Rotate')},

{down = device_commands.Button_1, up = device_commands.Button_1, cockpit_device_id = devices.FLIGHT_CONTROLS, device_commands.Button_1, value_down = -0.1, name = _('SA342 HA_Rot CCW'), category = _('Artificial Horizon Rotate')},

 

Standby AH WIP, on/off works but can not rotate at the same time,

 

 

-- [stby HA]

{down = device_commands.Button_4, up = device_commands.Button_4, cockpit_device_id = devices.FLIGHT_CONTROLS, device_commands.Button_4, value_down = 1, value_up = 0, name = _('SA342 STDBYHA Unlock'), category = _('StdbyHA-PTR')},

{down = device_commands.Button_3, up = device_commands.Button_3, cockpit_device_id = devices.FLIGHT_CONTROLS, device_commands.Button_3, value_down = 0.1, name = _('Stdby_HA_butRot CW'), category = _('StdbyHA-PTR')},

{down = device_commands.Button_3, up = device_commands.Button_3, cockpit_device_id = devices.FLIGHT_CONTROLS, device_commands.Button_3, value_down = -0.1, name = _('Stdby_HA_butRot CCW'), category = _('StdbyHA-PTR')},

 

With these I think we have all the key binds.

 

Thanks guys


Edited by Hawkeye60

"Yeah, and though I work in the valley of Death, I will fear no Evil. For where there is one, there is always three. I preparest my aircraft to receive the Iron that will be delivered in the presence of my enemies. Thy ALCM and JDAM they comfort me. Power was given unto the aircrew to make peace upon the world by way of the sword. And when the call went out, Behold the "Sword of Stealth". And his name was Death. And Hell followed him. For the day of wrath has come and no mercy shall be given."

Link to comment
Share on other sites

-- [sTBY HA]

{down = device_commands.Button_4, up = device_commands.Button_4, cockpit_device_id = devices.FLIGHT_CONTROLS, value_down = 1, value_up = 0, name = _('STBY HA Unlock'), category = _('MODDED')},

{down = device_commands.Button_3, up = device_commands.Button_3, cockpit_device_id = devices.FLIGHT_CONTROLS, value_down = 0.1, name = _('STBY_HA_butRot CW'), category = _('MODDED')},

{down = device_commands.Button_3, up = device_commands.Button_3, cockpit_device_id = devices.FLIGHT_CONTROLS, value_down = -0.1, name = _('STBY_HA_butRot CCW'), category = _('MODDED')}

 

The trick to get this to rotate while you have the knob pulled out is to assign the same modifier (ctrl / shift / alt) to all three commands, in DCS controls. If you have different modiers pushed at the same time, the following key press is not recognized.

eg:

STBY HA UNLOCK-------RSHIFT A

STBY HA CW------------RSHIFT S

STBY HA CCW----------RSHIFT D

Link to comment
Share on other sites

Radios

 

--UHF MODE

{down = device_commands.Button_1,cockpit_device_id = devices.UHF_RADIO, value_down = 0.0, name = _('UHF MODE O'), category = _('MODDED')},

{down = device_commands.Button_1,cockpit_device_id = devices.UHF_RADIO, value_down = 0.165, name = _('UHF MODE FF'), category = _('MODDED')},

{down = device_commands.Button_1,cockpit_device_id = devices.UHF_RADIO, value_down = 0.33, name = _('UHF MODE NA'), category = _('MODDED')},

{down = device_commands.Button_1,cockpit_device_id = devices.UHF_RADIO, value_down = 0.495, name = _('UHF MODE SV'), category = _('MODDED')},

{down = device_commands.Button_1,cockpit_device_id = devices.UHF_RADIO, value_down = 0.66, name = _('UHF MODE DL'), category = _('MODDED')},

{down = device_commands.Button_1,cockpit_device_id = devices.UHF_RADIO, value_down = 0.825, name = _('UHF MODE G'), category = _('MODDED')},

{down = device_commands.Button_1,cockpit_device_id = devices.UHF_RADIO, value_down = 1.0, name = _('UHF MODE EN'), category = _('MODDED')},

Something funky going on here, there is no Ch4 in the controls menu and the existing Ch5 is really ch4 so below registers as Ch5 (even comes up in the controls as Ch5 if i name it Ch4 :huh:) I assume this will be fixed sooner rather than later so i put it in its own category so i remember about it (same name but with capitals)

--UHF CH4

{down = device_commands.Button_10, up = device_commands.Button_10, cockpit_device_id = devices.UHF_RADIO, value_down = 1, value_up = 0,name = _('SA342 UHF 5'), category = _('UHF RADIO')},

 

 

-- FM RADIO

{down = device_commands.Button_1,cockpit_device_id = devices.FM_RADIO, value_down = 0.0, name = _('FM SELECTOR AR'), category = _('MODDED')},

{down = device_commands.Button_1,cockpit_device_id = devices.FM_RADIO, value_down = 0.2, name = _('FM SELECTOR TRAFFIC'), category = _('MODDED')},

{down = device_commands.Button_1,cockpit_device_id = devices.FM_RADIO, value_down = 0.4, name = _('FM SELECTOR CH OTAN'), category = _('MODDED')},

{down = device_commands.Button_1,cockpit_device_id = devices.FM_RADIO, value_down = 0.6, name = _('FM SELECTOR REL'), category = _('MODDED')},

{down = device_commands.Button_1,cockpit_device_id = devices.FM_RADIO, value_down = 1.0, name = _('FM SELECTOR TST'), category = _('MODDED')},

 

{down = device_commands.Button_2,cockpit_device_id = devices.FM_RADIO, value_down = 0.0, name = _('FM CH 1'), category = _('MODDED')},

{down = device_commands.Button_2,cockpit_device_id = devices.FM_RADIO, value_down = 0.142, name = _('FM CH 2'), category = _('MODDED')},

{down = device_commands.Button_2,cockpit_device_id = devices.FM_RADIO, value_down = 0.284, name = _('FM CH 3'), category = _('MODDED')},

{down = device_commands.Button_2,cockpit_device_id = devices.FM_RADIO, value_down = 0.426, name = _('FM CH 4'), category = _('MODDED')},

{down = device_commands.Button_2,cockpit_device_id = devices.FM_RADIO, value_down = 0.568, name = _('FM CH 5'), category = _('MODDED')},

{down = device_commands.Button_2,cockpit_device_id = devices.FM_RADIO, value_down = 0.715, name = _('FM CH 6'), category = _('MODDED')},

{down = device_commands.Button_2,cockpit_device_id = devices.FM_RADIO, value_down = 0.855, name = _('FM CH 0'), category = _('MODDED')},

{down = device_commands.Button_2,cockpit_device_id = devices.FM_RADIO, value_down = 1.0, name = _('FM CH RG'), category = _('MODDED')},

 

 

--ADF RADIO SELECTOR

{down = device_commands.Button_3,cockpit_device_id = devices.ADF, value_down = 0.0, name = _('ADF SELECTOR OFF'), category = _('MODDED')},

{down = device_commands.Button_3,cockpit_device_id = devices.ADF, value_down = 0.33, name = _('ADF SELECTOR ANT'), category = _('MODDED')},

{down = device_commands.Button_3,cockpit_device_id = devices.ADF, value_down = 0.66, name = _('ADF SELECTOR ADF'), category = _('MODDED')},

{down = device_commands.Button_3,cockpit_device_id = devices.ADF, value_down = 1.0, name = _('ADF SELECTOR TEST'), category = _('MODDED')},

Link to comment
Share on other sites

Browse: "...\DCS World\Mods\aircraft\SA342\Input\keyboard\" folder.

 

Open: default.lua with a decent application (such as Notepad++)

 

Copy the line above in default.lua between,

keyCommands = {

 

paste here

 

},

}

lines.

 

And run DCS World and assign your keys in Options / Controls page.

i7-2600 @3.4GHz | Corsair 16GB @1600MHz. | MSI GTX1660Ti Gaming X | Samsung 256GB SSD (Win10HPx64)
Samsung G5 32" + Samsung 18" + 2x8"TFT Displays | Saitek X-55 Rhino & Rudder | TM MFD Cougars | Logitech G13, G230, G510, PZ55 & Farming Sim Panel | TIR5
>>MY MODS<< | Discord: Devrim#1068

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 years later...

I came up with this old thread while googling on flare dispenser. Well the appetite got up and I would like to ask if someone knows how to modify the light switches. For instance panel lights is as an on/off in the .lua I would like to change it to two keyassignments on and off

 

 

Apparently this did not work:

{down = device_commands.Button_43,cockpit_device_id = devices.NAVLIGHTS, value_down = 1, name = _('SA342 Panels Lighting On'), category = _('SA342 Main Panel')},
{down = device_commands.Button_43,cockpit_device_id = devices.NAVLIGHTS,  value_down = 0, name = _('SA342 Panels Lighting On'), category =  _('SA342 Main Panel')},

 

 

I am wondering about this Button_43 number, where does it come from?

Similarly I would like to change the formation lights to separate On and Off and Navigation Lights to three way switch?

Link to comment
Share on other sites

  • Recently Browsing   0 members

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