Jump to content
The simFlight Network Forums

Offest 3367, Doors


Recommended Posts

Hi Pete,

I have been fiddeling around with this offset for hours now in FS2004 :roll:. I tried to open the door as I thought this was possible and thought it wasn't working just because of me doing someting wrong with bit manipulation.

But now, I found out it is becaue of the offset doesn't seem to take my FSUIPC_Write as it is working with other offsets connected to bit manipulation.

Well...do you know what might be wrong there? I was trying to set the least significant bit to open the main door (even tried to set the whole byte to 1) but nothing works.

Thanks in advance!

Greets, Benny

Link to comment
Share on other sites

But now, I found out it is becaue of the offset doesn't seem to take my FSUIPC_Write as it is working with other offsets connected to bit manipulation.

Well...do you know what might be wrong there? I was trying to set the least significant bit to open the main door (even tried to set the whole byte to 1) but nothing works.

Looking at the offset documentation, I think this offset was only added as a doors open indicator, not a control. That's how it reads to me, and checking the code that is how it is implemented, at least in FSUIPC3. I extended it in FSUIPC4 when adding the other doors -- more useful really. The FS2004 version can't even detect the other doors.

The only way you can do it programmatically in FS9 is by sending the Toggle Aircraft Exit control via offset 3110. You should check the status in 3367 first, of course, because there is only the toggling control.

Pete

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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy 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.