Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/ArrowLevel.oxw @ 11843

Last change on this file since 11843 was 11783, checked in by landauf, 7 years ago

merged Presentation_HS17_merge back to trunk

  • Property svn:eol-style set to native
File size: 1.7 KB
Line 
1<LevelInfo
2 name = "ArrowLevel"
3 description = "A level to show the funtionality of the Waypoint Arrow."
4 tags = "test"
5 screenshot = "emptylevel.png"
6/>
7
8<?lua
9  include("stats.oxo")
10  include("HUDTemplates3.oxo")
11  include("templates/lodInformation.oxt")
12  include("templates/HeavyCruiser.oxt")
13?>
14
15<?lua
16  include("templates/spaceshipEscort.oxt")
17  include("templates/endurancetest_template.oxt")
18  include("templates/spaceshipPirate.oxt")
19  include("templates/spaceshipAssff.oxt")
20
21
22?>
23
24<Level>
25  <templates>
26    <Template link=lodtemplate_default />
27  </templates>
28  <?lua include("includes/notifications.oxi") ?>
29
30  <NotificationQueueCEGUI
31    name="narrative"
32    targets="simpleNotification"
33    size=3
34    displayTime=3.9
35    position="0.2, 0, 0.1, 0"
36    fontSize="23"
37    fontColor="0.3, 1, 0.2, 0.8"
38    alignment="HorzCentred"
39    displaySize="0.6, 0, 0, 0"
40    />
41
42   <Scene
43   ambientlight = "0.5, 0.5, 0.5"
44   skybox       = "Orxonox/Starbox"
45  >
46
47
48    <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" />
49
50
51   
52    <SpawnPoint position="50,0,0" direction="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
53
54
55   
56   
57    <Arrow>
58      <attached>
59       <Model scale="10" mesh="Arrow.mesh"/>
60      </attached>
61      <controller>
62        <ArrowController accuracy = 2000>
63          <gpspoints>
64            <Model mesh="cube.mesh" scale=8 position="100,100,100"/>
65            <Model mesh="cube.mesh" scale=8 position="400,200,187"/>
66            <Model mesh="cube.mesh" scale=8 position="-200,-500,615"/>
67            <Model mesh="cube.mesh" scale=8 position="0,0,0"/>     
68          </gpspoints>
69        </ArrowController>
70      </controller>
71    </Arrow>
72
73
74
75
76
77  </Scene>
78</Level>
79
Note: See TracBrowser for help on using the repository browser.