Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 11183 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
Line 
1<LevelInfo
2 name = "Dodge Race"
3 description = "Try to come as far as possible"
4 tags = "minigame"
5 screenshot = "DodgeRace.png"
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")
17  include("templates/DodgeRacePattern.oxt")
18  include("overlays/DodgeRaceHUD.oxo")
19?>
20
21<Level
22  plugins = dodgerace
23  gametype = DodgeRace
24>
25  <templates>
26    <Template link=lodtemplate_default />
27  </templates>
28  <?lua include("includes/notifications.oxi") ?>
29
30  <Scene
31    ambientlight = "1.0, 1.0, 1.0"
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"/> -->
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" />
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 />
51 
52  <StaticEntity position="0,-50,0" direction="0,0,0"   scale="1" collisionType=static mass=1 friction=0.01 >
53      <attached>
54        <Model position="0,0,0" mesh="plane.mesh" scale3D="100000,0,100000" />
55      </attached>
56
57      <collisionShapes>
58        <BoxCollisionShape position="0,0,0" halfExtents="1,1,1" />
59      </collisionShapes>
60
61  </StaticEntity>
62   
63   
64   
65   
66   
67   
68  </Scene>
69</Level>
70
Note: See TracBrowser for help on using the repository browser.