Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/notifications/data/levels/tutorial.oxw @ 7319

Last change on this file since 7319 was 7319, checked in by dafrick, 14 years ago

Small changes for testing purposes.

  • Property svn:eol-style set to native
File size: 1.7 KB
Line 
1<?lua
2  include("hudtemplates3.oxo")
3  include("stats.oxo")
4  include("templates/spaceship_assff.oxt")
5  include("templates/lodinformation.oxt")
6?>
7
8<Level
9 name         = "Presentation"
10 description  = "A simple testlevel"
11>
12  <templates>
13    <Template link=lodtemplate_default />
14  </templates>
15
16  <NotificationQueue
17   name   = "notification"
18   position = "0.05, 0.05"
19   font   = "VeraMono"
20   textsize = 0.020
21   length   = 3
22   width  = 50
23  />
24
25  <Scene
26   ambientlight = "0.5, 0.5, 0.5"
27   skybox       = "Orxonox/skypanoramagen1"
28  >
29
30      <CommandNotification preMessage="Press '" postMessage="' to fire your primary weapon." command="fire 0">
31        <events>
32            <trigger>
33                <DistanceTrigger name=trigger position="0,0,-100" distance=10 target="Pawn" />
34            </trigger>
35        </events>
36    </CommandNotification>
37    <Billboard position="0,0,-100" colour="1.0,1.0,0" material="Examples/Flare" />
38
39    <SimpleNotification message="Awesome!!!">
40        <events>
41            <trigger>
42                <DistanceTrigger name=trigger position="0,0,100" distance=10 target="Pawn" />
43            </trigger>
44        </events>
45    </SimpleNotification>
46    <Billboard position="0,0,100" colour="1.0,0,1.0" material="Examples/Flare" />
47 
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
52
53    <?lua
54      for i = 1, 10, 1 do
55    ?>
56      <SpawnPoint position="<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>,<?lua print(math.random() * 1000 - 500) ?>" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
57    <?lua end ?>
58
59
60  </Scene>
61</Level>
Note: See TracBrowser for help on using the repository browser.