Page 1 of 1

XML vortices FX question

PostPosted: Tue Apr 20, 2004 11:13 pm
by Moach
im adding a vortex effect to my 737, so you can see that little smoke trail that comes off the flaps when they're down

i've modified an XML gauge from project airbus so i can have it in my plane... it works but there's a catch:

this xml gauge has a max and min speed limit to activate the effect but it doesn't detect if the flaps are up or down

i want the effect to activate only when the flaps are in their 2nd most extented position or lower (the 737 has 8 flap positions, plus fully retracted)

how would i write this condition into the xml file?

this is the code as it is:

-
-
-
 

 

Re: XML vortices FX question

PostPosted: Wed Apr 21, 2004 11:17 am
by garymbuska
If you do a search for XML gauges you can find some info on this langauge.
I am not an XML gauge expert by no means but the line you need to alter is the one that deals with air speed it is looking at a air speed less than 160 and greater than 120 knotts you could chane these two numbers to represent the air speed you would be at when the flaps are set to that position or you might be able to use
(A:Flap Position,%)10 >(A:Flap Position,%)50 < &&if{(.%:SMOKE_ON)}else{ (>%:SMOKE_OFF)}
This might not work I am not sure about the tags I am using
This is basically looking at the percent of flap set more than 10% but less than 50%

Re: XML vortices FX question

PostPosted: Wed Apr 21, 2004 9:57 pm
by Moach
i realised that, but i couldn't do anything because i don't know the right tag and i don't know how the sintax works, so i can't add a new condition to the whole thing

i want it to check both the airspeed and the flaps to activate.

Thanx for the help  :)

Moach