1 | <?lua |
---|
2 | include("levels/spaceshiptemplates.oxw") |
---|
3 | ?> |
---|
4 | |
---|
5 | <Level |
---|
6 | name = "Sample" |
---|
7 | description = "Just a few tests" |
---|
8 | > |
---|
9 | <Scene |
---|
10 | ambientlight = "0.5, 0.5, 0.5" |
---|
11 | skybox = "Orxonox/Starbox" |
---|
12 | > |
---|
13 | |
---|
14 | <HelloBullet/> |
---|
15 | |
---|
16 | <!--SpawnPoint position="0, 0, 100" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
17 | <SpawnPoint position="0, 0, -700" yaw =180 spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
18 | <SpawnPoint position="0, 300, -300" pitch=-90 spawnclass=SpaceShip pawndesign=spaceshipassff /--> |
---|
19 | |
---|
20 | <!--LinearEntity scale=1.5 position="0,0,-300" velocity="0,0,0" rotationaxis="0,1,0" rotationrate=90> |
---|
21 | <events> |
---|
22 | <activity> |
---|
23 | <DistanceTrigger position="0,0,-300" distance=50 target="ControllableEntity" invert=1 /> |
---|
24 | </activity> |
---|
25 | </events> |
---|
26 | <attached> |
---|
27 | <Model position="0,0,0" scale=10 mesh="ast1.mesh" /> |
---|
28 | <PositionableEntity position="0,0,100"> |
---|
29 | <attached> |
---|
30 | <Model position="0,0,0" scale=6 mesh="ast1.mesh" /> |
---|
31 | <LinearEntity position="0,0,0" velocity="0,0,0" rotationaxis="0,0,1" rotationrate=500> |
---|
32 | <attached> |
---|
33 | <Model position="0,35,0" scale=2 mesh="ast1.mesh" /> |
---|
34 | <Model position="0,-35,0" scale=2 mesh="ast1.mesh" /> |
---|
35 | <Model position="35,0,0" scale=2 mesh="ast1.mesh"> |
---|
36 | <attached> |
---|
37 | <ParticleEmitter position="0,0,0" source="Orxonox/fire3" /> |
---|
38 | </attached> |
---|
39 | </Model> |
---|
40 | <Model position="-35,0,0" scale=2 mesh="ast1.mesh"> |
---|
41 | <attached> |
---|
42 | <ParticleEmitter position="0,0,0" source="Orxonox/fire3" /> |
---|
43 | </attached> |
---|
44 | </Model> |
---|
45 | </attached> |
---|
46 | </LinearEntity> |
---|
47 | </attached> |
---|
48 | </PositionableEntity> |
---|
49 | <LinearEntity position="0,0,-100" velocity="0,0,0" rotationaxis="0,1,0" rotationrate=200> |
---|
50 | <attached> |
---|
51 | <ParticleEmitter position="0,0,0" source="Orxonox/fire3" /> |
---|
52 | <Model position="0,0,0" scale=6 mesh="ast1.mesh" /> |
---|
53 | <Model position="0,0,-50" scale=3 mesh="ast1.mesh" /> |
---|
54 | <Model position="0,0,50" scale=3 mesh="ast1.mesh" /> |
---|
55 | </attached> |
---|
56 | </LinearEntity> |
---|
57 | </attached> |
---|
58 | </LinearEntity--> |
---|
59 | |
---|
60 | |
---|
61 | <!--ParticleSpawner position="-500,0,-200" source="Orxonox/BigExplosion1part1" lifetime=3.0 loop=1 /> |
---|
62 | <ParticleSpawner position="-500,0,-300" source="Orxonox/BigExplosion1part1" lifetime=3.0 loop=1 /> |
---|
63 | <ParticleSpawner position="-500,0,-400" source="Orxonox/BigExplosion1part1" lifetime=3.0 loop=1 /> |
---|
64 | <ParticleSpawner position="-500,0,-500" source="Orxonox/BigExplosion1part1" lifetime=2.5 loop=1 /> |
---|
65 | <ParticleSpawner position="-500,0,-600" source="Orxonox/BigExplosion1part1" lifetime=2.5 loop=1 /--> |
---|
66 | |
---|
67 | |
---|
68 | <ParticleSpawner position="0,0,100" source="Orxonox/BigExplosion1part3" lifetime=2.0 loop=0 autostart=0> |
---|
69 | <events> |
---|
70 | <spawn> |
---|
71 | <EventTrigger delay=1> |
---|
72 | <events> |
---|
73 | <trigger> |
---|
74 | <SpawnPoint position="0,0,100" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
75 | </trigger> |
---|
76 | </events> |
---|
77 | </EventTrigger> |
---|
78 | </spawn> |
---|
79 | </events> |
---|
80 | </ParticleSpawner> |
---|
81 | |
---|
82 | |
---|
83 | <!--ParticleEmitter name=fireright position="200,0,0" source="Orxonox/fire3" active=false> |
---|
84 | <events> |
---|
85 | <activity> |
---|
86 | <DistanceTrigger name=firetrigger1 position="200,0,0" distance=100 target="ControllableEntity" /> |
---|
87 | </activity> |
---|
88 | </events> |
---|
89 | </ParticleEmitter> |
---|
90 | <ParticleEmitter name=fireleft position="-200,0,0" source="Orxonox/fire3" active=false> |
---|
91 | <events> |
---|
92 | <activity> |
---|
93 | <DistanceTrigger name=firetrigger2 position="-200,0,0" distance=100 target="ControllableEntity" /> |
---|
94 | </activity> |
---|
95 | </events> |
---|
96 | </ParticleEmitter> |
---|
97 | <ParticleEmitter name=firecenter position="0,0,0" source="Orxonox/fire3" active=false> |
---|
98 | <events> |
---|
99 | <activity> |
---|
100 | <EventListener event=firetrigger1 /> |
---|
101 | <EventListener event=firetrigger2 /> |
---|
102 | </activity> |
---|
103 | </events> |
---|
104 | </ParticleEmitter--> |
---|
105 | |
---|
106 | |
---|
107 | <!--EventDispatcher> |
---|
108 | <targets> |
---|
109 | <EventTarget name=fireright /> |
---|
110 | <EventTarget name=firecenter /> |
---|
111 | <EventTarget name=fireleft /> |
---|
112 | </targets> |
---|
113 | <events> |
---|
114 | <activity> |
---|
115 | <DistanceTrigger position="0,0,200" distance=100 target="ControllableEntity" /> |
---|
116 | </activity> |
---|
117 | </events> |
---|
118 | </EventDispatcher--> |
---|
119 | |
---|
120 | |
---|
121 | <!--Model position="0,50,0" scale=3 mesh="assff.mesh"> |
---|
122 | <events> |
---|
123 | <visibility> |
---|
124 | <DistanceTrigger position="0,50,0" distance=50 target="ControllableEntity" invert=1 /> |
---|
125 | </visibility> |
---|
126 | </events> |
---|
127 | </Model--> |
---|
128 | |
---|
129 | |
---|
130 | <Model position="0,0,200" scale=10 mesh="ast2.mesh" shadow=true /> |
---|
131 | <!--Model position="0,0,-200" scale=10 mesh="ast1.mesh" shadow=true /--> |
---|
132 | <Model position="0,200,0" scale=10 mesh="ast3.mesh" shadow=true /> |
---|
133 | <Model position="0,-200,0" scale=10 mesh="ast4.mesh" shadow=true /> |
---|
134 | <Model position="200,0,0" scale=10 mesh="ast5.mesh" shadow=false /> |
---|
135 | <Model position="-200,0,0" scale=10 mesh="ast6.mesh" shadow=false /> |
---|
136 | |
---|
137 | <Model position="1000,-200,0" scale3D="1,100,100" mesh="ast1.mesh" /> |
---|
138 | |
---|
139 | <Model position="0, 0,-100" pitch=-90 roll=-90 scale=4 mesh="assff.mesh" /> |
---|
140 | <!--Model position="0,100,-100" pitch=-90 roll=-90 scale=4 mesh="pirate.mesh" /> |
---|
141 | <Model position="0,300,-100" pitch=-90 roll=-90 scale=4 mesh="spacecruiser.mesh" /--> |
---|
142 | |
---|
143 | </Scene> |
---|
144 | </Level> |
---|