Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/media/levels/gametype_asteroids.oxw @ 5506

Last change on this file since 5506 was 5505, checked in by Aurelian, 16 years ago

Asteroids with working timer, HudTemplates Timer added…

File size: 2.4 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         = "Asteroids Race"
9 description  = "testmap for gametype asteroid race"
10 gametype     = Asteroids
11>
12  <Scene
13   ambientlight = "0.5, 0.5, 0.5"
14   skybox       = "Orxonox/Starbox"
15  >
16
17<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" />
18
19
20<SpawnPoint position="-300,300,0" name="playerstart" lookat="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
21
22
23
24<?lua
25for i = 1, 100, 1
26do ?>
27    <Model scale="<?lua print(math.random() * 150 + 30) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" position="<?lua print(math.random() * 10000 ) ?>,<?lua print(math.random() * 10000 - 5000) ?>,<?lua print(math.random() * 10000 - 5000) ?>">
28
29</Model>
30<?lua
31end
32?>
33
34
35
36<ForceField position="0,-500,0" direction="0,1,1" diameter=1000 velocity=50>
37  <attached>
38    <ParticleEmitter source="Orxonox/forcefield" lifetime=10000 startdelay=0 />
39  </attached>         
40 </ForceField>
41 
42<ForceField position="1000,-100,0" direction="0,1,1" diameter=1500 velocity=100/>
43<ForceField position="1800,300,-500" direction="0,0,1" diameter=800 velocity=50/>
44
45
46
47<CheckPoint name=trigger1 position="-300,300,0" scale=5 isdestination=false isfirst=true stayactive=true distance=50 addtime=5 visibility=false />
48
49
50<CheckPoint name=trigger2 position="1000,300,600" scale=5 isdestination=false stayactive=true distance=50 addtime=5>
51  <events>
52    <activity>
53      <EventListener event=trigger1 />
54    </activity>
55  </events>
56</CheckPoint>
57
58
59<CheckPoint name=trigger3 position="1800,300,800" stayactive=true distance=50 addtime=5>
60  <events>
61    <activity>
62      <EventListener event=trigger2 />
63    </activity>
64  </events>
65</CheckPoint>
66
67
68
69
70<CheckPoint name=trigger4 position="2600,400,1100" stayactive=true distance=10 addtime=25>
71  <events>
72    <activity>
73      <EventListener event=trigger3 />
74    </activity>
75  </events>
76</CheckPoint>
77
78
79
80<Model position="3600,300,1400" scale=10 mesh="Carrier.mesh">
81  <attached>
82    <CheckPoint position="0,0,0" name=trigger5 stayactive=true distance=50 isdestination=true>
83      <events>
84        <activity>
85          <EventListener event=trigger4 />
86        </activity>
87      </events>
88    </CheckPoint>
89  </attached>
90</Model>
91
92
93
94  </Scene>
95</Level>
Note: See TracBrowser for help on using the repository browser.