Author Topic: The Targeting Pod for the Hornet is here!!  (Read 1083 times)

0 Members and 1 Guest are viewing this topic.

Offline AG-51_Sparky

  • AG-51 Active Roster
  • Active
  • ******
  • Posts: 743
  • Awards AG-51 Pilot Mission Builder
    • Awards
Re: The Targeting Pod for the Hornet is here!!
« Reply #15 on: August 01, 2019, 02:15:18 PM »
A guy on the ED forums gave me a fix for adding the FlIR and LTD/R switch to be able to bind them. He said he put them in the "Joystick" folder but that didn't allow me to bind keys so I also added it to the "Keyboard" folder. First thing I found was that you cannot use a modifier because you need to use the "Toggle" option instead of the "press and release" option in voiceattack, If you use a modifier AND the Toggle option voiceattack will not execute another command until you Untoggle the FLIR or LTD/R switch's. So I found 3 unused keys in my controls (Q, P and J for me). I used the Q key for the command "Targeting Pod" and it will toggle between on and Standby with each command and I used P for command "L T D Arm" and J for command "L T D Aft" to toggle them between On and Standby. Everything below is his post


DIY solution is to add these lines to the Mods/aircraft/FA-18C/Input/FA-18C/joystick/default.lua after the "join(res.keyCommands,{" line.

-- TGP INTERFACE
{ down = tgp_commands.Flir, up = tgp_commands.Flir, cockpit_device_id = devices.TGP_INTERFACE, value_down =  1.0, value_up= 0.0, name = _('FLIR Switch ON/STBY'),   category = {_('TGP')}},
{ down = tgp_commands.Flir, up = tgp_commands.Flir, cockpit_device_id = devices.TGP_INTERFACE, value_down = -1.0, value_up= 0.0, name = _('FLIR Switch OFF/STBY'),  category = {_('TGP')}},
{ down = tgp_commands.Ltdr, up = tgp_commands.Ltdr, cockpit_device_id = devices.TGP_INTERFACE, value_down =  1.0, value_up= 0.0, name = _('LTD/R Switch ARM/SAFE'), category = {_('TGP')}},
{ down = tgp_commands.Ltdr, up = tgp_commands.Ltdr, cockpit_device_id = devices.TGP_INTERFACE, value_down = -1.0, value_up= 0.0, name = _('LTD/R Switch AFT/SAFE'), category = {_('TGP')}},

Offline AG-51_Sparky

  • AG-51 Active Roster
  • Active
  • ******
  • Posts: 743
  • Awards AG-51 Pilot Mission Builder
    • Awards
Re: The Targeting Pod for the Hornet is here!!
« Reply #16 on: August 01, 2019, 02:17:15 PM »
Also to Razor, no, I cannot self fellaciate. If I could I would be absent on a lot more Saturday evening squad nights.

Offline AG-51_Razor

  • Administrator
  • Active
  • **********
  • Posts: 7787
  • Awards Commanding Officer Mission Builder CO of AG-51
    • Awards
Re: The Targeting Pod for the Hornet is here!!
« Reply #17 on: August 01, 2019, 06:32:24 PM »
 :Rofl  Me too!!!  :Rofl