- cleaning/moving data

- can be run as addon (mostly working)
This commit is contained in:
Slawek Mikula
2017-10-19 23:24:56 +02:00
parent 579b1b69d8
commit 08a4fcb0ee
68 changed files with 436 additions and 9775 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 899 KiB

View File

@@ -1,12 +0,0 @@
<?xml version="1.0"?>
<PropertyList>
<name>SAR mission</name>
<skill-level>2</skill-level>
<description>
...
</description>
</PropertyList>

View File

@@ -1,438 +0,0 @@
<?xml version="1.0"?>
<PropertyList>
<presets>
<altitude>-9999</altitude>
<altitude-ft>-9999</altitude-ft>
<heading-deg>128</heading-deg>
<latitude-deg>21.98269998</latitude-deg>
<longitude-deg>-159.345474</longitude-deg>
</presets>
<timeofday>afternoon</timeofday>
<!-- Timers -->
<object>
<name>Timer_intro_msg</name>
<type>timer-trigger</type>
<activated>1</activated>
<single-shot>1</single-shot>
<stop-time>2.0</stop-time>
<actions>
<object-reference>Intro_msg</object-reference>
<object-reference>Timer_Menu-1</object-reference>
</actions>
</object>
<object>
<name>Timer_Menu-1</name>
<type>timer-trigger</type>
<activated>0</activated>
<single-shot>1</single-shot>
<stop-time>3.0</stop-time>
<actions>
<object-reference>Show_Menu-1</object-reference>
</actions>
</object>
<object>
<name>Timer_start_engines_msg</name>
<type>timer-trigger</type>
<activated>0</activated>
<single-shot>1</single-shot>
<stop-time>3.0</stop-time>
<actions>
<object-reference>Start_engines_msg</object-reference>
</actions>
</object>
<object>
<name>Timer_hide_POI</name>
<type>timer-trigger</type>
<activated>0</activated>
<single-shot>1</single-shot>
<stop-time>3.0</stop-time>
<actions>
<object-reference>Hide_POI_airport</object-reference>
<object-reference>Show_Menu-2</object-reference>
</actions>
</object>
<object>
<name>Timer_complete_mission</name>
<type>timer-trigger</type>
<activated>0</activated>
<single-shot>1</single-shot>
<stop-time>3.0</stop-time>
<actions>
<object-reference>SingleShot_SFX</object-reference>
<object-reference>Complete_goal-1</object-reference>
</actions>
</object>
<!-- Messages -->
<object>
<name>Intro_msg</name>
<type>dialog-action</type>
<text>A tourist is ready to fly to the airport.</text>
<sound-file>Intro1.wav</sound-file>
<delay-sec>3</delay-sec>
</object>
<object>
<name>Start_engines_msg</name>
<type>dialog-action</type>
<text>Start the engines</text>
<sound-file>start_the_engines.wav</sound-file>
<delay-sec>2</delay-sec>
</object>
<object>
<name>Cleared_to_take_off_msg</name>
<type>dialog-action</type>
<text>You are cleared to take-off</text>
<sound-file>cleared_to_take_off.wav</sound-file>
<delay-sec>3</delay-sec>
</object>
<object>
<name>Follow_compass_msg</name>
<type>dialog-action</type>
<text>Follow the mission compass.</text>
<sound-file>follow_compass.wav</sound-file>
<delay-sec>3</delay-sec>
</object>
<object>
<name>SingleShot_SFX</name>
<type>single-shot-sound-action</type>
<sound-file>glassbell.wav</sound-file>
</object>
<!-- Actions -->
<object>
<name>Add_weight-copilot</name>
<type>adjust-payload-action</type>
<station-id>1</station-id>
<adjustment-type>set</adjustment-type>
<weight>180</weight>
<units>lb</units>
</object>
<object>
<name>Remove_weight-copilot</name>
<type>adjust-payload-action</type>
<station-id>1</station-id>
<adjustment-type>set</adjustment-type>
<weight>0.0</weight>
<units>lb</units>
</object>
<object>
<name>Refuel_tank-0</name>
<type>refuel-action</type>
<tank-id>0</tank-id>
<fuel-fraction>0.8</fuel-fraction>
</object>
<object>
<name>Refuel_tank-1</name>
<type>refuel-action</type>
<tank-id>1</tank-id>
<fuel-fraction>0.8</fuel-fraction>
</object>
<object>
<name>Refuel_tank-2</name>
<type>refuel-action</type>
<tank-id>2</tank-id>
<fuel-fraction>0.8</fuel-fraction>
</object>
<!-- Object activation actions -->
<object>
<name>Show_Menu-1</name>
<type>object-activation-action</type>
<object-state>1</object-state>
<reference-list>
<object-reference>Menu-1</object-reference>
</reference-list>
</object>
<object>
<name>Show_Menu-2</name>
<type>object-activation-action</type>
<object-state>1</object-state>
<reference-list>
<object-reference>Menu-2</object-reference>
</reference-list>
</object>
<object>
<name>Show_Tourist</name>
<type>object-activation-action</type>
<object-state>1</object-state>
<reference-list>
<object-reference>Tourist</object-reference>
</reference-list>
</object>
<object>
<name>Hide_Tourist</name>
<type>object-activation-action</type>
<object-state>0</object-state>
<reference-list>
<object-reference>Tourist</object-reference>
</reference-list>
</object>
<object>
<name>Show_Tourist-2</name>
<type>object-activation-action</type>
<object-state>1</object-state>
<reference-list>
<object-reference>Tourist-2</object-reference>
</reference-list>
</object>
<object>
<name>Show_POI_airport</name>
<type>object-activation-action</type>
<object-state>1</object-state>
<reference-list>
<object-reference>POI_airport</object-reference>
</reference-list>
</object>
<object>
<name>Hide_POI_airport</name>
<type>object-activation-action</type>
<object-state>0</object-state>
<reference-list>
<object-reference>POI_airport</object-reference>
</reference-list>
</object>
<object>
<name>ENABLE_landing_trigger</name>
<type>object-activation-action</type>
<object-state>1</object-state>
<reference-list>
<object-reference>Airport_landing_trigger</object-reference>
</reference-list>
</object>
<object>
<name>ENABLE_engines_running_trigger</name>
<type>object-activation-action</type>
<object-state>1</object-state>
<reference-list>
<object-reference>PROP_TRIGGER_engines_running</object-reference>
</reference-list>
</object>
<object>
<name>ENABLE_in_air_trigger</name>
<type>object-activation-action</type>
<object-state>1</object-state>
<reference-list>
<object-reference>PROP_TRIGGER_in_air</object-reference>
</reference-list>
</object>
<!-- Triggers -->
<object>
<type>menu-prompt-trigger</type>
<name>Menu-1</name>
<activated>0</activated>
<text>Load:</text>
<menu-item>
<text>Passenger</text>
<actions>
<object-reference>Hide_Tourist</object-reference>
<object-reference>Add_weight-copilot</object-reference>
<object-reference>Refuel_tank-0</object-reference>
<object-reference>Refuel_tank-1</object-reference>
<object-reference>Refuel_tank-2</object-reference>
<object-reference>ENABLE_engines_running_trigger</object-reference>
<object-reference>Timer_start_engines_msg</object-reference>
</actions>
</menu-item>
</object>
<object>
<type>menu-prompt-trigger</type>
<name>Menu-2</name>
<activated>0</activated>
<text>Unload:</text>
<menu-item>
<text>Passenger</text>
<actions>
<object-reference>Show_Tourist-2</object-reference>
<object-reference>Remove_weight-copilot</object-reference>
<object-reference>Timer_complete_mission</object-reference>
</actions>
</menu-item>
</object>
<object>
<name>PROP_TRIGGER_engines_running</name>
<type>property-trigger</type>
<activated>0</activated>
<condition>
<greater-than>
<property>/engines/engine/n1-pct</property>
<value>99.7</value>
</greater-than>
<greater-than>
<property>/engines/engine[1]/n1-pct</property>
<value>99.7</value>
</greater-than>
</condition>
<actions>
<object-reference>Cleared_to_take_off_msg</object-reference>
<object-reference>ENABLE_in_air_trigger</object-reference>
</actions>
</object>
<object>
<name>PROP_TRIGGER_in_air</name>
<type>property-trigger</type>
<activated>0</activated>
<condition>
<greater-than>
<property>/position/altitude-agl-ft</property>
<value>20.0</value>
</greater-than>
</condition>
<actions>
<object-reference>Follow_compass_msg</object-reference>
<object-reference>ENABLE_landing_trigger</object-reference>
<object-reference>Show_POI_airport</object-reference>
</actions>
</object>
<object>
<name>Airport_landing_trigger</name>
<type>area-landing-trigger</type>
<activated>0</activated>
<areas>
<object-reference>area_airport</object-reference>
</areas>
<landing-type>full stop</landing-type>
<actions>
<object-reference>Timer_hide_POI</object-reference>
</actions>
</object>
<!-- Areas -->
<object>
<name>area_airport</name>
<type>rectangle-area</type>
<width>40.0</width>
<height>20.0</height>
<length>40.0</length>
<orientation>
<heading-deg>0.0</heading-deg>
<pitch-deg>0.0</pitch-deg>
<roll-deg>0.0</roll-deg>
</orientation>
<attached-world-position>
<latitude-deg>21.97857529</latitude-deg>
<longitude-deg>-159.3473686</longitude-deg>
<altitude-m>0</altitude-m>
<altitude-is-AGL>1</altitude-is-AGL>
</attached-world-position>
</object>
<!-- Models -->
<object>
<name>Tourist</name>
<type>model</type>
<activated>1</activated>
<path>Missions/PHLI-tour/Models/scientist.xml</path>
<orientation>
<heading-deg>150.0</heading-deg>
<pitch-deg>0.0</pitch-deg>
<roll-deg>0.0</roll-deg>
</orientation>
<world-position>
<latitude-deg>21.98266138</latitude-deg>
<longitude-deg>-159.3454324</longitude-deg>
<altitude-m>0</altitude-m>
<altitude-is-AGL>1</altitude-is-AGL>
</world-position>
</object>
<object>
<name>Tourist-2</name>
<type>model</type>
<activated>0</activated>
<path>Missions/PHLI-tour/Models/scientist.xml</path>
<orientation>
<heading-deg>30.0</heading-deg>
<pitch-deg>0.0</pitch-deg>
<roll-deg>0.0</roll-deg>
</orientation>
<world-position>
<latitude-deg>21.97870135</latitude-deg>
<longitude-deg>-159.3474733</longitude-deg>
<altitude-m>0</altitude-m>
<altitude-is-AGL>1</altitude-is-AGL>
</world-position>
</object>
<!-- Points of Interest -->
<object>
<name>POI_airport</name>
<type>point-of-interest</type>
<activated>0</activated>
<target-name>Airport</target-name>
<attached-world-position>
<latitude-deg>21.97857529</latitude-deg>
<longitude-deg>-159.3473686</longitude-deg>
<altitude-m>1.0</altitude-m>
<altitude-is-AGL>1</altitude-is-AGL>
</attached-world-position>
</object>
<!-- Goals -->
<object>
<name>Goal-1</name>
<type>goal</type>
<activated>1</activated>
<goal-state>pending</goal-state>
<text>Land in PHLI</text>
<order>0</order>
</object>
<!-- Goal resolution actions -->
<object>
<name>Fail_goal-1</name>
<type>goal-resolution-action</type>
<goal-resolution>failed</goal-resolution>
<goals>
<object-reference>Goal-1</object-reference>
</goals>
</object>
<object>
<name>Complete_goal-1</name>
<type>goal-resolution-action</type>
<goal-resolution>completed</goal-resolution>
<goals>
<object-reference>Goal-1</object-reference>
</goals>
</object>
</PropertyList>

View File

@@ -1,38 +0,0 @@
<?xml version="1.0"?>
<PropertyList>
<sim>
<fuel-fraction>0.1</fuel-fraction>
<model>
<ec135>
<door-positions>
<rightFrontDoor>
<position-norm type="double">1.0</position-norm>
</rightFrontDoor>
<leftFrontDoor>
<position-norm type="double">1.0</position-norm>
</leftFrontDoor>
</door-positions>
</ec135>
</model>
<weight n="0">
<weight-lb>180</weight-lb>
</weight>
<weight n="1">
<weight-lb>0</weight-lb>
</weight>
<weight n="2">
<weight-lb>0</weight-lb>
</weight>
<weight n="3">
<weight-lb>0</weight-lb>
</weight>
<weight n="4">
<weight-lb>0</weight-lb>
</weight>
<weight n="5">
<weight-lb>0</weight-lb>
</weight>
</sim>
</PropertyList>

View File

Before

Width:  |  Height:  |  Size: 246 KiB

After

Width:  |  Height:  |  Size: 246 KiB