Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/menue/data/levels/planets.oxw @ 8945

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