Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/empty_level.oxw @ 6524

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

Merged pickup branch into trunk. Yay. Persisting bugs will be fixed, very soon.

  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
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>
15  <Scene
16    ambientlight = "0.8, 0.8, 0.8"
17    skybox       = "Orxonox/Starbox"
18  >
19
20<!--Rocket position="-10, 3.5,800" velocity="0,0,-100">
21      <attached>
22        <Model pitch=180 position="0,0,0" scale=1.5 mesh="rocket_test.mesh" >
23          <attached>
24           <ParticleEmitter pitch=0 roll=0 position="0,5,0" source="Orxonox/laser" lifetime=2.0 loop=1 startdelay=3.0/>
25           <ParticleEmitter pitch=-90 roll=0 position="0,-5,0" source="Orxonox/particlecanon" lifetime=2.0 loop=1 startdelay=3.0/>
26           <ParticleEmitter pitch=-90 roll=0 position="0,0,-2" source="Orxonox/rocketfire" lifetime=2.0 loop=1 startdelay=3.0 />
27           <ParticleEmitter pitch=-90 roll=0 position="0,0,-2" source="Orxonox/smoke" lifetime=2.0 loop=1 startdelay=3.0 />
28          </attached>
29          </Model>
30        </attached>
31    </Rocket-->
32   
33<?lua
34for i = 1,100,1
35do ?>
36    <StaticEntity position="<?lua print(math.random() * 1000) ?>, <?lua print(math.random() * 1000) ?>, <?lua print(math.random() * 1000) ?>">
37      <attached>
38          <Model scale="<?lua print(math.random() * 20 + 5) ?>" mesh="ast1.mesh" shadow=false />
39      </attached>
40    </StaticEntity>
41<?lua
42end
43?>
44
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" spawnclass=SpaceShip pawndesign=spaceshipassff />
48  </Scene>
49</Level>
Note: See TracBrowser for help on using the repository browser.