| [5271] | 1 | <?lua | 
|---|
| [7679] | 2 |   include("HUDTemplates3.oxo") | 
|---|
| [5654] | 3 |   include("stats.oxo") | 
|---|
| [7679] | 4 |   include("templates/spaceshipAssff.oxt") | 
|---|
| [5271] | 5 | ?> | 
|---|
 | 6 |  | 
|---|
 | 7 | <Level | 
|---|
| [5283] | 8 |  name         = "Questsystem" | 
|---|
| [5271] | 9 |  description  = "Just a few tests" | 
|---|
 | 10 | > | 
|---|
| [5315] | 11 |     <Scene | 
|---|
 | 12 |     ambientlight = "0.5, 0.5, 0.5" | 
|---|
 | 13 |     skybox       = "Orxonox/Starbox" | 
|---|
 | 14 |     > | 
|---|
| [5271] | 15 |  | 
|---|
| [7463] | 16 |         <Script code="showGUI NotificationLayer false true" needsGraphics="true" /> | 
|---|
| [7404] | 17 |  | 
|---|
| [5315] | 18 |         <GlobalQuest id="b80c2c60-e62c-4637-80f8-5aa18dc93b34"> | 
|---|
 | 19 |             <QuestDescription title="The Main QUest" description="This is the main quest hooray. Solve it!" failMessage="You fail. Looser." completeMessage="You Win." /> | 
|---|
 | 20 |             <hints> | 
|---|
 | 21 |                 <QuestHint id="022a859d-08dd-4eac-a085-c28c29c06d48"> | 
|---|
 | 22 |                     <QuestDescription title="The super Hint." description="Be proud of yourself." /> | 
|---|
 | 23 |                 </QuestHint> | 
|---|
 | 24 |             </hints> | 
|---|
 | 25 |         </GlobalQuest> | 
|---|
| [5528] | 26 |  | 
|---|
| [6417] | 27 |         <ParticleSpawner position="0,0,100" source="Orxonox/BigExplosion1part3" lifetime=2.0 loop=0 autostart=0> | 
|---|
 | 28 |             <events> | 
|---|
 | 29 |                 <spawn> | 
|---|
 | 30 |                     <EventTrigger delay=1> | 
|---|
 | 31 |                         <events> | 
|---|
 | 32 |                             <trigger> | 
|---|
 | 33 |                                 <SpawnPoint position="0,0,100" spawnclass=SpaceShip pawndesign=spaceshipassff /> | 
|---|
 | 34 |                             </trigger> | 
|---|
 | 35 |                         </events> | 
|---|
 | 36 |                     </EventTrigger> | 
|---|
 | 37 |                 </spawn> | 
|---|
 | 38 |             </events> | 
|---|
 | 39 |         </ParticleSpawner> | 
|---|
| [5271] | 40 |  | 
|---|
| [5315] | 41 |         <QuestEffectBeacon position="0,0,100" times=-1> | 
|---|
 | 42 |             <effects> | 
|---|
 | 43 |                 <AddQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" /> | 
|---|
 | 44 |             </effects> | 
|---|
 | 45 |             <events> | 
|---|
 | 46 |                 <execute> | 
|---|
 | 47 |                     <EventListener event=qebdt1 /> | 
|---|
 | 48 |                 </execute> | 
|---|
 | 49 |             </events> | 
|---|
 | 50 |             <attached> | 
|---|
 | 51 |                 <Billboard position="0,0,0" colour="1.0,1.0,1.0" material="Examples/Flare" /> | 
|---|
 | 52 |                 <DistanceTrigger name=qebdt1 position="0,0,0" distance=10 target="ControllableEntity" /> | 
|---|
 | 53 |             </attached> | 
|---|
 | 54 |         </QuestEffectBeacon> | 
|---|
| [5271] | 55 |  | 
|---|
| [5315] | 56 |         <QuestEffectBeacon position="-100,0,0" times=-1> | 
|---|
 | 57 |             <effects> | 
|---|
 | 58 |                 <FailQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" /> | 
|---|
 | 59 |             </effects> | 
|---|
 | 60 |             <events> | 
|---|
 | 61 |                 <execute> | 
|---|
 | 62 |                     <EventListener event=qebdt2 /> | 
|---|
 | 63 |                 </execute> | 
|---|
 | 64 |             </events> | 
|---|
 | 65 |             <attached> | 
|---|
 | 66 |                 <Billboard position="0,0,0" colour="1.0,0,0" material="Examples/Flare" /> | 
|---|
 | 67 |                 <DistanceTrigger name=qebdt2 position="0,0,0" distance=10 target="ControllableEntity" /> | 
|---|
 | 68 |             </attached> | 
|---|
 | 69 |         </QuestEffectBeacon> | 
|---|
| [5271] | 70 |  | 
|---|
| [5315] | 71 |         <QuestEffectBeacon position="100,0,0" times=-1> | 
|---|
 | 72 |             <effects> | 
|---|
 | 73 |                 <CompleteQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" /> | 
|---|
 | 74 |             </effects> | 
|---|
 | 75 |             <events> | 
|---|
 | 76 |                 <execute> | 
|---|
 | 77 |                     <EventListener event=qebdt3 /> | 
|---|
 | 78 |                 </execute> | 
|---|
 | 79 |             </events> | 
|---|
 | 80 |             <attached> | 
|---|
 | 81 |                 <Billboard position="0,0,0" colour="0,1.0,0" material="Examples/Flare" /> | 
|---|
 | 82 |                 <DistanceTrigger name=qebdt3 position="0,0,0" distance=10 target="ControllableEntity" /> | 
|---|
 | 83 |             </attached> | 
|---|
 | 84 |         </QuestEffectBeacon> | 
|---|
| [5283] | 85 |  | 
|---|
| [5315] | 86 |         <QuestEffectBeacon position="0,100,0" times=-1> | 
|---|
 | 87 |             <effects> | 
|---|
 | 88 |                 <AddQuestHint hintId="022a859d-08dd-4eac-a085-c28c29c06d48" /> | 
|---|
 | 89 |             </effects> | 
|---|
| [5271] | 90 |             <events> | 
|---|
| [5315] | 91 |                 <execute> | 
|---|
 | 92 |                     <EventListener event=qebdt4 /> | 
|---|
 | 93 |                 </execute> | 
|---|
| [5271] | 94 |             </events> | 
|---|
| [5315] | 95 |             <attached> | 
|---|
 | 96 |                 <Billboard position="0,0,0" colour="0,0,1.0" material="Examples/Flare" /> | 
|---|
 | 97 |                 <DistanceTrigger name=qebdt4 position="0,0,0" distance=10 target="ControllableEntity" /> | 
|---|
 | 98 |             </attached> | 
|---|
 | 99 |         </QuestEffectBeacon> | 
|---|
| [5271] | 100 |  | 
|---|
| [5326] | 101 |         <ParticleEmitter name=firecenter position="0,0,0" source="Orxonox/fire3" active=false> | 
|---|
 | 102 |             <events> | 
|---|
 | 103 |                 <activity> | 
|---|
 | 104 |                     <QuestListener questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" mode="complete" /> | 
|---|
 | 105 |                 </activity> | 
|---|
 | 106 |             </events> | 
|---|
| [5315] | 107 |         </ParticleEmitter> | 
|---|
 | 108 |  | 
|---|
 | 109 |     </Scene> | 
|---|
| [5271] | 110 | </Level> | 
|---|
 | 111 |  | 
|---|