Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation2011/data/levels/asteroidField.oxw @ 8981

Last change on this file since 8981 was 8981, checked in by jo, 13 years ago

Fixed level preview screenshots & levelinfo tags

File size: 1.1 KB
RevLine 
[8889]1<LevelInfo
2 name = "asteroidFieldTest"
3 description = "Test of the asteroidField generator."
[8981]4  screenshot = "asteroidFieldTest.png"
[8963]5 tags = ""
[8889]6/>
7
8<?lua
9  include("stats.oxo")
10  include("HUDTemplates3.oxo")
11  include("templates/lodInformation.oxt")
12?>
13
14<?lua
15  include("templates/spaceshipAssff2.oxt")
16  include("templates/spaceshipPirate.oxt")
17?>
18
19<Level
20 name         = "Sample"
21 description  = "Just a few tests"
22>
23  <templates>
24    <Template link=lodtemplate_default />
25  </templates>
26  <?lua include("includes/notifications.oxi") ?>
27
28  <Scene
29    ambientlight = "0.8, 0.8, 0.8"
30    skybox       = "Orxonox/Starbox"
[8917]31    hasPhysics   = true
[8889]32  >
33
34    <Light type=directional position="0,0,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"/>
35    <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff2 />
[8917]36
[8961]37    <!-- Generate asteroid field and asteroid belt -->   
[8889]38    <?lua
39        dofile("includes/asteroidField.lua")
[8972]40        asteroidBelt(0, 0, 0, -48, -34, 70, 100, 200, 219900, 210000, 900, 1)
[8889]41    ?>
42   
43  </Scene>
44</Level>
45
Note: See TracBrowser for help on using the repository browser.