Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/OrxoBlox_FS19/data/levels/ModularShipsTest1.oxw @ 12397

Last change on this file since 12397 was 10262, checked in by landauf, 10 years ago

eol-style native. no changes in code.

  • Property svn:eol-style set to native
File size: 4.5 KB
Line 
1<LevelInfo
2 name = "Modular Ships - Test 1"
3 description = "A level to test the implementation of HeavyCruiser as modular spaceship."
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?>
20
21<Level>
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  >
31
32    <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"/>
33    <!-- <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort /> -->
34    <SpawnPoint team=0 position="-500,0,0" lookat="0,0,0" spawnclass=ModularSpaceShip pawndesign=HeavyCruiser />
35   
36    <MovableEntity position="0,0,0" collisionType=dynamic scale=1 linearDamping=0.8 angularDamping=0  collisiondamage=0.005 enablecollisiondamage=true>
37    <attached>
38        <Model position="0,0,0" mesh="cube.mesh" scale3D="40,40,40" />
39        <StaticEntity position="0,90,0" direction="0,0,0" collisionType=static mass=100 friction=0.01 >
40            <attached>
41                <Model position="0,0,0" mesh="cube.mesh" scale3D="30,30,30" />
42            </attached>
43            <collisionShapes>
44                <BoxCollisionShape position="0,0,0" halfExtents="30,30,30" />
45            </collisionShapes>
46        </StaticEntity>
47    </attached>
48    <collisionShapes>
49        <BoxCollisionShape position="0,0,0" halfExtents="40,40,40" />
50    </collisionShapes>
51    </MovableEntity>
52   
53    <Pawn health=1000 initialhealth=1000 maxhealth=1000 position="0,-100,-100" direction="0,0,0" collisionType=dynamic mass=1000 name=box radarname = "Pawn 0" >
54        <attached>
55            <Model position="0,0,0" mesh="crate.mesh" scale3D="6,6,6" />
56            <Model position="0,-60,0" mesh="cube.mesh" scale3D="30,30,30" />
57            <StaticEntity position="0,-120,0" direction="0,0,0" collisionType=static mass=100 friction=0.01 >
58                <attached>
59                    <Model position="0,0,0" mesh="crate.mesh" scale3D="6,6,6" />
60                    <Model position="0,0,60" mesh="cube.mesh" scale3D="30,30,30" />
61                </attached>
62                <collisionShapes>
63                    <BoxCollisionShape position="0,0,0" halfExtents="30,30,30" />
64                    <BoxCollisionShape position="0,0,60" halfExtents="30,30,30" />
65                </collisionShapes>
66            </StaticEntity>
67            <StaticEntity position="0,-180,0" direction="0,0,0" collisionType=static mass=100 friction=0.01 >
68                <attached>
69                    <Model position="0,0,0" mesh="crate.mesh" scale3D="6,6,6" />
70                    <Model position="0,-60,0" mesh="cube.mesh" scale3D="30,30,30" />
71                </attached>
72                <collisionShapes>
73                    <BoxCollisionShape position="0,0,0" halfExtents="30,30,30" />
74                    <BoxCollisionShape position="0,-60,0" halfExtents="30,30,30" />
75                </collisionShapes>
76            </StaticEntity>
77        </attached>
78        <collisionShapes>
79            <BoxCollisionShape position="0,0,0" halfExtents="30,30,30" />
80            <BoxCollisionShape position="0,-60,0" halfExtents="30,30,30" />
81        </collisionShapes>
82    </Pawn>
83
84    <Pawn health=1000 initialhealth=1000 maxhealth=1000 position="0,-100,100" direction="0,0,0" collisionType=dynamic mass=1000 name=box radarname = "Pawn 1" >
85        <attached>
86            <Model position="0,0,0" mesh="crate.mesh" scale3D="6,6,6" />
87            <Model position="0,-60,0" mesh="cube.mesh" scale3D="30,30,30" />
88        </attached>
89        <collisionShapes>
90            <BoxCollisionShape position="0,0,0" halfExtents="30,30,30" />
91            <BoxCollisionShape position="0,-60,0" halfExtents="30,30,30" />
92        </collisionShapes>
93    </Pawn>
94   
95    <ModularSpaceShip position="0,-100,-200">
96      <templates>
97        <Template link=spaceshippirate />
98      </templates>
99    </ModularSpaceShip>
100   
101    <ModularSpaceShip position="0,-1000,-200" health="2000" maxhealth="4000" initialhealth="2000">
102      <templates>
103        <Template link=HeavyCruiser />
104      </templates>
105    </ModularSpaceShip>
106   
107  </Scene>
108</Level>
109
Note: See TracBrowser for help on using the repository browser.