1 | <LevelInfo |
---|
2 | name = "Quests showcase" |
---|
3 | description = "Level to test and showcase quests." |
---|
4 | tags = "test, showcase" |
---|
5 | screenshot = "questsshowcase.png" |
---|
6 | /> |
---|
7 | |
---|
8 | <?lua |
---|
9 | include("HUDTemplates3.oxo") |
---|
10 | include("stats.oxo") |
---|
11 | include("templates/spaceshipAssff.oxt") |
---|
12 | include("templates/lodInformation.oxt") |
---|
13 | ?> |
---|
14 | |
---|
15 | <Level |
---|
16 | name = "Questsystem" |
---|
17 | description = "Just a few tests" |
---|
18 | > |
---|
19 | <templates> |
---|
20 | <Template link=lodtemplate_default /> |
---|
21 | </templates> |
---|
22 | <?lua include("includes/notifications.oxi") ?> |
---|
23 | |
---|
24 | <Scene |
---|
25 | ambientlight = "0.5, 0.5, 0.5" |
---|
26 | skybox = "Orxonox/Starbox" |
---|
27 | > |
---|
28 | |
---|
29 | <Script code="showGUI NotificationLayer false true" needsGraphics="true" /> |
---|
30 | |
---|
31 | <GlobalQuest id="quest0"> |
---|
32 | <QuestDescription title="Quest 0" description="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus at dolor quis dui gravida faucibus quis ut augue. Nulla sed accumsan nulla. Sed eleifend arcu ante, vel congue neque. Praesent vel felis sit amet lacus elementum laoreet at et massa. Pellentesque imperdiet orci sit amet sem gravida a ornare odio tempor. Donec posuere scelerisque purus, et porttitor ipsum dictum ac. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed non turpis non eros porttitor dignissim. Phasellus at elit vel diam gravida malesuada ut a lorem. Etiam vel lacus massa. In arcu neque, ultrices at placerat in, facilisis a metus. Curabitur erat nunc, molestie sed pretium ac, ullamcorper eget tellus. Vivamus tortor magna, mollis ut vulputate vel, lacinia nec neque. Integer a nisl odio, in iaculis tortor. Nam erat erat, commodo quis tincidunt et, congue at quam. Lorem ipsum dolor sit amet, consectetur adipiscing elit. |
---|
33 | |
---|
34 | Ut consequat leo ut quam congue semper et eget nibh. Nunc sit amet velit eu lorem pretium adipiscing eu ut ante. Nulla facilisi. Pellentesque interdum, neque nec consectetur vulputate, mauris risus feugiat nunc, ac sollicitudin neque quam ut tellus. Morbi elit velit, tincidunt et hendrerit eget, rutrum at erat. Duis eros nulla, faucibus vitae blandit vitae, pharetra sollicitudin justo." failMessage="Fail message 0" completeMessage="Complete message 0" /> |
---|
35 | </GlobalQuest> |
---|
36 | <GlobalQuest id="quest1"> |
---|
37 | <QuestDescription title="Quest 1" description="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus at dolor quis dui gravida faucibus quis ut augue. Nulla sed accumsan nulla. Sed eleifend arcu ante, vel congue neque. Praesent vel felis sit amet lacus elementum laoreet at et massa. Pellentesque imperdiet orci sit amet sem gravida a ornare odio tempor." failMessage="Fail message 1" completeMessage="Complete message 1" /> |
---|
38 | <hints> |
---|
39 | <QuestHint id="quest1hint1"> |
---|
40 | <QuestDescription title="The super Hint." description="Be proud of yourself." /> |
---|
41 | </QuestHint> |
---|
42 | <QuestHint id="quest1hint2"> |
---|
43 | <QuestDescription title="The super Hint2." description="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus at dolor quis dui gravida faucibus quis ut augue. Nulla sed accumsan nulla. Sed eleifend arcu ante, vel congue neque. Praesent vel felis sit amet lacus elementum laoreet at et massa. Pellentesque imperdiet orci sit amet sem gravida a ornare odio tempor." /> |
---|
44 | </QuestHint> |
---|
45 | <QuestHint id="quest1hint3"> |
---|
46 | <QuestDescription title="The super Hint3." description="Donec posuere scelerisque purus, et porttitor ipsum dictum ac. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed non turpis non eros porttitor dignissim. Phasellus at elit vel diam gravida malesuada ut a lorem. Etiam vel lacus massa. In arcu neque, ultrices at placerat in, facilisis a metus." /> |
---|
47 | </QuestHint> |
---|
48 | </hints> |
---|
49 | <subquests> |
---|
50 | <GlobalQuest id="quest1.1"> |
---|
51 | <QuestDescription title="Quest 1: Subquest 1" description="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus at dolor quis dui gravida faucibus quis ut augue. Nulla sed accumsan nulla. Sed eleifend arcu ante, vel congue neque. Praesent vel felis sit amet lacus elementum laoreet at et massa. Pellentesque imperdiet orci sit amet sem gravida a ornare odio tempor. Donec posuere scelerisque purus, et porttitor ipsum dictum ac. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed non turpis non eros porttitor dignissim. Phasellus at elit vel diam gravida malesuada ut a lorem. Etiam vel lacus massa. In arcu neque, ultrices at placerat in, facilisis a metus. Curabitur erat nunc, molestie sed pretium ac, ullamcorper eget tellus. Vivamus tortor magna, mollis ut vulputate vel, lacinia nec neque. Integer a nisl odio, in iaculis tortor. Nam erat erat, commodo quis tincidunt et, congue at quam." failMessage="Fail message 2" completeMessage="Complete message 2" /> |
---|
52 | </GlobalQuest> |
---|
53 | <GlobalQuest id="quest1.2"> |
---|
54 | <QuestDescription title="Quest 1: Subquest 2" description="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus at dolor quis dui gravida faucibus quis ut augue. Nulla sed accumsan nulla. Sed eleifend arcu ante, vel congue neque. Praesent vel felis sit amet lacus elementum laoreet at et massa. Pellentesque imperdiet orci sit amet sem gravida a ornare odio tempor." failMessage="Fail message 2" completeMessage="Complete message 2" /> |
---|
55 | </GlobalQuest> |
---|
56 | <GlobalQuest id="quest1.3"> |
---|
57 | <QuestDescription title="Quest 1: Subquest 3" description="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus at dolor quis dui gravida faucibus quis ut augue. Nulla sed accumsan nulla. Sed eleifend arcu ante, vel congue neque. Praesent vel felis sit amet lacus elementum laoreet at et massa. Pellentesque imperdiet orci sit amet sem gravida a ornare odio tempor. Donec posuere scelerisque purus, et porttitor ipsum dictum ac. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas." failMessage="Fail message 2" completeMessage="Complete message 2" /> |
---|
58 | </GlobalQuest> |
---|
59 | <GlobalQuest id="quest1.4"> |
---|
60 | <QuestDescription title="Quest 1: Subquest 4" description="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus at dolor quis dui gravida faucibus quis ut augue. Nulla sed accumsan nulla. Sed eleifend arcu ante, vel congue neque. Praesent vel felis sit amet lacus elementum laoreet at et massa. Pellentesque imperdiet orci sit amet sem gravida a ornare odio tempor. Donec posuere scelerisque purus, et porttitor ipsum dictum ac. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed non turpis non eros porttitor dignissim. Phasellus at elit vel diam gravida malesuada ut a lorem. Etiam vel lacus massa. In arcu neque, ultrices at placerat in, facilisis a metus. Curabitur erat nunc, molestie sed pretium ac, ullamcorper eget tellus. Vivamus tortor magna, mollis ut vulputate vel, lacinia nec neque. Integer a nisl odio, in iaculis tortor. Nam erat erat, commodo quis tincidunt et, congue at quam. Lorem ipsum dolor sit amet, consectetur adipiscing elit." failMessage="Fail message 2" completeMessage="Complete message 2" /> |
---|
61 | </GlobalQuest> |
---|
62 | <GlobalQuest id="quest1.5"> |
---|
63 | <QuestDescription title="Quest 1: Subquest 5" description="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus at dolor quis dui gravida faucibus quis ut augue. Nulla sed accumsan nulla. Sed eleifend arcu ante, vel congue neque. Praesent vel felis sit amet lacus elementum laoreet at et massa. Pellentesque imperdiet orci sit amet sem gravida a ornare odio tempor. Donec posuere scelerisque purus, et porttitor ipsum dictum ac. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed non turpis non eros porttitor dignissim. Phasellus at elit vel diam gravida malesuada ut a lorem. Etiam vel lacus massa. In arcu neque, ultrices at placerat in, facilisis a metus. Curabitur erat nunc, molestie sed pretium ac, ullamcorper eget tellus. Vivamus tortor magna, mollis ut vulputate vel, lacinia nec neque. Integer a nisl odio, in iaculis tortor. Nam erat erat, commodo quis tincidunt et, congue at quam." failMessage="Fail message 2" completeMessage="Complete message 2" /> |
---|
64 | </GlobalQuest> |
---|
65 | </subquests> |
---|
66 | </GlobalQuest> |
---|
67 | <GlobalQuest id="quest2"> |
---|
68 | <QuestDescription title="Quest 2" description="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus at dolor quis dui gravida faucibus quis ut augue. Nulla sed accumsan nulla. Sed eleifend arcu ante, vel congue neque. Praesent vel felis sit amet lacus elementum laoreet at et massa. Pellentesque imperdiet orci sit amet sem gravida a ornare odio tempor. Donec posuere scelerisque purus, et porttitor ipsum dictum ac." failMessage="Fail message 2" completeMessage="Complete message 2" /> |
---|
69 | </GlobalQuest> |
---|
70 | <GlobalQuest id="quest3"> |
---|
71 | <QuestDescription title="Quest 3" description="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus at dolor quis dui gravida faucibus quis ut augue. Nulla sed accumsan nulla. Sed eleifend arcu ante, vel congue neque. Praesent vel felis sit amet lacus elementum laoreet at et massa. Pellentesque imperdiet orci sit amet sem gravida a ornare odio tempor. Donec posuere scelerisque purus, et porttitor ipsum dictum ac. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed non turpis non eros porttitor dignissim. Phasellus at elit vel diam gravida malesuada ut a lorem. Etiam vel lacus massa. In arcu neque, ultrices at placerat in, facilisis a metus. Curabitur erat nunc, molestie sed pretium ac, ullamcorper eget tellus. Vivamus tortor magna, mollis ut vulputate vel, lacinia nec neque. Integer a nisl odio, in iaculis tortor. Nam erat erat, commodo quis tincidunt et, congue at quam. Lorem ipsum dolor sit amet, consectetur adipiscing elit." failMessage="Fail message 1" completeMessage="Complete message 1" /> |
---|
72 | </GlobalQuest> |
---|
73 | <GlobalQuest id="quest4"> |
---|
74 | <QuestDescription title="Quest 4" description="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus at dolor quis dui gravida faucibus quis ut augue. Nulla sed accumsan nulla. Sed eleifend arcu ante, vel congue neque. Praesent vel felis sit amet lacus elementum laoreet at et massa. Pellentesque imperdiet orci sit amet sem gravida a ornare odio tempor. Donec posuere scelerisque purus, et porttitor ipsum dictum ac. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed non turpis non eros porttitor dignissim. Phasellus at elit vel diam gravida malesuada ut a lorem. Etiam vel lacus massa. In arcu neque, ultrices at placerat in, facilisis a metus. Curabitur erat nunc, molestie sed pretium ac, ullamcorper eget tellus. Vivamus tortor magna, mollis ut vulputate vel, lacinia nec neque. Integer a nisl odio, in iaculis tortor. Nam erat erat, commodo quis tincidunt et, congue at quam. Lorem ipsum dolor sit amet, consectetur adipiscing elit. |
---|
75 | |
---|
76 | Ut consequat leo ut quam congue semper et eget nibh. Nunc sit amet velit eu lorem pretium adipiscing eu ut ante. Nulla facilisi. Pellentesque interdum, neque nec consectetur vulputate, mauris risus feugiat nunc, ac sollicitudin neque quam ut tellus. Morbi elit velit, tincidunt et hendrerit eget, rutrum at erat. Duis eros nulla, faucibus vitae blandit vitae, pharetra sollicitudin justo. Donec luctus est a tortor auctor feugiat." failMessage="Fail message 1" completeMessage="Complete message 1" /> |
---|
77 | </GlobalQuest> |
---|
78 | <GlobalQuest id="quest5"> |
---|
79 | <QuestDescription title="Quest 5" description="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus at dolor quis dui gravida faucibus quis ut augue. Nulla sed accumsan nulla. Sed eleifend arcu ante, vel congue neque. Praesent vel felis sit amet lacus elementum laoreet at et massa." failMessage="Fail message 1" completeMessage="Complete message 1" /> |
---|
80 | </GlobalQuest> |
---|
81 | <GlobalQuest id="quest6"> |
---|
82 | <QuestDescription title="Quest 6" description="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus at dolor quis dui gravida faucibus quis ut augue. Nulla sed accumsan nulla. Sed eleifend arcu ante, vel congue neque. Praesent vel felis sit amet lacus elementum laoreet at et massa. Pellentesque imperdiet orci sit amet sem gravida a ornare odio tempor. Donec posuere scelerisque purus, et porttitor ipsum dictum ac. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed non turpis non eros porttitor dignissim. Phasellus at elit vel diam gravida malesuada ut a lorem. Etiam vel lacus massa. In arcu neque, ultrices at placerat in, facilisis a metus. Curabitur erat nunc, molestie sed pretium ac, ullamcorper eget tellus. Vivamus tortor magna, mollis ut vulputate vel, lacinia nec neque. " failMessage="Fail message 1" completeMessage="Complete message 1" /> |
---|
83 | </GlobalQuest> |
---|
84 | |
---|
85 | <EventMultiTrigger name=spawntrigger> |
---|
86 | <events> |
---|
87 | <trigger> |
---|
88 | <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
89 | </trigger> |
---|
90 | </events> |
---|
91 | </EventMultiTrigger> |
---|
92 | |
---|
93 | <QuestEffectBeacon times=1> |
---|
94 | <effects> |
---|
95 | <AddQuest questId="quest0" /> |
---|
96 | <AddQuest questId="quest1" /> |
---|
97 | <AddQuest questId="quest1.1" /> |
---|
98 | <AddQuest questId="quest1.2" /> |
---|
99 | <AddQuest questId="quest1.3" /> |
---|
100 | <AddQuest questId="quest1.4" /> |
---|
101 | <AddQuest questId="quest1.5" /> |
---|
102 | <AddQuest questId="quest2" /> |
---|
103 | <AddQuest questId="quest3" /> |
---|
104 | <AddQuest questId="quest4" /> |
---|
105 | <AddQuest questId="quest5" /> |
---|
106 | <AddQuest questId="quest6" /> |
---|
107 | <AddQuestHint hintId ="quest1hint1" /> |
---|
108 | <AddQuestHint hintId ="quest1hint2" /> |
---|
109 | <AddQuestHint hintId ="quest1hint3" /> |
---|
110 | </effects> |
---|
111 | <events> |
---|
112 | <execute> |
---|
113 | <EventListener event=spawntrigger /> |
---|
114 | </execute> |
---|
115 | </events> |
---|
116 | </QuestEffectBeacon> |
---|
117 | |
---|
118 | <QuestEffectBeacon position="-100,0,0" times=1> |
---|
119 | <effects> |
---|
120 | <FailQuest questId="quest1.1" /> |
---|
121 | <FailQuest questId="quest1.2" /> |
---|
122 | <FailQuest questId="quest1.3" /> |
---|
123 | <FailQuest questId="quest1.4" /> |
---|
124 | <FailQuest questId="quest1.5" /> |
---|
125 | </effects> |
---|
126 | <events> |
---|
127 | <execute> |
---|
128 | <EventListener event=dtrigger1 /> |
---|
129 | </execute> |
---|
130 | </events> |
---|
131 | <attached> |
---|
132 | <Billboard position="0,0,0" colour="1.0,0,0" material="Examples/Flare" /> |
---|
133 | <DistanceTrigger name=dtrigger1 position="0,0,0" distance=10 target="Pawn" /> |
---|
134 | </attached> |
---|
135 | </QuestEffectBeacon> |
---|
136 | |
---|
137 | <QuestEffectBeacon position="100,0,0" times=-1> |
---|
138 | <effects> |
---|
139 | <CompleteQuest questId="quest0" /> |
---|
140 | <CompleteQuest questId="quest1" /> |
---|
141 | <CompleteQuest questId="quest1.1" /> |
---|
142 | <CompleteQuest questId="quest1.2" /> |
---|
143 | <CompleteQuest questId="quest1.3" /> |
---|
144 | <CompleteQuest questId="quest1.4" /> |
---|
145 | <CompleteQuest questId="quest1.5" /> |
---|
146 | <CompleteQuest questId="quest2" /> |
---|
147 | <CompleteQuest questId="quest3" /> |
---|
148 | <CompleteQuest questId="quest4" /> |
---|
149 | <CompleteQuest questId="quest5" /> |
---|
150 | <CompleteQuest questId="quest6" /> |
---|
151 | </effects> |
---|
152 | <events> |
---|
153 | <execute> |
---|
154 | <EventListener event=dtrigger2 /> |
---|
155 | </execute> |
---|
156 | </events> |
---|
157 | <attached> |
---|
158 | <Billboard position="0,0,0" colour="0,1.0,0" material="Examples/Flare" /> |
---|
159 | <DistanceTrigger name=dtrigger2 position="0,0,0" distance=10 target="Pawn" /> |
---|
160 | </attached> |
---|
161 | </QuestEffectBeacon> |
---|
162 | |
---|
163 | <!--QuestEffectBeacon position="0,0,100" times=-1> |
---|
164 | <effects> |
---|
165 | <AddQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" /> |
---|
166 | </effects> |
---|
167 | <events> |
---|
168 | <execute> |
---|
169 | <EventListener event=qebdt1 /> |
---|
170 | </execute> |
---|
171 | </events> |
---|
172 | <attached> |
---|
173 | <Billboard position="0,0,0" colour="1.0,1.0,1.0" material="Examples/Flare" /> |
---|
174 | <DistanceTrigger name=qebdt1 position="0,0,0" distance=10 target="ControllableEntity" /> |
---|
175 | </attached> |
---|
176 | </QuestEffectBeacon> |
---|
177 | |
---|
178 | <QuestEffectBeacon position="-100,0,0" times=-1> |
---|
179 | <effects> |
---|
180 | <FailQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" /> |
---|
181 | </effects> |
---|
182 | <events> |
---|
183 | <execute> |
---|
184 | <EventListener event=qebdt2 /> |
---|
185 | </execute> |
---|
186 | </events> |
---|
187 | <attached> |
---|
188 | <Billboard position="0,0,0" colour="1.0,0,0" material="Examples/Flare" /> |
---|
189 | <DistanceTrigger name=qebdt2 position="0,0,0" distance=10 target="ControllableEntity" /> |
---|
190 | </attached> |
---|
191 | </QuestEffectBeacon> |
---|
192 | |
---|
193 | <QuestEffectBeacon position="100,0,0" times=-1> |
---|
194 | <effects> |
---|
195 | <CompleteQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" /> |
---|
196 | </effects> |
---|
197 | <events> |
---|
198 | <execute> |
---|
199 | <EventListener event=qebdt3 /> |
---|
200 | </execute> |
---|
201 | </events> |
---|
202 | <attached> |
---|
203 | <Billboard position="0,0,0" colour="0,1.0,0" material="Examples/Flare" /> |
---|
204 | <DistanceTrigger name=qebdt3 position="0,0,0" distance=10 target="ControllableEntity" /> |
---|
205 | </attached> |
---|
206 | </QuestEffectBeacon> |
---|
207 | |
---|
208 | <QuestEffectBeacon position="0,100,0" times=-1> |
---|
209 | <effects> |
---|
210 | <AddQuestHint hintId="022a859d-08dd-4eac-a085-c28c29c06d48" /> |
---|
211 | </effects> |
---|
212 | <events> |
---|
213 | <execute> |
---|
214 | <EventListener event=qebdt4 /> |
---|
215 | </execute> |
---|
216 | </events> |
---|
217 | <attached> |
---|
218 | <Billboard position="0,0,0" colour="0,0,1.0" material="Examples/Flare" /> |
---|
219 | <DistanceTrigger name=qebdt4 position="0,0,0" distance=10 target="ControllableEntity" /> |
---|
220 | </attached> |
---|
221 | </QuestEffectBeacon> |
---|
222 | |
---|
223 | <ParticleEmitter name=firecenter position="0,0,0" source="Orxonox/fire3" active=false> |
---|
224 | <events> |
---|
225 | <activity> |
---|
226 | <QuestListener questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" mode="complete" /> |
---|
227 | </activity> |
---|
228 | </events> |
---|
229 | </ParticleEmitter--> |
---|
230 | |
---|
231 | </Scene> |
---|
232 | </Level> |
---|
233 | |
---|