Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/modularships/data/levels/ModularShipsTest0.oxw @ 10073

Last change on this file since 10073 was 10053, checked in by noep, 11 years ago

Fixed yet another segfault (which we hadn't seen yet).
Cleared emptyLevel, created two testlevels (testing with boxes)

File size: 2.4 KB
Line 
1<LevelInfo
2 name = "Modular Ships - Test 0"
3 description = "A level to test the basic functions of modular spaceships using simple boxes."
4 tags = "test"
5 screenshot = "emptylevel.png"
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  include("templates/spaceshipEscort.oxt")
18  include("templates/HeavyCruiser.oxt")
19  include("templates/ModularSpaceShipTest.oxt")
20?>
21
22<Level>
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"
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=spaceshipescort />
35   
36    <ModularSpaceShip position="0,0,0" health="2000" maxhealth="4000" initialhealth="2000">
37      <templates>
38        <Template link=ModularSpaceShipTest />
39      </templates>
40    </ModularSpaceShip>
41   
42    <StaticEntity position="0,0,60" direction="0,0,0" collisionType=static mass=100 friction=0.01 >
43        <attached>
44            <Model position="0,0,0" mesh="cube.mesh" scale3D="10,10,10" />
45        </attached>
46        <collisionShapes>
47        </collisionShapes>
48    </StaticEntity>
49   
50        <StaticEntity position="0,60,0" direction="0,0,0" collisionType=static mass=100 friction=0.01 >
51        <attached>
52            <Model position="0,0,0" mesh="cube.mesh" scale3D="10,10,10" />
53        </attached>
54        <collisionShapes>
55        </collisionShapes>
56    </StaticEntity>
57   
58        <StaticEntity position="0,0,-60" direction="0,0,0" collisionType=static mass=100 friction=0.01 >
59        <attached>
60            <Model position="0,0,0" mesh="cube.mesh" scale3D="10,10,10" />
61        </attached>
62        <collisionShapes>
63        </collisionShapes>
64    </StaticEntity>
65   
66    <StaticEntity position="0,-60,0" direction="0,0,0" collisionType=static mass=100 friction=0.01 >
67        <attached>
68            <Model position="0,0,0" mesh="cube.mesh" scale3D="10,10,10" />
69        </attached>
70        <collisionShapes>
71        </collisionShapes>
72    </StaticEntity>
73   
74  </Scene>
75</Level>
76
Note: See TracBrowser for help on using the repository browser.