Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/surfaceraceHS14/data/levels/DodgeRace.oxw @ 10179

Last change on this file since 10179 was 10166, checked in by sriedel, 10 years ago

Final version

File size: 1.8 KB
RevLine 
[10128]1<LevelInfo
2 name = "Dodge Race"
[10166]3 description = "Try to come as far as possible"
[10128]4 tags = "minigame"
[10166]5 screenshot = "DodgeRace.png"
[10128]6/>
7<?lua
8  include("stats.oxo")
9  include("templates/lodInformation.oxt")
10?>
11
12<?lua
13  include("templates/spaceshipAssff2.oxt")
14  include("templates/spaceshipPirate.oxt")
15  include("templates/spaceshipDodgeRace.oxt")
16  include("templates/enemyInvader.oxt")
[10135]17  include("templates/DodgeRacePattern.oxt")
[10166]18  include("overlays/DodgeRaceHUD.oxo")
[10128]19?>
20
21<Level gametype = DodgeRace>
22  <templates>
23    <Template link=lodtemplate_default />
24  </templates>
25  <?lua include("includes/notifications.oxi") ?>
26
27  <Scene
[10152]28    ambientlight = "1.0, 1.0, 1.0"
[10128]29    skybox       = "Orxonox/skyBoxClouds"
30    negativeWorldRange = "-100000, -100000, -100000"
31    positiveWorldRange = " 100000,  100000,  100000"
32  >
33
34  <WorldAmbientSound
35    source="Earth.ogg"
36    looping="true"
37    playOnLoad="true"
38  />
39
40    <!-- <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0"/> -->
[10135]41    <Light type=directional position="-100, 10000, -700" lookat="0.2, -1, 0" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" />
[10128]42    <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=DodgeRaceShip pawndesign=spaceshipdodgerace />
43
44    <DistanceTrigger name="start" position="-200,0,0" target="Pawn" distance=10 stayActive="true" delay=0 />
45
46
47    <DodgeRaceCenterPoint name=invadercenter />
[10135]48 
[10152]49  <StaticEntity position="0,-50,0" direction="0,0,0"   scale="1" collisionType=static mass=1 friction=0.01 >
[10135]50      <attached>
[10152]51        <Model position="0,0,0" mesh="plane.mesh" scale3D="100000,0,100000" />
[10135]52      </attached>
53
54      <collisionShapes>
55        <BoxCollisionShape position="0,0,0" halfExtents="1,1,1" />
56      </collisionShapes>
57
58  </StaticEntity>
[10128]59   
60   
61   
62   
63   
64   
65  </Scene>
66</Level>
67
Note: See TracBrowser for help on using the repository browser.