Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation2/data/levels/sound.oxw @ 6340

Last change on this file since 6340 was 6248, checked in by youngk, 15 years ago

Adjusted Sound level to play with Cross-Fading

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1<?lua
2  include("stats.oxo")
3  include("hudtemplates3.oxo")
4?>
5
6<?lua
7  include("templates/spaceship_assff.oxt")
8  include("templates/spaceship_pirate.oxt")
9?>
10
11<Level
12 name         = "Sample"
13 description  = "Just a few tests"
14>
15  <Scene
16    ambientlight = "0.8, 0.8, 0.8"
17    skybox       = "Orxonox/Starbox"
18  >
19
20  <AmbientSound ambientSource="Earth.ogg" loop="true" play="true" />
21  <AmbientSound ambientSource="Mars.ogg" loop="true" play="false">
22        <events>
23                <activity>
24                        <DistanceTrigger position="400,0,0" distance=200 target="Camera">
25                                <attached>
26                                        <ParticleSpawner position="0,0,0" source="Orxonox/fire3" lifetime=0 loop=0 autostart=1 />
27                                </attached>
28                        </DistanceTrigger>
29                </activity>
30        </events>
31  </AmbientSound>
32  <AmbientSound ambientSource="Jupiter.ogg" loop="true" play="false">
33        <events>
34                <activity>
35                        <DistanceTrigger position="400,150,0" distance=200 target="Camera">
36                                <attached>
37                                        <ParticleSpawner position="0,0,0" source="Orxonox/fire3" lifetime=0 loop=0 autostart=1 />
38                                </attached>
39                        </DistanceTrigger>
40                </activity>
41        </events>
42  </AmbientSound>
43 
44
45  <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" />
46  <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
47  </Scene>
48</Level>
Note: See TracBrowser for help on using the repository browser.