Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/mac_osx/data/levels/planets.oxw @ 8513

Last change on this file since 8513 was 8262, checked in by youngk, 14 years ago

Changing planets level

  • Property svn:executable set to *
File size: 1.8 KB
RevLine 
[8114]1<?lua
2  include("hudtemplates3.oxo")
3  include("stats.oxo")
4  include("templates/lodinformation.oxt")
5  include("templates/spaceship_swallow.oxt")
6  include("templates/spaceship_pirate.oxt")
7?>
8
9
10
11<Level
12 name         = "Planet_Demo"
13 description  = "Demonstration of planets with high resolution."
14
15>
16  <templates>
17   <Template link=lodtemplate_default />
18  </templates>
19
20  <Scene
21   ambientlight = "0.5, 0.5, 0.5"
22   skybox       = "Orxonox/skypanoramagen1"
23  >
24   
[8262]25    <AmbientSound ambientSource="AlphaCentauri.ogg" looping="true" playOnLoad="true" />
26    <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" />
[8114]27
[8262]28    <?lua
29      planetsize=4000
30    ?>
[8114]31
[8262]32    <SpawnPoint position="<?lua print(math.sin(1.5) *(2)*planetsize) ?>,<?lua print(math.cos(1.5) *3*planetsize) ?>,<?lua print(500) ?>" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipswallow />
[8114]33
34
[8262]35    <Planet position="0,0,0" scale="<?lua print(planetsize) ?>" pitch=-90 mesh="Muunilinst.mesh" atmosphere="atmosphere1" rotationaxis="0,1,0" rotationrate="0.2" atmospheresize=300.0f imagesize=1024.0f />
[8114]36
[8262]37    <Planet position="<?lua print(3*planetsize) ?>,0,0" scale=1000 pitch=30 mesh="ganymede.mesh" atmosphere="atmosphere1" rotationaxis="1,0,1" rotationrate="1.5" atmospheresize=224.0f imagesize=1024.0f />
[8114]38
[8262]39    <Planet position="0,<?lua print(3*planetsize) ?>,0" scale=1000 pitch=30 mesh="jupiter.mesh" atmosphere="atmosphere1" rotationaxis="1,0,1" rotationrate="1.5" atmospheresize=224.0f imagesize=1024.0f />
40
41    <Planet position="0,0,<?lua print(3*planetsize) ?>" scale=1000 pitch=30 mesh="Planet3.mesh" atmosphere="atmosphere1" rotationaxis="1,0,1" rotationrate="1.5" atmospheresize=224.0f imagesize=1024.0f />
42
[8114]43  </Scene>
44</Level>
Note: See TracBrowser for help on using the repository browser.