Capt_Geoff Posted May 26, 2005 Report Share Posted May 26, 2005 Hi - Anyone know how to cause an engine failure using FSUIPC programmatically? I've tried setting a bunch of things to zero using several FSUIPC_Write & one FSUIPC_Process commands (for engine #1), with no apparent luck. I need to make an engine fail - permanently (for the duration of the flight) and would prefer not to set the mixture to 0 - as the pilot could then just (I presume) re-adjust the mixture and start the engine. Any suggestions would be appreciated! Thanks! Link to comment Share on other sites More sharing options...
Pete Dowson Posted May 26, 2005 Report Share Posted May 26, 2005 Anyone know how to cause an engine failure using FSUIPC programmatically? I've tried setting a bunch of things to zero using several FSUIPC_Write & one FSUIPC_Process commands (for engine #1), with no apparent luck. First of all, try out various things using FSInterrogate rather than rewriting and recompiling programs. It will be much quicker and less error prone. FSInterrogate can write to any FSUIPC offset as well as read them all. Have you tried using any of the failure controls? The engine ones are at 0B6B, part of a list there. Another list appears at 3BD6. Regards, Pete Link to comment Share on other sites More sharing options...
CATIII Posted May 27, 2005 Report Share Posted May 27, 2005 You can fail engines by setting bits in offset 0B6B: TempByte = 0 TempByte = TempByte or Bit0 <= fails Engine No. 1 FSUIPC_Write(0B6B, 1, TempByte, dwResult) FSUIPC_Process(dwResult) For repairing the engine, use TempByte = TempByte and not Bit0 Good luck! CATIII Link to comment Share on other sites More sharing options...
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