Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 8253 was 8253, checked in by sladojem, 13 years ago

Planets level file updated.

  • Property svn:executable set to *
File size: 1.3 KB
Line 
1<LevelInfo
2 name = "Planets"
3 description = "Planets Level"
4 tags = "test"
5/>
6
7<?lua
8  include("HUDTemplates3.oxo")
9  include("stats.oxo")
10  include("templates/spaceshipAssff.oxt")
11  include("templates/lodInformation.oxt")
12?>
13
14<Level
15 name         = "Sample"
16 description  = "Just a few tests"
17>
18  <templates>
19    <Template link=lodtemplate_default />
20  </templates>
21
22  <Scene
23   ambientlight = "0.3, 0.3, 0.3"
24   skybox       = "Orxonox/Starbox"
25  >
26 
27  <AmbientSound ambientSource="AlphaCentauri.ogg" looping="true" playOnLoad="true" />
28  <Light type=directional position="-10000,-10000,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" />
29
30  <?lua
31    planetsize=40000
32  ?>
33
34  <SpawnPoint position="<?lua print(math.sin(1.5) *(3)*planetsize) ?>,<?lua print(math.cos(1.5) *3*planetsize) ?>,<?lua print(500) ?>" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
35
36  <Planet position="0,0,0" scale="<?lua print(planetsize) ?>" pitch=-90 mesh="iceplanet.mesh" atmosphere="atmosphere1" rotationaxis="0,1,0" rotationrate="0.2" atmospheresize=300.0f imagesize=1024.0f />
37  <Planet position="<?lua print(5*planetsize) ?>,0,0" scale=10000 pitch=30 mesh="iceplanet.mesh" atmosphere="atmosphere1" rotationaxis="1,0,1" rotationrate="1.5" atmospheresize=224.0f imagesize=1024.0f />
38
39  </Scene>
40</Level>
Note: See TracBrowser for help on using the repository browser.