Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/testStars.oxw @ 8805

Last change on this file since 8805 was 8706, checked in by dafrick, 14 years ago

Merging presentation branch back into trunk.
There are many new features and also a lot of other changes and bugfixes, if you want to know, digg through the svn log.
Not everything is yet working as it should, but it should be fairly stable. If you habe any bug reports, just send me an email.

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