Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Boxhead_FS19/data/levels/Hover.oxw @ 12397

Last change on this file since 12397 was 12397, checked in by kofrey, 5 years ago

abc

  • Property svn:eol-style set to native
File size: 2.5 KB
RevLine 
[10660]1<LevelInfo
2 name = "Hover level"
3 description = "Level for Minigame Hover"
4 tags = "minigame"
[11495]5 screenshot = "emptylevel.png"
[10660]6/>
7
8<?lua
9  include("stats.oxo")
10  include("HUDTemplates3.oxo")
11  include("templates/lodInformation.oxt")
12?>
13
14<?lua
[10760]15  include("templates/spaceshipHover.oxt")
[12299]16  include("templates/spaceshipzombie.oxt")
[10660]17?>
18
[12299]19
[11040]20<?lua
21MAZE_NUM_CELLS = 10
[11495]22MAZE_CELL_SIZE = 100
[12261]23MAZE_CELL_HEIGHT = 100
[11040]24MAZE_SIZE = MAZE_NUM_CELLS*MAZE_CELL_SIZE
25?>
26
[12390]27<Level
[10664]28plugins = hover
[10660]29gametype = Hover
30>
31  <templates>
32    <Template link=lodtemplate_default />
33  </templates>
34  <?lua include("includes/notifications.oxi") ?>
35
36  <Scene
37    ambientlight = "0.8, 0.8, 0.8"
38    skybox       = "Orxonox/Starbox"
[11495]39    gravity      = "0, -200, 0"
[10660]40  >
41
[11040]42    <StaticEntity position="0,0,0" collisionType="static">
[10751]43      <attached>
[11040]44        <HoverOrigin
45          numCells="<?lua print(MAZE_NUM_CELLS)?>"
46          cellSize="<?lua print(MAZE_CELL_SIZE)?>"
47          cellHeight="<?lua print(MAZE_CELL_HEIGHT)?>"
48        />
[11495]49        <Model
50          position="<?lua print(MAZE_SIZE/2)?>,-16,<?lua print(MAZE_SIZE/2)?>"
51          scale3D="<?lua print(MAZE_SIZE/2)?>,16,<?lua print(MAZE_SIZE/2)?>"
52          mesh="CubeGround.mesh"
53        />
[11040]54      </attached>
[11495]55      <collisionShapes>
56        <BoxCollisionShape
57          position="<?lua print(MAZE_SIZE/2)?>,<?lua print(MAZE_CELL_HEIGHT+1)?>,<?lua print(MAZE_SIZE/2)?>"
58          halfExtents="<?lua print(MAZE_SIZE/2)?>,1,<?lua print(MAZE_SIZE/2)?>"
59        />
60        <BoxCollisionShape
61          position="<?lua print(MAZE_SIZE/2)?>,-1,<?lua print(MAZE_SIZE/2)?>"
62          halfExtents="<?lua print(MAZE_SIZE/2)?>,1,<?lua print(MAZE_SIZE/2)?>"
63        />
64      </collisionShapes>
[11040]65    </StaticEntity>
[10751]66
[11040]67    <Light
68      type=directional
69      position="-50,500,-50"
70      direction="0.577, -0.577, 0.577"
71      diffuse="1.0, 0.9, 0.9, 1.0"
72      specular="1.0, 0.9, 0.9, 1.0"
73    />
[10668]74   
[11040]75    <SpawnPoint
76      team=0
[12397]77      position="500,20,50"
[11495]78      lookat="100,20,100"
[11040]79      spawnclass=HoverShip
80      pawndesign=spaceshiphover
81    />
[12216]82
[12374]83    <SpaceShip position="500,20,500" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="200" >
[12390]84      <templates>
85              <Template link=spaceshipzombie />
86      </templates>
87    </SpaceShip>
[12216]88
[12397]89    <SpaceShip position="500,10000,500" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="200" >
90      <templates>
91              <Template link=spaceshipzombie />
92      </templates>
93    </SpaceShip>
[12216]94
[12354]95
[12374]96
[12397]97
[10660]98   
99  </Scene>
100</Level>
Note: See TracBrowser for help on using the repository browser.