Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

Cleaned up the process passing the collisionshape which was hit to the Pawn. Started implementation of ModularSpaceShip and ShipPart.

  • Property svn:eol-style set to native
File size: 4.3 KB
RevLine 
[7648]1<LevelInfo
2 name = "Empty level"
3 description = "A level with absolutely nothing in it."
4 tags = "test"
[9016]5 screenshot = "emptylevel.png"
[7648]6/>
7
[5433]8<?lua
[5654]9  include("stats.oxo")
[7679]10  include("HUDTemplates3.oxo")
11  include("templates/lodInformation.oxt")
[5433]12?>
13
14<?lua
[8706]15  include("templates/spaceshipAssff2.oxt")
[7679]16  include("templates/spaceshipPirate.oxt")
[9415]17  include("templates/spaceshipEscort.oxt")
[10011]18  include("templates/HeavyCruiser.oxt")
[5433]19?>
20
[9016]21<Level>
[7163]22  <templates>
23    <Template link=lodtemplate_default />
24  </templates>
[8706]25  <?lua include("includes/notifications.oxi") ?>
[7163]26
[5433]27  <Scene
[5499]28    ambientlight = "0.8, 0.8, 0.8"
[5433]29    skybox       = "Orxonox/Starbox"
30  >
[7163]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"/>
[9415]33    <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort />
[6524]34   
[9995]35    <MovableEntity position="0,0,0" collisionType=dynamic scale=1 linearDamping=0.8 angularDamping=0  collisiondamage=0.005 enablecollisiondamage=true>
36    <attached>
37        <Model position="0,0,0" mesh="cube.mesh" scale3D="40,40,40" />
38        <StaticEntity position="0,90,0" direction="0,0,0" collisionType=static mass=100 friction=0.01 >
39            <attached>
40                <Model position="0,0,0" mesh="cube.mesh" scale3D="30,30,30" />
41            </attached>
42            <collisionShapes>
43                <BoxCollisionShape position="0,0,0" halfExtents="30,30,30" />
44            </collisionShapes>
45        </StaticEntity>
46    </attached>
47    <collisionShapes>
48        <BoxCollisionShape position="0,0,0" halfExtents="40,40,40" />
49    </collisionShapes>
50    </MovableEntity>
51   
[10001]52    <Pawn health=1000 initialhealth=1000 maxhealth=1000 position="0,-100,-100" direction="0,0,0" collisionType=dynamic mass=1000 name=box radarname = "Pawn 0" >
[9995]53        <attached>
[10001]54            <Model position="0,0,0" mesh="crate.mesh" scale3D="6,6,6" />
55            <Model position="0,-60,0" mesh="cube.mesh" scale3D="30,30,30" />
56            <StaticEntity position="0,-120,0" direction="0,0,0" collisionType=static mass=100 friction=0.01 >
[9997]57                <attached>
[10001]58                    <Model position="0,0,0" mesh="crate.mesh" scale3D="6,6,6" />
59                    <Model position="0,0,60" mesh="cube.mesh" scale3D="30,30,30" />
[9997]60                </attached>
61                <collisionShapes>
[10001]62                    <BoxCollisionShape position="0,0,0" halfExtents="30,30,30" />
63                    <BoxCollisionShape position="0,0,60" halfExtents="30,30,30" />
[9997]64                </collisionShapes>
65            </StaticEntity>
[10003]66            <StaticEntity position="0,-180,0" direction="0,0,0" collisionType=static mass=100 friction=0.01 >
67                <attached>
68                    <Model position="0,0,0" mesh="crate.mesh" scale3D="6,6,6" />
69                    <Model position="0,-60,0" mesh="cube.mesh" scale3D="30,30,30" />
70                </attached>
71                <collisionShapes>
72                    <BoxCollisionShape position="0,0,0" halfExtents="30,30,30" />
73                    <BoxCollisionShape position="0,-60,0" halfExtents="30,30,30" />
74                </collisionShapes>
75            </StaticEntity>
[9995]76        </attached>
77        <collisionShapes>
[10001]78            <BoxCollisionShape position="0,0,0" halfExtents="30,30,30" />
79            <BoxCollisionShape position="0,-60,0" halfExtents="30,30,30" />
[9995]80        </collisionShapes>
81    </Pawn>
[10001]82
83    <Pawn health=1000 initialhealth=1000 maxhealth=1000 position="0,-100,100" direction="0,0,0" collisionType=dynamic mass=1000 name=box radarname = "Pawn 1" >
84        <attached>
85            <Model position="0,0,0" mesh="crate.mesh" scale3D="6,6,6" />
86            <Model position="0,-60,0" mesh="cube.mesh" scale3D="30,30,30" />
87        </attached>
88        <collisionShapes>
89            <BoxCollisionShape position="0,0,0" halfExtents="30,30,30" />
90            <BoxCollisionShape position="0,-60,0" halfExtents="30,30,30" />
91        </collisionShapes>
92    </Pawn>
[9995]93   
[10011]94    <ModularSpaceShip position="0,-100,-200">
95      <templates>
96        <Template link=spaceshippirate />
97      </templates>
98    </ModularSpaceShip>
99   
100    <ModularSpaceShip position="0,-1000,-200">
101      <templates>
102        <Template link=HeavyCruiser />
103      </templates>
104    </ModularSpaceShip>
105   
[5433]106  </Scene>
107</Level>
[7163]108
Note: See TracBrowser for help on using the repository browser.