Jump to content

Cargo doors binding?


Recommended Posts

  • Aerosoft
5 minutes ago, testorius said:

Thank you. Key combination would also be ok, then I do it via VoiceAttack.

Hi Testorius,

 

There are apparently no cargo door functions in MSFS, however there are several variables
(L-Vars) pertaining to the doors operation.


Are you able to address L-Vars somehow ?

Best regards.

  • Aerosoft

Hi Testorius,

 

Here is a screenshot of available L-vars in AAO : 
You may need to experiment wih them.
Let me know if you really can't get what you want. ☺☺

Please login to display this image.


 

  • Aerosoft
32 minutes ago, testorius said:

SimWare,

 

If I find time to test and this one is successful, I will report it. Thank you in advance.

Greetings

Got it for you : 
 

Opening

100·(>L:DHC6_CARGO_DOOR,·Number)

Closing : 

0·(>L:DHC6_CARGO_DOOR,·Number)

  • Aerosoft

You are welcome.
As you will see, the number you assign to the L-Var will modulate the door opening.
In other words, the opening angle of the door is proportionnal to the number assigned to the L-Var.

Have fun flights.

Thanks to your help, everything worked fine. 🙂  Here is the result of your engegement (Speech only, without keys). One more question about the people in the cockpit. How do I get them invisible?

 

 

Edit

You can only hear the system sound now in window mode for the movie. It has disappeared in the in-game full screen.  🙂

It seems the door_opening and door_closing need to be reset to 0.

Here is a RPN script for AAO for opening the cabin door. It should work for both pax and cargo versions.

 

(L:DHC6_PAX_DOOR,·numbers)·(L:DHC6_CARGO_DOOR,·numbers)·+·0·==·if{·

100·(>L:DHC6_PAX_DOOR,·numbers)·1·(>L:DHC6_PAX_DOOR_OPENING,·numbers)·100·

(>L:DHC6_CARGO_DOOR,·numbers)·1·(>L:DHC6_CARGO_DOOR_OPENING,·numbers)·}·els{·

0·(>L:DHC6_PAX_DOOR,·numbers)·1·(>L:DHC6_PAX_DOOR_CLOSING,·numbers)·

0·(>L:DHC6_CARGO_DOOR,·numbers)·1·(>L:DHC6_CARGO_DOOR_CLOSING,·numbers)·0·(>L:DHC6_CARGO_DOOR_CLOSING,·numbers)·}

(SLEEP:8000)·0·(>L:DHC6_PAX_DOOR_OPENING,·numbers)·0··(>L:DHC6_PAX_DOOR_CLOSING,·numbers)·0·(>L:DHC6_CARGO_DOOR_CLOSING,·numbers)·0·(>L:DHC6_CARGO_DOOR_OPENING,·numbers)

 

The baggage compartments for and aft are somewhat simpler. Here is a script to open and close both.

 

(L:DHC6_CARGO_DOOR_FWD,·numbers)·(L:DHC6_CARGO_DOOR_AFT,·numbers)··+·0·==·if{·

100·(>L:DHC6_CARGO_DOOR_FWD,·numbers)·100·

(>L:DHC6_CARGO_DOOR_AFT,·numbers)·}·els{·0·(>L:DHC6_CARGO_DOOR_FWD,·numbers)·0·

(>L:DHC6_CARGO_DOOR_AFT,·numbers)·}

 

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy & Terms of Use