Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/OrxoKart_HS18/data/levels/OrxoKart1.oxw @ 12090

Last change on this file since 12090 was 12090, checked in by ottka, 5 years ago

clean up of module :)

File size: 1.4 KB
Line 
1<LevelInfo
2 name = "OrxoKart"
3 description = "Level for Minigame OrxoKart"
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/OrxoKartKart.oxt")
16  include("overlays/OrxoKartHUD.oxo")
17?>
18
19<?lua
20--number of tiles
21N = 11
22--scaling factor
23S = 80
24
25MAP_ORIGIN = "0,0,0"
26?>
27
28<Level
29plugins = orxokart
30gametype = OrxoKart
31>
32  <templates>
33    <Template link=lodtemplate_default />
34  </templates>
35  <?lua include("includes/notifications.oxi") ?>
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        <!-- Floor Physique and Design -->
46        <OrxoKartOrigin
47          numCells="<?lua print(N)?>"
48          cellSize="<?lua print(S)?>"
49        />
50      </attached>
51
52      <collisionShapes>
53        <!-- in case of additional collisionShapes besides the floor -->
54      </collisionShapes>
55
56    </StaticEntity>
57    <Light
58      type=directional
59      position="-50,500,-50"
60      direction="0.577, -0.577, 0.577"
61      diffuse="1.0, 0.9, 0.9, 1.0"
62      specular="1.0, 0.9, 0.9, 1.0"
63    />
64   
65    <SpawnPoint
66      team=0
67      position="<?lua print(S*0)?>,40,<?lua print(8*S)?>"
68      lookat="0,40,0"
69      spawnclass=OrxoKartKart
70      pawndesign=OrxoKartKart
71    />
72   
73  </Scene>
74</Level>
75
Note: See TracBrowser for help on using the repository browser.