Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/menue/data/levels/princessAeryn.oxw @ 8945

Last change on this file since 8945 was 8927, checked in by baermatt, 13 years ago

Changed some level tags.

  • Property svn:eol-style set to native
File size: 11.2 KB
Line 
1<LevelInfo
2 name = "The Tale of Princess Aeryn"
3 description = "The Tale of the elusive but beautiful Princess Aeryn"
4 tags = "mission"
5 screenshot = "thetaleofprincessaeryn.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<?lua
16  dofile("includes/CuboidSpaceStation.lua")
17?>
18
19<Level
20 name     = "The Tale of Princess Aeryn"
21 description  = "The Tale of Princess Aeryn"
22>
23
24  <templates>
25    <Template link=lodtemplate_default />
26  </templates>
27  <?lua include("includes/notifications.oxi") ?>
28
29  <Scene
30    ambientlight = "0.3, 0.3, 0.3"
31    skybox     = "Orxonox/skypanoramagen1"
32  >
33
34    <Script code="showGUI NotificationLayer false true" needsGraphics="true" />
35
36    <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" />
37
38    <!-- Quest: -->
39    <GlobalQuest id="b80c2c60-e62c-4637-80f8-5aa18dc93b34">
40      <QuestDescription title="The Tale of Princess Aeryn" description="Princess Aeryn has been kidnapped by evil Mr. M and you were just a little too late to save her.\nYou have to find and save her from her captors." failMessage="You cannot fail, how did you?" completeMessage="You did it John. You're a hero. Princess Aeryn however will still not marry you." />
41      <subquests>
42        <GlobalQuest id="43766602-7e2f-4d24-976a-3f9de1474d5b">
43          <QuestDescription title="Find Aeryn's S.H.O.E.S." description="Oh, the kidnappers must have been in a hurry because they overlooked princess Aeryns S.H.O.E.S. (Super Heavily Organized Escape Ship) hidden in the asteroid field over there.\nFind it and look there for clues to Princess Aeryns whereabouts." completeMessage="You did it, Looking through her stuff you find an odd looking device - Could this be the receiver of Princess Aeryns locator beacon? - But it must be broken, the screen remains blank." />
44          <complete-effects>
45            <AddQuest questId="50845552-c8af-4091-947c-76bd850b224e" />
46          </complete-effects>
47        </GlobalQuest>
48        <GlobalQuest id="50845552-c8af-4091-947c-76bd850b224e">
49          <QuestDescription title="Repair the receiver." description="There is a space station called 'Serenity Station' near here. An engineer called Nathan Stark who shoud be able to help you lives there." completeMessage="'Yeah Nathan lives here, he'll shurely help you.'\nAnd he does, apparenty the device was just low on batteries so you're now able to locate your beloved Princess Aeryn." />
50          <hints>
51            <QuestHint id="b9b10841-b045-4797-b1d3-cfce760e1de6">
52              <QuestDescription title="The Katratzi Station" description="'We ain't buying!'\n'What do you want?'\n'No there lives no Nathan here.'\n'Fuck off.''" />
53            </QuestHint>
54            <QuestHint id="1ee785f8-b71d-4b51-b080-42cec5be8e3c">
55              <QuestDescription title="The Pegasus Station" description="'Hello friend.'\n'How can we help you?'\n'A Mr. Stark you say? Sorry no man with such a name lives here.'" />
56            </QuestHint>
57          </hints>
58          <complete-effects>
59            <AddQuest questId="97628524-b243-492c-b7b6-498f325b21d4" />
60          </complete-effects>
61        </GlobalQuest>
62        <GlobalQuest id="97628524-b243-492c-b7b6-498f325b21d4">
63          <QuestDescription title="Follow the dots" description="Just follow the dots, they'll lead you right to her." completeMessage="You found Princess Aeryn. Her captors give up at the shere sight ou you." />
64          <complete-effects>
65            <CompleteQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" />
66          </complete-effects>
67        </GlobalQuest>
68      </subquests>
69    </GlobalQuest>
70
71    <!-- Create spaceship spawner: -->
72    <ParticleSpawner position="0,0,100" source="Orxonox/BigExplosion1part3" lifetime=2.0 loop=0 autostart=0>
73      <events>
74      <spawn>
75        <EventTrigger delay=1>
76        <events>
77          <trigger>
78          <SpawnPoint position="0,0,100" spawnclass=SpaceShip pawndesign=spaceshipassff />
79          </trigger>
80        </events>
81        </EventTrigger>
82      </spawn>
83      </events>
84      <attached>
85      <QuestEffectBeacon position="0,0,0" times=1>
86        <effects>
87          <AddQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" />
88          <AddQuest questId="43766602-7e2f-4d24-976a-3f9de1474d5b" />
89        </effects>
90        <events>
91          <execute>
92            <EventListener event=questbeacon1 />
93          </execute>
94        </events>
95        <attached>
96          <DistanceTrigger name=questbeacon1 position="0,0,0" distance=10 target="Pawn" />
97        </attached>
98      </QuestEffectBeacon>
99      </attached>
100    </ParticleSpawner>
101
102    <!-- Create world -->
103
104      <!-- Kidnapper flying away -->
105      <MovableEntity position="200,0,0" velocity="-140,0,-140" yaw=45>
106        <attached>
107          <Model position="0,0,0" scale=4 yaw=180 pitch=-90 roll=-90 mesh="pirate.mesh" />
108          <ParticleSpawner position="0,0,10" source="Orxonox/fire3" lifetime=2.0 loop=0 autostart=1 />
109          <QuestEffectBeacon position="0,0,0" times=1 active=false name=trail >
110            <effects>
111              <CompleteQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" />
112            </effects>
113            <events>
114              <execute>
115                <EventListener event=questbeacon7 />
116              </execute>
117            </events>
118            <attached>
119              <DistanceTrigger name=questbeacon7 position="0,0,0" distance=10 target="Pawn" />
120            </attached>
121          </QuestEffectBeacon>
122        </attached>
123      </MovableEntity>
124
125      <!-- Asteroid field -->
126      <StaticEntity position="-500,0,-3000">
127        <attached>
128          <?lua
129            for i = 1, 200 do
130          ?>
131            <MovableEntity position="<?lua print(math.random() * 2000 - 1000)?>, <?lua print(math.random() * 2000 - 1000) ?>, <?lua print(math.random() * 2000 - 1000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.abs(math.random() * 30 -10)) ?>">
132              <attached>
133                <Model scale="<?lua print(math.random() * 50) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
134              </attached>
135            </MovableEntity>
136          <?lua end ?>
137          <!-- S.H.O.E.S -->
138          <StaticEntity position="-300,0,0">
139            <attached>
140              <Model position="0,0,0" scale=4 yaw=180 pitch=-90 roll=-90 mesh="assff.mesh" />
141              <QuestEffectBeacon position="0,0,0" times=-1>
142                <effects>
143                  <CompleteQuest questId="43766602-7e2f-4d24-976a-3f9de1474d5b" />
144                </effects>
145                <events>
146                  <execute>
147                    <EventListener event=questbeacon2 />
148                  </execute>
149                </events>
150                <attached>
151                  <DistanceTrigger name=questbeacon2 position="0,0,0" distance=50 target="Pawn" />
152                </attached>
153              </QuestEffectBeacon>
154            </attached>
155          </StaticEntity>
156        </attached>
157      </StaticEntity>
158
159
160
161      <!-- Spacestations -->
162
163      <!-- Serenity Station -->
164      <StaticEntity scale=1 position="0,0,5000" yaw=30>
165        <attached>
166          <?lua
167            createSpaceStationPar(65461,2,1,2,1,2,1,100)
168          ?>
169          <QuestEffectBeacon position="0,450,0" times=1>
170            <effects>
171              <CompleteQuest questId="50845552-c8af-4091-947c-76bd850b224e" />
172            </effects>
173            <events>
174              <execute>
175                <EventListener event=questbeacon3 />
176              </execute>
177            </events>
178            <attached>
179              <Billboard position="0,0,0" colour="1.0,1.0,0" material="Examples/Flare" />
180              <DistanceTrigger name=questbeacon3 position="0,0,0" distance=100 target="Pawn" />
181            </attached>
182          </QuestEffectBeacon>
183        </attached>
184      </StaticEntity>
185
186      <!-- Katratzi Station -->
187      <StaticEntity scale=1 position="0,5000,300" yaw=60>
188        <attached>
189          <?lua
190            createSpaceStationPar(9851,2,1,2,1,2,1,100)
191          ?>
192          <QuestEffectBeacon position="0,450,0" times=1>
193            <effects>
194              <AddQuestHint hintId="b9b10841-b045-4797-b1d3-cfce760e1de6" />
195            </effects>
196            <events>
197              <execute>
198                <EventListener event=questbeacon4 />
199              </execute>
200            </events>
201            <attached>
202              <Billboard position="0,0,0" colour="1.0,1.0,0" material="Examples/Flare" />
203              <DistanceTrigger name=questbeacon4 position="0,0,0" distance=100 target="Pawn" />
204            </attached>
205          </QuestEffectBeacon>
206        </attached>
207      </StaticEntity>
208
209      <!-- Pegasus Station -->
210      <StaticEntity scale=1 position="-5000,100,1000" roll=30>
211        <attached>
212          <?lua
213            createSpaceStationPar(3574,2,1,2,1,2,1,100)
214          ?>
215          <QuestEffectBeacon position="200,450,0" times=1>
216            <effects>
217              <AddQuestHint hintId="1ee785f8-b71d-4b51-b080-42cec5be8e3c" />
218            </effects>
219            <events>
220              <execute>
221                <EventListener event=questbeacon5 />
222              </execute>
223            </events>
224            <attached>
225              <Billboard position="0,0,0" colour="1.0,1.0,0" material="Examples/Flare" />
226              <DistanceTrigger name=questbeacon5 position="0,0,0" distance=100 target="Pawn" />
227            </attached>
228          </QuestEffectBeacon>
229        </attached>
230      </StaticEntity>
231
232      <!-- Trail -->
233      <EventDispatcher>
234        <targets>
235          <EventTarget target=trail />
236        </targets>
237        <events>
238          <visibility>
239            <QuestListener questId="50845552-c8af-4091-947c-76bd850b224e" mode="complete" />
240          </visibility>
241          <activity>
242            <QuestListener questId="50845552-c8af-4091-947c-76bd850b224e" mode="complete" />
243          </activity>
244        </events>
245      </EventDispatcher>
246
247      <?lua
248        for i = 1, 25 do
249      ?>
250        <Billboard position="<?lua print(i*5000/25) ?>,<?lua print(450+i*(5000-450)/25) ?>,5000" colour="1.0,0,0" material="Examples/Flare" name=trail visible=false/>
251      <?lua end ?>
252
253      <!-- Hideout -->
254      <StaticEntity position="5000,5000,5000" >
255        <attached>
256          <Model scale="100" mesh="ast2.mesh" shadow=false />
257        </attached>
258      </StaticEntity>
259
260      <StaticEntity position="5400,5400,5000" visible=false name=trail >
261        <attached>
262          <Model position="0,0,0" scale=4 yaw=180 pitch=-90 roll=-90 mesh="pirate.mesh" visible=false name=trail />
263          <QuestEffectBeacon position="0,0,0" times=1 active=false name=trail >
264            <effects>
265              <CompleteQuest questId="97628524-b243-492c-b7b6-498f325b21d4" />
266            </effects>
267            <events>
268              <execute>
269                <EventListener event=questbeacon6 />
270              </execute>
271            </events>
272            <attached>
273              <DistanceTrigger name=questbeacon6 position="0,0,0" distance=100 target="Pawn" />
274            </attached>
275          </QuestEffectBeacon>
276        </attached>
277      </StaticEntity>
278
279  </Scene>
280</Level>
Note: See TracBrowser for help on using the repository browser.