1 | <?lua |
---|
2 | include("overlay/hudtemplates3.oxo") |
---|
3 | include("overlay/stats.oxo") |
---|
4 | include("levels/templates/spaceship_assff.oxt") |
---|
5 | ?> |
---|
6 | |
---|
7 | <Level |
---|
8 | name = "Sample" |
---|
9 | description = "Just a few tests" |
---|
10 | > |
---|
11 | <Scene |
---|
12 | ambientlight = "0.3, 0.3, 0.3" |
---|
13 | skybox = "Orxonox/Starbox" |
---|
14 | > |
---|
15 | <Light type=directional position="0,0,0" direction="1, -0.3, 0.3" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" /> |
---|
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 | |
---|
22 | <!-- axes in ogre's origin of coordinate system for phsics engine testing purposes--> |
---|
23 | <!--StaticEntity position="0,0,0"> |
---|
24 | <attached> |
---|
25 | <Model position="0,0,0" scale=1 mesh="axes.mesh" /> |
---|
26 | </attached> |
---|
27 | </StaticEntity --> |
---|
28 | |
---|
29 | <!-- red sphere for phsics engine testing purposes--> |
---|
30 | <!--StaticEntity position="40,0,0"> |
---|
31 | <attached> |
---|
32 | <Model position="0,0,0" scale=1 mesh="sphere.mesh" /> |
---|
33 | </attached> |
---|
34 | </StaticEntity--> |
---|
35 | |
---|
36 | <!-- yellow cube for phsics engine testing purposes--> |
---|
37 | <!--StaticEntity position="80,0,0"> |
---|
38 | <attached> |
---|
39 | <Model position="0,0,0" scale=1 mesh="cube.mesh" /> |
---|
40 | </attached> |
---|
41 | </StaticEntity--> |
---|
42 | |
---|
43 | <!-- Carrier with guns not implemented yet --> |
---|
44 | <MovableEntity position="-2000,-1000,-2000" pitch="-90" roll="90"> |
---|
45 | <attached> |
---|
46 | <Model position="0,0,0" scale=10 mesh="Carrier.mesh" /> |
---|
47 | <Model position="0,30,20" scale=10 mesh="pirate.mesh" roll="180" /> |
---|
48 | <Model position="-80,-30,20" scale=10 mesh="pirate.mesh" roll="180" /> |
---|
49 | </attached> |
---|
50 | </MovableEntity> |
---|
51 | |
---|
52 | <MovableEntity position="-300,200,-800" velocity="5,0,0" rotationaxis="1,0,0" rotationrate=0> |
---|
53 | <attached> |
---|
54 | <Model position="0,0,0" scale=10 mesh="satellite.mesh" /> |
---|
55 | <MovableEntity position="-4,0,0" velocity="0,0,0" rotationaxis="0,0,1" rotationrate=50> |
---|
56 | <attached> |
---|
57 | <Model position="4,0,0" scale=10 mesh="satellitedish.mesh"/> |
---|
58 | </attached> |
---|
59 | </MovableEntity> |
---|
60 | <ParticleEmitter pitch=-135 roll=30 position="-14, 3.5,-2.5" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=3.0 /> |
---|
61 | <ParticleEmitter pitch=135 roll=30 position="-14, 3.5,-9" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=3.0 /> |
---|
62 | <ParticleEmitter pitch=-45 roll=30 position="-14,-3.5,-2.5" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=3.0 /> |
---|
63 | <ParticleEmitter pitch=45 roll=30 position="-14,-3.5,-9" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=3.0 /> |
---|
64 | </attached> |
---|
65 | </MovableEntity> |
---|
66 | |
---|
67 | <MovableEntity scale=1.5 position="0,0,-300" velocity="0,0,0" rotationaxis="0,1,0" rotationrate=90> |
---|
68 | <events> |
---|
69 | <activity> |
---|
70 | <DistanceTrigger position="0,0,-300" distance=50 target="ControllableEntity" invert=1 /> |
---|
71 | </activity> |
---|
72 | </events> |
---|
73 | <attached> |
---|
74 | <Model position="0,0,0" scale=10 mesh="ast1.mesh" /> |
---|
75 | <StaticEntity position="0,0,100"> |
---|
76 | <attached> |
---|
77 | <Model position="0,0,0" scale=6 mesh="ast1.mesh" /> |
---|
78 | <MovableEntity position="0,0,0" velocity="0,0,0" rotationaxis="0,0,1" rotationrate=500> |
---|
79 | <attached> |
---|
80 | <Model position="0,35,0" scale=2 mesh="ast1.mesh" /> |
---|
81 | <Model position="0,-35,0" scale=2 mesh="ast1.mesh" /> |
---|
82 | <Model position="35,0,0" scale=2 mesh="ast1.mesh"> |
---|
83 | <attached> |
---|
84 | <ParticleEmitter position="0,0,0" source="Orxonox/ExplosionComp4" /> |
---|
85 | </attached> |
---|
86 | </Model> |
---|
87 | <Model position="-35,0,0" scale=2 mesh="ast1.mesh"> |
---|
88 | <attached> |
---|
89 | <ParticleEmitter position="0,0,0" source="Orxonox/fire3" /> |
---|
90 | </attached> |
---|
91 | </Model> |
---|
92 | </attached> |
---|
93 | </MovableEntity> |
---|
94 | </attached> |
---|
95 | </StaticEntity> |
---|
96 | <MovableEntity position="0,0,-100" velocity="0,0,0" rotationaxis="0,1,0" rotationrate=200> |
---|
97 | <attached> |
---|
98 | <ParticleEmitter position="0,0,0" source="Orxonox/fire3" /> |
---|
99 | <Model position="0,0,0" scale=6 mesh="ast1.mesh" /> |
---|
100 | <Model position="0,0,-50" scale=3 mesh="ast1.mesh" /> |
---|
101 | <Model position="0,0,50" scale=3 mesh="ast1.mesh" /> |
---|
102 | </attached> |
---|
103 | </MovableEntity> |
---|
104 | </attached> |
---|
105 | </MovableEntity> |
---|
106 | |
---|
107 | <ExplosionChunk position="-500,0,-200" lifetime=3.0 loop=1/> |
---|
108 | |
---|
109 | <ParticleSpawner position="-500,0,-200" source="Orxonox/ExplosionComp1" lifetime=3.0 loop=1 /> |
---|
110 | <ParticleSpawner position="-500,0,-200" source="Orxonox/ExplosionComp2" lifetime=3.0 loop=1 /> |
---|
111 | |
---|
112 | <ParticleSpawner position="0,0,100" source="Orxonox/ExplosionComp1" lifetime=2.0 loop=0 autostart=0> |
---|
113 | <events> |
---|
114 | <spawn> |
---|
115 | <EventTrigger delay=1> |
---|
116 | <events> |
---|
117 | <trigger> |
---|
118 | <SpawnPoint position="0,0,100" spawnclass=SpaceShip pawndesign=spaceshipassff /> |
---|
119 | </trigger> |
---|
120 | </events> |
---|
121 | </EventTrigger> |
---|
122 | </spawn> |
---|
123 | </events> |
---|
124 | </ParticleSpawner> |
---|
125 | |
---|
126 | |
---|
127 | <ParticleEmitter name=fireright position="200,0,0" source="Orxonox/fire3" active=false> |
---|
128 | <events> |
---|
129 | <activity> |
---|
130 | <DistanceTrigger name=firetrigger1 position="200,0,0" distance=100 target="ControllableEntity" /> |
---|
131 | </activity> |
---|
132 | </events> |
---|
133 | </ParticleEmitter> |
---|
134 | <ParticleEmitter name=fireleft position="-200,0,0" source="Orxonox/fire3" active=true> |
---|
135 | <events> |
---|
136 | <activity> |
---|
137 | <DistanceTrigger name=firetrigger2 position="-200,0,0" distance=100 target="ControllableEntity" /> |
---|
138 | </activity> |
---|
139 | </events> |
---|
140 | </ParticleEmitter> |
---|
141 | <ParticleEmitter name=firecenter position="0,0,0" source="Orxonox/fire3" active=false> |
---|
142 | <events> |
---|
143 | <activity> |
---|
144 | <EventListener event=firetrigger1 /> |
---|
145 | <EventListener event=firetrigger2 /> |
---|
146 | </activity> |
---|
147 | </events> |
---|
148 | </ParticleEmitter> |
---|
149 | |
---|
150 | |
---|
151 | <EventDispatcher> |
---|
152 | <targets> |
---|
153 | <EventTarget name=fireright /> |
---|
154 | <EventTarget name=firecenter /> |
---|
155 | <EventTarget name=fireleft /> |
---|
156 | </targets> |
---|
157 | <events> |
---|
158 | <activity> |
---|
159 | <DistanceTrigger position="0,0,200" distance=100 target="ControllableEntity" /> |
---|
160 | </activity> |
---|
161 | </events> |
---|
162 | </EventDispatcher> |
---|
163 | |
---|
164 | |
---|
165 | <Model position="0,50,0" scale=3 mesh="assff.mesh"> |
---|
166 | <events> |
---|
167 | <visibility> |
---|
168 | <DistanceTrigger position="0,50,0" distance=50 target="ControllableEntity" invert=1 /> |
---|
169 | </visibility> |
---|
170 | </events> |
---|
171 | </Model> |
---|
172 | |
---|
173 | |
---|
174 | <Model position="0,0,200" scale=10 mesh="ast2.mesh" shadow=true /> |
---|
175 | <!--Model position="0,0,-200" scale=10 mesh="ast1.mesh" shadow=true /--> |
---|
176 | <Model position="0,200,0" scale=10 mesh="ast3.mesh" shadow=true /> |
---|
177 | <Model position="0,-200,0" scale=10 mesh="ast4.mesh" shadow=true /> |
---|
178 | <Model position="200,0,0" scale=10 mesh="ast5.mesh" shadow=false /> |
---|
179 | <Model position="-200,0,0" scale=10 mesh="ast6.mesh" shadow=false /> |
---|
180 | |
---|
181 | <Model position="1000,-200,0" scale3D="1,100,100" mesh="ast1.mesh" /> |
---|
182 | |
---|
183 | <Model position="0, 0,-100" pitch=-90 roll=-90 scale=4 mesh="assff.mesh" /> |
---|
184 | <!--Model position="0,100,-100" pitch=-90 roll=-90 scale=4 mesh="pirate.mesh" /> |
---|
185 | <Model position="0,300,-100" pitch=-90 roll=-90 scale=4 mesh="spacecruiser.mesh" /--> |
---|
186 | |
---|
187 | </Scene> |
---|
188 | </Level> |
---|