Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

sound and countdown

File size: 3.2 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  <!--  <WorldSound name="scoreSound" position="0,-2100,0" source="sounds/ReadyGo.ogg" >
35      <events>
36        <play>
37          <EventListener event="start" />
38        </play>
39      </events>
40    </WorldSound> -->
41 
42<WorldSound name="Countdown" position="0,-2100,0" source="sounds/Countdown.ogg" >
43      <events>
44        <play>
45          <EventListener event="start1" />
46        </play>
47      </events>
48    </WorldSound>
49
50
51<WorldSound name="Go" position="0,-2100,0" source="sounds/Go.ogg" >
52      <events>
53        <play>
54          <EventListener event="go" />
55        </play>
56      </events>
57    </WorldSound>
58
59<WorldSound name="racetheme" position="0,-2100,0" source="sounds/racetheme.ogg" >
60      <events>
61        <play>
62          <EventListener event="racetheme" />
63        </play>
64      </events>
65    </WorldSound>
66
67    <DistanceTrigger name="start1" position="0,-2100,0"  target="Pawn" distance=100 stayActive="true" delay=0.5 />
68        <DistanceTrigger name="go" position="0,-2100,0"  target="Pawn" distance=100 stayActive="true" delay=10.5  />
69         <DistanceTrigger name="racetheme" position="0,-2100,0"  target="Pawn" distance=100 stayActive="true" delay=10.7  />
70
71
72
73
74      <WorldAmbientSound source="racetheme.ogg" looping="true" playOnLoad="true" />
75
76  <!--   <WorldAmbientSound source="Ganymede.ogg" looping="true" playOnLoad="true" /> -->
77 
78
79    <?lua math.randomseed(98) ?>
80
81    <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"/>
82
83    <SimpleNotification message="Reach the last check point within 150 seconds!!" />
84
85    <!-- ------------------SpawnPoint----------------- -->
86    <SpawnPoint position="0,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=fastship active="true" >
87    </SpawnPoint>
88
89        <Model mesh="axes.mesh" scale="10" position="200,0,0"/>
90        <Model mesh="axes.mesh" scale="10" position="400,0,0"/>
91        <Model mesh="axes.mesh" scale="10" position="600,0,0"/>
92        <Model mesh="axes.mesh" scale="10" position="800,0,0"/>
93        <Model mesh="axes.mesh" scale="10" position="1000,0,0"/>
94        <Model mesh="axes.mesh" scale="10" position="1100,0,0"/>
95        <Model mesh="axes.mesh" scale="10" position="1200,0,0"/>
96        <Model mesh="axes.mesh" scale="10" position="1300,0,0"/>
97        <Model mesh="axes.mesh" scale="10" position="1400,0,0"/>
98        <Model mesh="axes.mesh" scale="10" position="1500,0,0"/>
99        <Model mesh="axes.mesh" scale="10" position="1600,0,0"/>
100        <Model mesh="axes.mesh" scale="10" position="1700,0,0"/>
101
102  </Scene>
103</Level>
Note: See TracBrowser for help on using the repository browser.