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