Jump to content

AV-8B Harrier II - Keybinding Thread


Rlaxoxo

Recommended Posts

I've been missing few Binds on a Harrier and had some spare time to mess about to make few new binds.

Thought I'd share.

 

Binds added in the Input files:

	------------------------
-- Start -- (25.05.2018)
-- Combat Thrust
{down = engine_commands.Button_CMBT, up = engine_commands.Button_CMBT, cockpit_device_id = devices.DECS, value_down = 1, value_up = 0, name = _('CMBT Thrust Button'), category = _('Engine & Fuel')},

-- UFC
{down = ufc_commands.Button_Comm1, up = ufc_commands.Button_Comm1, cockpit_device_id = devices.UFCCONTROL, value_down = 1, value_up = 0, name = _('UFC COMM 1 Select'), category = _('Up Front Control')},
{down = ufc_commands.Button_Comm2, up = ufc_commands.Button_Comm2, cockpit_device_id = devices.UFCCONTROL, value_down = 1, value_up = 0, name = _('UFC COMM 2 Select'), category = _('Up Front Control')},
--

-- Nozzle Control
{down = engine_commands.Handle_NOZZLE_CONTROL, cockpit_device_id = devices.VREST, value_down = 0, name = _('Nozzle Degrees: Full Forward (0)'), category = _('Flight Control')},
{down = engine_commands.Handle_NOZZLE_CONTROL, cockpit_device_id = devices.VREST, value_down = 0.1, name = _('Nozzle Degrees: 10'), category = _('Flight Control')},
{down = engine_commands.Handle_NOZZLE_CONTROL, cockpit_device_id = devices.VREST, value_down = 0.15, name = _('Nozzle Degrees: 15'), category = _('Flight Control')},
{down = engine_commands.Handle_NOZZLE_CONTROL, cockpit_device_id = devices.VREST, value_down = 0.202, name = _('Nozzle Degrees: 20'), category = _('Flight Control')},
{down = engine_commands.Handle_NOZZLE_CONTROL, cockpit_device_id = devices.VREST, value_down = 0.242, name = _('Nozzle Degrees: 25'), category = _('Flight Control')},
{down = engine_commands.Handle_NOZZLE_CONTROL, cockpit_device_id = devices.VREST, value_down = 0.303, name = _('Nozzle Degrees: 30'), category = _('Flight Control')},
{down = engine_commands.Handle_NOZZLE_CONTROL, cockpit_device_id = devices.VREST, value_down = 0.404, name = _('Nozzle Degrees: 40'), category = _('Flight Control')},
{down = engine_commands.Handle_NOZZLE_CONTROL, cockpit_device_id = devices.VREST, value_down = 0.505, name = _('Nozzle Degrees: 50'), category = _('Flight Control')},
{down = engine_commands.Handle_NOZZLE_CONTROL, cockpit_device_id = devices.VREST, value_down = 0.606, name = _('Nozzle Degrees: 60'), category = _('Flight Control')},
{down = engine_commands.Handle_NOZZLE_CONTROL, cockpit_device_id = devices.VREST, value_down = 0.707, name = _('Nozzle Degrees: 70'), category = _('Flight Control')},
{down = engine_commands.Handle_NOZZLE_CONTROL, cockpit_device_id = devices.VREST, value_down = 0.808, name = _('Nozzle Degrees: 80'), category = _('Flight Control')},
{down = engine_commands.Handle_NOZZLE_CONTROL, cockpit_device_id = devices.VREST, value_down = 0.828, name = _('Nozzle Degrees: Hover (82)'), category = _('Flight Control')},
{down = engine_commands.Handle_NOZZLE_CONTROL, cockpit_device_id = devices.VREST, value_down = 0.909, name = _('Nozzle Degrees: 90'), category = _('Flight Control')},
{down = engine_commands.Handle_NOZZLE_CONTROL, cockpit_device_id = devices.VREST, value_down = 1, name = _('Nozzle Degrees: Full Back (99)'), category = _('Flight Control')},
--

-- Ends -- (25.05.2018)
------------------------

 

Maintaing the mod after every patch is a bit of a pain so I don't know how long I will keep it up.

 

But if anyone has any other requests for binds I'll try and make it.

Axis, Leavers, and knobs are hard thing to bind without access to source code.

 

Enjoy

 

PS: JSGME Compatible, I'm not sure if this mod breaks IC.

Keybinds ~~ AV-8B ~ Rlaxoxo Custom Binds.rar


Edited by Rlaxoxo

[sIGPIC][/sIGPIC]

Youtube

Reddit

Link to comment
Share on other sites

THANK YOU!!

 

This is even handier than quick stops for the STO Stop lever

 

Works like a charm and is exactly what I needed :-) Cheers!

 

EDIT:

 

I hadn't read the other thread 2/3-Position Switches but see that Vladinski has already posted much of this and more. In particular he has quite a comprehensive list of binds (a few already implemented by Razbam, others which are still missing). And another great post on how to start understanding the LUA so you can make adjustment on your own!

 

Still appreciate your post Rlaxoxo or I wouldn't have found the info. But, in case anyone comes across this thread, be sure to read the other as well. I didn't read the entire thing until just now but it's worth taking the time to do so. Great info in there!


Edited by JLX

3570K w/ 16GB, 1070 w/ 8GB @ 1440p, VKB Gunfighter/MCG-Pro & T-Rudder Mk.IV, CH ProThrottle, TrackIR 5, HTC Vive, UniversRadio, VoiceAttack, TacView Pro, DCS Menu Nav

F/A-18C, F-5E, F-86F, A-10C, AV-8B, AJS-37, MiG-21bis, MiG-15bis, UH-1H, Mi-8MTV2, Ka-50, SA342, P-51D, Spitfire Mk.IX, Bf109, Fw190, FC3, CA, Persian Gulf, NTTR, Normandy, WW2 Assets

Link to comment
Share on other sites

ok so I just tested it and we have the push function of knob in your script but we are still missing the rotation of the knob for channel selection in dcs.. how can we get to have those?

 

You can't make "Preset Up / Down" without having access to the real code.

[sIGPIC][/sIGPIC]

Youtube

Reddit

Link to comment
Share on other sites

I am not sure to understand what you mean :/

 

You can't make a mod for Toggable keybinds or keybinds that make the knob go UP or DOWN by 1 step each time you press it without having access to the Sim SDK or Source code.

 

So only binds that you can create with .lua files are

"FLIP the knob to X position" or

"Flip the switch to X position"

 

If you wanted a bind for the Preset switching on the UFC COM 1 knob

 

I would have to make 25 binds just for UFC COM 1 switch alone.

 

People don't have that many keys to bind it all

[sIGPIC][/sIGPIC]

Youtube

Reddit

Link to comment
Share on other sites

  • 4 months later...
  • 2 weeks later...

+1

[sIGPIC][/sIGPIC]

 

=&arrFilter_pf[gameversion]=&arrFilter_pf[filelang]=&arrFilter_pf[aircraft]=&arrFilter_CREATED_USER_NAME=chardly38&set_filter=Filter&set_filter=Y"]MY SKINS And Helios

 

i7 2600k 3.4 quad w/ Hyper N520 cpu fan_, Asus Sabertooth z77_, RX 580_, Corsair Vengeance 1800 8Gb ram_, 112 OCZ Vertex 3_, Corsair HX 1000, 3 screens res 5292x1050_,and 1 1680x1050 Helios Ir Tracker 5 with Pro Clip_,Hotas Warthog#12167 ...

Link to comment
Share on other sites

  • 4 months later...

Implement CW and CCW keyboard commands for the encoders!!!!!

i7 10700k @4.8GHz | Aurora GTX 3080 | Samsung NVMe m.2 970 Pro 1Tb x 3 | Corsair 64GB DDR4 3200MHz

HP Reverb G2 | Vkb Gunfighter II MCG Pro Stick | Virpil T-50CM Throttle | MFG Crosswind Pedals | Custom built collective | 150 button custom cockpit with 3 x Cougar MFDs

Link to comment
Share on other sites

+1,000,000. Its been over a year. Seems like an easy fix but when youre pumping out a POS Mig, i guess you dont have time for things like that.

Win 10 Pro - Intel I7 12700k@4.9ghz water cooled - ASUS TUF Z690 -EVGA RTX 3080 12G Hybrid - EVGA 1000W PSU - 32GB 3200 G-Skill XMP- Reverb G2 -Custom mip and side panels - Leo Bodnar  BBI32x2, BBI64x4 - TM Warthog HOTAS - TM Cougar MFD's x 3 - TM TPR pedals

Link to comment
Share on other sites

I've put some more keybinds together for the harrier.. I'm using encoders that have a click too, so I've got around the lack of support by having 3 preset positions for them. for example, CCW = off, CW = max setting, Click = medium setting. It's all I need for things like RWR volume

 

 

{down = ufc_commands.Knob_BRT, up = ufc_commands.Knob_BRT, cockpit_device_id = devices.UFCCONTROL, value_down = 1, value_up = 1, name = _('UFC BRT Max'), category = _('Custom')},
{down = ufc_commands.Knob_BRT, up = ufc_commands.Knob_BRT, cockpit_device_id = devices.UFCCONTROL, value_down = 0, value_up = 0, name = _('UFC BRT Min'), category = _('Custom')},
{down = ufc_commands.Knob_BRT, up = ufc_commands.Knob_BRT, cockpit_device_id = devices.UFCCONTROL, value_down = 0.5, value_up = 0.5, name = _('UFC BRT Mid'), category = _('Custom')},

{down = ufc_commands.Knob_Comm1_Vol, up = ufc_commands.Knob_Comm1_Vol, cockpit_device_id = devices.UFCCONTROL, value_down = 1, value_up = 1, name = _('Comm 1 Vol Max'), category = _('Custom')},
{down = ufc_commands.Knob_Comm1_Vol, up = ufc_commands.Knob_Comm1_Vol, cockpit_device_id = devices.UFCCONTROL, value_down = 0, value_up = 0, name = _('Comm 1 Vol Min'), category = _('Custom')},
{down = ufc_commands.Knob_Comm1_Vol, up = ufc_commands.Knob_Comm1_Vol, cockpit_device_id = devices.UFCCONTROL, value_down = 0.5, value_up = 0.5, name = _('Comm 1 Vol Mid'), category = _('Custom')},
{down = ufc_commands.Knob_Comm2_Vol, up = ufc_commands.Knob_Comm2_Vol, cockpit_device_id = devices.UFCCONTROL, value_down = 1, value_up = 1, name = _('Comm 2 Vol Max'), category = _('Custom')},
{down = ufc_commands.Knob_Comm2_Vol, up = ufc_commands.Knob_Comm2_Vol, cockpit_device_id = devices.UFCCONTROL, value_down = 0, value_up = 0, name = _('Comm 2 Vol Min'), category = _('Custom')},
{down = ufc_commands.Knob_Comm2_Vol, up = ufc_commands.Knob_Comm2_Vol, cockpit_device_id = devices.UFCCONTROL, value_down = 0.5, value_up = 0.5, name = _('Comm 2 Vol Mid'), category = _('Custom')},


{down = rwr_commands.Knob_RWR, up = rwr_commands.Knob_RWR, cockpit_device_id = devices.RWRCONTROL,  value_down = 0.1, value_up = 0.1, name = _('RWR Power/Volume On'), category = _('Custom')},
{down = rwr_commands.Knob_RWR, up = rwr_commands.Knob_RWR, cockpit_device_id = devices.RWRCONTROL,  value_down = 0.7, value_up = 0.7, name = _('RWR Power/Volume Up'), category = _('Custom')},
{down = rwr_commands.Knob_RWR, up = rwr_commands.Knob_RWR, cockpit_device_id = devices.RWRCONTROL,  value_down = 0, value_up = 0, name = _('RWR Power/Volume Off'), category = _('Custom')},

{down = rwr_commands.Knob_EXP, up = rwr_commands.Knob_EXP, cockpit_device_id = devices.EWS, value_down = 0.25, value_up = 0.25, name = _('Decoy Dispenser Control On'), category = _('Custom')},
{down = rwr_commands.Knob_EXP, up = rwr_commands.Knob_EXP, cockpit_device_id = devices.EWS, value_down = 0.8, value_up = 0.8, name = _('Decoy Dispenser Control Up'), category = _('Custom')},
{down = rwr_commands.Knob_EXP, up = rwr_commands.Knob_EXP, cockpit_device_id = devices.EWS, value_down = 0.0, value_up = 0.0, name = _('Decoy Dispenser Control Off'), category = _('Custom')},

{down = rwr_commands.Knob_ECM, up = rwr_commands.Knob_ECM, cockpit_device_id = devices.EWS, value_down = 0.25, value_up = 0.25, name = _('ECM Control On'), category = _('Custom')},
{down = rwr_commands.Knob_ECM, up = rwr_commands.Knob_ECM, cockpit_device_id = devices.EWS, value_down = 0.8, value_up = 0.8, name = _('ECM Dispenser Control Up'), category = _('Custom')},
{down = rwr_commands.Knob_ECM, up = rwr_commands.Knob_ECM, cockpit_device_id = devices.EWS, value_down = 0.0, value_up = 0.0, name = _('ECM Dispenser Control Off'), category = _('Custom')},


{down = fqi_commands.BingoSet, up = fqi_commands.BingoSet, cockpit_device_id = devices.FQIS, value_down = 2, value_up = 2, name = _('Bingo 2000'), category = _('Custom')},
{down = fqi_commands.BingoSet, up = fqi_commands.BingoSet, cockpit_device_id = devices.FQIS, value_down = 0.0, value_up = 0.0, name = _('Bingo 0'), category = _('Custom')},

       {down = hud_commands.DisplayBRTKnob, up = hud_commands.DisplayBRTKnob, cockpit_device_id = devices.HUDCONTROL, value_down = 0, value_up = 0, name = _('HUD BRT Min'), category = _('Custom')},
     	{down = hud_commands.DisplayBRTKnob, up = hud_commands.DisplayBRTKnob, cockpit_device_id = devices.HUDCONTROL, value_down = 0.5, value_up = 0.5, name = _('HUD BRT Mid'), category = _('Custom')},
    	{down = hud_commands.DisplayBRTKnob, up = hud_commands.DisplayBRTKnob, cockpit_device_id = devices.HUDCONTROL, value_down = 1, value_up = 1, name = _('HUD BRT Max'), category = _('Custom')},


       {down = misc_commands.Knob_INS_Mode, up = misc_commands.Knob_INS_Mode, cockpit_device_id = devices.NAV_INS, value_down = 0, value_up = 0, name = _('INS Mode Knob OFF'), category = _('Custom')},
     	{down = misc_commands.Knob_INS_Mode, up = misc_commands.Knob_INS_Mode, cockpit_device_id = devices.NAV_INS, value_down = 0.2, value_up = 0.1, name = _('INS Mode Knob ALGN'), category = _('Custom')},
    	{down = misc_commands.Knob_INS_Mode, up = misc_commands.Knob_INS_Mode, cockpit_device_id = devices.NAV_INS, value_down = 0.3, value_up = 0.3, name = _('INS Mode Knob NAV'), category = _('Custom')},

i7 10700k @4.8GHz | Aurora GTX 3080 | Samsung NVMe m.2 970 Pro 1Tb x 3 | Corsair 64GB DDR4 3200MHz

HP Reverb G2 | Vkb Gunfighter II MCG Pro Stick | Virpil T-50CM Throttle | MFG Crosswind Pedals | Custom built collective | 150 button custom cockpit with 3 x Cougar MFDs

Link to comment
Share on other sites

Guys this work is really good and needed especially if you are a pit builder. I get that every update you need to redo them but do they pass the integrity check on multiplayer servers?

Such basic keybinding should be part of any module BEFORE it comes out of beta in my opinion .

[sIGPIC][/sIGPIC]

TrubshawRN -=SHREK 94=-

Link to comment
Share on other sites

Yes, they pass IC. You just have to copy them into the new Default.lua if that get's updated.

i7 10700k @4.8GHz | Aurora GTX 3080 | Samsung NVMe m.2 970 Pro 1Tb x 3 | Corsair 64GB DDR4 3200MHz

HP Reverb G2 | Vkb Gunfighter II MCG Pro Stick | Virpil T-50CM Throttle | MFG Crosswind Pedals | Custom built collective | 150 button custom cockpit with 3 x Cougar MFDs

Link to comment
Share on other sites

  • 1 month later...

After a year, I'm tired of waiting for Razbam's official implementation of interior light switches.

 

So here's some examples of INT LT keybindings, for on/off toggle switch. If the light intensity is too bright just reduce the max value from 1.0 to 0.8 or whatever you want. Let me know if there is a better way to code this (I'm a physician not programmer lol).

 

{down = int_light_commands.Knob_Instr_Lights, up = int_light_commands.Knob_Instr_Lights, cockpit_device_id=devices.LTINT, value_down=0.5, value_up= 1.0, name='Instrument Lights On',category='Shortcuts'},
{down = int_light_commands.Knob_Instr_Lights, up = int_light_commands.Knob_Instr_Lights, cockpit_device_id=devices.LTINT, value_down=0.5, value_up= 0.0, name='Instrument Lights Off',category='Shortcuts'},
{down = int_light_commands.Knob_Console_Lights, up = int_light_commands.Knob_Console_Lights,cockpit_device_id=devices.LTINT, value_down=0.5, value_up= 1.0, name='Console Lights On',category='Shortcuts'},
{down = int_light_commands.Knob_Console_Lights, up = int_light_commands.Knob_Console_Lights,cockpit_device_id=devices.LTINT, value_down=0.5, value_up= 0.0, name='Console Lights Off',category='Shortcuts'},


Edited by Supmua

PC: 5800X3D/4090, 11700K/3090, 9900K/2080Ti.

Joystick bases: TMW, VPC WarBRD, MT50CM2, VKB GFII, FSSB R3L

Joystick grips: TM (Warthog, F/A-18C), Realsimulator (F-16SGRH, F-18CGRH), VKB (Kosmosima LH, MCG, MCG Pro), VPC MongoosT50-CM2

Throttles: TMW, Winwing Super Taurus, Logitech Throttle Quadrant, Realsimulator Throttle (soon)

VR: HTC Vive/Pro, Oculus Rift/Quest 2, Valve Index, Varjo Aero, https://forum.dcs.world/topic/300065-varjo-aero-general-guide-for-new-owners/

Link to comment
Share on other sites

can be implemented in OvGME, can’t they? So you don’t have to do the dog labour each time.


Edited by mr_mojo97

MSI M5 z270 | Intel i5 7600k (OC) 4.8GHz | MSI GTX1080ti Gaming X 11Gb | 500gb Samsung 970 Evo NVME M.2 (DCS World) | 500gb Samsung 850 Evo SSD (OS and Apps) | 32Gb 2400MHz DDR4 - Crucial Ballistix | Be Quiet Silent Loop 240mm | NZXT H440 case |

 

Thrustmaster Warthog - 47608 with Virpil Mongoose joystick base | MFG Crosswinds - 1241 | Westland Lynx collective with Bodnar X board | Pilot's seat from ZH832 Merlin | JetSeat | Oculus Rift S | Windows 10 | VA |

Link to comment
Share on other sites

After a year, I'm tired of waiting for Razbam's official implementation of interior light switches.

So here's some examples of INT LT keybindings...

I use something similar:

{down = 3635, up = 3635, cockpit_device_id = devices.LTINT, value_down = 0.7, value_up = 0, name = _('Instrument Brightness 2-Pos ON/OFF'), category = _('Internal Lights')},
{down = 3636, up = 3636, cockpit_device_id = devices.LTINT, value_down = 0.7, value_up = 0, name = _('Console Lights Brightness 2-Pos ON/OFF'), category = _('Internal Lights')},
{down = 3637, up = 3637, cockpit_device_id = devices.LTINT, value_down = 0.7, value_up = 0, name = _('Flood Lights Brightness 2-Pos ON/OFF'), category = _('Internal Lights')},

These switch the 3 lights between 70% and Off. Actually, there is no need for switching the lights Off totally. It would be smarter to set the "value_up" values to something like 30% which might be good for evening or night conditions.

 

The lack of bindings is really frustrating. I have been trying to set up CW/CCW commands for the radio channel select switches, so far not successful. Has anybody managed to create those?

I'm not going to buy anything new from RAZBAM as long as they don't complete the AV-8B.

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

Link to comment
Share on other sites

  • 10 months later...

It's great to see that some of theses keybindings can be so easily implemented by the customer, but why can't they be implemented by the Developer?

 

 

It's the easiest way to fill up a change log notice. So much more appreciated than a 3D scanned pilot.


Edited by SGT Coyle

Night Ops in the Harrier

IYAOYAS


 
Link to comment
Share on other sites

..Iam a rooky on lua but i try to set up cw/ccw commands for channel ufc

I wish you good luck! I have tried, and all I can get is switching between "M" and channel 1.

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

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...