Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/sound.oxw @ 9370

Last change on this file since 9370 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
RevLine 
[7648]1<LevelInfo
2 name = "Sound showcase"
3 description = "Level to test and showcase sound."
[9016]4 tags = "test, showcase"
5 screenshot = "soundshowcase.png"
[7648]6/>
7
[6119]8<?lua
9  include("stats.oxo")
[7679]10  include("HUDTemplates3.oxo")
11  include("templates/lodInformation.oxt")
[6119]12?>
13
14<?lua
[7679]15  include("templates/spaceshipAssff.oxt")
16  include("templates/spaceshipPirate.oxt")
[6119]17?>
18
[9016]19<Level>
[7163]20  <templates>
21    <Template link=lodtemplate_default />
22  </templates>
[8706]23  <?lua include("includes/notifications.oxi") ?>
[7163]24
[6119]25  <Scene
26    ambientlight = "0.8, 0.8, 0.8"
27    skybox       = "Orxonox/Starbox"
28  >
29
[7854]30  <WorldAmbientSound source="Earth.ogg" looping="true" playOnLoad="true" />
31  <WorldAmbientSound source="Mars.ogg" looping="true">
[6389]32    <events>
[7163]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>
[6389]40    </events>
[7854]41  </WorldAmbientSound>
42  <WorldAmbientSound source="Jupiter.ogg" looping="true">
[6389]43    <events>
[7163]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>
[6389]51    </events>
[7854]52  </WorldAmbientSound>
[6119]53
[6387]54
[6119]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 />
[7163]57 
[6119]58  </Scene>
59</Level>
Note: See TracBrowser for help on using the repository browser.