Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation/data/levels/planets.oxw @ 8637

Last change on this file since 8637 was 8637, checked in by dafrick, 13 years ago

Merging tutoriallevel3 branch into presentation branch.

  • Property svn:eol-style set to native
File size: 2.3 KB
RevLine 
[8384]1<LevelInfo
2 name = "Planet Demonstration"
3 description = "Demonstration of Planets"
[8498]4 tags = "showcase"
[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>
[8637]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"
[8496]61      atmospheresize="80.0f"
[8392]62      imagesize="1024.0f"
[8496]63      collisiondamage = 2
64      enablecollisiondamage = true
[8392]65    >
66      <attached>
67        <ForceField position="0,0,0" mode="sphere" diameter="10000" velocity="-50" />
68      </attached>
69      <collisionShapes>
70        <SphereCollisionShape radius="1000" position="0,0,0" />
71      </collisionShapes>
72    </Planet>
[8114]73
[8392]74    <Planet
75      position="10000,0,0"
76      scale="100"
77      collisionType="dynamic"
78      linearDamping="0.8"
79      angularDamping="0"
80      mass="5000000"
81      pitch="0"
[8438]82      mesh="planets/ganymede.mesh"
[8392]83      atmosphere="atmosphere1"
84      rotationaxis="1,0,0"
85      rotationrate="1.0"
[8496]86      atmospheresize="80.0f"
[8392]87      imagesize="1024.0f"
[8496]88      collisiondamage = 2
89      enablecollisiondamage = true
[8392]90    >
91      <attached>
92        <ForceField position="0,0,0" mode="sphere" diameter="1000" velocity="-500" />
93      </attached>
94      <collisionShapes>
95        <SphereCollisionShape radius="100" position="0,0,0" />
96      </collisionShapes>
97    </Planet>
[8114]98  </Scene>
99</Level>
Note: See TracBrowser for help on using the repository browser.