Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hi,

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

Posted

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
Posted

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?

Posted

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

Well, maybe not all. Some failures will have common symptoms. I think you'd need to experiment.

Regards

Pete

  • Upvote 1
Posted

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?

Posted

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

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.