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