183 lines
4.0 KiB
XML
183 lines
4.0 KiB
XML
<?xml version="1.0"?>
|
|
<PropertyList>
|
|
|
|
<presets>
|
|
<altitude>-9999</altitude>
|
|
<altitude-ft>-9999</altitude-ft>
|
|
<heading-deg>180</heading-deg>
|
|
<latitude-deg>37.71937556</latitude-deg>
|
|
<longitude-deg>-122.4988623</longitude-deg>
|
|
<!--latitude-deg type="double">53.63305452</latitude-deg>
|
|
<longitude-deg type="double">-3.175471265</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>
|
|
|
|
<!-- 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>
|
|
|
|
<!-- 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>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_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>
|
|
|
|
<!-- 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>
|
|
</actions>
|
|
</menu-item>
|
|
</object>
|
|
|
|
<!-- Models -->
|
|
|
|
<object>
|
|
<name>Tourist</name>
|
|
<type>model</type>
|
|
<activated>1</activated>
|
|
<path>Missions/Flight-to-KHAF/Models/scientist.xml</path>
|
|
<orientation>
|
|
<heading-deg>180.0</heading-deg>
|
|
<pitch-deg>0.0</pitch-deg>
|
|
<roll-deg>0.0</roll-deg>
|
|
</orientation>
|
|
<world-position>
|
|
<latitude-deg>37.71926473</latitude-deg>
|
|
<longitude-deg>-122.498878</longitude-deg>
|
|
<altitude-m>0</altitude-m>
|
|
<altitude-is-AGL>1</altitude-is-AGL>
|
|
</world-position>
|
|
</object>
|
|
|
|
<!-- Goals -->
|
|
|
|
<object>
|
|
<name>Goal-1</name>
|
|
<type>goal</type>
|
|
<activated>1</activated>
|
|
<goal-state>pending</goal-state>
|
|
<text>Land in KHAF</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>
|