Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/modularships/data/levels/emptyLevel.oxw @ 10001

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

Tried (and failed) to fix output of CollisionShape-structure

  • Property svn:eol-style set to native
File size: 3.3 KB
Line 
1<LevelInfo
2 name = "Empty level"
3 description = "A level with absolutely nothing in it."
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?>
19
20<Level>
21  <templates>
22    <Template link=lodtemplate_default />
23  </templates>
24  <?lua include("includes/notifications.oxi") ?>
25
26  <Scene
27    ambientlight = "0.8, 0.8, 0.8"
28    skybox       = "Orxonox/Starbox"
29  >
30
31    <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"/>
32    <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort />
33   
34    <MovableEntity position="0,0,0" collisionType=dynamic scale=1 linearDamping=0.8 angularDamping=0  collisiondamage=0.005 enablecollisiondamage=true>
35    <attached>
36        <Model position="0,0,0" mesh="cube.mesh" scale3D="40,40,40" />
37        <StaticEntity position="0,90,0" direction="0,0,0" collisionType=static mass=100 friction=0.01 >
38            <attached>
39                <Model position="0,0,0" mesh="cube.mesh" scale3D="30,30,30" />
40            </attached>
41            <collisionShapes>
42                <BoxCollisionShape position="0,0,0" halfExtents="30,30,30" />
43            </collisionShapes>
44        </StaticEntity>
45    </attached>
46    <collisionShapes>
47        <BoxCollisionShape position="0,0,0" halfExtents="40,40,40" />
48    </collisionShapes>
49    </MovableEntity>
50   
51    <Pawn health=1000 initialhealth=1000 maxhealth=1000 position="0,-100,-100" direction="0,0,0" collisionType=dynamic mass=1000 name=box radarname = "Pawn 0" >
52        <attached>
53            <Model position="0,0,0" mesh="crate.mesh" scale3D="6,6,6" />
54            <Model position="0,-60,0" mesh="cube.mesh" scale3D="30,30,30" />
55            <StaticEntity position="0,-120,0" direction="0,0,0" collisionType=static mass=100 friction=0.01 >
56                <attached>
57                    <Model position="0,0,0" mesh="crate.mesh" scale3D="6,6,6" />
58                    <Model position="0,0,60" mesh="cube.mesh" scale3D="30,30,30" />
59                </attached>
60                <collisionShapes>
61                    <BoxCollisionShape position="0,0,0" halfExtents="30,30,30" />
62                    <BoxCollisionShape position="0,0,60" halfExtents="30,30,30" />
63                </collisionShapes>
64            </StaticEntity>
65        </attached>
66        <collisionShapes>
67            <BoxCollisionShape position="0,0,0" halfExtents="30,30,30" />
68            <BoxCollisionShape position="0,-60,0" halfExtents="30,30,30" />
69        </collisionShapes>
70    </Pawn>
71
72    <Pawn health=1000 initialhealth=1000 maxhealth=1000 position="0,-100,100" direction="0,0,0" collisionType=dynamic mass=1000 name=box radarname = "Pawn 1" >
73        <attached>
74            <Model position="0,0,0" mesh="crate.mesh" scale3D="6,6,6" />
75            <Model position="0,-60,0" mesh="cube.mesh" scale3D="30,30,30" />
76        </attached>
77        <collisionShapes>
78            <BoxCollisionShape position="0,0,0" halfExtents="30,30,30" />
79            <BoxCollisionShape position="0,-60,0" halfExtents="30,30,30" />
80        </collisionShapes>
81    </Pawn>
82   
83  </Scene>
84</Level>
85
Note: See TracBrowser for help on using the repository browser.