Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 11246 was 11246, checked in by bberabi, 8 years ago

sound and countdown erledigt, flugzeuge konnen nicht mehr sich bewegen bevor countdown ends

File size: 2.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="0,0,0" spawnclass=SpaceShip pawndesign=fastship active="true" >
88    </SpawnPoint>
89
90        <Model mesh="axes.mesh" scale="10" position="200,0,0"/>
91        <Model mesh="axes.mesh" scale="10" position="400,0,0"/>
92        <Model mesh="axes.mesh" scale="10" position="600,0,0"/>
93        <Model mesh="axes.mesh" scale="10" position="800,0,0"/>
94        <Model mesh="axes.mesh" scale="10" position="1000,0,0"/>
95        <Model mesh="axes.mesh" scale="10" position="1100,0,0"/>
96        <Model mesh="axes.mesh" scale="10" position="1200,0,0"/>
97        <Model mesh="axes.mesh" scale="10" position="1300,0,0"/>
98        <Model mesh="axes.mesh" scale="10" position="1400,0,0"/>
99        <Model mesh="axes.mesh" scale="10" position="1500,0,0"/>
100        <Model mesh="axes.mesh" scale="10" position="1600,0,0"/>
101        <Model mesh="axes.mesh" scale="10" position="1700,0,0"/>
102
103  </Scene>
104</Level>
Note: See TracBrowser for help on using the repository browser.