Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Presentation_HS17_merge/data/levels/ArrowLevel.oxw @ 11774

Last change on this file since 11774 was 11774, checked in by landauf, 6 years ago

merged Waypoints_HS17

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/endurancetest_template.oxt")
19  include("templates/spaceshipPirate.oxt")
20  include("templates/spaceshipAssff.oxt")
21
22
23?>
24
25<Level>
26  <templates>
27    <Template link=lodtemplate_default />
28  </templates>
29  <?lua include("includes/notifications.oxi") ?>
30
31  <NotificationQueueCEGUI
32    name="narrative"
33    targets="simpleNotification"
34    size=3
35    displayTime=3.9
36    position="0.2, 0, 0.1, 0"
37    fontSize="23"
38    fontColor="0.3, 1, 0.2, 0.8"
39    alignment="HorzCentred"
40    displaySize="0.6, 0, 0, 0"
41    />
42
43   <Scene
44   ambientlight = "0.5, 0.5, 0.5"
45   skybox       = "Orxonox/Starbox"
46  >
47
48
49    <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" />
50
51
52   
53    <SpawnPoint position="50,0,0" direction="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
54
55
56   
57   
58    <Arrow>
59      <attached>
60       <Model scale="10" mesh="arrow.mesh"/>
61      </attached>
62    </Arrow>
63
64<ArrowController accuracy = 2000>
65      <gpspoints>
66        <Model mesh="cube.mesh" scale=8 position="100,100,100"/>
67        <Model mesh="cube.mesh" scale=8 position="400,200,187"/>
68        <Model mesh="cube.mesh" scale=8 position="-200,-500,615"/>
69        <Model mesh="cube.mesh" scale=8 position="0,0,0"/>     
70      </gpspoints>
71        </ArrowController>
72
73
74
75
76  </Scene>
77</Level>
78
Note: See TracBrowser for help on using the repository browser.