Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

added not working light

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<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<MovableEntity scale=1 position="2000,0,0" rotationaxis="0,1,0" rotationrate=2>
26        <attached>
27                <MovableEntity scale=1 position="1000,0,0" rotationaxis="0,0,1" rotationrate=1>
28                        <attached>
29                                <?lua
30                                        createSpaceStationPar(0,2,1,2,1,4,1,50)
31                                ?>
32                        </attached>
33                </MovableEntity>
34        </attached>
35</MovableEntity>
36<!-------------------------------------------------------------------------------------->
37
38        <!-- Carrier with guns not implemented yet -->
39        <MovableEntity position="3000,-800,-1000" pitch="-90" roll="90">
40      <attached>
41        <Model position="0,0,0" scale=10 mesh="Carrier.mesh" />
42                <Model position="0,30,20" scale=10 mesh="pirate.mesh" roll="180" />
43        <Model position="-80,-30,20" scale=10 mesh="pirate.mesh" roll="180" />
44      </attached>
45    </MovableEntity>
46
47        <!-- blue planet -->
48        <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 />
49   
50        <ParticleSpawner position="0,0,0" source="Orxonox/BigExplosion1part3" lifetime=2.0 loop=0 autostart=0>
51      <events>
52        <spawn>
53          <EventTrigger delay=1>
54            <events>
55              <trigger>
56                <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
57              </trigger>
58            </events>
59          </EventTrigger>
60        </spawn>
61      </events>
62    </ParticleSpawner>
63
64  </Scene>
65</Level>
Note: See TracBrowser for help on using the repository browser.