Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 9342 was 9016, checked in by jo, 13 years ago

Merging presentation2011 branch to trunk. Please check for possible bugs.

  • 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"
[9016]5 screenshot = "planetdemonstration.png"
[8384]6/>
7
[8114]8<?lua
[8384]9  include("stats.oxo")
[8134]10  include("HUDTemplates3.oxo")
11  include("templates/lodInformation.oxt")
[8392]12  include("templates/spaceshipHXY.oxt")
[8114]13?>
14
[9016]15<Level>
[8114]16  <templates>
[8392]17    <Template link="lodtemplate_default" />
[8114]18  </templates>
[8706]19  <?lua include("includes/notifications.oxi") ?>
[8114]20
21  <Scene
[8384]22    ambientlight = "0.8, 0.8, 0.8"
23    skybox       = "Orxonox/skypanoramagen1"
[8114]24  >
[8384]25
[8392]26    <WorldAmbientSound
27      ambientSource="AlphaCentauri.ogg"
28      looping="true"
29      playOnLoad="true"
30    />
31   
32    <Light
33      type="directional"
34      position="-10000,-10000,0"
35      direction="0.253, 0.593, -0.765"
36      diffuse="1.0, 0.9, 0.9, 1.0"
37      specular="1.0, 0.9, 0.9, 1.0"
38    />
[8114]39
[8392]40    <SpawnPoint
41      position="1500,0,0"
42      lookat="0,0,0"
43      spawnclass="SpaceShip"
44      pawndesign="spaceshipHXY"
45    />
[8114]46
[8392]47    <Planet
48      position="0,0,0"
49      scale="1000"
50      collisionType="dynamic"
51      linearDamping="0.8"
52      angularDamping="0"
53      mass="10000000"
54      pitch="0"
[8438]55      mesh="planets/muunilinst.mesh"
[8392]56      atmosphere="atmosphere1"
57      rotationaxis="1,0,0"
58      rotationrate="1.0"
[8496]59      atmospheresize="80.0f"
[8392]60      imagesize="1024.0f"
[8496]61      collisiondamage = 2
62      enablecollisiondamage = true
[8392]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"
[8891]80      mesh="planets/muunilinst.mesh"
[8392]81      atmosphere="atmosphere1"
82      rotationaxis="1,0,0"
83      rotationrate="1.0"
[8496]84      atmospheresize="80.0f"
[8392]85      imagesize="1024.0f"
[8496]86      collisiondamage = 2
87      enablecollisiondamage = true
[8392]88    >
89      <attached>
90        <ForceField position="0,0,0" mode="sphere" diameter="1000" velocity="-500" />
91      </attached>
92      <collisionShapes>
93        <SphereCollisionShape radius="100" position="0,0,0" />
94      </collisionShapes>
95    </Planet>
[8114]96  </Scene>
97</Level>
Note: See TracBrowser for help on using the repository browser.