Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/tutorial.oxw @ 6987

Last change on this file since 6987 was 5781, checked in by rgrieder, 15 years ago

Reverted trunk again. We might want to find a way to delete these revisions again (x3n's changes are still available as diff in the commit mails).

  • Property svn:eol-style set to native
File size: 4.6 KB
RevLine 
[5378]1<?lua
[5654]2  include("hudtemplates3.oxo")
3  include("stats.oxo")
4  include("templates/spaceship_assff.oxt")
[5378]5?>
6
7<Level
8 name         = "Presentation"
9 description  = "A simple testlevel"
10>
11  <Scene
12   ambientlight = "0.5, 0.5, 0.5"
13   skybox       = "Orxonox/skypanoramagen1"
14  >
[5452]15
16<Drone name="meineDrohne" primarythrust="80" auxilarythrust="10" rotationthrust="10" mass= "50" linearDamping = "0.9" angularDamping = "0.7">
17  <attached>
18    <Model scale="10" mesh="drone.mesh"/>
19  </attached>
20  <collisionShapes>
21    <BoxCollisionShape position="0,0,0"      halfExtents="10, 10, 10" />
22  </collisionShapes>
23</Drone>
24
25
[5378]26    <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" />
27
[5519]28<Model mesh="hs-w01.mesh" scale=10 position="0,0,-100" />
29<Model mesh="hs-w01s.mesh" scale=10 position="0,0,-100" />
[5403]30
[5378]31<?lua
[5528]32for i = 1, 10, 1
[5378]33do ?>
34    <SpawnPoint position="<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
[5528]35<?lua
[5378]36end
37?>
[5383]38
39    <GlobalShader compositor="Bloom" visible=false>
40      <events>
41        <visibility>
42          <DistanceTrigger position="0,0,0" distance=30 target="Spectator" switch=true />
43        </visibility>
44      </events>
45    </GlobalShader>
46    <Model position="0,0,0" scale=8 mesh="ast1.mesh" />
47    <StaticEntity position="0,0,0" collisionType=static>
48      <collisionShapes>
49        <SphereCollisionShape radius="20" />
50      </collisionShapes>
51    </StaticEntity>
52<!--
53<?lua
[5528]54for i = 1, 70, 1
[5383]55do ?>
56  <MovableEntity position="<?lua print(math.random() * 6000 - 3000)?>, <?lua print(math.random() * 6000 - 3000) ?>, <?lua print(math.random() * 1000 + 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
57    <attached>
58      <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
59    </attached>
60  </MovableEntity>
61  <MovableEntity position="<?lua print(math.random() * 6000 - 3000)?>, <?lua print(math.random() * 6000 - 3000) ?>, <?lua print(math.random() * -1000 - 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
62    <attached>
63      <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
64    </attached>
65  </MovableEntity>
66
67  <MovableEntity position="<?lua print(math.random() * 6000 - 3000)?>, <?lua print(math.random() * 1000 + 3000) ?>, <?lua print(math.random() * 6000 - 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
68    <attached>
69      <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
70    </attached>
71  </MovableEntity>
72  <MovableEntity position="<?lua print(math.random() * 6000 - 3000)?>, <?lua print(math.random() * -1000 - 3000) ?>, <?lua print(math.random() * 6000 - 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
73    <attached>
74      <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
75    </attached>
76  </MovableEntity>
77
78  <MovableEntity position="<?lua print(math.random() * 1000 + 3000)?>, <?lua print(math.random() * 6000 - 3000) ?>, <?lua print(math.random() * 6000 - 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
79    <attached>
80      <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
81    </attached>
82  </MovableEntity>
83  <MovableEntity position="<?lua print(math.random() * -1000 - 3000)?>, <?lua print(math.random() * 6000 - 3000) ?>, <?lua print(math.random() * 6000 - 3000) ?>" rotationaxis="<?lua print(math.random()) ?>, <?lua print(math.random()) ?>, <?lua print(math.random()) ?>" rotationrate="<?lua print(math.random() * 30 + 5) ?>">
84    <attached>
85      <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
86    </attached>
87  </MovableEntity>
[5528]88<?lua
[5383]89end
90?>
91-->
[5378]92  </Scene>
93</Level>
Note: See TracBrowser for help on using the repository browser.