Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/spacerace/data/levels/presentation.oxw @ 8748

Last change on this file since 8748 was 7679, checked in by dafrick, 14 years ago

Renaming levelfiles (and some other) according to our new naming conventions which is using camelCase, without '_' or spaces.

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