Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 12225 was 11795, checked in by landauf, 7 years ago

merged ogre1.9 (including cegui0.8) into new branch

  • Property svn:eol-style set to native
File size: 2.5 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"
[9348]23    skybox       = "Orxonox/skyBoxBasic"
[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
[11795]47    <MovableEntity
[8392]48      position="0,0,0"
49      scale="1000"
50      collisionType="dynamic"
51      linearDamping="0.8"
52      angularDamping="0"
53      mass="10000000"
54      pitch="0"
55      rotationaxis="1,0,0"
56      rotationrate="1.0"
[8496]57      collisiondamage = 2
58      enablecollisiondamage = true
[8392]59    >
60      <attached>
[11795]61        <Planet
62          mesh="planets/muunilinst.mesh"
63          atmosphere="atmosphere1"
64          atmospheresize="80.0f"
65          imagesize="1024.0f"
66        >
67          <attached>
68            <ForceField position="0,0,0" mode="sphere" diameter="10000" velocity="-50" />
69          </attached>
70        </Planet>
[8392]71      </attached>
72      <collisionShapes>
73        <SphereCollisionShape radius="1000" position="0,0,0" />
74      </collisionShapes>
[11795]75    </MovableEntity>
[8114]76
[11795]77    <MovableEntity
[8392]78      position="10000,0,0"
79      scale="100"
80      collisionType="dynamic"
81      linearDamping="0.8"
82      angularDamping="0"
83      mass="5000000"
84      pitch="0"
85      rotationaxis="1,0,0"
86      rotationrate="1.0"
[8496]87      collisiondamage = 2
88      enablecollisiondamage = true
[8392]89    >
90      <attached>
[11795]91        <Planet
92          mesh="planets/muunilinst.mesh"
93          atmosphere="atmosphere1"
94          atmospheresize="80.0f"
95          imagesize="1024.0f"
96        >
97          <attached>
98            <ForceField position="0,0,0" mode="sphere" diameter="1000" velocity="-500" />
99          </attached>
100        </Planet>
[8392]101      </attached>
102      <collisionShapes>
103        <SphereCollisionShape radius="100" position="0,0,0" />
104      </collisionShapes>
[11795]105    </MovableEntity>
[8114]106  </Scene>
107</Level>
Note: See TracBrowser for help on using the repository browser.