Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/menue/data/levels/presentationFS11.oxw @ 8916

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

Associated each screenshot to the correct level

  • Property svn:eol-style set to native
File size: 16.0 KB
Line 
1<LevelInfo
2 name = "Presentation FS11"
3 description = "Presentation level spring semester '11"
4 tags = "test"
5 screenshot = "presentationfs11.png"
6/>
7
8<?lua
9  include("stats.oxo")
10  include("HUDTemplates3.oxo")
11  include("templates/lodInformation.oxt")
12?>
13
14<?lua
15  include("templates/spaceshipAssff.oxt")
16  include("templates/spaceshipAssff2.oxt")
17  include("templates/spaceshipPirate.oxt")
18?>
19
20<?lua
21include("templates/pickupRepresentationTemplates.oxt")
22?>
23
24<Level
25 name         = "Sample"
26 description  = "Just a few tests"
27>
28  <templates>
29    <Template link=lodtemplate_default />
30  </templates>
31  <?lua include("includes/notifications.oxi") ?>
32
33  <NotificationQueueCEGUI
34    name="narrative"
35    targets="simpleNotification"
36    size=1
37    displayTime=30
38    position="0.2, 0, 0.1, 0"
39    fontSize="24"
40    fontColor="0.3, 1, 0.2, 0.8"
41    alignment="HorzCentred"
42    displaySize="0.6, 0, 0, 0"
43    />
44
45  <Scene
46    ambientlight = "0.8, 0.8, 0.8"
47    skybox       = "Orxonox/skyboxempty"
48  >
49
50    <?lua
51      include("includes/pickups.oxi")
52    ?>
53
54    <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"/>
55
56    <!-- SOUND -->
57    <WorldAmbientSound source="Earth.ogg" looping="true" playOnLoad="true" />
58    <WorldAmbientSound source="Mars.ogg" looping="true">
59        <events>
60            <activity>
61                <DistanceTrigger position="-72369,803,2" distance=1700 target="Camera" />
62            </activity>
63        </events>
64    </WorldAmbientSound>
65    <WorldAmbientSound source="Jupiter.ogg" looping="true">
66        <events>
67            <activity>
68                <DistanceTrigger position="-73450,5067,-351" distance=800 target="Camera" />
69            </activity>
70        </events>
71    </WorldAmbientSound>
72
73    <!-- EARTH ORBIT -->
74
75    <DistanceTrigger name="spawntrigger" position="0,0,0" target="Pawn" distance=10 stayActive="true" />
76    <DistanceTrigger name="spawndelaytrigger1" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=1 />
77    <DistanceTrigger name="spawndelaytrigger2" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=7 />
78    <DistanceTrigger name="spawndelaytrigger3" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=12 />
79    <DistanceTrigger name="spawndelaytrigger4" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=15 />
80    <DistanceTrigger name="spawndelaytrigger5" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=25 />
81    <DistanceTrigger name="spawndelaytrigger6" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=35 />
82    <DistanceTrigger name="spawndelaytrigger7" position="0,0,0" target="Pawn" distance=10 stayActive="true" delay=40 />
83
84    <SpawnPoint position="0,0,0" lookat="-2,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff>
85        <events>
86            <activity>
87                <EventTrigger invert="true">
88                    <events>
89                        <trigger>
90                            <EventListener event="spawndelaytrigger1" />
91                        </trigger>
92                    </events>
93                </EventTrigger>
94            </activity>
95        </events>
96    </SpawnPoint>
97
98    <SimpleNotification message="Welcome to Earth Orbit" >
99        <events>
100            <trigger>
101                <EventListener event=spawntrigger />
102            </trigger>
103        </events>
104    </SimpleNotification>
105    <SimpleNotification message="Turn right to witness an explosion" >
106        <events>
107            <trigger>
108                <EventListener event=spawndelaytrigger1 />
109            </trigger>
110        </events>
111    </SimpleNotification>
112
113    <!-- EARTH -->
114    <Planet
115      position="80500,0,0"
116      scale="63000"
117      collisionType="dynamic"
118      linearDamping="0.8"
119      angularDamping="0"
120      mass="5.9e21"
121      pitch="-90"
122      yaw="50"
123      mesh="planets/earth.mesh"
124      atmosphere="atmosphere1"
125      rotationaxis="0,1,0"
126      rotationrate="0.2"
127      atmospheresize="80.0f"
128      imagesize="1024.0f"
129      collisiondamage = 2
130      enablecollisiondamage = true
131    >
132      <attached>
133        <ForceField position="0,0,0" mode="newtonianGravity" diameter="140000" massDiameter="126000" mass="5.9e21" />
134      </attached>
135      <collisionShapes>
136        <SphereCollisionShape radius="63000" position="0,0,0" />
137      </collisionShapes>
138    </Planet>
139
140    <!-- PARTICLE EFFECT -->
141
142    <ParticleSpawner position="-50,50,-125" source="Orxonox/RingExp" autostart="false" lifetime=500 loop=1 startdelay=2.5>
143        <events>
144            <spawn>
145                <EventListener event=spawndelaytrigger1 />
146            </spawn>
147        </events>
148    </ParticleSpawner>
149    <ParticleSpawner position="-50,50,-125" source="Orxonox/RingExp2" autostart="false" lifetime=500 loop=1 startdelay=2>
150        <events>
151            <spawn>
152                <EventListener event=spawndelaytrigger1 />
153            </spawn>
154        </events>
155    </ParticleSpawner>
156    <ParticleSpawner position="-50,50,-125" source="Orxonox/RingExp3" autostart="false" lifetime=500 loop=1 startdelay=2>
157        <events>
158            <spawn>
159                <EventListener event=spawndelaytrigger1 />
160            </spawn>
161        </events>
162    </ParticleSpawner>
163    <StaticEntity collisionType = "static" position = "-50,50,-125" scale=1 >
164      <attached>
165        <Model position="0,0,0" scale="2" mesh="ast1.mesh" />
166      </attached>
167      <collisionShapes>
168        <SphereCollisionShape radius="8" />
169      </collisionShapes>
170    </StaticEntity>
171       
172    <SimpleNotification message="A particle effect by Tibor" >
173        <events>
174            <trigger>
175                <EventListener event=spawndelaytrigger2 />
176            </trigger>
177        </events>
178    </SimpleNotification>
179
180    <!-- ENEMIES 1st ROUND -->
181
182    <SimpleNotification message="Enemies attacking" >
183        <events>
184            <trigger>
185                <EventListener event=spawndelaytrigger3 />
186            </trigger>
187        </events>
188    </SimpleNotification>
189
190    <Script code="addBots 3" onLoad="false">
191        <events>
192            <trigger>
193                <EventListener event=spawndelaytrigger3 />
194            </trigger>
195        </events>
196    </Script>
197
198    <SpawnPoint position="100,0,0" lookat="-2,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff active="false" >
199        <events>
200            <activity>
201                <EventListener event=spawnpointtrigger />
202            </activity>
203        </events>
204    </SpawnPoint>
205
206    <SpawnPoint position="0,-100,0" lookat="-2,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff active="false" >
207        <events>
208            <activity>
209                <EventListener event=spawnpointtrigger />
210            </activity>
211        </events>
212    </SpawnPoint>
213
214    <SpawnPoint position="0,0,100" lookat="-2,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff active="false" >
215        <events>
216            <activity>
217                <EventListener event=spawnpointtrigger />
218            </activity>
219        </events>
220    </SpawnPoint>
221
222    <Trigger name="spawnpointtrigger" mode="xor" invert="true" >
223        <EventTrigger>
224            <events>
225                <trigger>
226                    <EventListener event=spawndelaytrigger1 />
227                </trigger>
228            </events>
229        </EventTrigger>
230        <EventTrigger invert="true">
231            <events>
232                <trigger>
233                    <EventListener event=portaltrigger />
234                </trigger>
235            </events>
236        </EventTrigger>
237    </Trigger>
238
239    <!-- SPACE BOUNDARY -->
240
241    <SpaceBoundaries warnDistance="1" maxDistance="400" showDistance="300" healthDecrease="0.1" position="-90000,0,0"/>
242    <SpaceBoundaries warnDistance="1" maxDistance="400" showDistance="300" healthDecrease="0.1" position="0,10000,0"/>
243    <SpaceBoundaries warnDistance="1" maxDistance="450" showDistance="300" healthDecrease="0.1" position="0,0,0"/>
244    <SpaceBoundaries warnDistance="1" maxDistance="400" showDistance="300" healthDecrease="0.1" position="-30000,0,0"/>
245
246    <SimpleNotification message="Notice the shields by Simon" >
247        <events>
248            <trigger>
249                <EventListener event=spawndelaytrigger4 />
250            </trigger>
251        </events>
252    </SimpleNotification>
253
254    <SimpleNotification message="and space boundaries by Maurus" >
255        <events>
256            <trigger>
257                <EventListener event=spawndelaytrigger5 />
258            </trigger>
259        </events>
260    </SimpleNotification>
261
262    <SimpleNotification message="Let's get out of here" >
263        <events>
264            <trigger>
265                <EventListener event=spawndelaytrigger6 />
266            </trigger>
267        </events>
268    </SimpleNotification>
269
270    <Script code="killBots" onLoad="false">
271        <events>
272            <trigger>
273                <EventListener event=spawndelaytrigger6 />
274            </trigger>
275        </events>
276    </Script>
277
278    <SimpleNotification message="Boost enhancement by Dominik" >
279        <events>
280            <trigger>
281                <EventListener event=spawndelaytrigger7 />
282            </trigger>
283        </events>
284    </SimpleNotification>
285   
286    <!-- PORTALS -->
287
288    <Template name=PortalDefault>
289        <PortalEndPoint>
290            <attached>
291                <Billboard material="Portals/Default" />
292            </attached>
293        </PortalEndPoint>
294    </Template>
295
296    <PortalEndPoint position="-350,0,0" id="3" distance="40" target="MobileEntity" design="PortalDefault" active="false">
297        <events>
298            <activity>
299                <EventListener event=spawndelaytrigger6 />
300            </activity>
301        </events>
302    </PortalEndPoint>
303    <PortalEndPoint position="-72000,0,0" id="4" distance="40" target="MobileEntity" design="PortalDefault" />
304    <PortalLink fromID="3" toID="4" />
305    <PortalLink fromID="4" toID="3" />
306
307    <DistanceTrigger name="portaltrigger" position="-72000,0,0" target="Pawn" distance=10 stayActive="true" />
308    <DistanceTrigger name="portaldelaytrigger1" position="-72000,0,0" target="Pawn" distance=10 stayActive="true" delay=5 />
309    <DistanceTrigger name="portaldelaytrigger2" position="-72000,0,0" target="Pawn" distance=10 stayActive="true" delay=10 />
310    <DistanceTrigger name="portaldelaytrigger3" position="-72000,0,0" target="Pawn" distance=10 stayActive="true" delay=15 />
311    <DistanceTrigger name="portaldelaytrigger4" position="-72000,0,0" target="Pawn" distance=10 stayActive="true" delay=17 />
312
313    <SimpleNotification message="Welcome to Moon Orbit" >
314        <events>
315            <trigger>
316                <EventListener event=portaltrigger />
317            </trigger>
318        </events>
319    </SimpleNotification>
320
321    <SimpleNotification message="Portals by Andreas" >
322        <events>
323            <trigger>
324                <EventListener event=portaldelaytrigger1 />
325            </trigger>
326        </events>
327    </SimpleNotification>
328
329    <!-- MOON AREA -->
330   
331    <!-- MOON -->
332    <Planet
333      position="-80000,0,0"
334      scale="4000"
335      collisionType="dynamic"
336      linearDamping="0.8"
337      angularDamping="0"
338      mass="7.36e19"
339      pitch="0"
340      mesh="planets/moon.mesh"
341      atmosphere="atmosphere1"
342      rotationaxis="0,1,0"
343      rotationrate="0.2"
344      atmospheresize="0.0f"
345      imagesize="1024.0f"
346      collisiondamage = 2
347      enablecollisiondamage = true
348    >
349      <attached>
350        <ForceField position="0,0,0" mode="newtonianGravity" diameter="40000" massDiameter="34740" mass="7.36e19" />
351      </attached>
352      <collisionShapes>
353        <SphereCollisionShape radius="4000" position="0,0,0" />
354      </collisionShapes>
355    </Planet>
356
357    <SimpleNotification message="Hydrogen farmer/space station by Hans" >
358        <events>
359            <trigger>
360                <EventListener event=portaldelaytrigger2 />
361            </trigger>
362        </events>
363    </SimpleNotification>
364
365    <!-- HYDROGEN FARMER & DOCKING -->
366    <SpaceShip position="-74000,2500,0" roll=90 yaw=180 pitch=20 mass=10000 health=100000 >
367      <attached>
368        <!-- Docking -->
369        <DistanceTriggerBeacon name="bcnDestroyer" />
370        <DockingTarget name="destroyer" />
371
372        <Model mesh="HydroHarvester.mesh" mass=10 position="0,0,0" scale=100 />
373        <!-- <Model mesh="cube.mesh" mass=10 position="-1120,0,0" scale3D="230,200,490"  /> -->
374        <!-- <Model mesh="cube.mesh" mass=10 position="580,0,-960" scale3D="230,200,490" yaw=-120 /> -->
375        <!-- <Model mesh="cube.mesh" mass=10 position="580,0,960" scale3D="230,200,490" yaw=-240 /> -->
376        <!-- <Model mesh="cube.mesh" mass=10 position="0,0,0" scale3D="600,200,100" /> -->
377      </attached>
378      <collisionShapes>
379        <BoxCollisionShape  position="-1120,0,0" halfExtents="230,200,490" />
380        <BoxCollisionShape  position="580,0,-960" halfExtents="230,200,490" yaw=-120 />
381        <BoxCollisionShape  position="580,0,960" halfExtents="230,200,490" yaw=-240 />
382      </collisionShapes>
383    </SpaceShip>
384
385    <Dock position="-73942, 1288, -255" roll=90 yaw=180 >
386        <animations>
387            <MoveToDockingTarget target="destroyer" />
388        </animations>
389        <effects>
390            <DockToShip target="spaceShip" />
391        </effects>
392        <events>
393            <execute>
394                <EventListener event="dockMe" />
395            </execute>
396        </events>
397        <attached>
398            <DistanceTrigger position="10,-202, -42" distance="800" target="Pawn"
399                beaconMode="exclude" targetname="bcnDestroyer" name="dockMe"
400            />
401        </attached>
402    </Dock>
403
404    <SpaceShip template="spaceshipassff2" position="-73915,3786,67" orientation="-0.14045, 0.68254, 0.68144, 0.223774" >
405      <attached>
406        <DockingTarget name="spaceShip" />
407      </attached>
408    </SpaceShip>
409
410    <!-- PICKUPS -->
411    <SimpleNotification message="Oh, what have we here?" >
412        <events>
413            <trigger>
414                <EventListener event=portaldelaytrigger3 />
415            </trigger>
416        </events>
417    </SimpleNotification>
418
419    <SimpleNotification message="Shrink pickup by Sandro" >
420        <events>
421            <trigger>
422                <EventListener event=portaldelaytrigger4 />
423            </trigger>
424        </events>
425    </SimpleNotification>
426
427    <PickupSpawner position="-72487,420,-63" respawnTime="10" triggerDistance="20" maxSpawnedItems="5" active="false">
428      <pickup>
429        <ShrinkPickup template ="smallshrinkpickup"/>
430      </pickup>
431      <events>
432        <activity>
433            <EventListener event=portaldelaytrigger3 />
434        </activity>
435      </events>
436      <attached>
437        <ParticleSpawner position="0,0,0" source="Orxonox/Shield" autostart="false" lifetime=500 loop=0 >
438            <events>
439                <spawn>
440                    <EventListener event=portaldelaytrigger3 />
441                </spawn>
442            </events>
443        </ParticleSpawner>
444      </attached>
445    </PickupSpawner>
446
447    <SpaceBoundaries warnDistance="1" maxDistance="1700" showDistance="500" healthDecrease="0.1" position="-72369,803,2"/>
448    <SpaceBoundaries warnDistance="1" maxDistance="800" showDistance="300" healthDecrease="0.1" position="-73450,5067,-351"/>
449
450    <!-- FINISH -->
451
452    <DistanceTrigger name="dockingtrigger" position="-73942, 1288, -255" target="Pawn" distance=20 stayActive="true" />
453    <DistanceTrigger name="dockingdelaytrigger1" position="-73942, 1288, -255" target="Pawn" distance=20 stayActive="true" delay=3 />
454    <DistanceTrigger name="dockingdelaytrigger2" position="-73942, 1288, -255" target="Pawn" distance=20 stayActive="true" delay=10 />
455
456    <SimpleNotification message="Docking by Sven" >
457        <events>
458            <trigger>
459                <EventListener event=dockingtrigger />
460            </trigger>
461        </events>
462    </SimpleNotification>
463
464    <SimpleNotification message="Weapons by Jonas" >
465        <events>
466            <trigger>
467                <EventListener event=dockingdelaytrigger1 />
468            </trigger>
469        </events>
470    </SimpleNotification>
471
472    <SimpleNotification message="Steering enhancement by Manuel" >
473        <events>
474            <trigger>
475                <EventListener event=dockingdelaytrigger2 />
476            </trigger>
477        </events>
478    </SimpleNotification>
479   
480  </Scene>
481</Level>
482
Note: See TracBrowser for help on using the repository browser.