Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/campaignHS15/data/levels/presentationFS15.oxw @ 10750

Last change on this file since 10750 was 10622, checked in by landauf, 9 years ago

merged branch presentationFS15merge back to trunk

  • Property svn:eol-style set to native
File size: 2.7 KB
Line 
1<LevelInfo
2 name = "Presentation FS15"
3 description = "Level for Presentation."
4 tags = "presentation"
5 screenshot = "emptylevel.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/spaceshipRing.oxt")
16  include("templates/spaceshipFS15.oxt")
17  include("templates/orbStation.oxt")
18  include("templates/spaceshipSwallow.oxt")
19?>
20
21<Level>
22  <templates>
23    <Template link=lodtemplate_default />
24  </templates>
25  <?lua include("includes/notifications.oxi") ?>
26
27  <Scene
28    ambientlight = "0.8, 0.8, 0.8"
29    skybox       = "Orxonox/Starbox"
30  >
31
32    <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"/>
33    <SpawnPoint team=0 position="-500,0,0" lookat="-1000,0,0" spawnclass=SpaceShip pawndesign=spaceshipfs15/>
34
35    <?lua for i=0,4,1 do ?>
36      <SpaceShip position="-3000,<?lua print(i*200)?>,0" lookat="-500,0,0" visible="true">
37        <templates>
38          <Template link=spaceshipswallow />
39        </templates>
40      </SpaceShip>
41    <?lua end ?>
42
43
44    <!-- Docking  -->
45    <Dock position="-2000,0,-1000" roll=0 yaw=0 >
46      <attached>
47        <Billboard position="0,0,0" material="Alien" scale=5/>
48        <DistanceTrigger position="0,0,0" distance="200" target="Pawn" beaconMode="exclude" targetname="bcnDestroyer" name="dockMe"/>
49      </attached>
50      <animations>
51        <MoveToDockingTarget target="destroyer" />
52      </animations>
53      <effects>
54        <DockToShip target="destroyer" />
55      </effects>
56      <events>
57        <execute>
58          <EventListener event="dockMe" />
59        </execute>
60      </events>
61    </Dock>
62
63    <SpaceShip position="0,0,0" lookat="0,1000,1000" >
64      <attached>
65        <DistanceTriggerBeacon name="bcnDestroyer" />
66        <DockingTarget name="destroyer" />
67      </attached>
68      <templates>
69        <Template link=spaceshipring />
70      </templates>
71      <events>
72        <visibility>
73          <EventListener event="dockMe" />
74        </visibility>
75      </events>
76    </SpaceShip>
77
78    <MovableEntity position="2000,0,0" >
79      <templates>
80        <Template link=orbStation/>
81      </templates>
82      <events>
83        <visibility>
84          <EventListener event="dockMe" />
85        </visibility>
86      </events>
87    </MovableEntity>
88
89    <Billboard position="0,500,500" material="Flares/ringflare2" colour="0.8,0.4,0.2" scale=1 />
90    <DistanceTrigger position="0,500,500" distance="20" target="Pawn" name="takeControl"/>
91   
92    <ControllerDirector position="0,500,500" scriptname="presentation">
93      <events>
94        <takeControl>
95          <EventListener event="takeControl" />
96        </takeControl>
97      </events>
98    </ControllerDirector>
99
100
101  </Scene>
102</Level>
103
Note: See TracBrowser for help on using the repository browser.