1 | <LevelInfo |
---|
2 | name = "Sound showcase" |
---|
3 | description = "Level to test and showcase sound." |
---|
4 | tags = "test" |
---|
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 | name = "Sample" |
---|
21 | description = "Just a few tests" |
---|
22 | > |
---|
23 | <templates> |
---|
24 | <Template link=lodtemplate_default /> |
---|
25 | </templates> |
---|
26 | <?lua include("includes/notifications.oxi") ?> |
---|
27 | |
---|
28 | <Scene |
---|
29 | ambientlight = "0.8, 0.8, 0.8" |
---|
30 | skybox = "Orxonox/Starbox" |
---|
31 | > |
---|
32 | |
---|
33 | <WorldAmbientSound source="Earth.ogg" looping="true" playOnLoad="true" /> |
---|
34 | <WorldAmbientSound source="Mars.ogg" looping="true"> |
---|
35 | <events> |
---|
36 | <activity> |
---|
37 | <DistanceTrigger position="400,0,0" distance=200 target="Camera"> |
---|
38 | <attached> |
---|
39 | <ParticleSpawner position="0,0,0" source="Orxonox/fire3" lifetime=0 loop=0 autostart=1 /> |
---|
40 | </attached> |
---|
41 | </DistanceTrigger> |
---|
42 | </activity> |
---|
43 | </events> |
---|
44 | </WorldAmbientSound> |
---|
45 | <WorldAmbientSound source="Jupiter.ogg" looping="true"> |
---|
46 | <events> |
---|
47 | <activity> |
---|
48 | <DistanceTrigger position="400,150,0" distance=200 target="Camera"> |
---|
49 | <attached> |
---|
50 | <ParticleSpawner position="0,0,0" source="Orxonox/fire3" lifetime=0 loop=0 autostart=1 /> |
---|
51 | </attached> |
---|
52 | </DistanceTrigger> |
---|
53 | </activity> |
---|
54 | </events> |
---|
55 | </WorldAmbientSound> |
---|
56 | |
---|
57 | |
---|
58 | <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" /> |
---|
59 | <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
60 | |
---|
61 | </Scene> |
---|
62 | </Level> |
---|