Jump to content
The simFlight Network Forums
Sign in to follow this  
Bryn

AI Offsets 2900–200B

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

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