Search the archive:
Simviation Main Site
|
Site Search
|
Upload Images
Simviation Forum
›
Design Forums
›
Aircraft & 3D Design
› XML vortices FX question
(Moderators: Mitch., Fly2e, ozzy72, beaky, Clipper, JBaymore, Bob70, BigTruck)
‹
Previous Topic
|
Next Topic
›
Pages: 1
XML vortices FX question (Read 297 times)
Apr 21
st
, 2004 at 12:13am
Moach
Offline
Colonel
Jet-Powered PropellerHead
São Paulo, Brazil
Gender:
Posts: 991
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:
- <Gauge Name="WingTipVortices" Version="1.0">
- <Element>
- <Select>
<Value>(A:AIRSPEED INDICATED,knot) 120 > (A:AIRSPEED INDICATED,knot) 160 < && if{ (>K:SMOKE_ON) } els{ (>K:SMOKE_OFF) }</Value>
</Select>
</Element>
</Gauge>
Come, one and all aboard! - The Russian Roullete in the sky!
One in each Six of my personalities knows not at all how to fly!
Back to top
IP Logged
Reply #1 -
Apr 21
st
, 2004 at 12:17pm
garymbuska
Offline
Colonel
I would rather be flying
Jacksonville, Florida
Gender:
Posts: 2850
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
<value>(A:Flap Position,%)10 >(A:Flap Position,%)50 < &&if{(.%:SMOKE_ON)}else{ (>%:SMOKE_OFF)}</Value>
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%
Back to top
IP Logged
Reply #2 -
Apr 21
st
, 2004 at 10:57pm
Moach
Offline
Colonel
Jet-Powered PropellerHead
São Paulo, Brazil
Gender:
Posts: 991
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
Come, one and all aboard! - The Russian Roullete in the sky!
One in each Six of my personalities knows not at all how to fly!
Back to top
IP Logged
Pages: 1
‹
Previous Topic
|
Next Topic
›
« Home
‹ Board
Top of this page
Forum Jump »
Home
» 10 most recent Posts
» 10 most recent Topics
Current Flight Simulator Series
- Flight Simulator X
- FS 2004 - A Century of Flight
- Adding Aircraft Traffic (AI) & Gates
- Flight School
- Flightgear
- MS Flight
Graphic Gallery
- Simviation Screenshots Showcase
- Screenshot Contest
- Edited Screenshots
- Photos & Cameras
- Payware Screenshot Showcase
- Studio V Screenshot Workshop
- Video
- The Cage
Design Forums
- Aircraft & 3D Design ««
- Scenery & Panel Design
- Aircraft Repainting
- Designer Feedback
General
- General Discussion
- Humour
- Music, Arts & Entertainment
- Sport
Computer Hardware & Software Forum
- Hardware
- Tweaking & Overclocking
- Computer Games & Software
- HomeBuild Cockpits
Addons Most Wanted
- Aircraft Wanted
- Other Add-ons Wanted
Real World
- Real Aviation
- Specific Aircraft Types
- Autos
- History
On-line Interactive Flying
- Virtual Airlines Events & Messages
- Multiplayer
Simviation Site
- Simviation News & Info
- Suggestions for these forums
- Site Questions & Feedback
- Site Problems & Broken Links
Combat Flight Simulators
- Combat Flight Simulator 3
- Combat Flight Simulator 2
- Combat Flight Simulator
- CFS Development
- IL-2 Sturmovik
Other Websites
- Your Site
- Other Sites
Payware
- Payware
Old Flight Simulator Series
- FS 2002
- FS 2000
- Flight Simulator 98
Simviation Forum
» Powered by
YaBB 2.5 AE
!
YaBB Forum Software
© 2000-2010. All Rights Reserved.