Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/media/levels/presentation_level1_felix.oxw @ 5383

Last change on this file since 5383 was 5381, checked in by landauf, 16 years ago

added scoreboard to levels
initialize scoreboard with visible=false
changed skybox in all levels to the new one and added corresponding directional light

File size: 2.2 KB
Line 
1<?lua
2        include("levels/hudtemplates3.oxw")
3        include("overlay/stats.oxo")
4        include("levels/spaceshiptemplates_presentation.oxw")
5?>
6
7<Level
8        name = "presentation level 1"
9        description = "..."
10>
11        <Scene
12                ambientlight = "0.8, 0.8, 0.8"
13                skybox = "Orxonox/skypanoramagen1"
14        >
15
16        <?lua
17                dofile("../../media/levels/CuboidSpaceStation.lua")
18        ?>
19
20
21        <!-- a light that doesn't work -->
22        <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" />
23
24
25        <!-- space station -->
26        <MovableEntity scale=1 position="2000,0,0" rotationaxis="0,1,0" rotationrate=2>
27                <attached>
28                        <MovableEntity scale=1 position="1000,0,0" rotationaxis="0,0,1" rotationrate=1>
29                                <attached>
30                                        <?lua
31                                                createSpaceStationPar(0,2,1,2,1,4,1,50)
32                                        ?>
33                                </attached>
34                        </MovableEntity>
35                </attached>
36        </MovableEntity>
37
38
39        <!-- spacecruiser -->
40        <MovableEntity position="1000,0,-1000" pitch="-90" roll="-90">
41      <attached>
42        <Model position="0,0,0" scale=10 mesh="spacecruiser_16.mesh" />
43      </attached>
44    </MovableEntity>
45
46
47        <!-- Carrier with guns not implemented yet -->
48        <MovableEntity position="2000,-800,-1000" pitch="-90" roll="90">
49      <attached>
50        <Model position="0,0,0" scale=10 mesh="Carrier.mesh" />
51                <Model position="0,30,20" scale=10 mesh="pirate.mesh" roll="180" />
52        <Model position="-80,-30,20" scale=10 mesh="pirate.mesh" roll="180" />
53      </attached>
54    </MovableEntity>
55
56
57        <!-- blue planet -->
58        <Planet position="1500,0,-5000" scale=1000 pitch=-90 mesh="iceplanet.mesh" atmosphere="atmosphere1" rotationaxis="1,1,0" rotationrate="1" atmospheresize=224.0f imagesize=1024.0f />
59   
60
61        <ParticleSpawner position="0,0,0" source="Orxonox/BigExplosion1part3" lifetime=2.0 loop=0 autostart=0>
62      <events>
63        <spawn>
64          <EventTrigger delay=1>
65            <events>
66              <trigger>
67                <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
68              </trigger>
69            </events>
70          </EventTrigger>
71        </spawn>
72      </events>
73    </ParticleSpawner>
74
75  </Scene>
76</Level>
Note: See TracBrowser for help on using the repository browser.