Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/ScriptableController_FS18/data/levels/quests.oxw @ 12202

Last change on this file since 12202 was 9939, checked in by jo, 11 years ago

presentationHS13 branch merged into trunk

  • Property svn:eol-style set to native
File size: 18.7 KB
Line 
1<!-- -->
2<LevelInfo
3 name = "Quests showcase"
4 description = "Level to test and showcase quests."
5 tags = "test, showcase"
6 screenshot = "questsshowcase.png"
7/>
8
9<?lua
10  include("HUDTemplates3.oxo")
11  include("stats.oxo")
12  include("templates/spaceshipAssff.oxt")
13  include("templates/lodInformation.oxt")
14?>
15
16<Level>
17    <templates>
18        <Template link=lodtemplate_default />
19    </templates>
20    <?lua include("includes/notifications.oxi") ?>
21
22    <Scene
23        ambientlight = "0.5, 0.5, 0.5"
24        skybox       = "Orxonox/Starbox"
25    >
26
27        <Script code="showGUI NotificationLayer false true" needsGraphics="true" />
28
29        <GlobalQuest id="quest0">
30            <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.
31
32            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" />
33        </GlobalQuest>
34        <GlobalQuest id="quest1">
35            <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" />
36            <hints>
37                <QuestHint id="quest1hint1">
38                    <QuestDescription title="The super Hint." description="Be proud of yourself." />
39                </QuestHint>
40                <QuestHint id="quest1hint2">
41                    <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." />
42                </QuestHint>
43                <QuestHint id="quest1hint3">
44                    <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." />
45                </QuestHint>
46            </hints>
47            <subquests>
48                <GlobalQuest id="quest1.1">
49                    <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" />
50                </GlobalQuest>
51                <GlobalQuest id="quest1.2">
52                    <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" />
53                </GlobalQuest>
54                <GlobalQuest id="quest1.3">
55                    <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" />
56                </GlobalQuest>
57                <GlobalQuest id="quest1.4">
58                    <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" />
59                </GlobalQuest>
60                <GlobalQuest id="quest1.5">
61                    <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" />
62                </GlobalQuest>
63            </subquests>
64        </GlobalQuest>
65        <GlobalQuest id="quest2">
66            <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" />
67        </GlobalQuest>
68        <GlobalQuest id="quest3">
69            <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" />
70        </GlobalQuest>
71        <GlobalQuest id="quest4">
72            <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.
73
74            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" />
75        </GlobalQuest>
76        <GlobalQuest id="quest5">
77            <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" />
78        </GlobalQuest>
79        <GlobalQuest id="quest6">
80            <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" />
81        </GlobalQuest>
82
83        <EventMultiTrigger name=spawntrigger>
84            <events>
85                <trigger>
86                    <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
87                </trigger>
88            </events>
89        </EventMultiTrigger>
90
91        <QuestEffectBeacon times=1>
92            <effects>
93                <AddQuest questId="quest0" />
94                <AddQuest questId="quest1" />
95                <AddQuest questId="quest1.1" />
96                <AddQuest questId="quest1.2" />
97                <AddQuest questId="quest1.3" />
98                <AddQuest questId="quest1.4" />
99                <AddQuest questId="quest1.5" />
100                <AddQuest questId="quest2" />
101                <AddQuest questId="quest3" />
102                <AddQuest questId="quest4" />
103                <AddQuest questId="quest5" />
104                <AddQuest questId="quest6" />
105                <AddQuestHint hintId ="quest1hint1" />
106                <AddQuestHint hintId ="quest1hint2" />
107                <AddQuestHint hintId ="quest1hint3" />
108            </effects>
109            <events>
110                <execute>
111                    <EventListener event=spawntrigger />
112                </execute>
113            </events>
114        </QuestEffectBeacon>
115
116        <QuestEffectBeacon position="-100,0,0" times=1>
117            <effects>
118                <FailQuest questId="quest1.1" />
119                <FailQuest questId="quest1.2" />
120                <FailQuest questId="quest1.3" />
121                <FailQuest questId="quest1.4" />
122                <FailQuest questId="quest1.5" />
123            </effects>
124            <events>
125                <execute>
126                    <EventListener event=dtrigger1 />
127                </execute>
128            </events>
129            <attached>
130                <Billboard position="0,0,0" colour="1.0,0,0" material="Examples/Flare" />
131                <DistanceTrigger name=dtrigger1 position="0,0,0" distance=10 target="Pawn" />
132            </attached>
133        </QuestEffectBeacon>
134
135        <QuestEffectBeacon position="100,0,0" times=-1>
136            <effects>
137                <CompleteQuest questId="quest0" />
138                <CompleteQuest questId="quest1" />
139                <CompleteQuest questId="quest1.1" />
140                <CompleteQuest questId="quest1.2" />
141                <CompleteQuest questId="quest1.3" />
142                <CompleteQuest questId="quest1.4" />
143                <CompleteQuest questId="quest1.5" />
144                <CompleteQuest questId="quest2" />
145                <CompleteQuest questId="quest3" />
146                <CompleteQuest questId="quest4" />
147                <CompleteQuest questId="quest5" />
148                <CompleteQuest questId="quest6" />
149            </effects>
150            <events>
151                <execute>
152                    <EventListener event=dtrigger2 />
153                </execute>
154            </events>
155            <attached>
156                <Billboard position="0,0,0" colour="0,1.0,0" material="Examples/Flare" />
157                <DistanceTrigger name=dtrigger2 position="0,0,0" distance=10 target="Pawn" />
158            </attached>
159        </QuestEffectBeacon>
160
161        <!--QuestEffectBeacon position="0,0,100" times=-1>
162            <effects>
163                <AddQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" />
164            </effects>
165            <events>
166                <execute>
167                    <EventListener event=qebdt1 />
168                </execute>
169            </events>
170            <attached>
171                <Billboard position="0,0,0" colour="1.0,1.0,1.0" material="Examples/Flare" />
172                <DistanceTrigger name=qebdt1 position="0,0,0" distance=10 target="ControllableEntity" />
173            </attached>
174        </QuestEffectBeacon>
175
176        <QuestEffectBeacon position="-100,0,0" times=-1>
177            <effects>
178                <FailQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" />
179            </effects>
180            <events>
181                <execute>
182                    <EventListener event=qebdt2 />
183                </execute>
184            </events>
185            <attached>
186                <Billboard position="0,0,0" colour="1.0,0,0" material="Examples/Flare" />
187                <DistanceTrigger name=qebdt2 position="0,0,0" distance=10 target="ControllableEntity" />
188            </attached>
189        </QuestEffectBeacon>
190
191        <QuestEffectBeacon position="100,0,0" times=-1>
192            <effects>
193                <CompleteQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" />
194            </effects>
195            <events>
196                <execute>
197                    <EventListener event=qebdt3 />
198                </execute>
199            </events>
200            <attached>
201                <Billboard position="0,0,0" colour="0,1.0,0" material="Examples/Flare" />
202                <DistanceTrigger name=qebdt3 position="0,0,0" distance=10 target="ControllableEntity" />
203            </attached>
204        </QuestEffectBeacon>
205
206        <QuestEffectBeacon position="0,100,0" times=-1>
207            <effects>
208                <AddQuestHint hintId="022a859d-08dd-4eac-a085-c28c29c06d48" />
209            </effects>
210            <events>
211                <execute>
212                    <EventListener event=qebdt4 />
213                </execute>
214            </events>
215            <attached>
216                <Billboard position="0,0,0" colour="0,0,1.0" material="Examples/Flare" />
217                <DistanceTrigger name=qebdt4 position="0,0,0" distance=10 target="ControllableEntity" />
218            </attached>
219        </QuestEffectBeacon>
220
221        <ParticleEmitter name=firecenter position="0,0,0" source="Orxonox/fire3" active=false>
222            <events>
223                <activity>
224                    <QuestListener questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" mode="complete" />
225                </activity>
226            </events>
227        </ParticleEmitter-->
228
229    </Scene>
230</Level>
231
Note: See TracBrowser for help on using the repository browser.