Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 5376 was 5375, checked in by FelixSchulthess, 16 years ago

committing revision 2k… yay

File size: 2.0 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<!-- hohoho -->
23<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" />
24
25<!------------------------------------------------------------------------------------->
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        <!-- Carrier with guns not implemented yet -->
40        <MovableEntity position="3000,-800,-1000" pitch="-90" roll="90">
41      <attached>
42        <Model position="0,0,0" scale=10 mesh="Carrier.mesh" />
43                <Model position="0,30,20" scale=10 mesh="pirate.mesh" roll="180" />
44        <Model position="-80,-30,20" scale=10 mesh="pirate.mesh" roll="180" />
45      </attached>
46    </MovableEntity>
47
48        <!-- blue planet -->
49        <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 />
50   
51        <ParticleSpawner position="0,0,0" source="Orxonox/BigExplosion1part3" lifetime=2.0 loop=0 autostart=0>
52      <events>
53        <spawn>
54          <EventTrigger delay=1>
55            <events>
56              <trigger>
57                <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
58              </trigger>
59            </events>
60          </EventTrigger>
61        </spawn>
62      </events>
63    </ParticleSpawner>
64
65  </Scene>
66</Level>
Note: See TracBrowser for help on using the repository browser.