Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/input/bin/levels/sample.oxw @ 1271

Last change on this file since 1271 was 1102, checked in by bknecht, 17 years ago

lua50 compatiple level code and loading, should work on tardis as well now

File size: 2.3 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="1,1,1" />
12<Skybox src="Orxonox/StarSkyBox" />
13
14<SpaceShip camera="true" position="0,0,0" scale="10" yawpitchroll="-90,-90,0" mesh="assf3.mesh" maxSpeed="500" maxSideAndBackSpeed="50" maxRotation="1.0" transAcc="200" rotAcc="3.0" transDamp="75" rotDamp="1.0" />
15
16<NPC position="0,100,400" scale="1" mesh="razor.mesh"/>
17<NPC position="0,100,400" scale="1" mesh="razor.mesh"/>
18<NPC position="0,-100,500" scale="1" mesh="razor.mesh"/>
19<NPC position="0,-200,450" scale="1" mesh="razor.mesh"/>
20<NPC position="100,0,400" scale="1" mesh="razor.mesh"/>
21
22<!--Model name="starship" position="200,0,500" scale="10" mesh="starship.mesh" yawpitchroll="-90,-90,0" />
23<Model name="drone" position="-200,0,500" scale="10" mesh="drone.mesh" yawpitchroll="-90,-90,0">
24  <attached>
25    <Model name="drone2" position="200,-100,-500" scale="10" mesh="drone.mesh" yawpitchroll="-90,-90,0">
26      <attached>
27        <Model name="starship2" position="500,200,-500" scale="10" mesh="starship.mesh" yawpitchroll="-90,-90,0" />
28      </attached>
29    </Model>
30  </attached>
31</Model-->
32
33<Model position="-200,1000,500" scale="10" mesh="hoover_body.mesh" yawpitchroll="-90,-90,0" />
34<Model position="-200,1000,500" scale="10" mesh="hoover_gear0.mesh" yawpitchroll="-90,-90,0" />
35<Model position="-200,1000,500" scale="10" mesh="hoover_gear1.mesh" yawpitchroll="-90,-90,0" />
36<Model position="-200,1000,500" scale="10" mesh="hoover_gear2.mesh" yawpitchroll="-90,-90,0" />
37<Model position="-200,1000,500" scale="10" mesh="hoover_turbine.mesh" yawpitchroll="-90,-90,0" />
38
39
40<?lua
41for i = 1, 226, 1
42do ?>
43  <Model position="<?lua print(math.random(-19597, 18732))?>, <?lua print(math.random(-19597, 18732)) ?>, <?lua print(math.random(-19597, 18732)) ?>" scale="<?lua print(math.random( 20, 119)) ?>" 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(16, 44)) ?>" />
44<?lua
45end
46?>
Note: See TracBrowser for help on using the repository browser.