Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/DodgeRace.oxw @ 10846

Last change on this file since 10846 was 10624, checked in by landauf, 9 years ago

merged branch core7 back to trunk

  • Property svn:eol-style set to native
File size: 1.9 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
[10624]21<Level
22  plugins = dodgerace
23  gametype = DodgeRace
24>
[10128]25  <templates>
26    <Template link=lodtemplate_default />
27  </templates>
28  <?lua include("includes/notifications.oxi") ?>
29
30  <Scene
[10152]31    ambientlight = "1.0, 1.0, 1.0"
[10128]32    skybox       = "Orxonox/skyBoxClouds"
33    negativeWorldRange = "-100000, -100000, -100000"
34    positiveWorldRange = " 100000,  100000,  100000"
35  >
36
37  <WorldAmbientSound
38    source="Earth.ogg"
39    looping="true"
40    playOnLoad="true"
41  />
42
43    <!-- <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]44    <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]45    <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=DodgeRaceShip pawndesign=spaceshipdodgerace />
46
47    <DistanceTrigger name="start" position="-200,0,0" target="Pawn" distance=10 stayActive="true" delay=0 />
48
49
50    <DodgeRaceCenterPoint name=invadercenter />
[10135]51 
[10152]52  <StaticEntity position="0,-50,0" direction="0,0,0"   scale="1" collisionType=static mass=1 friction=0.01 >
[10135]53      <attached>
[10152]54        <Model position="0,0,0" mesh="plane.mesh" scale3D="100000,0,100000" />
[10135]55      </attached>
56
57      <collisionShapes>
58        <BoxCollisionShape position="0,0,0" halfExtents="1,1,1" />
59      </collisionShapes>
60
61  </StaticEntity>
[10128]62   
63   
64   
65   
66   
67   
68  </Scene>
69</Level>
70
Note: See TracBrowser for help on using the repository browser.