Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/cpp11/data/levels/DodgeRace.oxw @ 10774

Last change on this file since 10774 was 10262, checked in by landauf, 10 years ago

eol-style native. no changes in code.

  • Property svn:eol-style set to native
File size: 1.8 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 gametype = DodgeRace>
22  <templates>
23    <Template link=lodtemplate_default />
24  </templates>
25  <?lua include("includes/notifications.oxi") ?>
26
27  <Scene
28    ambientlight = "1.0, 1.0, 1.0"
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"/> -->
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" />
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 />
48 
49  <StaticEntity position="0,-50,0" direction="0,0,0"   scale="1" collisionType=static mass=1 friction=0.01 >
50      <attached>
51        <Model position="0,0,0" mesh="plane.mesh" scale3D="100000,0,100000" />
52      </attached>
53
54      <collisionShapes>
55        <BoxCollisionShape position="0,0,0" halfExtents="1,1,1" />
56      </collisionShapes>
57
58  </StaticEntity>
59   
60   
61   
62   
63   
64   
65  </Scene>
66</Level>
67
Note: See TracBrowser for help on using the repository browser.