Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/tutorial/data/levels/tutorial.oxw @ 8185

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

Removing all the solution stuff.

  • Property svn:eol-style set to native
File size: 1000 bytes
Line 
1<LevelInfo
2 name = "Coding Tutorial"
3 description = "Level for the coding tutorial."
4 tags = "tutorial"
5/>
6
7<?lua
8  include("HUDTemplates3.oxo")
9  include("stats.oxo")
10  include("templates/spaceshipAssff.oxt")
11  include("templates/lodInformation.oxt")
12?>
13
14<Level
15 name         = "Coding Tutorial"
16 description  = "Level for the coding tutorial."
17>
18  <templates>
19    <Template link=lodtemplate_default />
20  </templates>
21
22  <Scene
23   ambientlight = "0.5, 0.5, 0.5"
24   skybox       = "Orxonox/skypanoramagen1"
25  >
26
27    <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" />
28
29    <?lua
30      for i = 1, 10, 1 do
31    ?>
32      <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 />
33    <?lua end ?>
34   
35    <!-- TODO: Insert drone here. -->
36
37  </Scene>
38</Level>
Note: See TracBrowser for help on using the repository browser.