Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/environment3/data/levels/asteroidField.oxw @ 8963

Last change on this file since 8963 was 8963, checked in by fmauro, 13 years ago

removed bad levelinfo tag in asteroidField.oxw

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