BuLLeT.ZA Posted June 20, 2018 Posted June 20, 2018 Just checking if this topic has been acknowledged. Saitek X52 | 4770k@4.3GHz | MSI 1080GTX Armor OC | TrackIR 5
Akula Posted March 16, 2019 Posted March 16, 2019 Can toggle airbrake be modded? I really hate the fact that I have to bind the airbrake to two buttons. It’s annoying and in a dogfight just adds to the confusion. Is there any way this can be edited in the f-18 files. MB: MPG Z790 EDGE WIFI Memory: 128Gb (4x32Gb) Corsair Vengeance @5400Mhz Storage: WD Black SN850X 2TB PCIe Gen4 NVMe M.2 CPU: Intel Core i9-14900K Desktop Processor 24 cores (8P+16E) 36M Cache EVGA 1200W Gold PSU MSI RTX 3090 TrackIR on Samsung 49 inch Odyssey Widescreen No money in my pocket lol
LeCuvier Posted March 16, 2019 Posted March 16, 2019 I really hate the fact that I have to bind the airbrake to two buttons. It’s annoying and in a dogfight just adds to the confusion. Is there any way this can be edited in the f-18 files. You could make it work with a maintained ON/OFF switch. But then you could not set the speed brake to an intermediate position. It would only be fully EXTENDED or completely OFF. LeCuvier Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5
Akula Posted March 16, 2019 Posted March 16, 2019 You could make it work with a maintained ON/OFF switch. But then you could not set the speed brake to an intermediate position. It would only be fully EXTENDED or completely OFF. Thanks Lecuvier, do you know how I can do this? MB: MPG Z790 EDGE WIFI Memory: 128Gb (4x32Gb) Corsair Vengeance @5400Mhz Storage: WD Black SN850X 2TB PCIe Gen4 NVMe M.2 CPU: Intel Core i9-14900K Desktop Processor 24 cores (8P+16E) 36M Cache EVGA 1200W Gold PSU MSI RTX 3090 TrackIR on Samsung 49 inch Odyssey Widescreen No money in my pocket lol
Akula Posted March 16, 2019 Posted March 16, 2019 Here, this will extend when pressed and retract when released {down = hotas_commands.THROTTLE_SPEED_BRAKE, up = hotas_commands.THROTTLE_SPEED_BRAKE, cockpit_device_id = devices.HOTAS, value_down = -1.0, value_up = 1.0, name = _('Speed Brake Switch - EXTEND/RETRACT'), category = {_('_Custom'), _('HOTAS')}}, And where do we enter this code? What’s the exact procedure? MB: MPG Z790 EDGE WIFI Memory: 128Gb (4x32Gb) Corsair Vengeance @5400Mhz Storage: WD Black SN850X 2TB PCIe Gen4 NVMe M.2 CPU: Intel Core i9-14900K Desktop Processor 24 cores (8P+16E) 36M Cache EVGA 1200W Gold PSU MSI RTX 3090 TrackIR on Samsung 49 inch Odyssey Widescreen No money in my pocket lol
LeCuvier Posted March 16, 2019 Posted March 16, 2019 Thanks Lecuvier, do you know how I can do this? By adding this line to the file "default.lua" in folder "...\Eagle Dynamics\DCS World OpenBeta\Mods\aircraft\FA-18C\Input\FA-18C\joystick": {down = hotas_commands.THROTTLE_SPEED_BRAKE, up = hotas_commands.THROTTLE_SPEED_BRAKE, cockpit_device_id = devices.HOTAS, value_down = -1.0, value_up = 1.0, name = _('Speed Brake 2-Pos EXTEND/RETRACT'), category = {_('Throttle Grip'), _('HOTAS')}},Insert the line below these lines using Notepad++: local cockpit = folder.."../../../Cockpit/Scripts/" dofile(cockpit.."devices.lua") dofile(cockpit.."command_defs.lua") local res = external_profile("Config/Input/Aircrafts/common_joystick_binding.lua") join(res.keyCommands,{ Note: the command "Speed Brake 2-Pos EXTEND/RETRACT" can also be used with a pushbutton: The speed brake will remain extended as long as you keep the push button depressed. LeCuvier Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5
Akula Posted March 16, 2019 Posted March 16, 2019 By adding this line to the file "default.lua" in folder "...\Eagle Dynamics\DCS World OpenBeta\Mods\aircraft\FA-18C\Input\FA-18C\joystick": {down = hotas_commands.THROTTLE_SPEED_BRAKE, up = hotas_commands.THROTTLE_SPEED_BRAKE, cockpit_device_id = devices.HOTAS, value_down = -1.0, value_up = 1.0, name = _('Speed Brake 2-Pos EXTEND/RETRACT'), category = {_('Throttle Grip'), _('HOTAS')}},Insert the line below these lines using Notepad++: local cockpit = folder.."../../../Cockpit/Scripts/" dofile(cockpit.."devices.lua") dofile(cockpit.."command_defs.lua") local res = external_profile("Config/Input/Aircrafts/common_joystick_binding.lua") join(res.keyCommands,{ Note: the command "Speed Brake 2-Pos EXTEND/RETRACT" can also be used with a pushbutton: The speed brake will remain extended as long as you keep the push button depressed. Maybe I'm missing something because it didn't work. Here is what I did according to your instructions: -------------------------------------------------------------------------- I entered the first line of code you gave me in default.lua using only notepad I entered the second line of code you gave me using notepad++ and inserted it directly under the first line of code. -------------------------------------------------------------------------- Also; is the second line of code you gave me supposed to be all one line like the first line of code or is it supposed to be exactly the way you posted it? MB: MPG Z790 EDGE WIFI Memory: 128Gb (4x32Gb) Corsair Vengeance @5400Mhz Storage: WD Black SN850X 2TB PCIe Gen4 NVMe M.2 CPU: Intel Core i9-14900K Desktop Processor 24 cores (8P+16E) 36M Cache EVGA 1200W Gold PSU MSI RTX 3090 TrackIR on Samsung 49 inch Odyssey Widescreen No money in my pocket lol
LeCuvier Posted March 16, 2019 Posted March 16, 2019 @Akula: you should only use Ntepad++ for editing .lua files. The lines of code should not contain any line break. But if your editing window is not wide enough you would see part of the lines in the line below. I cannot guess what's wrong. Post your default.lua and I will look at it! LeCuvier Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5
Akula Posted March 16, 2019 Posted March 16, 2019 @Akula: you should only use Ntepad++ for editing .lua files. The lines of code should not contain any line break. But if your editing window is not wide enough you would see part of the lines in the line below. I cannot guess what's wrong. Post your default.lua and I will look at it! Thanks Lecuvier, here it is. Not that when I did the editing, I backed up all the .lua files edited them then tried them out. Once i confirmed that they didn't work I restored the back ups and ran a repair just to be sure. The file you see is taken from: C:\Program Files\Eagle Dynamics\DCS World OpenBeta\Mods\aircraft\FA-18C\Input\FA-18C\joystickdefault.lua MB: MPG Z790 EDGE WIFI Memory: 128Gb (4x32Gb) Corsair Vengeance @5400Mhz Storage: WD Black SN850X 2TB PCIe Gen4 NVMe M.2 CPU: Intel Core i9-14900K Desktop Processor 24 cores (8P+16E) 36M Cache EVGA 1200W Gold PSU MSI RTX 3090 TrackIR on Samsung 49 inch Odyssey Widescreen No money in my pocket lol
Deano87 Posted March 16, 2019 Posted March 16, 2019 Akula, Read his instructions more carefully. There is only one line of code to add. It needs to be added AFTER the lower section of code thats quoted. Proud owner of: PointCTRL VR : Finger Trackers for VR -- Real Simulator : FSSB R3L Force Sensing Stick. -- Deltasim : Force Sensor WH Slew Upgrade -- Mach3Ti Ring : Real Flown Mach 3 SR-71 Titanium, made into an amazing ring. My Fathers Aviation Memoirs: 50 Years of Flying Fun - From Hunter to Spitfire and back again.
Akula Posted March 16, 2019 Posted March 16, 2019 Akula, Read his instructions more carefully. There is only one line of code to add. It needs to be added AFTER the lower section of code thats quoted. Ok I'll try it. I AM using notepad++ so the line to enter is this one right? local cockpit = folder.."../../../Cockpit/Scripts/" dofile(cockpit.."devices.lua") dofile(cockpit.."command_defs.lua") local res = external_profile("Config/Input/Aircrafts/common_joystick_binding.lua") join(res.keyCommands,{ MB: MPG Z790 EDGE WIFI Memory: 128Gb (4x32Gb) Corsair Vengeance @5400Mhz Storage: WD Black SN850X 2TB PCIe Gen4 NVMe M.2 CPU: Intel Core i9-14900K Desktop Processor 24 cores (8P+16E) 36M Cache EVGA 1200W Gold PSU MSI RTX 3090 TrackIR on Samsung 49 inch Odyssey Widescreen No money in my pocket lol
Akula Posted March 16, 2019 Posted March 16, 2019 Lol didn't work. I can get the command listed in the GUI but it doesn't work in the sim. MB: MPG Z790 EDGE WIFI Memory: 128Gb (4x32Gb) Corsair Vengeance @5400Mhz Storage: WD Black SN850X 2TB PCIe Gen4 NVMe M.2 CPU: Intel Core i9-14900K Desktop Processor 24 cores (8P+16E) 36M Cache EVGA 1200W Gold PSU MSI RTX 3090 TrackIR on Samsung 49 inch Odyssey Widescreen No money in my pocket lol
LeCuvier Posted March 16, 2019 Posted March 16, 2019 Thanks Lecuvier, here it is. Not that when I did the editing, I backed up all the .lua files edited them then tried them out. Once i confirmed that they didn't work I restored the back ups and ran a repair just to be sure. The file you see is taken from: C:\Program Files\Eagle Dynamics\DCS World OpenBeta\Mods\aircraft\FA-18C\Input\FA-18C\joystick The file you posted has no modification. I wanted the file that you had edited to check what's wrong. LeCuvier Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5
LeCuvier Posted March 16, 2019 Posted March 16, 2019 Lol didn't work. I can get the command listed in the GUI but it doesn't work in the sim. did you bind a switch to it? I tried it on my computer and it works. LeCuvier Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5
Akula Posted March 16, 2019 Posted March 16, 2019 MB: MPG Z790 EDGE WIFI Memory: 128Gb (4x32Gb) Corsair Vengeance @5400Mhz Storage: WD Black SN850X 2TB PCIe Gen4 NVMe M.2 CPU: Intel Core i9-14900K Desktop Processor 24 cores (8P+16E) 36M Cache EVGA 1200W Gold PSU MSI RTX 3090 TrackIR on Samsung 49 inch Odyssey Widescreen No money in my pocket lol
Shadow KT Posted April 6, 2019 Posted April 6, 2019 As we already have some controls simplified for joystick users, can it be done to be cycled, like you can do in the F-15 ? I know it is not realistic and as far as I read trough, this wasn't discussed. Just a cycle for simplification, first press fully extends, second press retracts it 'Shadow' Everybody gotta be offended and take it personally now-a-days
LeCuvier Posted April 6, 2019 Posted April 6, 2019 ...Just a cycle for simplification, first press fully extends, second press retracts it I don't see how this could be done. LeCuvier Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5
Shadow KT Posted April 6, 2019 Posted April 6, 2019 Why ? It can be done with a macro, but I don't see a reason why a developer cannot change how a logic handles for a control input 'Shadow' Everybody gotta be offended and take it personally now-a-days
LeCuvier Posted April 6, 2019 Posted April 6, 2019 A developer could of course. I thought you were looking for someone to do it with a mod. LeCuvier Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5
noisy_lightning Posted November 18, 2019 Author Posted November 18, 2019 Its been 18 months since I started this thread and having just returned to the M2000C after a long time they have updated her a bit and I noticed they have a new, well new since I flew her last, Air Brake binding (Airbrake On, Else Off) command which is exactly what I would like in the F18 so it doesn't break IC and so I don't have to rely on an external macro which can be buggy and fail sometimes with the AB deployed having to use key binds to retract before the macro is of use again. Any chance this seemingly tiny addition can be added yet? We were given the option of realistic TDC Depress so this is no less a hit to realism.
LeCuvier Posted November 19, 2019 Posted November 19, 2019 You can ad it yourself by adding this line to "default.lua":{down = hotas_commands.THROTTLE_SPEED_BRAKE, up = hotas_commands.THROTTLE_SPEED_BRAKE, cockpit_device_id = devices.HOTAS, value_down = -1.0, value_up = 1.0, name = _('Speed Brake 2-Pos EXTEND/RETRACT'), category = {_('Throttle Grip'), _('HOTAS')}},It can be used in 2 ways: 1. with a maintained ON/OFF switch. When you switch to ON, the speed brake extends and stays extended. When you switch to OFF the speed brake retracts. 2. with a momentary push button. When you push and hold the button, the speed brake extends. When you release the button the speed brake retracts. This kind of mod causes no problem with Integrity Check. LeCuvier Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5
noisy_lightning Posted November 19, 2019 Author Posted November 19, 2019 You can ad it yourself by adding this line to "default.lua":{down = hotas_commands.THROTTLE_SPEED_BRAKE, up = hotas_commands.THROTTLE_SPEED_BRAKE, cockpit_device_id = devices.HOTAS, value_down = -1.0, value_up = 1.0, name = _('Speed Brake 2-Pos EXTEND/RETRACT'), category = {_('Throttle Grip'), _('HOTAS')}},It can be used in 2 ways: 1. with a maintained ON/OFF switch. When you switch to ON, the speed brake extends and stays extended. When you switch to OFF the speed brake retracts. 2. with a momentary push button. When you push and hold the button, the speed brake extends. When you release the button the speed brake retracts. This kind of mod causes no problem with Integrity Check. Thanks, this has worked as I wanted it to. I thought any mods like this would affect the Integrity check which is why I hadnt used it before. For my own education, will this be over written on updates to the F18 or only if they make any changes to the default key binds?
LeCuvier Posted November 20, 2019 Posted November 20, 2019 ...For my own education, will this be over written on updates to the F18 or only if they make any changes to the default key binds? It will be overwritten by every update, possibly also by repair. If you don't use OvGME for managing mods you need to make a backup copy of the modified file. LeCuvier Windows 10 Pro 64Bit | i7-4790 CPU |16 GB RAM|SSD System Disk|SSD Gaming Disk| MSI GTX-1080 Gaming 8 GB| Acer XB270HU | TM Warthog HOTAS | VKB Gladiator Pro | MongoosT-50 | MFG Crosswind Pedals | TrackIR 5
noisy_lightning Posted November 21, 2019 Author Posted November 21, 2019 It will be overwritten by every update, possibly also by repair. If you don't use OvGME for managing mods you need to make a backup copy of the modified file. I have already created a backup for the file. How would I go about using OvGME for this, I took a quick look last night but didnt have time to work out how it works. Could you point me to a tutorial if you know of one please?
Drac Posted November 21, 2019 Posted November 21, 2019 I have already created a backup for the file. How would I go about using OvGME for this, I took a quick look last night but didnt have time to work out how it works. Could you point me to a tutorial if you know of one please? Reference: https://forums.eagle.ru/showthread.php?t=171956
Recommended Posts