Last change
on this file since 5463 was
5453,
checked in by Aurelian, 16 years ago
|
My first version with working triggers in a row… - added level map
|
File size:
1.2 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 = "tesmap for gametype asteroid race" |
---|
10 | > |
---|
11 | <Scene |
---|
12 | ambientlight = "0.5, 0.5, 0.5" |
---|
13 | skybox = "Orxonox/Starbox" |
---|
14 | > |
---|
15 | |
---|
16 | |
---|
17 | |
---|
18 | <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" /> |
---|
19 | |
---|
20 | |
---|
21 | <?lua |
---|
22 | for i = 1, 10, 1 |
---|
23 | do ?> |
---|
24 | <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 /> |
---|
25 | <?lua |
---|
26 | end |
---|
27 | ?> |
---|
28 | |
---|
29 | |
---|
30 | <DistanceTrigger name=trigger1 position="0,0,0" stayactive=true distance=20 /> |
---|
31 | |
---|
32 | <DistanceTrigger name=trigger2 position="0,0,200" stayactive=true distance=20> |
---|
33 | <events> |
---|
34 | <activity> |
---|
35 | <EventListener event=trigger1 /> |
---|
36 | </activity> |
---|
37 | </events> |
---|
38 | </DistanceTrigger> |
---|
39 | |
---|
40 | <DistanceTrigger name=trigger3 position="0,0,400" stayactive=true distance=20> |
---|
41 | <events> |
---|
42 | <activity> |
---|
43 | <EventListener event=trigger2 /> |
---|
44 | </activity> |
---|
45 | </events> |
---|
46 | </DistanceTrigger> |
---|
47 | |
---|
48 | </Scene> |
---|
49 | </Level> |
---|
Note: See
TracBrowser
for help on using the repository browser.