Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/radarDreiD/data/levels/radar3D_test.oxw @ 10152

Last change on this file since 10152 was 9792, checked in by wroennin, 11 years ago

Math.cc: new function isObjectHigherThanShipOnMap, separated coordinatetransformation into a seperate function; Math.h: updated with new functions; HUDRadar.cc: added zOrder for rendering on screen; radar3D_test.oxw: canged spawn direction to 0,0,0

File size: 2.4 KB
Line 
1<LevelInfo
2 name = "radar3D_test"
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  gametype     = "Mission"
22>
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="-500,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort />
35   
36
37
38        <Pawn team=0 health=30 position="0,0,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box radarname = "0,0,0" >
39                <attached>
40                    <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" />
41                </attached>
42                <collisionShapes>
43                    <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
44                </collisionShapes>
45        </Pawn>
46
47        <Pawn team=1 health=30 position="0,1000,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box radarname = "0,1000,0" >
48                <attached>
49                    <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" />
50                </attached>
51                <collisionShapes>
52                    <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
53                </collisionShapes>
54        </Pawn>
55
56
57        <Pawn team=2 health=30 position="0,0,1000" direction="0,-1,0" collisionType=dynamic mass=100000 name=box radarname = "0,0,1000" >
58                <attached>
59                    <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" />
60                </attached>
61                <collisionShapes>
62                    <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
63                </collisionShapes>
64        </Pawn>
65
66        <Pawn team=3 health=30 position="1000,0,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box radarname = "1000,0,0" >
67                <attached>
68                    <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" />
69                </attached>
70                <collisionShapes>
71                    <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
72                </collisionShapes>
73        </Pawn>
74
75  </Scene>
76</Level>
77
Note: See TracBrowser for help on using the repository browser.