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" lookat="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
21 | |
---|
22 | |
---|
23 | <!-- |
---|
24 | <?lua |
---|
25 | for i = 1, 50, 1 |
---|
26 | do ?> |
---|
27 | <Model scale="<?lua print(math.random() * 50 + 3) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" position="<?lua print(math.random() * 10000 + 5000) ?>,<?lua print(math.random() * 10000 + 5000) ?>,<?lua print(math.random() * 10000 + 5000) ?>" /> |
---|
28 | <?lua |
---|
29 | end |
---|
30 | ?> |
---|
31 | --> |
---|
32 | |
---|
33 | |
---|
34 | <ForceField position="0,-500,0" direction="0,1,0" /> |
---|
35 | |
---|
36 | |
---|
37 | <CheckPoint name=trigger1 position="-200,300,0" isdestination=false stayactive=true distance=20 /> |
---|
38 | |
---|
39 | |
---|
40 | <CheckPoint name=trigger2 position="0,250,0" isdestination=false stayactive=true distance=20 > |
---|
41 | <events> |
---|
42 | <activity> |
---|
43 | <EventListener event=trigger1 /> |
---|
44 | </activity> |
---|
45 | </events> |
---|
46 | </CheckPoint> |
---|
47 | |
---|
48 | |
---|
49 | <CheckPoint name=trigger3 position="200,350,0" stayactive=true distance=20 > |
---|
50 | <events> |
---|
51 | <activity> |
---|
52 | <EventListener event=trigger2 /> |
---|
53 | </activity> |
---|
54 | </events> |
---|
55 | </CheckPoint> |
---|
56 | |
---|
57 | <CheckPoint name=trigger4 position="600,150,0" stayactive=true distance=20 > |
---|
58 | <events> |
---|
59 | <activity> |
---|
60 | <EventListener event=trigger3 /> |
---|
61 | </activity> |
---|
62 | </events> |
---|
63 | </CheckPoint> |
---|
64 | |
---|
65 | <CheckPoint name=trigger5 position="1000,200,0" isdestination=true stayactive=true distance=20 > |
---|
66 | <events> |
---|
67 | <activity> |
---|
68 | <EventListener event=trigger4 /> |
---|
69 | </activity> |
---|
70 | </events> |
---|
71 | </CheckPoint> |
---|
72 | |
---|
73 | |
---|
74 | </Scene> |
---|
75 | </Level> |
---|