Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/levelMichael/data/levels/presentation.oxw @ 9722

Last change on this file since 9722 was 9016, checked in by jo, 13 years ago

Merging presentation2011 branch to trunk. Please check for possible bugs.

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