Jump to content
The simFlight Network Forums

AI Offsets 2900–200B


Bryn

Recommended Posts

Could you provide any more information on these AI offsets?

The details are:

Write (in one FSUIPC write, or else at least with the AI ID last and in the

same Process call):

offset 0x2900 --DWORD, the ID of the aircraft (from the TCAS table)

offset 0x2904 --DWORD, The FS control (see list of FS2004 controls on

http://www.schiratti.com/dowson)

offset 0x2908 --32-bit integer, the parameter for the control, if it uses

one

Not all the controls will do anything. In fact, by experiments to date, not many will do anything. Hopefully none will actually crash anything, but I wouldn't swear to it. I have tried ENGINE AUTO SHUTDOWN and ENGINE AUTO START, and these seem to work.

Aircraft deletion can be achieved, and this uses the same mechanism, but set the FS control to 0xFFFF (i.e. 65535). That works and so far I've seen no ill effects (apart from aircraft being zapped of course).

You can send several controls one after the other, in the same FSUIPC

Process if you like, for the same or different aircraft. FSUIPC takes action

when it sees the ID being written, so make sure the other bits are either

written at the same time (same FSUIPC Write), or beforehand.

Let me know how you get on, please.

Regards,

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.