Colseg Posted September 18, 2014 Share Posted September 18, 2014 (edited) This default.lua file when placed in the location specified by the file structure within the zipped archive will add the extra bindings: 3 Position "Alternate Flaps Up"/"Alternate Flaps Down," "Alternate Gears Up"/"Alternate Gears Down" "Alternate Landing Lights Land"/"Alternate Landing Lights Off" "Alternate Weapon AA Mode - IR Missile"/"Alternate Weapon AA Mode - SAR Missile" "Alternate Radar On"/"Alternate Radar Off" "Alternate RSBN Mode: Descend"/"Alternate RSBN Mode: Landing" "Alternate Nav Lights Min/Off"/"Alternate Nav Lights Max/Off"/"Alternate Nav Lights Max/Med" "Alternate Low Altitude Antenna Tilt"/"Alternate Low Altitude Filter Off" 2 Position "Alternate Gears Handle Lock released" "Alternate Airbrakes On" "Alternate Emergency Afterburner On" "Alternate Engine Emergency Air Start On" "Alternate Nosegear Brake On" "Alternate APU On" "Alternate Master Mode - Air" "Alternate Landing Lights Land 2 Position Only" "Alternate Weapon AA Mode - IR Missile 2 Position Only" "Alternate Afterburner/Maximum On" On the bindings with 2 options simply bind the up and down/on and off position to the respective positions on any of your 3 position switches, for the single bindings simply bind it to any of your two position switches. In this way the 3 position switches will have their middle position function as you would expect and the 2 position switches will have their down position function as expected as well. This thread http://forums.eagle.ru/showthread.php?p=2289411 explains in detail the format of the keybinding lines in the Lua. If anyone has any requests for other modified mappings I can look into adding them to this file. 10/05/2015:Sorry about not being around for a while, got busy with a house move and some things, I have ported my modification for the MiG-21Bis over to the DCS Beta now and have confirmed the functionality of all of the bindings except for "Alternate Landing Lights Land"/"Alternate Landing Lights Off", "Alternate Landing Lights Land 2 Position Only", and "Alternate Nav Lights Min/Off"/"Alternate Nav Lights Max/Off"/"Alternate Nav Lights Max/Med". The light related binding have been disabled until I have the chance to dig into the changes made regarding them to get them working again, also "Alternate Afterburner/Maximum On" appears to be buggy right now, the switch makes the moving sound when the corresponding warthog switch is flipped either direction and according to where the green cursor for flipping it is the switch is in the correct position however visually the switch appears stuck in the down position, I have not had a chance to test however the switch binding may function adequately. If anyone can chime in about whether the "Alternate Afterburner/Maximum On" binding is working or not that would be great, otherwise it may be a day or two before I have the chance to test it more.MiG-21BIS Custom Controls.rarMiG-21BIS Custom Controls (Beta DCS).rar Edited October 6, 2015 by Colseg Update for DCS 1.5 Beta 16 Link to comment Share on other sites More sharing options...
Tetra Posted September 18, 2014 Share Posted September 18, 2014 Many thanks for doing this :) Was literally just thinking it would be great to have this for the flaps but the gear is also a nice bonus too! My Mods: Radar Warning Receiver Audio Expansion G-Breath Sound Mod Link to comment Share on other sites More sharing options...
Colseg Posted September 18, 2014 Author Share Posted September 18, 2014 The reason I made it so soon after release is that I couldn't manage to complete the landing tutorial until I had this setup, stay tuned as I will be updating it with an Air Brake binding as well in a few minutes. Link to comment Share on other sites More sharing options...
Tetra Posted September 18, 2014 Share Posted September 18, 2014 :thumbup: Great news My Mods: Radar Warning Receiver Audio Expansion G-Breath Sound Mod Link to comment Share on other sites More sharing options...
Cyb0rg Posted September 18, 2014 Share Posted September 18, 2014 Very useful. Thank you. Rep. Inbound. [sIGPIC][/sIGPIC] Asteroids ____________________________________________ Update this :D Link to comment Share on other sites More sharing options...
jjohnson241 Posted September 18, 2014 Share Posted September 18, 2014 Colseg, In my installation the main DCS directory\Mods contains an "Aircraft" and an "Aircrafts" folder. The "Aircraft" folder was apparently installed when I downloaded the MIG-21 using module manager. It contains the MIG-21 sub-folder. The "Aircrafts" folder is original I believe to DCS and does not contain the MIG. Your default config for the joystick is installed to the "Aircrafts" folder and the game is not reading that folder after the last update. Can I just change the destination folder to "Aircraft" rather than "Aircrafts"? Do you have both folders in your installation? Thanks. [sIGPIC][/sIGPIC] 3rd Mar Div RVN '66-'67 Link to comment Share on other sites More sharing options...
GregP Posted September 18, 2014 Share Posted September 18, 2014 jjohnson241, I just verified myself that what you suggest does indeed work. Link to comment Share on other sites More sharing options...
Vaporblast Posted September 18, 2014 Share Posted September 18, 2014 This should be a sticky post. Link to comment Share on other sites More sharing options...
jjohnson241 Posted September 18, 2014 Share Posted September 18, 2014 Well if it wasn't for Colseg's original post I would have never noticed the Aircrafts vs. Aircraft folders. I'm apparently not the only one with the two folder syndrome. Anyhow, thanks for the feedback. [sIGPIC][/sIGPIC] 3rd Mar Div RVN '66-'67 Link to comment Share on other sites More sharing options...
Colseg Posted September 19, 2014 Author Share Posted September 19, 2014 Colseg, In my installation the main DCS directory\Mods contains an "Aircraft" and an "Aircrafts" folder. The "Aircraft" folder was apparently installed when I downloaded the MIG-21 using module manager. It contains the MIG-21 sub-folder. The "Aircrafts" folder is original I believe to DCS and does not contain the MIG. Your default config for the joystick is installed to the "Aircrafts" folder and the game is not reading that folder after the last update. Can I just change the destination folder to "Aircraft" rather than "Aircrafts"? Do you have both folders in your installation? Thanks. Sorry I couldn't answer until now, yes it should go in the aircraft folder, the s on the end was a typo on my part, uploading a fixed zip now. Link to comment Share on other sites More sharing options...
cichlidfan Posted September 19, 2014 Share Posted September 19, 2014 Nice. Thank you! ASUS ROG Maximus VIII Hero, i7-6700K, Noctua NH-D14 Cooler, Crucial 32GB DDR4 2133, Samsung 950 Pro NVMe 256GB, Samsung EVO 250GB & 500GB SSD, 2TB Caviar Black, Zotac GTX 1080 AMP! Extreme 8GB, Corsair HX1000i, Phillips BDM4065UC 40" 4k monitor, VX2258 TouchScreen, TIR 5 w/ProClip, TM Warthog, VKB Gladiator Pro, Saitek X56, et. al., MFG Crosswind Pedals #1199, VolairSim Pit, Rift CV1 :thumbup: Link to comment Share on other sites More sharing options...
Cyb0rg Posted September 19, 2014 Share Posted September 19, 2014 For those who wants to use the pinky switch for external lights add this : --Alternate Landing Lights {down=device_commands.LandingLights,cockpit_device_id=devices.LIGHTS,up=device_commands.LandingLights,value_down=0,value_up=0.5,name='Alternate Landing Lights Taxi',category='Lights'}, {down=device_commands.LandingLights,cockpit_device_id=devices.LIGHTS,up=device_commands.LandingLights,value_down=1.0,value_up=0.5,name='Alternate Landing Lights Land',category='Lights'}, [sIGPIC][/sIGPIC] Asteroids ____________________________________________ Update this :D Link to comment Share on other sites More sharing options...
KewlerMouh Posted September 19, 2014 Share Posted September 19, 2014 Thank you very much, very helpful! Rep inbound :) Link to comment Share on other sites More sharing options...
etcher Posted September 19, 2014 Share Posted September 19, 2014 Thanks a lot! [sIGPIC][/sIGPIC] Link to comment Share on other sites More sharing options...
Colseg Posted September 19, 2014 Author Share Posted September 19, 2014 For those who wants to use the pinky switch for external lights add this : --Alternate Landing Lights {down=device_commands.LandingLights,cockpit_device_id=devices.LIGHTS,up=device_commands.LandingLights,value_down=0,value_up=0.5,name='Alternate Landing Lights Taxi',category='Lights'}, {down=device_commands.LandingLights,cockpit_device_id=devices.LIGHTS,up=device_commands.LandingLights,value_down=1.0,value_up=0.5,name='Alternate Landing Lights Land',category='Lights'}, Mind if I add that to the zip? 2 Link to comment Share on other sites More sharing options...
xxJohnxx Posted September 19, 2014 Share Posted September 19, 2014 Thanks for your work, very appricated. When you are at it, do you might consider to add the missing rearming/refuelling keybind as well? Check out my YouTube: xxJohnxx Intel i7 6800k watercooled | ASUS Rampage V Edition 10 | 32 GB RAM | Asus GTX1080 watercooled Link to comment Share on other sites More sharing options...
Colseg Posted September 19, 2014 Author Share Posted September 19, 2014 Thanks for your work, very appricated. When you are at it, do you might consider to add the missing rearming/refuelling keybind as well? This {combos={{key='.'}},down=iCommandMissionResourcesManagement,name='Rearming and Refueling Window',category='General'}, is already in the .lua out of the box and is showing up in my mig-21bis keybinds under general as it should. Link to comment Share on other sites More sharing options...
Rivvern Posted September 19, 2014 Share Posted September 19, 2014 Thanks Colseg! [sIGPIC][/sIGPIC] We are looking for Swedish members! http://www.masterarms.se Link to comment Share on other sites More sharing options...
Cyb0rg Posted September 19, 2014 Share Posted September 19, 2014 Mind if I add that to the zip? Of course i don't mind. Add it. :) 2 [sIGPIC][/sIGPIC] Asteroids ____________________________________________ Update this :D Link to comment Share on other sites More sharing options...
NeilWillis Posted September 19, 2014 Share Posted September 19, 2014 Excellent work guys, and congratulations on being the first to produce a mod for the MiG-21. Reps to you both! Link to comment Share on other sites More sharing options...
Para_Bellum Posted September 19, 2014 Share Posted September 19, 2014 Thanks, much appreciated! Link to comment Share on other sites More sharing options...
Derbysieger Posted September 19, 2014 Share Posted September 19, 2014 Thank you for this ;) CPU: AMD Ryzen 9 5900X | Mobo: Gigabyte X570 Aorus Pro | RAM: 64GB DDR4 3600 G.Skill TridentZ | GPU: Palit RTX3080 Ti 12GB | SSDs: 2xSabrent Rocket 1TB M.2 | Samsung Pro 256GB | Samsung EVO 850 500GB | Samsung QVO 1TB Peripherals: Warthog HOTAS | TrackIR 5 | MFG Crosswinds | 3xTM Cougar MFDs | HP Reverb G2 Link to comment Share on other sites More sharing options...
MTFDarkEagle Posted September 19, 2014 Share Posted September 19, 2014 Super!!!!! Q: Do you know where to find the throttle-cut-off lock? Can't seem to find it.... Lukas - "TIN TIN" - 9th Shrek Air Strike Squadron TIN TIN's Cockpit thread Link to comment Share on other sites More sharing options...
Colseg Posted September 19, 2014 Author Share Posted September 19, 2014 (edited) Of course i don't mind. Add it. :) Thanks, added my own rewrite of those binding, it is in the OP now. Excellent work guys, and congratulations on being the first to produce a mod for the MiG-21. Thanks, I guess I never thought of it that way but it is cool to be the first modder on a new module. Q: Do you know where to find the throttle-cut-off lock? Can't seem to find it.... I believe {combos={{key='E',reformers={'LWin','LShift'}}},pressed=device_commands.RUDStop_lock,up=device_commands.RUDStop_lock,cockpit_device_id=devices.ENGINE_START_DEVICE,value_pressed=1.0,value_up=0.0,name='Throttle Start/Stop Position Toggle',category='Engine'}, this line from the default.lua may be referring to the keybind you are looking for in which case it should be in already under the Engine category with the name Throttle Start/Stop Position Toggle, however I do not know if this is the specific function you are referring to. Edited September 19, 2014 by Colseg Link to comment Share on other sites More sharing options...
etcher Posted September 19, 2014 Share Posted September 19, 2014 (edited) Here are some I needed too. See this post for a pastebin (safe) version: http://forums.eagle.ru/showpost.php?p=2183447&postcount=31 Edited September 19, 2014 by etcher Forum derped [sIGPIC][/sIGPIC] Link to comment Share on other sites More sharing options...
Recommended Posts