Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/princessAeryn.oxw @ 7804

Last change on this file since 7804 was 7679, checked in by dafrick, 14 years ago

Renaming levelfiles (and some other) according to our new naming conventions which is using camelCase, without '_' or spaces.

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