Sign in to follow this  
Guest

Static air????

Recommended Posts

Hello,what is the FS2002 variable and eventID for a "static air" switch?ThanksJohn

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

It doesn't seem to work properly. If I recall correctly, it is supposed to bring life back to instruments using the static port (i.e. altimeter), and was supposed to work with the static failure toggle event.Toggling the builtin static failure rendered the vsi totally unusable, and the output of this is needed on the others for "needle adjustment".However, in the end I was forced to make my own static failure and alternate static port handle and make adjustments to altimeter, vsi, and asi independently.

Share this post


Link to post
Share on other sites

Thanks,What is the FS parameter that is supposed to control this?Also, would you mind sharing your custom code for this function?Thanks again,John

Share this post


Link to post
Share on other sites

The code is really simple, and I only use manual setting to enable the alternate static source, although you could possibly use detected ice to let the port freeze up if no heaters was enabled, if you like.But the general code I use goes something like (and might be totally wrong, this was just experimenting):VSI Needle Rotation:(L:Fail_Static,bool) if{ 0 } els{ (A:Vertical speed,feet per minute) 100 / }Altimeter Needle Rotation (Set variable when setting Fail_Static):(L:Fail_Static,bool) if{ (L:Freezed Altitude,feet) } els{ (A:Indicated Altitude,feet) } 100 /Airspeed Needle Rotation (uses "select", my mistake, sorry):(L:Fail_Static,bool) if{ (A:Airspeed select indicated or true,knots) (A:Vertical speed,feet per minute) 0.01 * (*temporary factor*) - } els{ (A:Airspeed select indicated or true,knots) }Heh, just noticed that airspeed uses Fail_Static as an alternate static switch instead of failure... Oh well :)

Share this post


Link to post
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
Sign in to follow this