Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/gamestates3/data/levels/sound.oxw @ 8904

Last change on this file since 8904 was 6417, checked in by rgrieder, 15 years ago

Merged presentation2 branch back to trunk.
Major new features:

  • Actual GUI with settings, etc.
  • Improved space ship steering (human interaction)
  • Rocket fire and more particle effects
  • Advanced sound framework
  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1<?lua
2  include("stats.oxo")
3  include("hudtemplates3.oxo")
4?>
5
6<?lua
7  include("templates/spaceship_assff.oxt")
8  include("templates/spaceship_pirate.oxt")
9?>
10
11<Level
12 name         = "Sample"
13 description  = "Just a few tests"
14>
15  <Scene
16    ambientlight = "0.8, 0.8, 0.8"
17    skybox       = "Orxonox/Starbox"
18  >
19
20  <AmbientSound ambientSource="Earth.ogg" looping="true" playOnLoad="true" />
21  <AmbientSound ambientSource="Mars.ogg" looping="true">
22    <events>
23        <activity>
24            <DistanceTrigger position="400,0,0" distance=200 target="Camera">
25                <attached>
26                    <ParticleSpawner position="0,0,0" source="Orxonox/fire3" lifetime=0 loop=0 autostart=1 />
27                </attached>
28            </DistanceTrigger>
29        </activity>
30    </events>
31  </AmbientSound>
32  <AmbientSound ambientSource="Jupiter.ogg" looping="true">
33    <events>
34        <activity>
35            <DistanceTrigger position="400,150,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>
41    </events>
42  </AmbientSound>
43
44
45  <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" />
46  <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
47  </Scene>
48</Level>
Note: See TracBrowser for help on using the repository browser.