Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/levelElias/data/levels/presentation.oxw @ 10169

Last change on this file since 10169 was 9887, checked in by lumperte, 11 years ago

Escape the Bastards: Questions: Collision Damage at 'Staticentity', 'Particleemitter' size for sun? ToDo: Better Design of Blueplanet, Boxes, Asteroidbelts. no lags, Sunparticles

  • Property svn:eol-style set to native
File size: 7.6 KB
RevLine 
[9887]1<!-- -->
[7648]2<LevelInfo
3 name = "Presentation"
4 description = "Presentation Level"
5 tags = "presentation"
[9016]6 screenshot = "presentation.png"
[7648]7/>
8
[5356]9<?lua
[7679]10  include("HUDTemplates3.oxo")
[5654]11  include("stats.oxo")
[7679]12  include("templates/spaceshipAssff.oxt")
13  include("templates/lodInformation.oxt")
[5356]14?>
15
[9016]16<Level>
[7163]17  <templates>
18    <Template link=lodtemplate_default />
19  </templates>
[8706]20  <?lua include("includes/notifications.oxi") ?>
[7163]21
[5356]22  <Scene
[5436]23   ambientlight = "0.3, 0.3, 0.3"
[5356]24   skybox       = "Orxonox/Starbox"
25  >
[5436]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
[5356]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
[5528]32
[6417]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 -->
[5528]39
[6417]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-->
[5356]46
[6417]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-->
[5356]53
[6417]54    <!-- Carrier with guns not implemented yet -->
55    <MovableEntity position="-2000,-1000,-2000" pitch="-90" roll="90">
[5356]56      <attached>
57        <Model position="0,0,0" scale=10 mesh="Carrier.mesh" />
[6417]58        <Model position="0,30,20" scale=10 mesh="pirate.mesh" roll="180" />
[5356]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>
[6417]67          <attached>
[5356]68            <Model position="4,0,0" scale=10 mesh="satellitedish.mesh"/>
69          </attached>
[6417]70        </MovableEntity>
[5356]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>
[5537]95                    <ParticleEmitter position="0,0,0" source="Orxonox/ExplosionComp4" />
[5356]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
[5537]118    <ExplosionChunk position="-500,0,-200" lifetime=3.0 loop=1/>
[5356]119
[5537]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 />
[5356]122
[5537]123    <ParticleSpawner position="0,0,100" source="Orxonox/ExplosionComp1" lifetime=2.0 loop=0 autostart=0>
[5356]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>
[5537]145    <ParticleEmitter name=fireleft position="-200,0,0" source="Orxonox/fire3" active=true>
[5356]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>
[5929]164        <EventTarget target=fireright />
165        <EventTarget target=firecenter />
166        <EventTarget target=fireleft />
[5356]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.