Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/SpaceRace_HS16/data/levels/newnewnewspacerace.oxw @ 11249

Last change on this file since 11249 was 11249, checked in by meilel, 8 years ago

changed level file

File size: 3.9 KB
Line 
1<LevelInfo
2 name = "New Old Space Race 2"
3 description = "Under maintenance..."
4 tags = "gametype"
5 screenshot = "spacerace.png"
6/>
7
8<?lua
9  include("stats.oxo")
10  include("HUDTemplates3.oxo")
11  include("templates/lodInformation.oxt")
12?>
13
14<?lua
15  include("templates/fastship.oxt")
16  include("templates/spaceshipPirate.oxt")
17?>
18
19<Level
20 plugins = "gametypes"
21 gametype = "OldSpaceRace"
22>
23  <templates>
24    <Template link=lodtemplate_default />
25  </templates>
26  <?lua include("includes/notifications.oxi") ?>
27
28  <Scene
29    ambientlight = "0.8, 0.8, 0.8"
30    skybox       = "Orxonox/skyBoxMoreNebula"
31  >
32 
33  <!-- SOUNDS & MUSIC -->
34 
35 
36<WorldSound name="Countdown" position="0,0,0" source="sounds/Countdown.ogg" >
37      <events>
38        <play>
39          <EventListener event="start1" />
40        </play>
41      </events>
42    </WorldSound>
43
44
45<WorldSound name="Go" position="0,0,0" source="sounds/Go.ogg" >
46      <events>
47        <play>
48          <EventListener event="go" />
49        </play>
50      </events>
51    </WorldSound>
52
53
54    <DistanceTrigger name="start1" position="0,0,0"  target="Pawn" distance=100 stayActive="true" delay=0.5 />
55    <DistanceTrigger name="go" position="0,0,0"  target="Pawn" distance=100 stayActive="true" delay=10.5  />
56
57    <DistanceTrigger name="racetheme" position="0,0,0"  target="Pawn" distance=100 stayActive="true" delay=10.75  />
58
59
60
61     
62      <WorldAmbientSound source="racetheme.ogg" looping="true" playOnLoad="false" >
63    <events>
64        <play>
65          <EventListener event="racetheme" />
66        </play>
67      </events>
68    </WorldAmbientSound>
69
70
71
72
73
74       
75
76
77  <!--   <WorldAmbientSound source="Ganymede.ogg" looping="true" playOnLoad="true" /> -->
78 
79
80    <?lua math.randomseed(98) ?>
81
82    <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"/>
83
84    <SimpleNotification message="Reach the last check point within 150 seconds!!" />
85
86    <!-- ------------------SpawnPoint----------------- -->
87    <SpawnPoint position="0,0,0" lookat="1,0,0" spawnclass=SpaceShip pawndesign=fastship active="true" >
88    </SpawnPoint>
89
90        <Model mesh="axes.mesh" scale="10" position="600,0,0"/>
91        <Model mesh="axes.mesh" scale="10" position="800,0,0"/>
92        <Model mesh="axes.mesh" scale="10" position="1000,0,0"/>
93        <Model mesh="axes.mesh" scale="10" position="1100,0,0"/>
94        <Model mesh="axes.mesh" scale="10" position="1200,0,0"/>
95        <Model mesh="axes.mesh" scale="10" position="1300,0,0"/>
96        <Model mesh="axes.mesh" scale="10" position="1400,0,0"/>
97        <Model mesh="axes.mesh" scale="10" position="1500,0,0"/>
98        <Model mesh="axes.mesh" scale="10" position="1600,0,0"/>
99        <Model mesh="axes.mesh" scale="10" position="1700,0,0"/>
100
101
102    <!-- First checkpoint launch station -->
103  <StaticEntity mass="50" position="-400,-20,0" direction="0,-90,0" collisionType="static">
104    <attached>
105      <Model scale="20" mesh="Carrier.mesh" />
106    </attached>
107      <collisionShapes>
108        <BoxCollisionShape position="280,0,-100"      halfExtents="600, 200, 100" />
109        <BoxCollisionShape position="380,300,-64"     halfExtents="280, 40, 48" />
110        <BoxCollisionShape position="380,-300,-64"    halfExtents="280, 40, 48" />
111        <BoxCollisionShape position="308, 188,120"      halfExtents="440, 80, 120" />
112        <BoxCollisionShape position="308,-188,120"     halfExtents="440, 80, 120" />
113        <BoxCollisionShape position="308,0,200"       halfExtents="440, 180, 24" />
114        <BoxCollisionShape position="668,0,280"      halfExtents="108, 80, 80" />
115      </collisionShapes>
116  </StaticEntity>
117
118    <!-- ---------------ForceFields----------------- -->
119    <ForceField position="0,0,0" direction="0,-1,0" diameter=500 velocity=2000 length=1000/>
120
121<OldRaceCheckPoint name="checkpoint1" position="600,0,0" direction="1,0,0" collisionType="static" scale="1" distance="600" checkpointindex="0" islast="false"/>
122
123  </Scene>
124</Level>
Note: See TracBrowser for help on using the repository browser.