Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/script_trigger/bin/levels/sample.oxw @ 2138

Last change on this file since 2138 was 1954, checked in by bknecht, 16 years ago

Triggers now implemented. Trigger may now have children, two or four states, limited amount of activations and a delay.

File size: 2.5 KB
Line 
1<AudioManager>
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</AudioManager>
10
11<!--Ambient colourvalue="1,1,1" /-->
12<Skybox src="Orxonox/StarSkyBox" />
13<SpaceShip camera="true" position="0,0,0" scale="10" yawpitchroll="-90,-90,0" mesh="assff.mesh" maxSpeed="500" maxSideAndBackSpeed="50" maxRotation="1.0" transAcc="200" rotAcc="3.0" transDamp="75" rotDamp="1.0" />
14
15<?lua include("levels/test.oxw") ?>
16
17<NPC position="0,100,400" scale="1" mesh="razor.mesh"/>
18<NPC position="0,100,400" scale="1" mesh="razor.mesh"/>
19<NPC position="0,-100,500" scale="1" mesh="razor.mesh"/>
20<NPC position="0,-200,450" scale="1" mesh="razor.mesh"/>
21<NPC position="100,0,400" scale="1" mesh="razor.mesh"/>
22
23<!--Model name="starship" position="200,0,500" scale="10" mesh="starship.mesh" yawpitchroll="-90,-90,0" />
24<Model name="drone" position="-200,0,500" scale="10" mesh="drone.mesh" yawpitchroll="-90,-90,0">
25  <attached>
26    <Model name="drone2" position="200,-100,-500" scale="10" mesh="drone.mesh" yawpitchroll="-90,-90,0">
27      <attached>
28        <Model name="starship2" position="500,200,-500" scale="10" mesh="starship.mesh" yawpitchroll="-90,-90,0" />
29      </attached>
30    </Model>
31  </attached>
32</Model-->
33
34<!--Model position="-200,1000,500" scale="10" mesh="hoover_body.mesh" yawpitchroll="-90,-90,0" />
35<Model position="-200,1000,500" scale="10" mesh="hoover_gear0.mesh" yawpitchroll="-90,-90,0" />
36<Model position="-200,1000,500" scale="10" mesh="hoover_gear1.mesh" yawpitchroll="-90,-90,0" />
37<Model position="-200,1000,500" scale="10" mesh="hoover_gear2.mesh" yawpitchroll="-90,-90,0" />
38<Model position="-200,1000,500" scale="10" mesh="hoover_turbine.mesh" yawpitchroll="-90,-90,0" /-->
39
40<Trigger position="0,200,0" scale="2" delay="2" stayOn="1">
41  <DistanceTrigger position="100,0,0" scale="2" distance="80" stayOn="1.0" target="SpaceShip"/>
42  <DistanceTrigger position="150,0,0" scale="2" distance="80" stayOn="1.0" target="SpaceShip"/>
43</Trigger>
44
45<?lua
46for i = 1, 226, 1
47do ?>
48  <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)) ?>" />
49<?lua
50end
51?>
Note: See TracBrowser for help on using the repository browser.