Jump to content
The simFlight Network Forums

Add aircraft fails


Recommended Posts

I´m programming at VB .NET. How Can I do an aircraft fail with FSUIPC? I think the fail will be for example:fire in a engine, cabin depressurization, landing gear don´t work...

There are a number of failures you can se up, through FSUIPC offsets, including engine fire and maybe preventing landing gear action. But it will depend also on which add-on aircraft you use, or a default.

FS itself doesn't simulate cabin pressurisation, so de-pressurising it isn't possible. However, you could try to work out what the results would be and try to make those things happen. Same goes for a lot of things.

Pete

  • Upvote 1
Link to comment
Share on other sites

There are a number of failures you can se up, through FSUIPC offsets, including engine fire and maybe preventing landing gear action. But it will depend also on which add-on aircraft you use, or a default.

FS itself doesn't simulate cabin pressurisation, so de-pressurising it isn't possible. However, you could try to work out what the results would be and try to make those things happen. Same goes for a lot of things.

Pete

Thank you Pet for you answer. I´m you FAN I love you work.

Ok, I need to do configurations for all aircrafts models I use to simulate fails?

Link to comment
Share on other sites

I fin it:

3366

1

This byte reflects the FS2004 ―Engine on Fire‖ flags. I‘m not sure if FS actually simulates such events, but it appears to have allocated Gauge-accessible variables to indicate them. This byte uses bits 2^0–2^3 as flags for fires in Engines 1 to 4, respectively.

Ok-SimC

Ok-SimC

But, I don´t know How I can used in .NET? I don´t know If I need 1 to set fire in engine 1 or anything? Anybody can put an example?

Link to comment
Share on other sites

But, I don´t know How I can used in .NET? I don´t know If I need 1 to set fire in engine 1 or anything? Anybody can put an example?

I'm sorry, but you really do need to learn a bit about programming before embarking on such a more complex exercise as interfacing to FSUIPC. There should be some good books on programming VB, surely?

As it tells you explicity in the extract you copied (not sure why, I have a copy already), there are 4 separate bits for engine fires, one for each or up to 4 engines. If you do not understand numbers and bits in binary and hexadecimal, please read up on that first. There's a thread which may help a bit in the FAQ subforum. Try that.

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.