Vitormouraa 发布于2014年12月26日 发布于2014年12月26日 (已编辑) What's up guys.. so this is my first thread help, so, I have a problem with the Throttle, my problem is that I can't use it in the MiG, I'll explain for you.. I have the Thrustmaster T.Flight HOTAS X, and his throttle has a problem with pontentiometer.. and I had to change it, but I want to play DCS while I change it, so I use buttons of the joystick to use the throttle, you can using + and - at default Keyboard, BUT, the problem with the MiG is, I CAN'T DO IT, I can't use button of joystick to use throttle on the joystick.. I tried put one button there, but no, I can't, so can you guys help me ? I want to play with the MiG, and it's really hard land with the Keyboad and Joystick at the same time.. please :( :( :( :( Here, there is no option to put any button of joystick.. 本帖最后于2015年10月30日,由Vitormouraa编辑 SplashOneGaming Discord https://splashonegaming.com
PiedDroit 发布于2014年12月26日 发布于2014年12月26日 (已编辑) Did you try to set "Throttle Up (joystick)"? It's the option below the one highlighted in your screenshot. With the MiG-21 some of the actions have two separate bindings for keyboard and joystick. If that doesn't work I'm pretty sure it's an easy fix in the controller .lua. 本帖最后于2014年12月26日,由PiedDroit编辑 clarify
Vitormouraa 发布于2014年12月26日 楼主 发布于2014年12月26日 (已编辑) Yes, I tried, but it's not working.. I treid fix it with the HTML file.. but I have no idea how to do it 本帖最后于2014年12月26日,由Vitormouraa编辑 SplashOneGaming Discord https://splashonegaming.com
PiedDroit 发布于2014年12月26日 发布于2014年12月26日 (已编辑) Yes, I tried, but it's not working.. I treid fix it with the HTML file.. but I have no idea how to do it I tried today but it wasn't working either, congratulations, it's a bug! The html is only an output (it's generated from the actual controller profile on demand), modifying it won't change anything. The bindings are controlled from two files, one is in your game directory (ex: DCS World\Mods\aircraft\MiG-21BIS\Input\MiG-21\joystick\default.lua) that you don't modify directly. The other one is a diff file (ex: Saved Games\DCS\Config\Input\MiG-21Bis\joystick\Joystick - HOTAS Warthog {89141D80-9A0F-11e2-8001-444553540000}.diff.lua) that stores the differences between the default profile and your setup (this is the file that is modified when you change your controls in the game). Here is a fix for the game binding file, it's temporary and will be overwritten on next update: 1. Clear any bindings you made for "Throttle Up (joystick)" and "Throttle Down (joystick)" in DCS options 2. Close DCS and backup the two aforementioned files (default.lua and Joystick .....diff.lua). 3. Edit DCS World\Mods\aircraft\MiG-21BIS\Input\MiG-21\joystick\default.lua 4. Comment those two lines (by adding -- in front), should be at line 170: -- {combos={{key='Num+'}},pressed=device_commands.ThrottleInc,up=device_commands.ThrottleInc,cockpit_device_id=devices.CONTROL_SYSTEM,value_pressed=1.0,value_up=0.0,name='Throttle Up (joystick)',category='Flight Controls'}, -- {combos={{key='Num-'}},pressed=device_commands.ThrottleDec,up=device_commands.ThrottleDec,cockpit_device_id=devices.CONTROL_SYSTEM,value_pressed=1.0,value_up=0.0,name='Throttle Down (joystick)',category='Flight Controls'}, 5. Add the two following lines just below: {combos = {{key = 'Num+'}}, down = iCommandThrottle1Increase, up = iCommandThrottle1Stop, name = 'Throttle Up', category = 'Flight Controls'}, {combos = {{key = 'Num-'}}, down = iCommandThrottle1Decrease, up = iCommandThrottle1Stop, name = 'Throttle Down', category = 'Flight Controls'}, You should now have this in your default.lua file: -- Controls -- {combos={{key='Num+'}},pressed=device_commands.ThrottleInc,up=device_commands.ThrottleInc,cockpit_device_id=devices.CONTROL_SYSTEM,value_pressed=1.0,value_up=0.0,name='Throttle Up (joystick)',category='Flight Controls'}, -- {combos={{key='Num-'}},pressed=device_commands.ThrottleDec,up=device_commands.ThrottleDec,cockpit_device_id=devices.CONTROL_SYSTEM,value_pressed=1.0,value_up=0.0,name='Throttle Down (joystick)',category='Flight Controls'}, {combos = {{key = 'Num+'}}, down = iCommandThrottle1Increase, up = iCommandThrottle1Stop, name = 'Throttle Up', category = 'Flight Controls'}, {combos = {{key = 'Num-'}}, down = iCommandThrottle1Decrease, up = iCommandThrottle1Stop, name = 'Throttle Down', category = 'Flight Controls'}, 6. Start DCS, return in the options and remap the buttons - the bindings "Throttle Up (joystick)" and "Throttle Down (joystick)" should have disappeared but you should be now able to map the joystick buttons next to the keyboard options. I don't know if there is any side effect, but it worked quite well for me, I hope it will be working for you too. The options menu / controls should now look like the picture below. 本帖最后于2014年12月26日,由PiedDroit编辑 add picture / clarify
Vitormouraa 发布于2014年12月26日 楼主 发布于2014年12月26日 Thaaaank you bro!!!! it's working I think, I'll test, thank you so much!!!!!!! SplashOneGaming Discord https://splashonegaming.com
PiedDroit 发布于2014年12月26日 发布于2014年12月26日 Glad it helped :thumbup: Remember that the modified .lua is likely to be overwritten (or even fixed) on next update.
Top Jockey 发布于2015年11月6日 发布于2015年11月6日 Glad it helped :thumbup: Remember that the modified .lua is likely to be overwritten (or even fixed) on next update. Hello PiedDroit, Thank you a lot ! Now I have my MiG-21 ; Su-25T and TF-51 with working joystick throttle ! In my case, after editing the file you posted, I had to change at the options the Axis Assign: Joy_Z to: Joy_SLIDER1. ( My "Thrustmaster TOPGUN" doesn't seem to have Joy_Z...) Best regards. Jets Helis Maps FC 3 JA 37 Ka-50 Caucasus F-14 A/B MiG-23 Mi-8 MTV2 Nevada F-16 C MiG-29 F/A-18 C Mirage III E MiG-21 bis Mirage 2000 C i7-4790 K , 16 GB DDR3 , GTX 1660 Ti 6GB , Samsung 860 QVO 1TB
已推荐帖子