Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/gcc43/bin/levels/sample.oxw @ 1621

Last change on this file since 1621 was 1557, checked in by landauf, 16 years ago

some changes in Lua-code to generate asteroids to make it work with older versions of Lua (however this shouldn't be necessary, but I wasn't able to fix the error yet)

  • Property svn:eol-style set to native
File size: 2.7 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.1, 0.1, 0.1" />
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<!--Model name="starship" position="200,0,500" scale="10" mesh="starship.mesh" yawpitchroll="-90,-90,0" />
26<Model name="drone" position="-200,0,500" scale="10" mesh="drone.mesh" yawpitchroll="-90,-90,0">
27  <attached>
28    <Model name="drone2" position="200,-100,-500" scale="10" mesh="drone.mesh" yawpitchroll="-90,-90,0">
29      <attached>
30        <Model name="starship2" position="500,200,-500" scale="10" mesh="starship.mesh" yawpitchroll="-90,-90,0" />
31      </attached>
32    </Model>
33  </attached>
34</Model-->
35
36<!--Model position="-200,1000,500" scale="10" mesh="hoover_body.mesh" yawpitchroll="-90,-90,0" />
37<Model position="-200,1000,500" scale="10" mesh="hoover_gear0.mesh" yawpitchroll="-90,-90,0" />
38<Model position="-200,1000,500" scale="10" mesh="hoover_gear1.mesh" yawpitchroll="-90,-90,0" />
39<Model position="-200,1000,500" scale="10" mesh="hoover_gear2.mesh" yawpitchroll="-90,-90,0" />
40<Model position="-200,1000,500" scale="10" mesh="hoover_turbine.mesh" yawpitchroll="-90,-90,0" /-->
41
42
43<?lua
44for i = 1, 226, 1
45do ?>
46  <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() * 100 + 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) ?>" />
47<?lua
48end
49?>
Note: See TracBrowser for help on using the repository browser.