Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentation3/data/levels/test_stars.oxw @ 7060

Last change on this file since 7060 was 7036, checked in by scheusso, 15 years ago

some changes regarding lod:

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