Shadow_1stVFW Posted July 26, 2017 Share Posted July 26, 2017 Just browsing through the control options for the jet here figured it'd be nice if the air refuel transfer switch positions could be a 3 way switch. Personal Request. Only putting it here so it's documented. That is all. Thank you. Aurora R7 || i7K 8700K || 2TB 7200RPM SATA 6Gb/s || 2TB M.2 PCIe x4 SSD || GTX 1080 Ti with 11GB GDDR5X || Windows 10 Pro || 32GB Dual Channel DDR4 at 2667MHz || Virpil Warbird Base || Virpil T-50 Stick || Virpil MT-50 Throttle || Thrustmaster TPR Pedals || Oculus Rift Link to comment Share on other sites More sharing options...
sunski34 Posted July 26, 2017 Share Posted July 26, 2017 Hi, see here : https://forums.eagle.ru/showpost.php?p=3189588&postcount=1 here is an extract : {down = 3193, up = 3193, cockpit_device_id = 7, value_down = 0, value_up = 0.5, name = _('Air Refuel Transfer Switch OFF ELSE ON day'), category = _('Add on switch')}, {down = 3193, up = 3193, cockpit_device_id = 7, value_down = 1, value_up = 0.5, name = _('Air Refuel Transfer Switch ON night ELSE ON day'), category = _('Add on switch')}, you just have to add those lines in the default lua joystick file. Hope that help. Sunski Link to comment Share on other sites More sharing options...
otavio Posted July 27, 2017 Share Posted July 27, 2017 Hi, see here : https://forums.eagle.ru/showpost.php?p=3189588&postcount=1 here is an extract : {down = 3193, up = 3193, cockpit_device_id = 7, value_down = 0, value_up = 0.5, name = _('Air Refuel Transfer Switch OFF ELSE ON day'), category = _('Add on switch')}, {down = 3193, up = 3193, cockpit_device_id = 7, value_down = 1, value_up = 0.5, name = _('Air Refuel Transfer Switch ON night ELSE ON day'), category = _('Add on switch')}, you just have to add those lines in the default lua joystick file. Hope that help. Sunski I tried it, but whenever i add those lines on my default.lua file all 3pos abstraction keybinds are gone as well as all my joystick binds. Can you post an example of how the file should look like? Ryzen 5 3600x @ GTX 1070 on Samsung Odyssey+ :joystick: Thrustmaster Hotas Warthog, Saitek Pro Flight Combat Rudder Pedals, TrackIR 4 Pro Link to comment Share on other sites More sharing options...
Shadow_1stVFW Posted July 27, 2017 Author Share Posted July 27, 2017 Hi, see here : https://forums.eagle.ru/showpost.php?p=3189588&postcount=1 here is an extract : {down = 3193, up = 3193, cockpit_device_id = 7, value_down = 0, value_up = 0.5, name = _('Air Refuel Transfer Switch OFF ELSE ON day'), category = _('Add on switch')}, {down = 3193, up = 3193, cockpit_device_id = 7, value_down = 1, value_up = 0.5, name = _('Air Refuel Transfer Switch ON night ELSE ON day'), category = _('Add on switch')}, you just have to add those lines in the default lua joystick file. Hope that help. SunskiThanks for the suggestion. I'll try this out later on. Thank you Sent from my SAMSUNG-SM-G900A using Tapatalk Aurora R7 || i7K 8700K || 2TB 7200RPM SATA 6Gb/s || 2TB M.2 PCIe x4 SSD || GTX 1080 Ti with 11GB GDDR5X || Windows 10 Pro || 32GB Dual Channel DDR4 at 2667MHz || Virpil Warbird Base || Virpil T-50 Stick || Virpil MT-50 Throttle || Thrustmaster TPR Pedals || Oculus Rift Link to comment Share on other sites More sharing options...
sunski34 Posted July 28, 2017 Share Posted July 28, 2017 I tried it, but whenever i add those lines on my default.lua file all 3pos abstraction keybinds are gone as well as all my joystick binds. Can you post an example of how the file should look like? I will send you my mod asap. Link to comment Share on other sites More sharing options...
sunski34 Posted July 28, 2017 Share Posted July 28, 2017 (edited) Hi, here is the mod (to use with JSGME) and the file (be careful, I suppressed all default buttons assignations). In the joigned image, the modification to modify manually in disk:\Program Files\Eagle Dynamics\DCS World\Mods\aircraft\M-2000C\Input\M-2000C\joystick SunskiM2000C Input.zipdefault.lua Edited July 28, 2017 by sunski34 Link to comment Share on other sites More sharing options...
otavio Posted July 29, 2017 Share Posted July 29, 2017 Hi, here is the mod (to use with JSGME) and the file (be careful, I suppressed all default buttons assignations). In the joigned image, the modification to modify manually in disk:\Program Files\Eagle Dynamics\DCS World\Mods\aircraft\M-2000C\Input\M-2000C\joystick Sunski Worked great! Thank you. I was wondering if the same could be done for other switches? (Gun Arm, Jettison Cover, etc) Ryzen 5 3600x @ GTX 1070 on Samsung Odyssey+ :joystick: Thrustmaster Hotas Warthog, Saitek Pro Flight Combat Rudder Pedals, TrackIR 4 Pro Link to comment Share on other sites More sharing options...
sunski34 Posted July 30, 2017 Share Posted July 30, 2017 (edited) Hi, the only problem is iCommandPlaneCobra (for G limiter roll when heavy) which must be set manually if the corresponding switch is set initially. For your question about jettison cover, yes you can because the two positions declared in the initial default file like this : {down = 3248, up = 3248, cockpit_device_id = 6, value_down = 1, name = _('Selective Jettison Safety Cover OPEN'), category = _('Weapons Management')}, {down = 3248, up = 3248, cockpit_device_id = 6, value_down = 0, name = _('Selective Jettison Safety Cover CLOSED'), category = _('Weapons Management')}, So you can create a new command line in the same section (-- ADD section) : {down = 3248, up = 3248, cockpit_device_id = 6, value_down = 1, value_up = 0, name = _('Selective Jettison Safety Cover Open ELSE Close'), category = _('Add on swicth')}, As you can see, I just add value_up in good place with the good value. You can do the same for gun arm Hope that help. Sunski. Edited July 30, 2017 by sunski34 Link to comment Share on other sites More sharing options...
Recommended Posts