Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 8748 was 8706, checked in by dafrick, 14 years ago

Merging presentation branch back into trunk.
There are many new features and also a lot of other changes and bugfixes, if you want to know, digg through the svn log.
Not everything is yet working as it should, but it should be fairly stable. If you habe any bug reports, just send me an email.

  • 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/>
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="80.0f"
62      imagesize="1024.0f"
63      collisiondamage = 2
64      enablecollisiondamage = true
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>
73
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"
82      mesh="planets/ganymede.mesh"
83      atmosphere="atmosphere1"
84      rotationaxis="1,0,0"
85      rotationrate="1.0"
86      atmospheresize="80.0f"
87      imagesize="1024.0f"
88      collisiondamage = 2
89      enablecollisiondamage = true
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>
98  </Scene>
99</Level>
Note: See TracBrowser for help on using the repository browser.