Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/media/levels/gametype_underattack.oxw @ 5474

Last change on this file since 5474 was 5474, checked in by mockm, 15 years ago

gametype UnderAttack testing level

File size: 4.3 KB
Line 
1<?lua
2  include("levels/hudtemplates3.oxw")
3  include("overlay/stats.oxo")
4  include("levels/spaceshiptemplates_presentation.oxw")
5?>
6
7<Level
8 name         = "UnderAttack testing"
9 description  = "A simple testlevel"
10 gametype     = UnderAttack
11>
12  <Scene
13   ambientlight = "0.5, 0.5, 0.5"
14   skybox       = "Orxonox/skypanoramagen1"
15  >
16    <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" />
17
18<?lua
19for i = 1, 10, 1
20do ?>
21    <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 />
22<?lua
23end
24?>
25
26    <Destroyer>
27        <attached>
28            <Model position="0,0,50" mesh="UEATransporter036T.mesh" scale="1" />
29        </attached>     
30    </Destroyer>
31    <GlobalShader compositor="Bloom" visible=false>
32      <events>
33        <visibility>
34          <DistanceTrigger position="0,0,0" distance=30 target="Spectator" switch=true />
35        </visibility>
36      </events>
37    </GlobalShader>
38    <Model position="0,0,0" scale=8 mesh="ast1.mesh" />
39    <StaticEntity position="0,0,0" collisionType=static>
40      <collisionShapes>
41        <SphereCollisionShape radius="20" />
42      </collisionShapes>
43    </StaticEntity>
44<!--
45<?lua
46for i = 1, 70, 1
47do ?>
48  <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) ?>">
49    <attached>
50      <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
51    </attached>
52  </MovableEntity>
53  <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) ?>">
54    <attached>
55      <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
56    </attached>
57  </MovableEntity>
58
59  <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) ?>">
60    <attached>
61      <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
62    </attached>
63  </MovableEntity>
64  <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) ?>">
65    <attached>
66      <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
67    </attached>
68  </MovableEntity>
69
70  <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) ?>">
71    <attached>
72      <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
73    </attached>
74  </MovableEntity>
75  <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) ?>">
76    <attached>
77      <Model scale="<?lua print(math.random() * 30 + 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false />
78    </attached>
79  </MovableEntity>
80<?lua
81end
82?>
83-->
84  </Scene>
85</Level>
Note: See TracBrowser for help on using the repository browser.