Jump to content

HOOK extend/extract feature for warthog


Recommended Posts

Posted

Is it possible to fix that the HOOK will operate the same way as the refueling probe. In other words when switch is up hook is extended, and vice versa?

MY SYSTEM SPECS: Hardware Intel pentium 3 @ 800 MHz, 256 Mb RAM, Geforce 2 64Mb, Dell screen 1024x768 + Microsoft sidewhiner joystick + TrackIR 2 + TrackClitPro SOFTWARE: Microsoft Windows 98, Noice Attack & VIASAT PRO, SnackView

Posted (edited)

You can already do that by adding a custom key binding.

 

Just add this line:

{ down = gear_commands.HookHandle, up = gear_commands.HookHandle, cockpit_device_id = devices.GEAR_INTERFACE, value_down = 1.0, value_up = 0.0, name = _('Arresting Hook Handle'), category = {_('Special For Joystick')}},

 

to the default.lua file located at:

C:\Program Files\Eagle Dynamics\DCS World OpenBeta\Mods\aircraft\FA-18C\Input\FA-18C\joystick\

 

 

Keep a copy of the file though. it will get written over after each update (I think).

 

There are a bunch of others you can add, like the gear handle. There is a thread somewhere on here that lists them all.

Edited by Rennes
Posted
Or use RS Mapper and you dont have to hand edit any luas

 

Anyone know if Joystick Gremlin achieves the same thing?

Rig: SimLab P1X Chassis | Tianhang Base PRO + Tianhang F-16 Grip w/ OTTO Buttons | Custom Throttletek F/A-18C Throttle w/ Hall Sensors + OTTO switches and buttons | Slaw Device RX Viper Pedals w/ Damper

Tactile: G-Belt | 2x BK LFE + 1x BK Concert | 2x TST-429 | 1x BST-300EX | 2x BST-1 | 6x 40W Exciters | 2x NX3000D | 2x EPQ304

PC/VR: Somnium VR1 Visionary | 4090 | 12700K

Posted
Anyone know if Joystick Gremlin achieves the same thing?

 

 

It does. I use Joystick Gremlin for my On-Off toggles.

 

 

You have to use macros though, and conditions with activation on the virtual buttons.

Posted
It does. I use Joystick Gremlin for my On-Off toggles.

 

 

You have to use macros though, and conditions with activation on the virtual buttons.

 

 

 

Thanks, Razi! Are there any good tutorials of this that you’re aware of?

 

 

Sent from my iPhone using Tapatalk

Rig: SimLab P1X Chassis | Tianhang Base PRO + Tianhang F-16 Grip w/ OTTO Buttons | Custom Throttletek F/A-18C Throttle w/ Hall Sensors + OTTO switches and buttons | Slaw Device RX Viper Pedals w/ Damper

Tactile: G-Belt | 2x BK LFE + 1x BK Concert | 2x TST-429 | 1x BST-300EX | 2x BST-1 | 6x 40W Exciters | 2x NX3000D | 2x EPQ304

PC/VR: Somnium VR1 Visionary | 4090 | 12700K

Posted

Unfortunately I didn't find any good tutorials. I only was able to find a post on its github issues tab that clued me into how to get it to work with on-off toggles.

 

 

If I understand correctly, Joystick Gremlin remaps the joystick to a virtual joystick thereby allowing JG to customize the action of a given button press/depress.

 

 

With the on-off toggles, you add a macro action with a recorded key press/depress. Then you add a condition to this action that when this virtual button (activated by the physical button) is pressed, the macro is run.

 

 

For on-off toggles, you need to use two macros - one for "On" and one for "Off". Linked below are snips of my tail hook configuration (couldn't figure out how to embed them, sorry).

 

 

Macros

Conditions

Posted
You can already do that by adding a custom key binding.

 

Just add this line:

{ down = gear_commands.HookHandle, up = gear_commands.HookHandle, cockpit_device_id = devices.GEAR_INTERFACE, value_down = 1.0, value_up = 0.0, name = _('Arresting Hook Handle'), category = {_('Special For Joystick')}},

 

to the default.lua file located at:

C:\Program Files\Eagle Dynamics\DCS World OpenBeta\Mods\aircraft\FA-18C\Input\FA-18C\joystick\

 

 

Keep a copy of the file though. it will get written over after each update (I think).

 

There are a bunch of others you can add, like the gear handle. There is a thread somewhere on here that lists them all.

Sorry i cant get this to work

MY SYSTEM SPECS: Hardware Intel pentium 3 @ 800 MHz, 256 Mb RAM, Geforce 2 64Mb, Dell screen 1024x768 + Microsoft sidewhiner joystick + TrackIR 2 + TrackClitPro SOFTWARE: Microsoft Windows 98, Noice Attack & VIASAT PRO, SnackView

Posted
Sorry i cant get this to work

 

I just did it again and it worked fine. (you do have to do it after each update, so keep a copy of the lua file)

 

Just copy this:

{   down = gear_commands.HookHandle,  up = gear_commands.HookHandle, cockpit_device_id = devices.GEAR_INTERFACE,  value_down =  1.0,   value_up = 0.0, name = _('Arresting Hook Handle'), category = {_('Special For Joystick')}},

 

into the file listed in my first post, put it just under the line that says: "join(res.keyCommands,{"

near the top of the file.

 

Then load DCS and go into the controls options and use the pull down to select the "special for Joystick" section. You should then see an binding for "Arresting Hook Handle", bind which ever switch you want to use for it and you should be good to go.

Posted
I just did it again and it worked fine. (you do have to do it after each update, so keep a copy of the lua file)

 

Just copy this:

{   down = gear_commands.HookHandle,  up = gear_commands.HookHandle, cockpit_device_id = devices.GEAR_INTERFACE,  value_down =  1.0,   value_up = 0.0, name = _('Arresting Hook Handle'), category = {_('Special For Joystick')}},

 

into the file listed in my first post, put it just under the line that says: "join(res.keyCommands,{"

near the top of the file.

 

Then load DCS and go into the controls options and use the pull down to select the "special for Joystick" section. You should then see an binding for "Arresting Hook Handle", bind which ever switch you want to use for it and you should be good to go.

 

Can it be done with OvGME?

MY SYSTEM SPECS: Hardware Intel pentium 3 @ 800 MHz, 256 Mb RAM, Geforce 2 64Mb, Dell screen 1024x768 + Microsoft sidewhiner joystick + TrackIR 2 + TrackClitPro SOFTWARE: Microsoft Windows 98, Noice Attack & VIASAT PRO, SnackView

  • Recently Browsing   0 members

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