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