Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/Media/levels/sample.oxw @ 5181

Last change on this file since 5181 was 5171, checked in by rgrieder, 16 years ago

226 Asteroids again in the level file.

  • Property svn:eol-style set to native
File size: 3.1 KB
Line 
1 <!--audio>
2        <ambient>
3                <ogg src="allgorythm-lift_up" />
4                <ogg src="allgorythm-resonance_blaster" />
5                <ogg src="luke_grey_-_hypermode" />
6                <ogg src="task_horizon_-_menu1" />
7                <ogg src="tha_silent_partner_-_void" />
8        </ambient>
9  </audio-->
10
11<Ambient colourvalue="0.8, 0.8, 0.8" />
12<Skybox src="Orxonox/Starbox" />
13<SpaceShip camera="true" position="0,0,0" scale="10" yawpitchroll="0,0,0" mesh="assff.mesh" maxSpeed="500" maxSideAndBackSpeed="50" maxRotation="1.0" transAcc="200" rotAcc="3.0" transDamp="75" rotDamp="1.0" />
14<Model position="2000,0,0" scale="10" mesh="tomato.mesh" yawpitchroll="-40,30,0" rotationAxis="1,0,0" rotationRate="-30"/>
15<Model position="0,2000,0" scale="10" mesh="tomato.mesh" yawpitchroll="-50,60,0" rotationAxis="1,0,0" rotationRate="-30"/>
16<Model position="0,0,2000" scale="10" mesh="tomato.mesh" yawpitchroll="-50,-30,0" rotationAxis="1,0,0" rotationRate="-30"/>
17<Model position="10000,16000,0" scale="100" mesh="DuBall1.mesh"/>
18<Model position="11400,16000,0" scale="60" mesh="DuBall2.mesh"/>
19<NPC position="0,100,400" scale="1" mesh="razor.mesh"/>
20<NPC position="0,100,400" scale="1" mesh="razor.mesh"/>
21<NPC position="0,-100,500" scale="1" mesh="razor.mesh"/>
22<NPC position="0,-200,450" scale="1" mesh="razor.mesh"/>
23<NPC position="100,0,400" scale="1" mesh="razor.mesh"/>
24
25<?lua
26for i = 1, 10, 1
27do ?>
28  <SpaceShipAI position="<?lua print(math.random() * 6000 - 3000) ?>,<?lua print(math.random() * 6000 - 3000) ?>,<?lua print(math.random() * 6000 - 3000) ?>" scale="10" yawpitchroll="0,0,0" mesh="assff.mesh" maxSpeed="500" maxSideAndBackSpeed="50" maxRotation="1.0" transAcc="200" rotAcc="3.0" transDamp="75" rotDamp="1.0" />
29<?lua
30end
31?>
32
33<!--Model name="starship" position="200,0,500" scale="10" mesh="starship.mesh" yawpitchroll="-90,-90,0" />
34<Model name="drone" position="-200,0,500" scale="10" mesh="drone.mesh" yawpitchroll="-90,-90,0">
35  <attached>
36    <Model name="drone2" position="200,-100,-500" scale="10" mesh="drone.mesh" yawpitchroll="-90,-90,0">
37      <attached>
38        <Model name="starship2" position="500,200,-500" scale="10" mesh="starship.mesh" yawpitchroll="-90,-90,0" />
39      </attached>
40    </Model>
41  </attached>
42</Model-->
43
44<!--Model position="-200,1000,500" scale="10" mesh="hoover_body.mesh" yawpitchroll="-90,-90,0" />
45<Model position="-200,1000,500" scale="10" mesh="hoover_gear0.mesh" yawpitchroll="-90,-90,0" />
46<Model position="-200,1000,500" scale="10" mesh="hoover_gear1.mesh" yawpitchroll="-90,-90,0" />
47<Model position="-200,1000,500" scale="10" mesh="hoover_gear2.mesh" yawpitchroll="-90,-90,0" />
48<Model position="-200,1000,500" scale="10" mesh="hoover_turbine.mesh" yawpitchroll="-90,-90,0" /-->
49
50
51<?lua
52for i = 1, 226, 1
53do ?>
54  <Model position="<?lua print(math.random() * 40000 - 20000)?>, <?lua print(math.random() * 40000 - 20000) ?>, <?lua print(math.random() * 40000 - 20000) ?>" scale="<?lua print(math.random() * 250 + 20) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" rotationAxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationRate="<?lua print(math.random() * 30 + 15) ?>" />
55<?lua
56end
57?>
Note: See TracBrowser for help on using the repository browser.