Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 5514 was 5506, checked in by danielh, 16 years ago

Pickup media

File size: 1.2 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         = "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="10" />
18    </Template>
19    <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" />
20
21    <PickupSpawner item="jumpTest" triggerDistance="20" respawnTime="10" position="100, 0, 0">
22        <attached>
23            <Model mesh="sphere.mesh" scale="3.0" />
24            <Billboard material="Examples/Flare" colour="0.5, 1.0, 0.3" scale="0.5" />
25        </attached>
26    </PickupSpawner>
27   
28    <SpawnPoint position="200,200,200" lookat="100,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
29
30    <GlobalShader compositor="Bloom" visible=false>
31      <events>
32        <visibility>
33          <DistanceTrigger position="0,0,0" distance=30 target="Spectator" switch=true />
34        </visibility>
35      </events>
36    </GlobalShader>
37  </Scene>
38</Level>
Note: See TracBrowser for help on using the repository browser.