Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/presentation.oxw @ 8974

Last change on this file since 8974 was 8706, checked in by dafrick, 13 years ago

Merging presentation branch back into trunk.
There are many new features and also a lot of other changes and bugfixes, if you want to know, digg through the svn log.
Not everything is yet working as it should, but it should be fairly stable. If you habe any bug reports, just send me an email.

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