1 | <LevelInfo |
---|
2 | name = "asteroidFieldTest" |
---|
3 | description = "Test of the asteroidField generator." |
---|
4 | tags = "" |
---|
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" |
---|
30 | hasPhysics = true |
---|
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 /> |
---|
35 | |
---|
36 | <!-- Generate asteroid field and asteroid belt --> |
---|
37 | <?lua |
---|
38 | dofile("includes/asteroidField.lua") |
---|
39 | asteroidBelt(0, 0, 0, -48, -34, 70, 100, 200, 219900, 210000, 900, 1) |
---|
40 | ?> |
---|
41 | |
---|
42 | </Scene> |
---|
43 | </Level> |
---|
44 | |
---|