Bryn Posted November 22, 2003 Report Posted November 22, 2003 Pete, Could you provide any more information on these AI offsets? Bryn Battersby bryn@icreate.net
Pete Dowson Posted November 22, 2003 Report Posted November 22, 2003 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
Bryn Posted November 22, 2003 Author Report Posted November 22, 2003 Thanks Pete. I'll see how I go. Bryn.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now