Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

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