Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 7656 was 7648, checked in by dafrick, 14 years ago

Merged releasetodo, containing a new way to describe and tag levels, back to trunk.

  • 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."
4 tags = "test"
5/>
6
[6119]7<?lua
8  include("stats.oxo")
9  include("hudtemplates3.oxo")
[7163]10  include("templates/lodinformation.oxt")
[6119]11?>
12
13<?lua
14  include("templates/spaceship_assff.oxt")
15  include("templates/spaceship_pirate.oxt")
16?>
17
18<Level
19 name         = "Sample"
20 description  = "Just a few tests"
21>
[7163]22  <templates>
23    <Template link=lodtemplate_default />
24  </templates>
25
[6119]26  <Scene
27    ambientlight = "0.8, 0.8, 0.8"
28    skybox       = "Orxonox/Starbox"
29  >
30
[6382]31  <AmbientSound ambientSource="Earth.ogg" looping="true" playOnLoad="true" />
32  <AmbientSound ambientSource="Mars.ogg" looping="true">
[6389]33    <events>
[7163]34      <activity>
35        <DistanceTrigger position="400,0,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>
[6389]41    </events>
[6119]42  </AmbientSound>
[6382]43  <AmbientSound ambientSource="Jupiter.ogg" looping="true">
[6389]44    <events>
[7163]45      <activity>
46        <DistanceTrigger position="400,150,0" distance=200 target="Camera">
47          <attached>
48            <ParticleSpawner position="0,0,0" source="Orxonox/fire3" lifetime=0 loop=0 autostart=1 />
49          </attached>
50        </DistanceTrigger>
51      </activity>
[6389]52    </events>
[6248]53  </AmbientSound>
[6119]54
[6387]55
[6119]56  <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" />
57  <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
[7163]58 
[6119]59  </Scene>
60</Level>
Note: See TracBrowser for help on using the repository browser.