Jump to content

[REQUESTED]Three position flap switch binding, throttle engine start and Torchlight


flagg
 Share

Recommended Posts

Every patch I need to manually add this strings in order to get it working with warthog hotas.

Can it be added once for all from the devs? It is literally 10 seconds of work.

 

Also cockpit torchlight it is a very handy feature for MP servers during dawn, night and dusk operations. It shouldn't occupy lot of dev time.

 

Thanks!

 

----- FLAPS -----

{combos = {{key = 'JOY_BTN22'}}, cockpit_device_id = devices.CONTROL_SYSTEM, down = device_commands.Button_1, value_down = 1.0, up = device_commands.Button_2, value_up = 1.0, name = _('Toggle Flaps Up'), category = _('Flight Control')},
{combos = {{key = 'JOY_BTN23'}}, cockpit_device_id = devices.CONTROL_SYSTEM, down = device_commands.Button_3, value_down = 1.0, up = device_commands.Button_2, value_up = 1.0, name = _('Toggle Flaps Dn'), category = _('Flight Control')},

 

----- ENGINE -----

{down = iCommandLeftEngineStop, up = iCommandLeftEngineStart, name = _('Throttle 2-Pos. OFF/IDLE'), category = _('Engine Control')},

Link to comment
Share on other sites

Funnily enough, in the Anton it's working by default in the three position. I guess you can try copying the code from there.

 

S!

"I went into the British Army believing that if you want peace you must prepare for war. I believe now that if you prepare for war, you get war."

-- Major-General Frederick B. Maurice

Link to comment
Share on other sites

Funnily enough, in the Anton it's working by default in the three position. I guess you can try copying the code from there.

 

S!

 

Problem lies in need of re-applying this code every patch.

I9 9900KF @5.0, Gigabyte Z390 Aorus PRO, Ram 32 GB G.skill, Palit Gamerock OC 3090, Hotas Warthog, Thrustmaster Pendular Pedals, OLED 48" 120Hz.

Link to comment
Share on other sites

Im not getting the one with the Engine and a torchlight.

 

1. torchlight (flashlight) [LAlt - L] is not available in the Dora

 

2. Engine Idle/Start mapping is not possible with Warthog Throttle

This string needs to be added each time

 

C:\Program Files\Eagle Dynamics\DCS World OpenBeta\Mods\aircraft\FW-190D9\Input\FW-190D9\joystick\Throttle - HOTAS Warthog.lua

 

{down = iCommandLeftEngineStop, up = iCommandLeftEngineStart, name = _('Throttle 2-Pos. OFF/IDLE'), category = _('Engine Control')},

Link to comment
Share on other sites

  • 1 year later...

@flagg: You do not need to add code for the flaps. The file "Throttle - HOTAS Warthog.lua" contains these 2 lines of code for the flaps:

{combos = {{key = 'JOY_BTN22'}}, cockpit_device_id = devices.CONTROL_SYSTEM, down = device_commands.Button_1, value_down = 1.0, up = device_commands.Button_2, value_up = 1.0, name = _('Toggle Flaps Up'), category = _('Flight Control')},
{combos = {{key = 'JOY_BTN23'}}, cockpit_device_id = devices.CONTROL_SYSTEM, down = device_commands.Button_3, value_down = 1.0, up = device_commands.Button_2, value_up = 1.0, name = _('Toggle Flaps Dn'), category = _('Flight Control')},

and they give you 3-position control with the flaps switch on the TM WH throttle.

 

@groove: flagg is right about the "Engine" issue: The line of code he quotes is required if you want to use the integrated switch in the TM WH Throttle lever which cuts the engine when you pull the lever backwards over the hump, and enables the engine when you move it forward over the hump. The code in the stock file requires two switches. In other words, you can use the integrated switch to cut the engine, but you need a second switch to enable the engine.

I created that command a long time ago. It also works in the Anton which has the same issue.

And for the Bf-109 I created this command which does the same thing:

{down = device_commands.Button_6, up = device_commands.Button_6, cockpit_device_id = devices.ENGINE_CONTROLS, value_down = 1.0, value_up = 0.0, name = _('Engine Cut-Off 2-Pos. ON/OFF'), category = _('Fuel System Controls')},

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

 Share

  • Recently Browsing   0 members

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