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