Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Boxhead_FS19/data/levels/OrxoKart2.oxw @ 12397

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

Merging OrxoKart

File size: 1.5 KB
Line 
1<LevelInfo
2 name = "OrxoKart Level 2"
3 description = "Level 2 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 = 25
22--scaling factor
23S = 80
24--level
25L = 2
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        <!-- in case of additional collisionShapes besides the floor -->
57      </collisionShapes>
58
59    </StaticEntity>
60    <Light
61      type=directional
62      position="-50,500,-50"
63      direction="0.577, -0.577, 0.577"
64      diffuse="1.0, 0.9, 0.9, 1.0"
65      specular="1.0, 0.9, 0.9, 1.0"
66    />
67    <SpawnPoint
68      team=0
69
70      position="<?lua print(S*0)?>,40,<?lua print(18.5*S)?>"
71      lookat="0,40,0"
72      spawnclass=OrxoKartKart
73      pawndesign=OrxoKartKart
74    />
75   
76  </Scene>
77</Level>
Note: See TracBrowser for help on using the repository browser.