fitness88 Posted April 25, 2013 Posted April 25, 2013 Is there a weapons safe mode in the Mig29s? Thank you.
fitness88 Posted April 25, 2013 Author Posted April 25, 2013 no. Not if you think ARM/UNARM in FC3. Yes that's exactly what I mean. I want to avoid accidently firing a missile because there is no delay like with the F-15C and my trigger is quite sensitive [saitek x52 pro]. Perhaps I could program a delay through the Saitek software for the 'fire' command. Any other ideas?
Morkva_55 Posted April 25, 2013 Posted April 25, 2013 (edited) Actually is it. MasterArm work's well for me... Open your Keyboard.lua in "UserName\Saved Games\DCS\Config\Input\Mig-29\keyboard" folder and add one line after keyCommands = {: {combos = {{key = "A", reformers = {"LCtrl", }}, }, down = iCommandSwitchMasterArm, name = "Switch master arm", category = "Weapons"},In game press "LCtrl-A" and then see what happens... :music_whistling: Edited April 25, 2013 by Morkva_55 1
HiJack Posted April 25, 2013 Posted April 25, 2013 Hmm, why is not this implemented in the sim? I guess there is a master arm in the real cockpit?
Alfa Posted April 25, 2013 Posted April 25, 2013 I guess there is a master arm in the real cockpit? Of course - see attached image. JJ
fitness88 Posted April 25, 2013 Author Posted April 25, 2013 (edited) Actually is it. MasterArm work's well for me... Open your Keyboard.lua in "UserName\Saved Games\DCS\Config\Input\Mig-29\keyboard" folder and add one line after keyCommands = {: {combos = {{key = "A", reformers = {"LCtrl", }}, }, down = iCommandSwitchMasterArm, name = "Switch master arm", category = "Weapons"},In game press "LCtrl-A" and then see what happens... :music_whistling: 1] Does this mean that all the unusable buttons in the cockpit can now be activated? 2] When I hold down the l-ctrl and A I cannot fire so long as I keep holding them down but this happens without your code so I must be doing something wrong. You never said what your code does I assumed it places master arm on safe? There are 3 different Mig folders, mig-29, mig-29c and mig-29g since I fly the Mig-29s does this belong to the mig-29c folder? I tried them all and this does not work. 3] Below are the first few lines in my keyboard.lua file, where exactly do I paste your line. function layout() return { keyCommands = { {combos = {{key = "1"}, }, down = iCommandPlaneModeNAV, name = "(1) Navigation Modes", category = "Modes"}, {combos = {{key = "2"}, }, down = iCommandPlaneModeBVR, name = "(2) Beyond Visual Range Mode", category = "Modes"}, {combos = {{key = "3"}, }, down = iCommandPlaneModeVS, name = "(3) Close Air Combat Vertical Scan Mode", category = "Modes"}, {combos = {{key = "4"}, }, down = iCommandPlaneModeBore, name = "(4) Close Air Combat Bore Mode", category = "Modes"}, {combos = {{key = "5"}, }, down = iCommandPlaneModeHelmet, name = "(5) Close Air Combat HMD Helmet Mode", category = "Modes"}, {combos = {{key = "6"}, }, down = iCommandPlaneModeFI0, name = "(6) Longitudinal Missile Aiming Mode", category = "Modes"}, {combos = {{key = "7"}, }, down = iCommandPlaneModeGround, name = "(7) Air-To-Ground Mode", category = "Modes"}, {combos = Thanks Morkva 55. Edited April 26, 2013 by fitness88
Alfa Posted April 27, 2013 Posted April 27, 2013 Works fine in FC2 too :) Mind you that code line you posted looked a little odd compared with the structure of the other in the same category, so I changed it.. {combos = {{key = 'A', reformers = {'LCtrl'}}}, down = iCommandSwitchMasterArm, name = 'Switch master arm', category = 'Weapons'}, ...this works, but I don't know if thats the reason fitness88 cannot get it working. JJ
Alfa Posted April 27, 2013 Posted April 27, 2013 You never said what your code does I assumed it places master arm on safe? Yes it adds a toggle command to set master arm switch to "safe" by pressing LCTRL+A - pressing it again sets it back to "arm". There are 3 different Mig folders, mig-29, mig-29c and mig-29g since I fly the Mig-29s does this belong to the mig-29c folder? Yes you need to add the line for each aircraft type you want the command to be available for. I tried them all and this does not work. Try the modified one I posted above. JJ
fitness88 Posted April 27, 2013 Author Posted April 27, 2013 (edited) This is my config: Yes I pasted the code where I see you did and no joy. I'll try again. Edited April 27, 2013 by fitness88
fitness88 Posted April 27, 2013 Author Posted April 27, 2013 As well, do I have to add the line to the Keyboard.lua file located in: C:\Users\username\Saved Games\DCS\Config\Input\Default\keyboard Or just in the keyboard.lua file of the plane I use?
fitness88 Posted April 27, 2013 Author Posted April 27, 2013 This is Alfa's code: {combos = {{key = 'A', reformers = {'LCtrl'}}}, down = iCommandSwitchMasterArm, name = 'Switch master arm', category = 'Weapons'}, This is Morkva_55's code: {combos = {{key = "A", reformers = {"LCtrl", }}, }, down = iCommandSwitchMasterArm, name = "Switch master arm", category = "Weapons"}, They are not the same.
Alfa Posted April 27, 2013 Posted April 27, 2013 As well, do I have to add the line to the Keyboard.lua file located in: C:\Users\username\Saved Games\DCS\Config\Input\Default\keyboard Or just in the keyboard.lua file of the plane I use? I don't have FC3(no hardware capable of running it), so I don't know the file structure in this, but in FC2 I just edited the "default.lua" located in the keyboard folder for the MiG-29 - this was enough for it to work. More specifically I scrolled down to the "weapons" section and pasted in the line as the first one in that section. The "default.lua" Morkva55 posted looks exactly the same as in FC2, so... :hmm: . JJ
Alfa Posted April 27, 2013 Posted April 27, 2013 This is Alfa's code: {combos = {{key = 'A', reformers = {'LCtrl'}}}, down = iCommandSwitchMasterArm, name = 'Switch master arm', category = 'Weapons'}, This is Morkva_55's code: {combos = {{key = "A", reformers = {"LCtrl", }}, }, down = iCommandSwitchMasterArm, name = "Switch master arm", category = "Weapons"}, They are not the same. No I noticed that Morkva's had a different structure to other similar entries in the weapons section, so I changed it accordingly....it works, but I don't know if thats the cause of your issue :) . JJ
fitness88 Posted April 27, 2013 Author Posted April 27, 2013 (edited) OK I got it to work. I was testing with guns originally and it seems that it doesn't work with guns. It works only with missiles. 1] There doesn't seem to be any indication in the cockpit that you are master arm safe. What would be some options as you don't want to be uncertain whether you are in weapons safe mode or not when in combat. 2] Are there any other commands that can work that have not been activated yet? Edited April 27, 2013 by fitness88
Alfa Posted April 27, 2013 Posted April 27, 2013 OK I got it to work. I was testing with guns originally and it seems that it doesn't work with guns. It works only with missiles. Oh - didn't try it with guns 1] There doesn't seem to be any indication in the cockpit that you are master arm safe. What would be some options as you don't want to be uncertain whether you are in weapons safe mode or not when in combat. A proper 3d pit, where you have the switch position as indication :) . Anyway, to be more realistic the function should really be on safe by default. 2] Are there any other commands that can work that have not been activated yet? Good question - worth investigating. JJ
fitness88 Posted April 28, 2013 Author Posted April 28, 2013 Oh - didn't try it with guns A proper 3d pit, where you have the switch position as indication :) . Anyway, to be more realistic the function should really be on safe by default. Good question - worth investigating. Alfa, When in combat mode I'm losing track of whether I'm on safe or not. The not knowing can be more dangerous than not having the safe m/arm button. The solution for me is using the delay through the Saitek software for the 'fire' command. Thanks for all your help.
Morkva_55 Posted April 28, 2013 Posted April 28, 2013 OK I got it to work. I was testing with guns originally and it seems that it doesn't work with guns. It works only with missiles. 1] There doesn't seem to be any indication in the cockpit that you are master arm safe. What would be some options as you don't want to be uncertain whether you are in weapons safe mode or not when in combat. 2] Are there any other commands that can work that have not been activated yet? 1] No actually. UPDATE: Yes - only for A-10A. 2] Not so many... See the attachment. This code works well for F-15 and A-10A don't know why it does not want to work with a MiG... :hmm:
Alfa Posted April 28, 2013 Posted April 28, 2013 Alfa, When in combat mode I'm losing track of whether I'm on safe or not. The not knowing can be more dangerous than not having the safe m/arm button. Yeah I know what you mean - an animated switch is really required. Thanks for all your help. You are welcome :) JJ
fitness88 Posted April 29, 2013 Author Posted April 29, 2013 Yeah I know what you mean - an animated switch is really required. You are welcome :) I used my Saitek software to delay the firing of my missiles by .700 of a second and it really helps...just like the f-15.
fitness88 Posted April 29, 2013 Author Posted April 29, 2013 1] No actually. UPDATE: Yes - only for A-10A. 2] Not so many... See the attachment. This code works well for F-15 and A-10A don't know why it does not want to work with a MiG... :hmm: Thanks Morkva_55
Recommended Posts