Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Merge_HS18/data/levels/OrxoKart1.oxw @ 12185

Last change on this file since 12185 was 12185, checked in by merholzl, 5 years ago

OrxoKart merge

File size: 1.5 KB
RevLine 
[12057]1<LevelInfo
[12128]2 name = "OrxoKart Level 1"
3 description = "Level 1 of Minigame OrxoKart"
[12057]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
[12070]15  include("templates/OrxoKartKart.oxt")
[12079]16  include("overlays/OrxoKartHUD.oxo")
[12057]17?>
18
19<?lua
20--number of tiles
[12111]21N = 11
[12057]22--scaling factor
[12070]23S = 80
[12128]24--level
25L = 1
[12057]26
27MAP_ORIGIN = "0,0,0"
28?>
29
30<Level
[12074]31plugins = orxokart
32gametype = OrxoKart
[12057]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>
[12090]47        <!-- Floor Physique and Design -->
[12074]48        <OrxoKartOrigin
[12062]49          numCells="<?lua print(N)?>"
50          cellSize="<?lua print(S)?>"
[12128]51          level="<?lua print(L)?>"
[12057]52        />
[12090]53      </attached>
[12057]54
55      <collisionShapes>
[12128]56       
57       
[12090]58        <!-- in case of additional collisionShapes besides the floor -->
[12057]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    />
[12111]69    <!-- 19 -->
[12057]70    <SpawnPoint
71      team=0
[12116]72
[12144]73      position="<?lua print(S*0)?>,40,<?lua print(8.5*S)?>"
[12057]74      lookat="0,40,0"
[12081]75      spawnclass=OrxoKartKart
[12070]76      pawndesign=OrxoKartKart
[12057]77    />
78   
79  </Scene>
80</Level>
81
Note: See TracBrowser for help on using the repository browser.