Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/archive/PresentationFS18/data/levels/sound.oxw @ 12202

Last change on this file since 12202 was 9016, checked in by jo, 13 years ago

Merging presentation2011 branch to trunk. Please check for possible bugs.

  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
1<LevelInfo
2 name = "Sound showcase"
3 description = "Level to test and showcase sound."
4 tags = "test, showcase"
5 screenshot = "soundshowcase.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/spaceshipAssff.oxt")
16  include("templates/spaceshipPirate.oxt")
17?>
18
19<Level>
20  <templates>
21    <Template link=lodtemplate_default />
22  </templates>
23  <?lua include("includes/notifications.oxi") ?>
24
25  <Scene
26    ambientlight = "0.8, 0.8, 0.8"
27    skybox       = "Orxonox/Starbox"
28  >
29
30  <WorldAmbientSound source="Earth.ogg" looping="true" playOnLoad="true" />
31  <WorldAmbientSound source="Mars.ogg" looping="true">
32    <events>
33      <activity>
34        <DistanceTrigger position="400,0,0" distance=200 target="Camera">
35          <attached>
36            <ParticleSpawner position="0,0,0" source="Orxonox/fire3" lifetime=0 loop=0 autostart=1 />
37          </attached>
38        </DistanceTrigger>
39      </activity>
40    </events>
41  </WorldAmbientSound>
42  <WorldAmbientSound source="Jupiter.ogg" looping="true">
43    <events>
44      <activity>
45        <DistanceTrigger position="400,150,0" distance=200 target="Camera">
46          <attached>
47            <ParticleSpawner position="0,0,0" source="Orxonox/fire3" lifetime=0 loop=0 autostart=1 />
48          </attached>
49        </DistanceTrigger>
50      </activity>
51    </events>
52  </WorldAmbientSound>
53
54
55  <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" />
56  <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
57 
58  </Scene>
59</Level>
Note: See TracBrowser for help on using the repository browser.