Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

level select in level file

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          level=1
51        />
52      </attached>
53
54      <collisionShapes>
55        <!-- in case of additional collisionShapes besides the floor -->
56      </collisionShapes>
57
58    </StaticEntity>
59    <Light
60      type=directional
61      position="-50,500,-50"
62      direction="0.577, -0.577, 0.577"
63      diffuse="1.0, 0.9, 0.9, 1.0"
64      specular="1.0, 0.9, 0.9, 1.0"
65    />
66    <!-- 19 -->
67    <SpawnPoint
68      team=0
69
70      position="<?lua print(S*0)?>,40,<?lua print(8*S)?>"
71      lookat="0,40,0"
72      spawnclass=OrxoKartKart
73      pawndesign=OrxoKartKart
74    />
75   
76  </Scene>
77</Level>
78
Note: See TracBrowser for help on using the repository browser.