Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/gamestates3/data/levels/pickup_ppstest1.oxw @ 10362

Last change on this file since 10362 was 6712, checked in by dafrick, 15 years ago

Merged pickup_representation_templates into one.
Merged pickups.oxi into one.
Adjusted pickup.oxw to showcase all currently existing (and working) pickups.

  • Property svn:eol-style set to native
File size: 3.3 KB
Line 
1<?lua
2  include("stats.oxo")
3  include("hudtemplates3.oxo")
4?>
5
6<?lua
7  include("templates/spaceship_assff.oxt")
8  include("templates/spaceship_pirate.oxt")
9  include("templates/pickup_representation_templates.oxt")
10?>
11
12<Level
13 name         = "Sample"
14 description  = "Just a few tests"
15>
16  <Scene
17    ambientlight = "0.8, 0.8, 0.8"
18    skybox       = "Orxonox/Starbox"
19  >
20
21<?lua
22  include("includes/pickups.oxi")
23?>
24
25    <PickupSpawner position="-25,0,-100" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
26        <pickup>
27            <SpeedPickup template=smallspeedpickup />
28        </pickup>
29    </PickupSpawner>
30
31    <PickupSpawner position="0,0,-100" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
32        <pickup>
33            <SpeedPickup template=mediumspeedpickup />
34        </pickup>
35    </PickupSpawner>
36
37    <PickupSpawner position="25,0,-100" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
38        <pickup>
39            <SpeedPickup template=hugespeedpickup />
40        </pickup>
41    </PickupSpawner>
42
43    <PickupSpawner position="50,0,-100" triggerDistance="10" respawnTime="10" maxSpawnedItems="99">
44        <pickup>
45            <SpeedPickup template=smalljumppickup />
46        </pickup>
47    </PickupSpawner>
48
49
50    <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0, 0.9, 0.9, 1.0" specular="1.0, 0.9, 0.9, 1.0" />
51    <SpawnPoint position="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
52
53
54
55    <MovableEntity scale=1.5 position="0,0,-300" velocity="0,0,0" rotationaxis="0,1,0" rotationrate=90>
56      <events>
57        <activity>
58          <DistanceTrigger position="0,0,-300" distance=50 target="ControllableEntity" invert=1 />
59        </activity>
60      </events>
61      <attached>
62        <Model position="0,0,0" scale=10 mesh="ast1.mesh" />
63        <StaticEntity position="0,0,100">
64          <attached>
65            <Model position="0,0,0" scale=6 mesh="ast1.mesh" />
66            <MovableEntity position="0,0,0" velocity="0,0,0" rotationaxis="0,0,1" rotationrate=500>
67              <attached>
68                <Model position="0,35,0" scale=2 mesh="ast1.mesh" />
69                <Model position="0,-35,0" scale=2 mesh="ast1.mesh" />
70                <Model position="35,0,0" scale=2 mesh="ast1.mesh">
71                  <attached>
72                    <ParticleEmitter position="0,0,0" source="Orxonox/ExplosionComp4" />
73                  </attached>
74                </Model>
75                <Model position="-35,0,0" scale=2 mesh="ast1.mesh">
76                  <attached>
77                    <ParticleEmitter position="0,0,0" source="Orxonox/fire3" />
78                  </attached>
79                </Model>
80              </attached>
81            </MovableEntity>
82          </attached>
83        </StaticEntity>
84        <MovableEntity position="0,0,-100" velocity="0,0,0" rotationaxis="0,1,0" rotationrate=200>
85          <attached>
86            <ParticleEmitter position="0,0,0" source="Orxonox/fire3" />
87            <Model position="0,0,0" scale=6 mesh="ast1.mesh" />
88            <Model position="0,0,-50" scale=3 mesh="ast1.mesh" />
89            <Model position="0,0,50" scale=3 mesh="ast1.mesh" />
90          </attached>
91        </MovableEntity>
92      </attached>
93    </MovableEntity>
94
95    <ExplosionChunk position="-500,0,-200" lifetime=3.0 loop=1/>
96
97  </Scene>
98</Level>
Note: See TracBrowser for help on using the repository browser.