Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/media/levels/sample2.oxw @ 5521

Last change on this file since 5521 was 5385, checked in by FelixSchulthess, 16 years ago

added axels model

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