Devrim Posted June 11, 2016 Posted June 11, 2016 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. :) 1 Intel i7-14700@5.6GHz | MSI RTX4080 SuperSuprimX | Corsair V. 64GB@6400MHz. | Samsung 1TB 990 PRO SSD (Win10Homex64) Samsung G5 32" + Samsung 18" + 2x8"TFT Displays | TM Warthog Stick w/AVA Base | VPC MongoosT-50CM3 Throttle | TM MFD Cougars | Logitech G13, G230, G510, PZ55 & Farming Sim Panel | TIR5 & M.Quest3 VR >>MY MODS<< | Discord: Devrim#1068
LiveBait Posted June 11, 2016 Posted June 11, 2016 (edited) 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 June 11, 2016 by LiveBait 1
Hawkeye60 Posted June 11, 2016 Posted June 11, 2016 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."
Devrim Posted June 11, 2016 Author Posted June 11, 2016 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. :) Intel i7-14700@5.6GHz | MSI RTX4080 SuperSuprimX | Corsair V. 64GB@6400MHz. | Samsung 1TB 990 PRO SSD (Win10Homex64) Samsung G5 32" + Samsung 18" + 2x8"TFT Displays | TM Warthog Stick w/AVA Base | VPC MongoosT-50CM3 Throttle | TM MFD Cougars | Logitech G13, G230, G510, PZ55 & Farming Sim Panel | TIR5 & M.Quest3 VR >>MY MODS<< | Discord: Devrim#1068
LiveBait Posted June 12, 2016 Posted June 12, 2016 --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')},
LiveBait Posted June 12, 2016 Posted June 12, 2016 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')},
Devrim Posted June 12, 2016 Author Posted June 12, 2016 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. Intel i7-14700@5.6GHz | MSI RTX4080 SuperSuprimX | Corsair V. 64GB@6400MHz. | Samsung 1TB 990 PRO SSD (Win10Homex64) Samsung G5 32" + Samsung 18" + 2x8"TFT Displays | TM Warthog Stick w/AVA Base | VPC MongoosT-50CM3 Throttle | TM MFD Cougars | Logitech G13, G230, G510, PZ55 & Farming Sim Panel | TIR5 & M.Quest3 VR >>MY MODS<< | Discord: Devrim#1068
Hawkeye60 Posted June 12, 2016 Posted June 12, 2016 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! 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."
Hawkeye60 Posted June 12, 2016 Posted June 12, 2016 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."
Hawkeye60 Posted June 12, 2016 Posted June 12, 2016 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."
LiveBait Posted June 13, 2016 Posted June 13, 2016 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.........
LiveBait Posted June 13, 2016 Posted June 13, 2016 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. 1
Devrim Posted June 13, 2016 Author Posted June 13, 2016 Thank you guys. :) Intel i7-14700@5.6GHz | MSI RTX4080 SuperSuprimX | Corsair V. 64GB@6400MHz. | Samsung 1TB 990 PRO SSD (Win10Homex64) Samsung G5 32" + Samsung 18" + 2x8"TFT Displays | TM Warthog Stick w/AVA Base | VPC MongoosT-50CM3 Throttle | TM MFD Cougars | Logitech G13, G230, G510, PZ55 & Farming Sim Panel | TIR5 & M.Quest3 VR >>MY MODS<< | Discord: Devrim#1068
Mt5_Roie Posted June 13, 2016 Posted June 13, 2016 Interesting thread guys. Might want to suggest these get added to future versions in the enhancement thread. Keep up the good work guys. 1 Coder - Oculus Rift Guy - Court Jester
Hawkeye60 Posted June 13, 2016 Posted June 13, 2016 (edited) 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 June 14, 2016 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."
LiveBait Posted June 15, 2016 Posted June 15, 2016 -- [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
LiveBait Posted June 15, 2016 Posted June 15, 2016 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')},
the_soupdragon Posted June 15, 2016 Posted June 15, 2016 OK. Im a bit confused. What do I do with these commands? where do they go and how do I assign them :unsure: Cheers SD [sIGPIC][/sIGPIC]
Devrim Posted June 15, 2016 Author Posted June 15, 2016 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. Intel i7-14700@5.6GHz | MSI RTX4080 SuperSuprimX | Corsair V. 64GB@6400MHz. | Samsung 1TB 990 PRO SSD (Win10Homex64) Samsung G5 32" + Samsung 18" + 2x8"TFT Displays | TM Warthog Stick w/AVA Base | VPC MongoosT-50CM3 Throttle | TM MFD Cougars | Logitech G13, G230, G510, PZ55 & Farming Sim Panel | TIR5 & M.Quest3 VR >>MY MODS<< | Discord: Devrim#1068
C6_Hellfrog Posted June 28, 2016 Posted June 28, 2016 (edited) has anyone already done missing bindings for SA342 L variant (weapons ...) ? Edited June 28, 2016 by C6_Hellfrog
LiveBait Posted June 29, 2016 Posted June 29, 2016 I haven't yet. I don't have the dcs open beta installed. When they release her into the wild I will probably have a look.
C6_Hellfrog Posted June 30, 2016 Posted June 30, 2016 won't work on 154 SA342 L because of different dll. confirmed by dev team.
Jyge Posted December 14, 2018 Posted December 14, 2018 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?
Recommended Posts