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.

Link to comment
Share on other sites

  • 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)

Link to comment
Share on other sites

  • 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 1
Link to comment
Share on other sites

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.  🙂

  • Like 2
Link to comment
Share on other sites

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)·}

 

 

 

  • Thanks 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...