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