Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 5377 was 5377, checked in by FelixSchulthess, 15 years ago

added space cruiser

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