Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/planets.oxw @ 8666

Last change on this file since 8666 was 8498, checked in by dafrick, 14 years ago

Removing some tags because the cause warnings for now, might be re-added, see http://forum.orxonox.net/viewtopic.php?f=24&t=613

  • 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"
[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>
21
22  <Scene
[8384]23    ambientlight = "0.8, 0.8, 0.8"
24    skybox       = "Orxonox/skypanoramagen1"
[8114]25  >
[8384]26
[8392]27    <WorldAmbientSound
28      ambientSource="AlphaCentauri.ogg"
29      looping="true"
30      playOnLoad="true"
31    />
32   
33    <Light
34      type="directional"
35      position="-10000,-10000,0"
36      direction="0.253, 0.593, -0.765"
37      diffuse="1.0, 0.9, 0.9, 1.0"
38      specular="1.0, 0.9, 0.9, 1.0"
39    />
[8114]40
[8392]41    <SpawnPoint
42      position="1500,0,0"
43      lookat="0,0,0"
44      spawnclass="SpaceShip"
45      pawndesign="spaceshipHXY"
46    />
[8114]47
[8392]48    <Planet
49      position="0,0,0"
50      scale="1000"
51      collisionType="dynamic"
52      linearDamping="0.8"
53      angularDamping="0"
54      mass="10000000"
55      pitch="0"
[8438]56      mesh="planets/muunilinst.mesh"
[8392]57      atmosphere="atmosphere1"
58      rotationaxis="1,0,0"
59      rotationrate="1.0"
[8496]60      atmospheresize="80.0f"
[8392]61      imagesize="1024.0f"
[8496]62      collisiondamage = 2
63      enablecollisiondamage = true
[8392]64    >
65      <attached>
66        <ForceField position="0,0,0" mode="sphere" diameter="10000" velocity="-50" />
67      </attached>
68      <collisionShapes>
69        <SphereCollisionShape radius="1000" position="0,0,0" />
70      </collisionShapes>
71    </Planet>
[8114]72
[8392]73    <Planet
74      position="10000,0,0"
75      scale="100"
76      collisionType="dynamic"
77      linearDamping="0.8"
78      angularDamping="0"
79      mass="5000000"
80      pitch="0"
[8438]81      mesh="planets/ganymede.mesh"
[8392]82      atmosphere="atmosphere1"
83      rotationaxis="1,0,0"
84      rotationrate="1.0"
[8496]85      atmospheresize="80.0f"
[8392]86      imagesize="1024.0f"
[8496]87      collisiondamage = 2
88      enablecollisiondamage = true
[8392]89    >
90      <attached>
91        <ForceField position="0,0,0" mode="sphere" diameter="1000" velocity="-500" />
92      </attached>
93      <collisionShapes>
94        <SphereCollisionShape radius="100" position="0,0,0" />
95      </collisionShapes>
96    </Planet>
[8114]97  </Scene>
98</Level>
Note: See TracBrowser for help on using the repository browser.