- cleaning/moving data
- can be run as addon (mostly working)
This commit is contained in:
BIN
Missions/Hoops/Example 2/Sounds/Welcome.wav
Normal file
BIN
Missions/Hoops/Example 2/Sounds/Welcome.wav
Normal file
Binary file not shown.
BIN
Missions/Hoops/Example 2/Sounds/glassbell.wav
Normal file
BIN
Missions/Hoops/Example 2/Sounds/glassbell.wav
Normal file
Binary file not shown.
BIN
Missions/Hoops/Example 2/Sounds/msg1.wav
Normal file
BIN
Missions/Hoops/Example 2/Sounds/msg1.wav
Normal file
Binary file not shown.
BIN
Missions/Hoops/Example 2/Sounds/msg2.wav
Normal file
BIN
Missions/Hoops/Example 2/Sounds/msg2.wav
Normal file
Binary file not shown.
BIN
Missions/Hoops/Example 2/Sounds/msg3.wav
Normal file
BIN
Missions/Hoops/Example 2/Sounds/msg3.wav
Normal file
Binary file not shown.
BIN
Missions/Hoops/Example 2/Sounds/msg3a.wav
Normal file
BIN
Missions/Hoops/Example 2/Sounds/msg3a.wav
Normal file
Binary file not shown.
BIN
Missions/Hoops/Example 2/Sounds/msg4.wav
Normal file
BIN
Missions/Hoops/Example 2/Sounds/msg4.wav
Normal file
Binary file not shown.
BIN
Missions/Hoops/Example 2/Sounds/msg4a.wav
Normal file
BIN
Missions/Hoops/Example 2/Sounds/msg4a.wav
Normal file
Binary file not shown.
BIN
Missions/Hoops/Example 2/Sounds/pop.wav
Normal file
BIN
Missions/Hoops/Example 2/Sounds/pop.wav
Normal file
Binary file not shown.
BIN
Missions/Hoops/Example 2/image.png
Normal file
BIN
Missions/Hoops/Example 2/image.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 445 KiB |
8
Missions/Hoops/Example 2/metadata.xml
Normal file
8
Missions/Hoops/Example 2/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0"?>
|
||||
<PropertyList>
|
||||
<name>Hoops mission #2</name>
|
||||
<skill-level>0</skill-level>
|
||||
<description>
|
||||
This is an experimental mission. You have to start at Livermore (KLVK) Airport!
|
||||
</description>
|
||||
</PropertyList>
|
||||
459
Missions/Hoops/Example 2/mission.xml
Normal file
459
Missions/Hoops/Example 2/mission.xml
Normal file
@@ -0,0 +1,459 @@
|
||||
<?xml version="1.0"?>
|
||||
<PropertyList>
|
||||
|
||||
<name>Test mission</name>
|
||||
|
||||
<description>
|
||||
Hoops / gates / checkpoints
|
||||
</description>
|
||||
|
||||
<!--include>timer_trigger.obj</include>
|
||||
<include>object_activation.obj</include>
|
||||
<include>property_trigger.obj</include>
|
||||
<include>point_of_interest.obj</include>
|
||||
<include>proximity_trigger.obj</include>
|
||||
<include>rectangle_area.obj</include>
|
||||
<include>model.obj</include>
|
||||
<include>message.obj</include>
|
||||
<include>single_shot_sound.obj</include>
|
||||
<include>timer.mgr</include>
|
||||
<include>message.mgr</include>
|
||||
<include>mission_compass.mgr</include-->
|
||||
|
||||
<audio-dir>Missions/Hoops-mission</audio-dir>
|
||||
|
||||
<presets>
|
||||
<altitude>-9999</altitude>
|
||||
<altitude-ft>-9999</altitude-ft>
|
||||
<heading-deg>180</heading-deg>
|
||||
<latitude-deg>37.69558033</latitude-deg>
|
||||
<longitude-deg>-121.8204298</longitude-deg>
|
||||
</presets>
|
||||
|
||||
<timeofday>noon</timeofday>
|
||||
|
||||
<object>
|
||||
<name>Timer 1</name>
|
||||
<type>timer-trigger</type>
|
||||
<activated>1</activated>
|
||||
<single-shot>1</single-shot>
|
||||
<stop-time>1.0</stop-time>
|
||||
<actions>
|
||||
<object-reference>Intro 1</object-reference>
|
||||
<object-reference>Timer 2</object-reference>
|
||||
</actions>
|
||||
</object>
|
||||
|
||||
<object>
|
||||
<name>Timer 2</name>
|
||||
<type>timer-trigger</type>
|
||||
<activated>0</activated>
|
||||
<single-shot>1</single-shot>
|
||||
<stop-time>4.0</stop-time>
|
||||
<actions>
|
||||
<object-reference>Intro 2</object-reference>
|
||||
<object-reference>Timer 3</object-reference>
|
||||
<object-reference>Show_all_hoops</object-reference>
|
||||
</actions>
|
||||
</object>
|
||||
|
||||
<object>
|
||||
<name>Timer 3</name>
|
||||
<type>timer-trigger</type>
|
||||
<activated>0</activated>
|
||||
<single-shot>1</single-shot>
|
||||
<stop-time>3.0</stop-time>
|
||||
<actions>
|
||||
<object-reference>Intro 3</object-reference>
|
||||
<object-reference>Proximity_Hoop1</object-reference>
|
||||
</actions>
|
||||
</object>
|
||||
|
||||
<object>
|
||||
<name>Timer_Onscreen</name>
|
||||
<type>timer-trigger</type>
|
||||
<activated>0</activated>
|
||||
<single-shot>1</single-shot>
|
||||
<on-screen-timer>1</on-screen-timer>
|
||||
<start-time>10000.0</start-time>
|
||||
<stop-time>0.0</stop-time>
|
||||
</object>
|
||||
|
||||
<object>
|
||||
<name>Intro 1</name>
|
||||
<type>dialog-action</type>
|
||||
<text>Welcome to the FlightGear flight simulator!</text>
|
||||
<sound-file>Welcome.wav</sound-file>
|
||||
<delay-sec>3</delay-sec>
|
||||
</object>
|
||||
|
||||
<object>
|
||||
<name>Intro 2</name>
|
||||
<type>dialog-action</type>
|
||||
<text>This is the test mission.</text>
|
||||
<sound-file>msg1.wav</sound-file>
|
||||
<delay-sec>2</delay-sec>
|
||||
</object>
|
||||
|
||||
<object>
|
||||
<name>Intro 3</name>
|
||||
<type>dialog-action</type>
|
||||
<text>Fly through all the hoops.</text>
|
||||
<sound-file>msg2.wav</sound-file>
|
||||
<delay-sec>2</delay-sec>
|
||||
</object>
|
||||
|
||||
<object>
|
||||
<name>SHOW_Onscreen_timer</name>
|
||||
<type>object-activation-action</type>
|
||||
<object-state>1</object-state>
|
||||
<reference-list>
|
||||
<object-reference>Timer_Onscreen</object-reference>
|
||||
</reference-list>
|
||||
</object>
|
||||
|
||||
<object>
|
||||
<name>HIDE_Onscreen_timer</name>
|
||||
<type>object-activation-action</type>
|
||||
<object-state>0</object-state>
|
||||
<reference-list>
|
||||
<object-reference>Timer_Onscreen</object-reference>
|
||||
</reference-list>
|
||||
</object>
|
||||
|
||||
<object>
|
||||
<name>Show_all_hoops</name>
|
||||
<type>object-activation-action</type>
|
||||
<object-state>1</object-state>
|
||||
<reference-list>
|
||||
<object-reference>Hoop1_active</object-reference>
|
||||
<object-reference>Hoop2_inactive</object-reference>
|
||||
<object-reference>Model_Hoop_3</object-reference>
|
||||
<object-reference>Model_Hoop_4</object-reference>
|
||||
<object-reference>POI_hoop1</object-reference>
|
||||
<!--object-reference>PROP_TRIGGER_checkpoint1</object-reference-->
|
||||
</reference-list>
|
||||
</object>
|
||||
|
||||
<object>
|
||||
<name>SHOW_Hoop1_active</name>
|
||||
<type>object-activation-action</type>
|
||||
<object-state>1</object-state>
|
||||
<reference-list>
|
||||
<object-reference>Hoop1_active</object-reference>
|
||||
<object-reference>Proximity_Hoop1</object-reference>
|
||||
<object-reference>SHOW_Onscreen_timer</object-reference>
|
||||
<object-reference>POI_hoop1</object-reference>
|
||||
</reference-list>
|
||||
</object>
|
||||
<object>
|
||||
<name>HIDE_Hoop1_active</name>
|
||||
<type>object-activation-action</type>
|
||||
<object-state>0</object-state>
|
||||
<reference-list>
|
||||
<object-reference>Hoop1_active</object-reference>
|
||||
<object-reference>Proximity_Hoop1</object-reference>
|
||||
<object-reference>POI_hoop1</object-reference>
|
||||
</reference-list>
|
||||
</object>
|
||||
<object>
|
||||
<name>HIDE_Hoop1_inactive</name>
|
||||
<type>object-activation-action</type>
|
||||
<object-state>0</object-state>
|
||||
<reference-list>
|
||||
<object-reference>Hoop1_inactive</object-reference>
|
||||
</reference-list>
|
||||
</object>
|
||||
<object>
|
||||
<name>HIDE_Hoop2_active</name>
|
||||
<type>object-activation-action</type>
|
||||
<object-state>0</object-state>
|
||||
<reference-list>
|
||||
<object-reference>Hoop2_active</object-reference>
|
||||
<object-reference>Proximity_Hoop2</object-reference>
|
||||
<object-reference>POI_hoop2</object-reference>
|
||||
</reference-list>
|
||||
</object>
|
||||
<object>
|
||||
<name>HIDE_Hoop2_inactive</name>
|
||||
<type>object-activation-action</type>
|
||||
<object-state>0</object-state>
|
||||
<reference-list>
|
||||
<object-reference>Hoop2_inactive</object-reference>
|
||||
</reference-list>
|
||||
</object>
|
||||
<object>
|
||||
<name>SHOW_Hoop2_active</name>
|
||||
<type>object-activation-action</type>
|
||||
<object-state>1</object-state>
|
||||
<reference-list>
|
||||
<object-reference>Hoop2_active</object-reference>
|
||||
<object-reference>Proximity_Hoop2</object-reference>
|
||||
<object-reference>POI_hoop2</object-reference>
|
||||
</reference-list>
|
||||
</object>
|
||||
|
||||
<object>
|
||||
<name>Proximity_Hoop1</name>
|
||||
<type>proximity-trigger</type>
|
||||
<activated>0</activated>
|
||||
<on-enter-actions>
|
||||
<object-reference>SingleShot_Hoop_SFX</object-reference>
|
||||
<object-reference>HIDE_Hoop1_active</object-reference>
|
||||
<object-reference>Hoop1_inactive</object-reference>
|
||||
<object-reference>HIDE_Hoop2_inactive</object-reference>
|
||||
<object-reference>SHOW_Hoop2_active</object-reference>
|
||||
</on-enter-actions>
|
||||
<areas>
|
||||
<object-reference>Area_Hoop1</object-reference>
|
||||
</areas>
|
||||
</object>
|
||||
<object>
|
||||
<name>Proximity_Hoop2</name>
|
||||
<type>proximity-trigger</type>
|
||||
<activated>0</activated>
|
||||
<on-enter-actions>
|
||||
<object-reference>SingleShot_Hoop_SFX</object-reference>
|
||||
<object-reference>HIDE_Hoop2_active</object-reference>
|
||||
<object-reference>Hoop2_inactive</object-reference>
|
||||
<object-reference>HIDE_Hoop1_inactive</object-reference>
|
||||
<object-reference>SHOW_Hoop1_active</object-reference>
|
||||
<object-reference>SHOW_Onscreen_timer</object-reference>
|
||||
</on-enter-actions>
|
||||
<areas>
|
||||
<object-reference>Area_Hoop2</object-reference>
|
||||
</areas>
|
||||
</object>
|
||||
|
||||
<object>
|
||||
<name>Area_Hoop1</name>
|
||||
<type>rectangle-area</type>
|
||||
<width>100.0</width>
|
||||
<height>100.0</height>
|
||||
<length>25.0</length>
|
||||
<orientation>
|
||||
<heading-deg>88.0</heading-deg>
|
||||
<pitch-deg>0.0</pitch-deg>
|
||||
<roll-deg>0.0</roll-deg>
|
||||
</orientation>
|
||||
<attached-world-position>
|
||||
<latitude-deg>37.69387904</latitude-deg>
|
||||
<longitude-deg>-121.8223982</longitude-deg>
|
||||
<altitude-m>213.8884859</altitude-m>
|
||||
<altitude-is-AGL>0</altitude-is-AGL>
|
||||
</attached-world-position>
|
||||
</object>
|
||||
<object>
|
||||
<name>Area_Hoop2</name>
|
||||
<type>rectangle-area</type>
|
||||
<width>100.0</width>
|
||||
<height>100.0</height>
|
||||
<length>25.0</length>
|
||||
<orientation>
|
||||
<heading-deg>56.0</heading-deg>
|
||||
<pitch-deg>0.0</pitch-deg>
|
||||
<roll-deg>0.0</roll-deg>
|
||||
</orientation>
|
||||
<attached-world-position>
|
||||
<latitude-deg>37.6936749</latitude-deg>
|
||||
<longitude-deg>-121.8302028</longitude-deg>
|
||||
<altitude-m>245.7999165</altitude-m>
|
||||
<altitude-is-AGL>0</altitude-is-AGL>
|
||||
</attached-world-position>
|
||||
</object>
|
||||
|
||||
<object>
|
||||
<name>Hoop1_active</name>
|
||||
<type>model</type>
|
||||
<activated>0</activated>
|
||||
<path>Aircraft/Missions/Generic/Models/hoop-40x40.xml</path>
|
||||
<orientation>
|
||||
<heading-deg>88.0</heading-deg>
|
||||
<pitch-deg>0.0</pitch-deg>
|
||||
<roll-deg>0.0</roll-deg>
|
||||
</orientation>
|
||||
<world-position>
|
||||
<latitude-deg>37.69387904</latitude-deg>
|
||||
<longitude-deg>-121.8223982</longitude-deg>
|
||||
<altitude-m>213.8884859</altitude-m>
|
||||
<altitude-is-AGL>0</altitude-is-AGL>
|
||||
</world-position>
|
||||
</object>
|
||||
<object>
|
||||
<name>Hoop1_active</name>
|
||||
<type>model</type>
|
||||
<activated>0</activated>
|
||||
<path>Aircraft/Missions/Generic/Models/Numbers/num_1.xml</path>
|
||||
<orientation>
|
||||
<heading-deg>88.0</heading-deg>
|
||||
<pitch-deg>0.0</pitch-deg>
|
||||
<roll-deg>0.0</roll-deg>
|
||||
</orientation>
|
||||
<world-position>
|
||||
<latitude-deg>37.69387904</latitude-deg>
|
||||
<longitude-deg>-121.8223982</longitude-deg>
|
||||
<altitude-m>213.8884859</altitude-m>
|
||||
<altitude-is-AGL>0</altitude-is-AGL>
|
||||
</world-position>
|
||||
</object>
|
||||
<object>
|
||||
<name>Hoop1_inactive</name>
|
||||
<type>model</type>
|
||||
<activated>0</activated>
|
||||
<path>Aircraft/Missions/Generic/Models/hoop-100x100-red.xml</path>
|
||||
<orientation>
|
||||
<heading-deg>88.0</heading-deg>
|
||||
<pitch-deg>0.0</pitch-deg>
|
||||
<roll-deg>0.0</roll-deg>
|
||||
</orientation>
|
||||
<world-position>
|
||||
<latitude-deg>37.69387904</latitude-deg>
|
||||
<longitude-deg>-121.8223982</longitude-deg>
|
||||
<altitude-m>213.8884859</altitude-m>
|
||||
<altitude-is-AGL>0</altitude-is-AGL>
|
||||
</world-position>
|
||||
</object>
|
||||
|
||||
<object>
|
||||
<name>Hoop2_active</name>
|
||||
<type>model</type>
|
||||
<activated>0</activated>
|
||||
<path>Aircraft/Missions/Generic/Models/hoop-40x40.xml</path>
|
||||
<orientation>
|
||||
<heading-deg>56.0</heading-deg>
|
||||
<pitch-deg>0.0</pitch-deg>
|
||||
<roll-deg>0.0</roll-deg>
|
||||
</orientation>
|
||||
<world-position>
|
||||
<latitude-deg>37.6936749</latitude-deg>
|
||||
<longitude-deg>-121.8302028</longitude-deg>
|
||||
<altitude-m>245.7999165</altitude-m>
|
||||
<altitude-is-AGL>0</altitude-is-AGL>
|
||||
</world-position>
|
||||
</object>
|
||||
<object>
|
||||
<name>Hoop2_active</name>
|
||||
<type>model</type>
|
||||
<activated>0</activated>
|
||||
<path>Aircraft/Missions/Generic/Models/Numbers/num_2.xml</path>
|
||||
<orientation>
|
||||
<heading-deg>56.0</heading-deg>
|
||||
<pitch-deg>0.0</pitch-deg>
|
||||
<roll-deg>0.0</roll-deg>
|
||||
</orientation>
|
||||
<world-position>
|
||||
<latitude-deg>37.6936749</latitude-deg>
|
||||
<longitude-deg>-121.8302028</longitude-deg>
|
||||
<altitude-m>245.7999165</altitude-m>
|
||||
<altitude-is-AGL>0</altitude-is-AGL>
|
||||
</world-position>
|
||||
</object>
|
||||
<object>
|
||||
<name>Hoop2_inactive</name>
|
||||
<type>model</type>
|
||||
<activated>0</activated>
|
||||
<path>Aircraft/Missions/Generic/Models/hoop-100x100-red.xml</path>
|
||||
<orientation>
|
||||
<heading-deg>56.0</heading-deg>
|
||||
<pitch-deg>0.0</pitch-deg>
|
||||
<roll-deg>0.0</roll-deg>
|
||||
</orientation>
|
||||
<world-position>
|
||||
<latitude-deg>37.6936749</latitude-deg>
|
||||
<longitude-deg>-121.8302028</longitude-deg>
|
||||
<altitude-m>245.7999165</altitude-m>
|
||||
<altitude-is-AGL>0</altitude-is-AGL>
|
||||
</world-position>
|
||||
</object>
|
||||
|
||||
<object>
|
||||
<name>Model_Hoop_3</name>
|
||||
<type>model</type>
|
||||
<activated>0</activated>
|
||||
<path>Aircraft/Missions/Generic/Models/hoop-100x100-red.xml</path>
|
||||
<orientation>
|
||||
<heading-deg>24.0</heading-deg>
|
||||
<pitch-deg>0.0</pitch-deg>
|
||||
<roll-deg>0.0</roll-deg>
|
||||
</orientation>
|
||||
<world-position>
|
||||
<latitude-deg>37.68833235</latitude-deg>
|
||||
<longitude-deg>-121.8369399</longitude-deg>
|
||||
<altitude-m>297.0858637</altitude-m>
|
||||
<altitude-is-AGL>0</altitude-is-AGL>
|
||||
</world-position>
|
||||
</object>
|
||||
|
||||
<object>
|
||||
<name>Model_Hoop_4</name>
|
||||
<type>model</type>
|
||||
<activated>0</activated>
|
||||
<path>Aircraft/Missions/Generic/Models/hoop-100x100-red.xml</path>
|
||||
<orientation>
|
||||
<heading-deg>20.0</heading-deg>
|
||||
<pitch-deg>0.0</pitch-deg>
|
||||
<roll-deg>0.0</roll-deg>
|
||||
</orientation>
|
||||
<world-position>
|
||||
<latitude-deg>37.6831706</latitude-deg>
|
||||
<longitude-deg>-121.8392069</longitude-deg>
|
||||
<altitude-m>327.0225491</altitude-m>
|
||||
<altitude-is-AGL>0</altitude-is-AGL>
|
||||
</world-position>
|
||||
</object>
|
||||
|
||||
<object>
|
||||
<name>SingleShot_Hoop_SFX</name>
|
||||
<type>single-shot-sound-action</type>
|
||||
<sound-file>glassbell.wav</sound-file>
|
||||
</object>
|
||||
|
||||
<object>
|
||||
<name>POI_hoop1</name>
|
||||
<type>point-of-interest</type>
|
||||
<activated>0</activated>
|
||||
<target-name>Gate 1</target-name>
|
||||
<attached-world-object>
|
||||
<object-reference>Hoop1_active</object-reference>
|
||||
<x-offset-m>0.0</x-offset-m>
|
||||
<y-offset-m>0.0</y-offset-m>
|
||||
<z-offset-m>70.0</z-offset-m>
|
||||
</attached-world-object>
|
||||
</object>
|
||||
|
||||
<object>
|
||||
<name>POI_hoop2</name>
|
||||
<type>point-of-interest</type>
|
||||
<activated>0</activated>
|
||||
<target-name>Gate 2</target-name>
|
||||
<attached-world-object>
|
||||
<object-reference>Hoop2_active</object-reference>
|
||||
<x-offset-m>0.0</x-offset-m>
|
||||
<y-offset-m>0.0</y-offset-m>
|
||||
<z-offset-m>70.0</z-offset-m>
|
||||
</attached-world-object>
|
||||
</object>
|
||||
|
||||
<!--object>
|
||||
<name>PROP_TRIGGER_checkpoint1</name>
|
||||
<type>property-trigger</type>
|
||||
<activated>0</activated>
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>/sim/mission/current-point-of-interest/distance-m</property>
|
||||
<value>1000.0</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
<actions>
|
||||
<object-reference>MSG_too_far</object-reference>
|
||||
</actions>
|
||||
</object-->
|
||||
|
||||
<object>
|
||||
<name>MSG_too_far</name>
|
||||
<type>dialog-action</type>
|
||||
<text>You are too far from the hoop</text>
|
||||
<delay-sec>3</delay-sec>
|
||||
</object>
|
||||
|
||||
</PropertyList>
|
||||
Reference in New Issue
Block a user