Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

stop timer after round

File size: 1.5 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-- or 25
23--scaling factor
24S = 80
25
26MAP_ORIGIN = "0,0,0"
27?>
28
29<Level
30plugins = orxokart
31gametype = OrxoKart
32>
33  <templates>
34    <Template link=lodtemplate_default />
35  </templates>
36  <?lua include("includes/notifications.oxi") ?>
37
38  <Scene
39    ambientlight = "0.8, 0.8, 0.8"
40    skybox       = "Orxonox/Starbox"
41    gravity      = "0, -200, 0"
42  >
43
44    <StaticEntity position="0,0,0" collisionType="static">
45      <attached>
46        <!-- Floor Physique and Design -->
47        <OrxoKartOrigin
48          numCells="<?lua print(N)?>"
49          cellSize="<?lua print(S)?>"
50        />
51      </attached>
52
53      <collisionShapes>
54        <!-- in case of additional collisionShapes besides the floor -->
55      </collisionShapes>
56
57    </StaticEntity>
58    <Light
59      type=directional
60      position="-50,500,-50"
61      direction="0.577, -0.577, 0.577"
62      diffuse="1.0, 0.9, 0.9, 1.0"
63      specular="1.0, 0.9, 0.9, 1.0"
64    />
65    <!-- 19 -->
66    <SpawnPoint
67      team=0
68     
69      position="<?lua print(S*0)?>,40,<?lua print(8*S)?>"
70      lookat="0,40,0"
71      spawnclass=OrxoKartKart
72      pawndesign=OrxoKartKart
73    />
74   
75  </Scene>
76</Level>
77
Note: See TracBrowser for help on using the repository browser.