Line | |
---|
1 | <?lua |
---|
2 | include("levels/hudtemplates.oxw") |
---|
3 | ?> |
---|
4 | |
---|
5 | <?lua |
---|
6 | include("levels/spaceshiptemplates.oxw") |
---|
7 | ?> |
---|
8 | |
---|
9 | <Level |
---|
10 | name = "SpaceStation test Space!" |
---|
11 | description = "All the new SpaceStations are created here!" |
---|
12 | > |
---|
13 | <Scene |
---|
14 | ambientlight = "0.5, 0.5, 0.5" |
---|
15 | skybox = "Orxonox/Starbox" |
---|
16 | > |
---|
17 | |
---|
18 | |
---|
19 | |
---|
20 | <!--------------------------------------------------------------------------------------------------------------------------------------------------------------------------> |
---|
21 | <?lua |
---|
22 | dofile("../../media/levels/CuboidSpaceStation2.3.lua") |
---|
23 | ?> |
---|
24 | |
---|
25 | |
---|
26 | |
---|
27 | <!-- Here I add a space station at position 0,0,0 without velocity and no rotation. |
---|
28 | ---- The argument false is the value for ranSeed, which means the space station will be different each time. |
---|
29 | ---> |
---|
30 | <?lua |
---|
31 | createSpaceStation(false) |
---|
32 | ?> |
---|
33 | |
---|
34 | |
---|
35 | |
---|
36 | <!-- Here I add a space station at position 0,0,-1000 without velocity and no rotation. |
---|
37 | ---> |
---|
38 | <PositionableEntity scale=1 position="0,0,-5000"> |
---|
39 | <attached> |
---|
40 | <?lua |
---|
41 | createSpaceStation(false) |
---|
42 | ?> |
---|
43 | </attached> |
---|
44 | </PositionableEntity> |
---|
45 | |
---|
46 | |
---|
47 | |
---|
48 | <!--------------------------------------------------------------------------------------------------------------------------------------------------------------------------> |
---|
49 | |
---|
50 | |
---|
51 | |
---|
52 | <ParticleSpawner position="0,0,0" source="Orxonox/BigExplosion1part3" lifetime=2.0 loop=0 autostart=0> |
---|
53 | <events> |
---|
54 | <spawn> |
---|
55 | <EventTrigger delay=1> |
---|
56 | <events> |
---|
57 | <trigger> |
---|
58 | <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
59 | </trigger> |
---|
60 | </events> |
---|
61 | </EventTrigger> |
---|
62 | </spawn> |
---|
63 | </events> |
---|
64 | </ParticleSpawner> |
---|
65 | |
---|
66 | </Scene> |
---|
67 | </Level> |
---|
Note: See
TracBrowser
for help on using the repository browser.