Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 10784 was 10760, checked in by fvultier, 9 years ago

2 problems fixed: The collidesAgainst function in the hovership get now properly called. The Hoverhalls have a collisionShape that works.

File size: 2.3 KB
RevLine 
[10660]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")
[10760]16  include("templates/spaceshipHover.oxt")
[10660]17?>
18
19<Level
[10664]20plugins = hover
[10660]21gametype = Hover
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  >
[10668]32 
[10660]33
[10668]34
35 
36
37  <StaticEntity position="200,0,0" collisionType="static">
38    <attached>
[10708]39      <Model position="500, 0, 0" yaw="0" pitch="0" roll="0" scale3D="500, 30, 2" mesh="cube_red.mesh" />
40      <Model position="500, 0, 1000" yaw="0" pitch="0" roll="0" scale3D="500, 30, 2" mesh="cube_red.mesh" />     
41      <Model position="0, 0, 500" yaw="0" pitch="0" roll="0" scale3D="2, 30, 500" mesh="cube_green.mesh" />     
42      <Model position="1000, 0, 500" yaw="0" pitch="0" roll="0" scale3D="2, 30, 500" mesh="cube_green.mesh" />
[10668]43    </attached>
44    <collisionShapes>
[10751]45      <BoxCollisionShape yaw="0" pitch="0" roll="0" position="500,0,0" halfExtents="500, 30, 2" />
46      <BoxCollisionShape yaw="0" pitch="0" roll="0" position="500,0,1000" halfExtents="500, 30, 2" />
[10708]47      <BoxCollisionShape yaw="0" pitch="0" roll="0" position="0,0,500" halfExtents="2, 30, 500" />
[10751]48      <BoxCollisionShape yaw="0" pitch="0" roll="0" position="1000,0,500" halfExtents="2, 30, 500" />
[10708]49
[10668]50    </collisionShapes>
51  </StaticEntity>
52
[10708]53  <StaticEntity position="0,0,0" collisionType="static">
[10668]54    <attached>
[10700]55      <Model position="0, 0,0" yaw="0" pitch="0" roll="0" scale3D="10000, 1, 10000" mesh="CubeGround.mesh" />     
[10668]56    </attached>
57    <collisionShapes>
[10708]58      <BoxCollisionShape yaw="0" pitch="0" roll="0" position="0,0,0" halfExtents="1, 1, 1" />
[10668]59    </collisionShapes>
60  </StaticEntity>
61
62
[10751]63    <MovableEntity>
64      <attached>
65        <HoverOrigin>
66
67          <attached>
68
69          </attached>
70        </HoverOrigin>
71      </attached>
72    </MovableEntity>
73
74
75
[10668]76   
[10660]77    <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"/>
[10760]78    <SpawnPoint team=0 position="0,100,0" lookat="100,100,0" spawnclass=HoverShip pawndesign=spaceshiphover />
[10660]79   
80  </Scene>
81</Level>
82
Note: See TracBrowser for help on using the repository browser.