September 8, 200223 yr 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
September 9, 200223 yr Author 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 FS RTWR SHRS F-111 JoinFS Little Navmap
Create an account or sign in to comment