Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/cegui0.8_ogre1.9/data/levels/planets.oxw @ 11843

Last change on this file since 11843 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
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  <templates>
17    <Template link="lodtemplate_default" />
18  </templates>
19  <?lua include("includes/notifications.oxi") ?>
20
21  <Scene
22    ambientlight = "0.8, 0.8, 0.8"
23    skybox       = "Orxonox/skyBoxBasic"
24  >
25
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    />
39
40    <SpawnPoint
41      position="1500,0,0"
42      lookat="0,0,0"
43      spawnclass="SpaceShip"
44      pawndesign="spaceshipHXY"
45    />
46
47    <MovableEntity
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"
57      collisiondamage = 2
58      enablecollisiondamage = true
59    >
60      <attached>
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>
71      </attached>
72      <collisionShapes>
73        <SphereCollisionShape radius="1000" position="0,0,0" />
74      </collisionShapes>
75    </MovableEntity>
76
77    <MovableEntity
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"
87      collisiondamage = 2
88      enablecollisiondamage = true
89    >
90      <attached>
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>
101      </attached>
102      <collisionShapes>
103        <SphereCollisionShape radius="100" position="0,0,0" />
104      </collisionShapes>
105    </MovableEntity>
106  </Scene>
107</Level>
Note: See TracBrowser for help on using the repository browser.