Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/BossFight_FS19/data/levels/princessAeryn.oxw @ 12412

Last change on this file since 12412 was 9348, checked in by landauf, 12 years ago

merged branch presentation2012merge back to trunk

  • Property svn:eol-style set to native
File size: 11.1 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
21  <templates>
22    <Template link=lodtemplate_default />
23  </templates>
24  <?lua include("includes/notifications.oxi") ?>
25
26  <Scene
27    ambientlight = "0.3, 0.3, 0.3"
28    skybox     = "Orxonox/skyBoxBasic"
29  >
30
31    <Script code="showGUI NotificationLayer false true" needsGraphics="true" />
32
33    <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" />
34
35    <!-- Quest: -->
36    <GlobalQuest id="b80c2c60-e62c-4637-80f8-5aa18dc93b34">
37      <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." />
38      <subquests>
39        <GlobalQuest id="43766602-7e2f-4d24-976a-3f9de1474d5b">
40          <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." />
41          <complete-effects>
42            <AddQuest questId="50845552-c8af-4091-947c-76bd850b224e" />
43          </complete-effects>
44        </GlobalQuest>
45        <GlobalQuest id="50845552-c8af-4091-947c-76bd850b224e">
46          <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." />
47          <hints>
48            <QuestHint id="b9b10841-b045-4797-b1d3-cfce760e1de6">
49              <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.''" />
50            </QuestHint>
51            <QuestHint id="1ee785f8-b71d-4b51-b080-42cec5be8e3c">
52              <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.'" />
53            </QuestHint>
54          </hints>
55          <complete-effects>
56            <AddQuest questId="97628524-b243-492c-b7b6-498f325b21d4" />
57          </complete-effects>
58        </GlobalQuest>
59        <GlobalQuest id="97628524-b243-492c-b7b6-498f325b21d4">
60          <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." />
61          <complete-effects>
62            <CompleteQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" />
63          </complete-effects>
64        </GlobalQuest>
65      </subquests>
66    </GlobalQuest>
67
68    <!-- Create spaceship spawner: -->
69    <ParticleSpawner position="0,0,100" source="Orxonox/BigExplosion1part3" lifetime=2.0 loop=0 autostart=0>
70      <events>
71      <spawn>
72        <EventTrigger delay=1>
73        <events>
74          <trigger>
75          <SpawnPoint position="0,0,100" spawnclass=SpaceShip pawndesign=spaceshipassff />
76          </trigger>
77        </events>
78        </EventTrigger>
79      </spawn>
80      </events>
81      <attached>
82      <QuestEffectBeacon position="0,0,0" times=1>
83        <effects>
84          <AddQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" />
85          <AddQuest questId="43766602-7e2f-4d24-976a-3f9de1474d5b" />
86        </effects>
87        <events>
88          <execute>
89            <EventListener event=questbeacon1 />
90          </execute>
91        </events>
92        <attached>
93          <DistanceTrigger name=questbeacon1 position="0,0,0" distance=10 target="Pawn" />
94        </attached>
95      </QuestEffectBeacon>
96      </attached>
97    </ParticleSpawner>
98
99    <!-- Create world -->
100
101      <!-- Kidnapper flying away -->
102      <MovableEntity position="200,0,0" velocity="-140,0,-140" yaw=45>
103        <attached>
104          <Model position="0,0,0" scale=4 yaw=180 pitch=-90 roll=-90 mesh="pirate.mesh" />
105          <ParticleSpawner position="0,0,10" source="Orxonox/fire3" lifetime=2.0 loop=0 autostart=1 />
106          <QuestEffectBeacon position="0,0,0" times=1 active=false name=trail >
107            <effects>
108              <CompleteQuest questId="b80c2c60-e62c-4637-80f8-5aa18dc93b34" />
109            </effects>
110            <events>
111              <execute>
112                <EventListener event=questbeacon7 />
113              </execute>
114            </events>
115            <attached>
116              <DistanceTrigger name=questbeacon7 position="0,0,0" distance=10 target="Pawn" />
117            </attached>
118          </QuestEffectBeacon>
119        </attached>
120      </MovableEntity>
121
122      <!-- Asteroid field -->
123      <StaticEntity position="-500,0,-3000">
124        <attached>
125          <?lua
126            for i = 1, 200 do
127          ?>
128            <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)) ?>">
129              <attached>
130                <Model scale="<?lua print(math.random() * 50) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
131              </attached>
132            </MovableEntity>
133          <?lua end ?>
134          <!-- S.H.O.E.S -->
135          <StaticEntity position="-300,0,0">
136            <attached>
137              <Model position="0,0,0" scale=4 yaw=180 pitch=-90 roll=-90 mesh="assff.mesh" />
138              <QuestEffectBeacon position="0,0,0" times=-1>
139                <effects>
140                  <CompleteQuest questId="43766602-7e2f-4d24-976a-3f9de1474d5b" />
141                </effects>
142                <events>
143                  <execute>
144                    <EventListener event=questbeacon2 />
145                  </execute>
146                </events>
147                <attached>
148                  <DistanceTrigger name=questbeacon2 position="0,0,0" distance=50 target="Pawn" />
149                </attached>
150              </QuestEffectBeacon>
151            </attached>
152          </StaticEntity>
153        </attached>
154      </StaticEntity>
155
156
157
158      <!-- Spacestations -->
159
160      <!-- Serenity Station -->
161      <StaticEntity scale=1 position="0,0,5000" yaw=30>
162        <attached>
163          <?lua
164            createSpaceStationPar(65461,2,1,2,1,2,1,100)
165          ?>
166          <QuestEffectBeacon position="0,450,0" times=1>
167            <effects>
168              <CompleteQuest questId="50845552-c8af-4091-947c-76bd850b224e" />
169            </effects>
170            <events>
171              <execute>
172                <EventListener event=questbeacon3 />
173              </execute>
174            </events>
175            <attached>
176              <Billboard position="0,0,0" colour="1.0,1.0,0" material="Examples/Flare" />
177              <DistanceTrigger name=questbeacon3 position="0,0,0" distance=100 target="Pawn" />
178            </attached>
179          </QuestEffectBeacon>
180        </attached>
181      </StaticEntity>
182
183      <!-- Katratzi Station -->
184      <StaticEntity scale=1 position="0,5000,300" yaw=60>
185        <attached>
186          <?lua
187            createSpaceStationPar(9851,2,1,2,1,2,1,100)
188          ?>
189          <QuestEffectBeacon position="0,450,0" times=1>
190            <effects>
191              <AddQuestHint hintId="b9b10841-b045-4797-b1d3-cfce760e1de6" />
192            </effects>
193            <events>
194              <execute>
195                <EventListener event=questbeacon4 />
196              </execute>
197            </events>
198            <attached>
199              <Billboard position="0,0,0" colour="1.0,1.0,0" material="Examples/Flare" />
200              <DistanceTrigger name=questbeacon4 position="0,0,0" distance=100 target="Pawn" />
201            </attached>
202          </QuestEffectBeacon>
203        </attached>
204      </StaticEntity>
205
206      <!-- Pegasus Station -->
207      <StaticEntity scale=1 position="-5000,100,1000" roll=30>
208        <attached>
209          <?lua
210            createSpaceStationPar(3574,2,1,2,1,2,1,100)
211          ?>
212          <QuestEffectBeacon position="200,450,0" times=1>
213            <effects>
214              <AddQuestHint hintId="1ee785f8-b71d-4b51-b080-42cec5be8e3c" />
215            </effects>
216            <events>
217              <execute>
218                <EventListener event=questbeacon5 />
219              </execute>
220            </events>
221            <attached>
222              <Billboard position="0,0,0" colour="1.0,1.0,0" material="Examples/Flare" />
223              <DistanceTrigger name=questbeacon5 position="0,0,0" distance=100 target="Pawn" />
224            </attached>
225          </QuestEffectBeacon>
226        </attached>
227      </StaticEntity>
228
229      <!-- Trail -->
230      <EventDispatcher>
231        <targets>
232          <EventTarget target=trail />
233        </targets>
234        <events>
235          <visibility>
236            <QuestListener questId="50845552-c8af-4091-947c-76bd850b224e" mode="complete" />
237          </visibility>
238          <activity>
239            <QuestListener questId="50845552-c8af-4091-947c-76bd850b224e" mode="complete" />
240          </activity>
241        </events>
242      </EventDispatcher>
243
244      <?lua
245        for i = 1, 25 do
246      ?>
247        <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/>
248      <?lua end ?>
249
250      <!-- Hideout -->
251      <StaticEntity position="5000,5000,5000" >
252        <attached>
253          <Model scale="100" mesh="ast2.mesh" shadow=false />
254        </attached>
255      </StaticEntity>
256
257      <StaticEntity position="5400,5400,5000" visible=false name=trail >
258        <attached>
259          <Model position="0,0,0" scale=4 yaw=180 pitch=-90 roll=-90 mesh="pirate.mesh" visible=false name=trail />
260          <QuestEffectBeacon position="0,0,0" times=1 active=false name=trail >
261            <effects>
262              <CompleteQuest questId="97628524-b243-492c-b7b6-498f325b21d4" />
263            </effects>
264            <events>
265              <execute>
266                <EventListener event=questbeacon6 />
267              </execute>
268            </events>
269            <attached>
270              <DistanceTrigger name=questbeacon6 position="0,0,0" distance=100 target="Pawn" />
271            </attached>
272          </QuestEffectBeacon>
273        </attached>
274      </StaticEntity>
275
276  </Scene>
277</Level>
Note: See TracBrowser for help on using the repository browser.