Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/campaignHS15/data/levels/Campaign1.oxw @ 10649

Last change on this file since 10649 was 10649, checked in by paulsc, 9 years ago

Added waypoint-transporter and music

File size: 1.6 KB
Line 
1<LevelInfo
2 name = "CampaignHS15 1"
3 description = "Protect the transporter!"
4 tags = "mission"
5 screenshot = "missionOne.png"
6/>
7
8<?lua
9  include("stats.oxo")
10  include("HUDTemplates3.oxo")
11  include("templates/lodInformation.oxt")
12?>
13
14<?lua
15  include("templates/spaceshipAssff2.oxt")
16  include("templates/spaceshipPirate.oxt")
17  include("templates/spaceshipEscort.oxt")
18  include("templates/spaceshipRing.oxt")
19  include("templates/spaceshipSwallow.oxt")
20  include("templates/spaceshipTransporter.oxt")
21?>
22
23<Level gametype     = "Mission">
24  <templates>
25    <Template link=lodtemplate_default />
26  </templates>
27  <?lua include("includes/notifications.oxi") ?>
28
29  <Scene
30    ambientlight = "0.8, 0.8, 0.8"
31    skybox       = "Orxonox/Starbox"
32  >
33
34    <WorldAmbientSound source="Earth.ogg" looping="true" playOnLoad="true" />
35
36    <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"/>
37    <SpawnPoint team=0 position="0,-200,0" lookat="0,0,-50" spawnclass=SpaceShip pawndesign=spaceshipassff2 />
38   
39        <SpaceShip position="500,500,-200" lookat="-500,500,-200" team=0>
40                <templates>
41                        <Template link=spaceshipTransporter />
42                </templates>
43                <controller>
44                    <WaypointController accuracy=10 team=0>
45                        <waypoints>
46                            <Model mesh="cube.mesh" scale=8 position="0,700,-200" />
47                    <Model mesh="cube.mesh" scale=8 position="500,500,-200" />
48                    <Model mesh="cube.mesh" scale=8 position="-500,500,-200" />
49                        </waypoints>
50                    </WaypointController>
51                </controller>
52        </SpaceShip>
53
54  </Scene>
55</Level>
56
Note: See TracBrowser for help on using the repository browser.