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
RevLine 
[8384]1<LevelInfo
2 name = "Planet Demonstration"
3 description = "Demonstration of Planets"
[8385]4 tags = "planets"
[8384]5/>
6
[8114]7<?lua
[8384]8  include("stats.oxo")
[8134]9  include("HUDTemplates3.oxo")
10  include("templates/lodInformation.oxt")
[8392]11  include("templates/spaceshipHXY.oxt")
[8114]12?>
13
14<Level
[8384]15 name         = "Planet"
16 description  = "Demonstration of Planets"
[8114]17>
18  <templates>
[8392]19    <Template link="lodtemplate_default" />
[8114]20  </templates>
[8636]21  <?lua include("includes/notifications.oxi") ?>
[8114]22
23  <Scene
[8384]24    ambientlight = "0.8, 0.8, 0.8"
25    skybox       = "Orxonox/skypanoramagen1"
[8114]26  >
[8384]27
[8392]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    />
[8114]41
[8392]42    <SpawnPoint
43      position="1500,0,0"
44      lookat="0,0,0"
45      spawnclass="SpaceShip"
46      pawndesign="spaceshipHXY"
47    />
[8114]48
[8392]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"
[8438]57      mesh="planets/muunilinst.mesh"
[8392]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>
[8114]71
[8392]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"
[8438]80      mesh="planets/ganymede.mesh"
[8392]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>
[8114]94  </Scene>
95</Level>
Note: See TracBrowser for help on using the repository browser.