Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/AI_HS15/data/levels/planets.oxw @ 10759

Last change on this file since 10759 was 9348, checked in by landauf, 12 years ago

merged branch presentation2012merge back to trunk

  • Property svn:eol-style set to native
File size: 2.2 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    <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"
55      mesh="planets/muunilinst.mesh"
56      atmosphere="atmosphere1"
57      rotationaxis="1,0,0"
58      rotationrate="1.0"
59      atmospheresize="80.0f"
60      imagesize="1024.0f"
61      collisiondamage = 2
62      enablecollisiondamage = true
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>
71
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"
80      mesh="planets/muunilinst.mesh"
81      atmosphere="atmosphere1"
82      rotationaxis="1,0,0"
83      rotationrate="1.0"
84      atmospheresize="80.0f"
85      imagesize="1024.0f"
86      collisiondamage = 2
87      enablecollisiondamage = true
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>
96  </Scene>
97</Level>
Note: See TracBrowser for help on using the repository browser.