Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/CampaignMap_HS17/data/levels/NC_StoryModeLevel.oxw @ 11676

Last change on this file since 11676 was 11676, checked in by fanconic, 6 years ago

resolved segfault by simply not deleting the newly created textoverlay elements on our own in the destructor of the storymodehud, because they are deleted 'automatically' when the game is quit

File size: 1.8 KB
Line 
1<LevelInfo
2 name = "NC StoryMode"
3 description = "A level in which the Campaign Menu is defined, which opens other levels."
4 tags = "test"
5 screenshot = "emptylevel.png"
6/>
7
8<?lua
9  include("stats.oxo")
10  include("templates/lodInformation.oxt")
11  include("templates/StoryMode.oxt")
12  include("StoryModeHUD2.oxo")
13  include("templates/spaceshipAssff.oxt")
14  include("templates/StoryModeEscort.oxt")
15  include("templates/endurancetest_template.oxt")
16?>
17
18<Level  gametype = StoryMode>
19
20  <templates>
21    <Template link=lodtemplate_default />
22  </templates>
23  <?lua include("includes/notifications.oxi") ?>
24
25  <Scene
26    ambientlight = "0.8, 0.8, 0.8"
27    skybox       = "Orxonox/Starbox"
28  >
29
30  <SpawnPoint position="000.000, 000.000, 000.000" spawnclass=StoryModePawn orientation="0, 0, 0, 1" pawndesign=StoryModeEscort />
31
32 <NameableStaticEntity levelName="Level 1" position="0,0,-500" direction="0,1,0">
33  <attached>
34    <Model position="0,0,0" mesh="ETH.mesh" scale=80 />
35  </attached>
36 </NameableStaticEntity>
37
38<NameableStaticEntity levelName="Level 2" position="500,0,-1000" direction="0,0,0">
39  <attached>
40    <Model position="0,0,0" mesh="planets/moon.mesh" scale=50 />
41  </attached>
42 </NameableStaticEntity>
43   
44<NameableStaticEntity levelName="Level 3" position="-500,0,-1000" direction="0,1,0">
45  <attached>
46    <Model position="0,0,0" mesh="can.mesh" scale=50 />
47  </attached>
48</NameableStaticEntity>
49
50<NameableStaticEntity levelName="Level 4" position="1000,0,-1500" direction="0,0,0">
51  <attached>
52    <Model position="0,0,0" mesh="cube.mesh" scale=50 />
53  </attached>
54 </NameableStaticEntity>
55
56 <NameableStaticEntity levelName="Level 5" position="-1000,0,-1500" direction="0,0,0">
57  <attached>
58    <Model position="0,0,0" mesh="Pilz.mesh" scale=50 />
59  </attached>
60 </NameableStaticEntity>
61
62 
63  </Scene>
64</Level>
65
Note: See TracBrowser for help on using the repository browser.