Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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

LuaBind ↔Script confusion solved (thx Reto for noticing)\n Solved 4 state problem, however a Trigger may return an one tick old state instead of the newest one. This can probably be solved in another way though.

File size: 2.4 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<DistanceTrigger position="100,0,0" scale="2" distance="80" activations="2" target="SpaceShip"/>
41
42
43<?lua
44for i = 1, 226, 1
45do ?>
46  <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)) ?>" />
47<?lua
48end
49?>
Note: See TracBrowser for help on using the repository browser.