Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/tutorial2/data/levels/test_stars.oxw @ 7826

Last change on this file since 7826 was 7163, checked in by dafrick, 14 years ago

Merged presentation3 branch into trunk.

  • Property svn:eol-style set to native
File size: 1.8 KB
Line 
1<?lua
2  include("stats.oxo")
3  include("hudtemplates3.oxo")
4  include("templates/lodinformation.oxt")
5?>
6
7<?lua
8  include("templates/spaceship_assff.oxt")
9  include("templates/spaceship_pirate.oxt")
10?>
11
12<Level
13 name         = "Sample"
14 description  = "Just a few tests"
15>
16  <templates>
17    <Template link=lodtemplate_default />
18  </templates>
19
20  <Scene
21    ambientlight = "0.8, 0.8, 0.8"
22  >
23
24<!--Rocket position="-10, 3.5,800" velocity="0,0,-100">
25      <attached>
26        <Model pitch=180 position="0,0,0" scale=1.5 mesh="rocket_test.mesh" >
27          <attached>
28           <ParticleEmitter pitch=0 roll=0 position="0,5,0" source="Orxonox/laser" lifetime=2.0 loop=1 startdelay=3.0/>
29           <ParticleEmitter pitch=-90 roll=0 position="0,-5,0" source="Orxonox/particlecanon" lifetime=2.0 loop=1 startdelay=3.0/>
30           <ParticleEmitter pitch=-90 roll=0 position="0,0,-2" source="Orxonox/rocketfire" lifetime=2.0 loop=1 startdelay=3.0 />
31           <ParticleEmitter pitch=-90 roll=0 position="0,0,-2" source="Orxonox/smoke" lifetime=2.0 loop=1 startdelay=3.0 />
32          </attached>
33          </Model>
34        </attached>
35    </Rocket-->
36   
37    <CreateStars numStars="6000" material="Examples/Flare" colour="1,1,1" radius=10000 colourDiff=0.1/>
38
39    <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" />
40    <SpawnPoint position="0,0,100" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
41
42    <ParticleEmitter position="0,10000,0" source="Orxonox/fog" />
43    <ParticleEmitter position="6000,7000,0" source="Orxonox/fog2" />
44    <ParticleEmitter position="-6000,-7000,0" source="Orxonox/fog3" />
45    <ParticleEmitter position="-6000,0,9000" source="Orxonox/fog4" />
46    <ParticleEmitter position="2000,-7000,-5963" source="Orxonox/fog3" />
47  </Scene>
48</Level>
Note: See TracBrowser for help on using the repository browser.