1
0
Fork 0
Location/Random Attitude
  Weather/Random Weather
This commit is contained in:
david 2003-04-04 22:42:53 +00:00
parent b500e311f3
commit 084a9af4b7

View file

@ -116,6 +116,33 @@
</binding>
</item>
<item>
<label>Random Attitude</label>
<binding>
<command>property-assign</command>
<property>/sim/presets/trim</property>
<value>false</value>
</binding>
<binding>
<command>property-randomize</command>
<property>/orientation/pitch-deg</property>
<min>0</min>
<max>360</max>
</binding>
<binding>
<command>property-randomize</command>
<property>/orientation/roll-deg</property>
<min>0</min>
<max>360</max>
</binding>
<binding>
<command>property-randomize</command>
<property>/orientation/heading-deg</property>
<min>0</min>
<max>360</max>
</binding>
</item>
</menu>
<menu>
@ -193,6 +220,67 @@
</binding>
</item>
<item>
<label>Random Weather</label>
<!-- visibility from 20m to 20km -->
<binding>
<command>property-randomize</command>
<property>/environment/visibility-m</property>
<min>20</min>
<max>20000</max>
</binding>
<!-- sea-level temperature from -40degC to +40degC -->
<binding>
<command>property-randomize</command>
<property>/environment/temperature-sea-level-degc</property>
<min>-40</min>
<max>40</max>
</binding>
<!-- dew point from -40degC to +40degC (will adjust to temperature) -->
<binding>
<command>property-randomize</command>
<property>/environment/dewpoint-sea-level-degc</property>
<min>-40</min>
<max>40</max>
</binding>
<!-- altimeter from 27.92inHG to 31.92inHG -->
<binding>
<command>property-randomize</command>
<property>/environment/pressure-sea-level-inhg</property>
<min>27.92</min>
<max>31.92</max>
</binding>
<!-- any wind direction -->
<binding>
<command>property-randomize</command>
<property>/environment/wind-from-heading-deg</property>
<min>0</min>
<max>360</max>
</binding>
<!-- wind speed from 0 to 40kt -->
<binding>
<command>property-randomize</command>
<property>/environment/params/base-wind-speed-kt</property>
<min>0</min>
<max>40</max>
</binding>
<!-- leave out gusts for now -->
<!-- not more than moderate turbulence -->
<binding>
<command>property-randomize</command>
<property>/environment/turbulence-norm</property>
<min>0.0</min>
<max>0.5</max>
</binding>
<!-- bottom cloud layer 0 to 15000 ft -->
<binding>
<command>property-randomize</command>
<property>/environment/clouds/layer[0]/elevation-ft</property>
<min>0</min>
<max>15000</max>
</binding>
</item>
</menu>
<menu>