Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/mac_osx/data/levels/sound.oxw @ 7836

Last change on this file since 7836 was 7163, checked in by dafrick, 14 years ago

Merged presentation3 branch into trunk.

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