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
RevLine 
[12057]1<LevelInfo
[12074]2 name = "OrxoKart"
3 description = "Level for 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
22-- or 25
[12057]23--scaling factor
[12070]24S = 80
[12057]25
26MAP_ORIGIN = "0,0,0"
27?>
28
29<Level
[12074]30plugins = orxokart
31gametype = OrxoKart
[12057]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>
[12090]46        <!-- Floor Physique and Design -->
[12074]47        <OrxoKartOrigin
[12062]48          numCells="<?lua print(N)?>"
49          cellSize="<?lua print(S)?>"
[12116]50          level=1
[12057]51        />
[12090]52      </attached>
[12057]53
54      <collisionShapes>
[12090]55        <!-- in case of additional collisionShapes besides the floor -->
[12057]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    />
[12111]66    <!-- 19 -->
[12057]67    <SpawnPoint
68      team=0
[12116]69
[12111]70      position="<?lua print(S*0)?>,40,<?lua print(8*S)?>"
[12057]71      lookat="0,40,0"
[12081]72      spawnclass=OrxoKartKart
[12070]73      pawndesign=OrxoKartKart
[12057]74    />
75   
76  </Scene>
77</Level>
78
Note: See TracBrowser for help on using the repository browser.