Jinef Posted September 26, 2016 Posted September 26, 2016 Dear ED Forum, I have just spent 4 hours attempting to get my Mig-21 Flaps work as they should with my 3 position switch on my TM Warthog throttle. There is lots of info out there however it still required me to edit the LUA files and do lots of trial and error. So in the hope of making it a shorter and less brain melting event for the next user I paste my findings below. Navigate the default.lua found somewhere around here: C:\DCS World\Mods\aircraft\MiG-21BIS\Input\MiG-21\joystick Open with text editor. Look for flaps. Add 2 lines {combos = {{key = 'JOY_BTN22'}}, cockpit_device_id = devices.FLAPS, down = device_commands.Flaps0, value_down = 1.0, up = device_commands.Flaps25, value_up = 1.0, name = _('Flaps Up Toggle'), category = _('Flight Control')}, {combos = {{key = 'JOY_BTN23'}}, cockpit_device_id = devices.FLAPS, down = device_commands.Flaps45, value_down = 1.0, up = device_commands.Flaps25, value_up = 1.0, name = _('Flaps Down Toggle'), category = _('Flight Control')}, Kind Regards, Jay
Nash Posted September 26, 2016 Posted September 26, 2016 Thanks Mate Sent from my A210 using Tapatalk Check Six!!!__ ||AMD R7-2700X||ASUS ROG STRIX-X470F Gaming||SAPPHIRE RX 7900 XTX 24GB OC||GSKILL-TridentZRGB 16GBDDR4 3200C14||WARTHOG HOTAS||CORSAIR RM 1000X||
Mrgud Posted September 26, 2016 Posted September 26, 2016 (edited) I have it set without any LUA editing. It can be done using just press and release functions in TARGET. select control----assign parameters====select event FLAPU----L_SHIFT f (press)====flaps up FLAPU----f (release)====flaps take-off FLAPD----f (press)====flaps down FLAPD----L_SHIFT f (release)====flaps take-off I hope it helps! ;) Edited September 26, 2016 by Mrgud
dcshobbis Posted September 26, 2016 Posted September 26, 2016 Very well done Jinef! Thanks for sharing! I will try this out as soon as possible. I avoid using TARGET so this was exactly what I was searching for. :-) Regards HoBBiS Simpit: i7 8700k, 64GB RAM, Geforce RTX 2080 TI, Oculus Rift-S, Grip: Virpil Constellation Alpha. Throttle: Virpil Mongoos T-50CM2 all mounted on a IKEA office chair with the Monstertech office chair kit.
Panthir Posted October 7, 2017 Posted October 7, 2017 Thank you mate. My Hardware: ROG Strix X570-F Gaming - AMD 5600X @ 4.7 ghz - G.SKILL TRIDENT 32GB DDR4 3200 (14-14-14-34 CL) - GigaByte 3080ti OC 12gb - Corsair MP600 Force 1TB - 2 x EVO Nvme 500GB - Virpil Warbird Base T-50CM2 and TM Throttle + Trackhat + G25 + AOC AG271QG 27" My Modules: JF-17, F-16C, AV-8N/A, F-18C, ASJ37, MiG-15Bis, MiG-21Bis, Fw-190D, Bf-109K, P-51D, F-86F, Ka-50 III, UH-1H, Mi-8MTV2, NS430, FC3, A-10C, Mirage 2000C, L-39, F-5E-3, SA342, Spitfire, AH-64, Mirage F-1CE. My Maps: Nevada, Normandy, Persian Gulf, Syria, South Atlantic.
twanmal Posted September 2, 2021 Posted September 2, 2021 thanks mate, i'll give this a try for other aircrafts too H97M-E --- 16GB DDR3--- i4790k --- GTX 1080 --- Oculus Rift
Recommended Posts