XML vortices FX question

Anything to do with Aircraft Design, FSDS, G Max, Aircraft Animator, SDL Edit, etc. Novice or skilled - stop here & learn!

XML vortices FX question

Postby Moach » Tue Apr 20, 2004 11:13 pm

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:

-
-
-
 

 
If nature wanted a man to fly - It would have given him more money
User avatar
Moach
Captain
Captain
 
Posts: 960
Joined: Thu Nov 28, 2002 3:22 pm
Location: Vancouver, BC

Re: XML vortices FX question

Postby garymbuska » Wed Apr 21, 2004 11:17 am

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%
Gary M Buska
SYSTEM Specs ASUS P8Z68 V/GEN 3 mother board: INTELL I7 2600k 3.48 ghz Quad core CPU with Sandy bridge: 12 Gigs of 1800hz ram:
GTX 950 OVER CLOCKED: 2 Gigs Ram Windows 10 Home 64 bit Operating system. 750W Dedicated modular power supply. Two Internal 1TB hard drives 1 External 1TB 3.2 USB hard drive. SAITEK Cessna flight Yoke with throttles.
CH Rudder Peddles 27 inch Wide screen Monitor
User avatar
garymbuska
Major
Major
 
Posts: 4415
Joined: Tue Dec 30, 2003 11:10 am
Location: Jacksonville, Florida

Re: XML vortices FX question

Postby Moach » Wed Apr 21, 2004 9:57 pm

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
If nature wanted a man to fly - It would have given him more money
User avatar
Moach
Captain
Captain
 
Posts: 960
Joined: Thu Nov 28, 2002 3:22 pm
Location: Vancouver, BC


Return to Aircraft & 3D Design

Who is online

Users browsing this forum: No registered users and 567 guests