Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 5198 was 5193, checked in by FelixSchulthess, 16 years ago
  • Property svn:eol-style set to native
File size: 3.2 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<!--<Model position="20000,20000,0" scale="2000" mesh="planet.mesh"/>-->
20<NPC position="0,100,400" scale="1" mesh="razor.mesh"/>
21<NPC position="0,100,400" scale="1" mesh="razor.mesh"/>
22<NPC position="0,-100,500" scale="1" mesh="razor.mesh"/>
23<NPC position="0,-200,450" scale="1" mesh="razor.mesh"/>
24<NPC position="100,0,400" scale="1" mesh="razor.mesh"/>
25
26<?lua
27for i = 1, 10, 1
28do ?>
29  <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" />
30<?lua
31end
32?>
33
34<!--Model name="starship" position="200,0,500" scale="10" mesh="starship.mesh" yawpitchroll="-90,-90,0" />
35<Model name="drone" position="-200,0,500" scale="10" mesh="drone.mesh" yawpitchroll="-90,-90,0">
36  <attached>
37    <Model name="drone2" position="200,-100,-500" scale="10" mesh="drone.mesh" yawpitchroll="-90,-90,0">
38      <attached>
39        <Model name="starship2" position="500,200,-500" scale="10" mesh="starship.mesh" yawpitchroll="-90,-90,0" />
40      </attached>
41    </Model>
42  </attached>
43</Model-->
44
45<!--Model position="-200,1000,500" scale="10" mesh="hoover_body.mesh" yawpitchroll="-90,-90,0" />
46<Model position="-200,1000,500" scale="10" mesh="hoover_gear0.mesh" yawpitchroll="-90,-90,0" />
47<Model position="-200,1000,500" scale="10" mesh="hoover_gear1.mesh" yawpitchroll="-90,-90,0" />
48<Model position="-200,1000,500" scale="10" mesh="hoover_gear2.mesh" yawpitchroll="-90,-90,0" />
49<Model position="-200,1000,500" scale="10" mesh="hoover_turbine.mesh" yawpitchroll="-90,-90,0" /-->
50
51
52<?lua
53for i = 1, 226, 1
54do ?>
55  <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) ?>" />
56<?lua
57end
58?>
Note: See TracBrowser for help on using the repository browser.