Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/hoverHS15/data/levels/Hover.oxw @ 10895

Last change on this file since 10895 was 10895, checked in by bucyril, 8 years ago

Added HUD and stuff

File size: 2.4 KB
Line 
1<LevelInfo
2 name = "Hover level"
3 description = "Level for Minigame Hover"
4 tags = "minigame"
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/spaceshipPirate.oxt")
16  include("templates/spaceshipHover.oxt")
17  include("overlays/HoverHUD.oxo")
18?>
19
20<Level
21plugins = hover
22gametype = Hover
23>
24  <templates>
25    <Template link=lodtemplate_default />
26  </templates>
27  <?lua include("includes/notifications.oxi") ?>
28
29  <Scene
30    ambientlight = "0.8, 0.8, 0.8"
31    skybox       = "Orxonox/Starbox"
32    gravity      = "0, -40, 0"
33  >
34 
35
36
37 
38
39  <StaticEntity position="0,0,0" collisionType="static">
40    <attached>
41      <Model position="500, 0, 0" yaw="0" pitch="0" roll="0" scale3D="500, 30, 2" mesh="cube_red.mesh" />
42      <Model position="500, 0, 1000" yaw="0" pitch="0" roll="0" scale3D="500, 30, 2" mesh="cube_red.mesh" />     
43      <Model position="0, 0, 500" yaw="0" pitch="0" roll="0" scale3D="2, 30, 500" mesh="cube_green.mesh" />     
44      <Model position="1000, 0, 500" yaw="0" pitch="0" roll="0" scale3D="2, 30, 500" mesh="cube_green.mesh" />
45    </attached>
46    <collisionShapes>
47      <BoxCollisionShape yaw="0" pitch="0" roll="0" position="500,0,0" halfExtents="500, 30, 2" />
48      <BoxCollisionShape yaw="0" pitch="0" roll="0" position="500,0,1000" halfExtents="500, 30, 2" />
49      <BoxCollisionShape yaw="0" pitch="0" roll="0" position="0,0,500" halfExtents="2, 30, 500" />
50      <BoxCollisionShape yaw="0" pitch="0" roll="0" position="1000,0,500" halfExtents="2, 30, 500" />
51
52    </collisionShapes>
53  </StaticEntity>
54
55  <StaticEntity position="0,0,0" collisionType="static">
56    <attached>
57      <Model position="0, 0,0" yaw="0" pitch="0" roll="0" scale3D="10000, 1, 10000" mesh="CubeGround.mesh" />     
58    </attached>
59    <collisionShapes>
60      <BoxCollisionShape yaw="0" pitch="0" roll="0" position="0,0,0" halfExtents="10000, 1, 10000" />
61    </collisionShapes>
62  </StaticEntity>
63
64
65    <MovableEntity position="0,0,0">
66      <attached>
67        <HoverOrigin>
68
69          <attached>
70
71          </attached>
72        </HoverOrigin>
73      </attached>
74    </MovableEntity>
75
76
77
78   
79    <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"/>
80    <SpawnPoint team=0 position="0,100,0" lookat="100,100,0" spawnclass=HoverShip pawndesign=spaceshiphover />
81   
82  </Scene>
83</Level>
84
Note: See TracBrowser for help on using the repository browser.