1
0
Fork 0
fgdata/gui/dialogs/winds.xml
david 6f9792af13 Add the ability to control turbulence rate as well as magnitude.
Square the normalized direction acceleration for the y and z axes, so
that turbulence predominantly affects pitch.

Bind to the /environment/turbulence/magnitude-norm and
/environment/turbulence/rate-hz properties in FlightGear.
2003-07-13 20:26:00 +00:00

94 lines
1.6 KiB
XML

<?xml version="1.0"?>
<PropertyList>
<!-- Control the weather -->
<name>winds</name>
<width>400</width>
<height>210</height>
<modal>false</modal>
<text>
<x>10</x>
<y>180</y>
<label>Environment: Winds</label>
</text>
<input>
<x>10</x>
<y>140</y>
<width>200</width>
<height>25</height>
<label>wind direction (deg)</label>
<property>/environment/wind-from-heading-deg</property>
</input>
<input>
<x>10</x>
<y>110</y>
<width>200</width>
<height>25</height>
<label>base wind speed (kt)</label>
<property>/environment/params/base-wind-speed-kt</property>
</input>
<input>
<x>10</x>
<y>80</y>
<width>200</width>
<height>25</height>
<label>gust wind speed (kt)</label>
<property>/environment/params/gust-wind-speed-kt</property>
</input>
<slider>
<x>10</x>
<y>50</y>
<width>200</width>
<height>25</height>
<label>turbulence</label>
<property>/environment/turbulence/magnitude-norm</property>
</slider>
<button>
<x>5</x>
<y>10</y>
<legend>OK</legend>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>dialog-close</command>
</binding>
<default>true</default>
</button>
<button>
<x>105</x>
<y>10</y>
<legend>Apply</legend>
<binding>
<command>dialog-apply</command>
</binding>
</button>
<button>
<x>205</x>
<y>10</y>
<legend>Reset</legend>
<binding>
<command>dialog-update</command>
</binding>
</button>
<button>
<x>305</x>
<y>10</y>
<legend>Cancel</legend>
<binding>
<command>dialog-close</command>
</binding>
</button>
</PropertyList>