Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/media/levels/presentation_dm.oxw @ 5381

Last change on this file since 5381 was 5381, checked in by landauf, 15 years ago

added scoreboard to levels
initialize scoreboard with visible=false
changed skybox in all levels to the new one and added corresponding directional light

  • Property svn:eol-style set to native
File size: 778 bytes
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    <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" />
16
17<?lua
18for i = 1, 10, 1
19do ?>
20    <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 />
21<?lua
22end
23?>
24    <Model position="0,0,0" mesh="ast1.mesh" />
25  </Scene>
26</Level>
Note: See TracBrowser for help on using the repository browser.