carlosuc99 Posted January 24, 2013 Report Posted January 24, 2013 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...
Pete Dowson Posted January 24, 2013 Report Posted January 24, 2013 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 1
carlosuc99 Posted January 24, 2013 Author Report Posted January 24, 2013 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?
Pete Dowson Posted January 24, 2013 Report Posted January 24, 2013 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 1
carlosuc99 Posted January 25, 2013 Author Report Posted January 25, 2013 Are there any offsets to engine fire for FSX?
Pete Dowson Posted January 25, 2013 Report Posted January 25, 2013 Are there any offsets to engine fire for FSX? Yes. Haven't you tried searching on the word "fire" in the FSUIPC4 Offsets Status document? Pete 1
carlosuc99 Posted January 25, 2013 Author Report Posted January 25, 2013 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?
Pete Dowson Posted January 25, 2013 Report Posted January 25, 2013 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
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