Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/media/levels/pickuptest.oxw @ 5562

Last change on this file since 5562 was 5529, checked in by danielh, 16 years ago

Some changes on pickups

  • Property svn:eol-style set to native
File size: 2.1 KB
Line 
1<?lua
2  include("overlay/hudtemplates3.oxo")
3  include("overlay/stats.oxo")
4  include("levels/templates/spaceship_assff.oxt")
5?>
6
7<Level
8 name         = "Presentation"
9 description  = "A simple testlevel"
10>
11  <Scene
12   ambientlight = "0.5, 0.5, 0.5"
13   skybox       = "Orxonox/skypanoramagen1"
14  >
15
16    <Template name="jumpTest" baseclass="Jump">
17        <Jump velocity="0,0,500" jumpsAvailable="1" guiImage="decal.jpg" guiText="TEST" />
18    </Template>
19    <Template name="jumpTest2" baseclass="Jump">
20        <Jump velocity="0,0,-500" jumpsAvailable="1" guiImage="dish.jpg" guiText="J2" />
21    </Template>
22    <Template name="jumpTest3" baseclass="Jump">
23        <Jump velocity="0,0,-500" jumpsAvailable="1" guiImage="sl_organic03.jpg" guiText="J3" />
24    </Template>
25    <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" />
26
27    <PickupSpawner item="jumpTest" triggerDistance="20" respawnTime="2" position="100, 0, 0">
28        <attached>
29            <Model mesh="sphere.mesh" scale="3.0" />
30            <Billboard material="Examples/Flare" colour="0.5, 1.0, 0.3" scale="0.5" />
31        </attached>
32    </PickupSpawner>
33    <PickupSpawner item="jumpTest2" triggerDistance="20" respawnTime="5" position="140, 140, 140">
34        <attached>
35            <Model mesh="sphere.mesh" scale="3.0" />
36            <Billboard material="Examples/Flare" colour="1.0, 0.5, 0.3" scale="0.5" />
37        </attached>
38    </PickupSpawner>
39    <PickupSpawner item="jumpTest3" triggerDistance="20" respawnTime="5" position="180, 180, 180">
40        <attached>
41            <Model mesh="sphere.mesh" scale="3.0" />
42            <Billboard material="Examples/Flare" colour="0.5, 0.3, 1.0" scale="0.5" />
43        </attached>
44    </PickupSpawner>
45
46    <SpawnPoint position="200,200,200" lookat="100,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
47
48    <GlobalShader compositor="Bloom" visible=false>
49      <events>
50        <visibility>
51          <DistanceTrigger position="0,0,0" distance=30 target="Spectator" switch=true />
52        </visibility>
53      </events>
54    </GlobalShader>
55  </Scene>
56</Level>
Note: See TracBrowser for help on using the repository browser.