Jump to content

X:cockpit commands (Mi-24P)


Go to solution Solved by Rudel_chw,

Recommended Posts

Posted (edited)

I've searched a lot on the net but I simply didn't manage to get the needed result. I'm looking for the correct parameters for the Mi-24P to open the side doors (I think emeregency doors?)

According to some forum posts, I should be able to see the tooltips by adding

OPTIONS_ADD_COMMAND_CODES_TO_TOOLTIP = true

to the MissionEditor.lua. Well, in fact it's set that it's false by default, but the line was not in the file at all. Adding it didn't work though.

Thus, I was checking the cliabledata.lua of the Hind. IMO it would be 621 and 622?

elements["CB-RIGHT-EMERGENCY-DOOR-DETACH-PILOT-PTR"]    = default_2_position_tumb(_("CB Jettison Pilot´s Door, ON/OFF"),                devices.ELEC_INTERFACE,        elec_commands.CB_RIGHT_EMERGENCY_DOOR_DETACH_PILOT,    621)
elements["CB-RIGHT-EMERGENCY-DOOR-DETACH-OP-PTR"]        = default_2_position_tumb(_("CB Jettision Gunners Door, ON/OFF"),                devices.ELEC_INTERFACE,        elec_commands.CB_RIGHT_EMERGENCY_DOOR_DETACH_OP,    622)

(simply those doors being controlled by LSHIFT-LCTR-C and RSHIFT-RCTRL-C by default).

However, no matter what cockpit device I chose, I can't set it to 621 or 622. Looks like only values above 3000 are working.

Would be nice if somebody could help me to get it working in the ME.

Edited by rge75
  • rge75 changed the title to X:cockpit commands (Mi-24P)
  • Solution
Posted
10 minutes ago, rge75 said:

I've searched a lot on the net but I simply didn't manage to get the needed result. I'm looking for the correct parameters for the Mi-24P to open the side doors (I think emeregency doors?)

According to some forum posts, I should be able to see the tooltips by adding

OPTIONS_ADD_COMMAND_CODES_TO_TOOLTIP = true

to the MissionEditor.lua. Well, in fact it's set that it's false by default, but the line was not in the file at all. Adding it didn't work though.

 

Starting on DCS 2.9.6 that way to show the tooltips got obsolete. Now it can be enabled this other way:

 

 

10 minutes ago, rge75 said:

Thus, I was checking the cliabledata.lua of the Hind. IMO it would be 621 and 622?

elements["CB-RIGHT-EMERGENCY-DOOR-DETACH-PILOT-PTR"]    = default_2_position_tumb(_("CB Jettison Pilot´s Door, ON/OFF"),                devices.ELEC_INTERFACE,        elec_commands.CB_RIGHT_EMERGENCY_DOOR_DETACH_PILOT,    621)
elements["CB-RIGHT-EMERGENCY-DOOR-DETACH-OP-PTR"]        = default_2_position_tumb(_("CB Jettision Gunners Door, ON/OFF"),                devices.ELEC_INTERFACE,        elec_commands.CB_RIGHT_EMERGENCY_DOOR_DETACH_OP,    622)

(simply those doors being controlled by LSHIFT-LCTR-C and RSHIFT-RCTRL-C by default).

However, no matter what cockpit device I chose, I can't set it to 621 or 622. Looks like only values above 3000 are working.

Would be nice if somebody could help me to get it working in the ME.

 

 

I haven't flown the Mi-24 on a while, but my notes tell me the doors can be set with commands 3022, 3023 and 3033, of device 11. Give those a try.

 

For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra

For Gaming: 34" Monitor - Ryzen 3600 - 32 GB DDR4 2400 - nVidia RTX2080 - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar

Mobile: iPad Pro 12.9" of 256 GB

Posted

Had the chance of checking the commands above and they do work, here is a sample short mission:

Mi-24P - Test Doors (by Rudel_chw).miz

  • Thanks 1

 

For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra

For Gaming: 34" Monitor - Ryzen 3600 - 32 GB DDR4 2400 - nVidia RTX2080 - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar

Mobile: iPad Pro 12.9" of 256 GB

  • Recently Browsing   0 members

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