Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/OrxoKart1.oxw @ 12248

Last change on this file since 12248 was 12194, checked in by merholzl, 6 years ago

Merging OrxoKart

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