Jump to content
Sign in to follow this  
spokes2112

xml effects gauge problem

Recommended Posts

Guest InBetween

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

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


20AUG21_Avsim_Sig.png?dl=1  FS RTWR   SHRS F-111   JoinFS   Little Navmap 
 

 

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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...