Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 7635 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
RevLine 
[6119]1<?lua
2  include("stats.oxo")
3  include("hudtemplates3.oxo")
[7163]4  include("templates/lodinformation.oxt")
[6119]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>
[7163]16  <templates>
17    <Template link=lodtemplate_default />
18  </templates>
19
[6119]20  <Scene
21    ambientlight = "0.8, 0.8, 0.8"
22    skybox       = "Orxonox/Starbox"
23  >
24
[6382]25  <AmbientSound ambientSource="Earth.ogg" looping="true" playOnLoad="true" />
26  <AmbientSound ambientSource="Mars.ogg" looping="true">
[6389]27    <events>
[7163]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>
[6389]35    </events>
[6119]36  </AmbientSound>
[6382]37  <AmbientSound ambientSource="Jupiter.ogg" looping="true">
[6389]38    <events>
[7163]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>
[6389]46    </events>
[6248]47  </AmbientSound>
[6119]48
[6387]49
[6119]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 />
[7163]52 
[6119]53  </Scene>
54</Level>
Note: See TracBrowser for help on using the repository browser.