Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/OrxoKart_HS18/data/levels/kart_alpha0.1.oxw @ 12412

Last change on this file since 12412 was 12071, checked in by emustafa, 6 years ago

OrxoKart uses OrxoKartKart and not HoverShip

File size: 1.9 KB
RevLine 
[12071]1<LevelInfo
2 name = "kart_controlls"
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<?lua
21MAZE_NUM_CELLS = 10
22MAZE_CELL_SIZE = 100
23MAZE_CELL_HEIGHT = 30
24MAZE_SIZE = MAZE_NUM_CELLS*MAZE_CELL_SIZE
25?>
26
27<Level
28plugins = hover
29gametype = Hover
30>
31  <templates>
32    <Template link=lodtemplate_default />
33  </templates>
34  <?lua include("includes/notifications.oxi") ?>
35
36
37  <Scene
38    ambientlight = "0.8, 0.8, 0.8"
39    skybox       = "Orxonox/Starbox"
40    gravity      = "0, -200, 0"
41  >
42
43    <StaticEntity position="0,0,0" collisionType="static">
44      <attached>
45        <HoverOrigin
46          numCells="<?lua print(MAZE_NUM_CELLS)?>"
47          cellSize="<?lua print(MAZE_CELL_SIZE)?>"
48          cellHeight="<?lua print(MAZE_CELL_HEIGHT)?>"
49        />
50        <Model
51          position="<?lua print(MAZE_SIZE/2)?>,-16,<?lua print(MAZE_SIZE/2)?>"
52          scale3D="<?lua print(MAZE_SIZE/2)?>,16,<?lua print(MAZE_SIZE/2)?>"
53          mesh="CubeGround.mesh"
54        />
55      </attached>
56      <collisionShapes>
57       
58        <BoxCollisionShape
59          position="<?lua print(MAZE_SIZE/2)?>,-1,<?lua print(MAZE_SIZE/2)?>"
60          halfExtents="<?lua print(MAZE_SIZE/2)?>,1,<?lua print(MAZE_SIZE/2)?>"
61        />
62      </collisionShapes>
63    </StaticEntity>
64
65    <Light
66      type=directional
67      position="-50,500,-50"
68      direction="0.577, -0.577, 0.577"
69      diffuse="1.0, 0.9, 0.9, 1.0"
70      specular="1.0, 0.9, 0.9, 1.0"
71    />
72   
73    <SpawnPoint
74      team=0
75      position="50,20,50"
76      lookat="100,20,100"
77      spawnclass=HoverShip
78      pawndesign=spaceshiphover
79    />
80   
81  </Scene>
82</Level>
83
Note: See TracBrowser for help on using the repository browser.