Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/tutoriallevel3/data/levels/planets.oxw @ 8703

Last change on this file since 8703 was 8636, checked in by dafrick, 14 years ago

Making NotificationQueue XML-loadable. Adding notifications to all levels.

  • Property svn:eol-style set to native
File size: 2.2 KB
Line 
1<LevelInfo
2 name = "Planet Demonstration"
3 description = "Demonstration of Planets"
4 tags = "planets"
5/>
6
7<?lua
8  include("stats.oxo")
9  include("HUDTemplates3.oxo")
10  include("templates/lodInformation.oxt")
11  include("templates/spaceshipHXY.oxt")
12?>
13
14<Level
15 name         = "Planet"
16 description  = "Demonstration of Planets"
17>
18  <templates>
19    <Template link="lodtemplate_default" />
20  </templates>
21  <?lua include("includes/notifications.oxi") ?>
22
23  <Scene
24    ambientlight = "0.8, 0.8, 0.8"
25    skybox       = "Orxonox/skypanoramagen1"
26  >
27
28    <WorldAmbientSound
29      ambientSource="AlphaCentauri.ogg"
30      looping="true"
31      playOnLoad="true"
32    />
33   
34    <Light
35      type="directional"
36      position="-10000,-10000,0"
37      direction="0.253, 0.593, -0.765"
38      diffuse="1.0, 0.9, 0.9, 1.0"
39      specular="1.0, 0.9, 0.9, 1.0"
40    />
41
42    <SpawnPoint
43      position="1500,0,0"
44      lookat="0,0,0"
45      spawnclass="SpaceShip"
46      pawndesign="spaceshipHXY"
47    />
48
49    <Planet
50      position="0,0,0"
51      scale="1000"
52      collisionType="dynamic"
53      linearDamping="0.8"
54      angularDamping="0"
55      mass="10000000"
56      pitch="0"
57      mesh="planets/muunilinst.mesh"
58      atmosphere="atmosphere1"
59      rotationaxis="1,0,0"
60      rotationrate="1.0"
61      atmospheresize="300.0f"
62      imagesize="1024.0f"
63    >
64      <attached>
65        <ForceField position="0,0,0" mode="sphere" diameter="10000" velocity="-50" />
66      </attached>
67      <collisionShapes>
68        <SphereCollisionShape radius="1000" position="0,0,0" />
69      </collisionShapes>
70    </Planet>
71
72    <Planet
73      position="10000,0,0"
74      scale="100"
75      collisionType="dynamic"
76      linearDamping="0.8"
77      angularDamping="0"
78      mass="5000000"
79      pitch="0"
80      mesh="planets/ganymede.mesh"
81      atmosphere="atmosphere1"
82      rotationaxis="1,0,0"
83      rotationrate="1.0"
84      atmospheresize="224.0f"
85      imagesize="1024.0f"
86    >
87      <attached>
88        <ForceField position="0,0,0" mode="sphere" diameter="1000" velocity="-500" />
89      </attached>
90      <collisionShapes>
91        <SphereCollisionShape radius="100" position="0,0,0" />
92      </collisionShapes>
93    </Planet>
94  </Scene>
95</Level>
Note: See TracBrowser for help on using the repository browser.