Sign in to follow this  
spokes2112

xml effects gauge problem

Recommended Posts

Greetings,I am working on an xml gauge to control smoke effectson float planes; I want the water to fall off the floatsfor four seconds after take off or when skimming the water.Engine smoke still works while this happens... (A:RADIO HEIGHT,feet) 11 > (A:AIRSPEED INDICATED,knots) 65 > (A:AIRSPEED INDICATED,knots) 205 < && && if{ (>K:SMOKE_ON) } els{ (>K:SMOKE_OFF) } The above gauge works on float-only planes, not amphibians, so Itried the following; without success :( (A:RADIO HEIGHT,feet) 11 > (A:AIRSPEED INDICATED,knots) 65 > (A:AIRSPEED INDICATED,knots) 205 < (A:SURFACE TYPE,flags) 8 == && && && if{ (>K:SMOKE_ON) } els{ (>K:SMOKE_OFF) } I thought testing for surface type would stop the effect on land?Any ideas would be appreciated!JR

Share this post


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

JR, My guess is that you are on the right track.. The only thing I would consider would be if the (A:Surface type, tags) toggles when only on the surface itself. ( I.E. not in the air ). You may want to make a string to display the surface flags to confirm operation. (A:RADIO HEIGHT,feet) 11 < (A:SURFACE TYPE,flags) 8 == & if{ 1 (>G:Var1) }The above would trigger G:Var 1 to say, "yes I am on the water" :-) and allow the following to occur.(A:RADIO HEIGHT,feet) 11 > (A:AIRSPEED INDICATED,knots) 65 > (A:AIRSPEED INDICATED,knots) 205 < (G:Var1) 1 == && && && if{ (>K:SMOKE_ON) } els{ (>K:SMOKE_OFF) }(A:RADIO HEIGHT,feet) 161 > if{ 0 (>G:Var1) }The above would turn off the flag saying, "I just took off from the water" after 150 ft RA.Good luck,,, and GREAT IDEA !!!!!Regards,RomanProject 737-400

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