Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/media/levels/presentation.oxw @ 5407

Last change on this file since 5407 was 5380, checked in by rgrieder, 16 years ago

Updated stats overlay.

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