Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/archive/tutorialHS09/data/levels/pickuptest.oxw @ 10066

Last change on this file since 10066 was 5695, checked in by rgrieder, 15 years ago

Merged resource2 branch back to trunk.

IMPORTANT NOTE:
Upon this merge you need to specifically call your data directory "data_extern" when checking it out (when you don't provide a name, it will be just called 'trunk').
The new CMake variable is EXTERNAL_DATA_DIRECTORY. DATA_DIRECTORY now points to the one the source part of the repository.
UPDATE YOUR DATA DIRECTORY AS WELL!!!

  • Property svn:eol-style set to native
File size: 2.1 KB
Line 
1<?lua
2  include("hudtemplates3.oxo")
3  include("stats.oxo")
4  include("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.