Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/data/levels/presentationFS15.oxw @ 10868

Last change on this file since 10868 was 10819, checked in by fvultier, 9 years ago

deleted useless file: spaceshipFS15 is the same as spaceshipHeartAttack

  • Property svn:eol-style set to native
File size: 2.8 KB
RevLine 
[10485]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
[10498]15  include("templates/spaceshipRing.oxt")
[10819]16  include("templates/spaceshipHeartAttack.oxt")
[10504]17  include("templates/orbStation.oxt")
[10505]18  include("templates/spaceshipSwallow.oxt")
[10485]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"/>
[10819]33    <SpawnPoint team=0 position="-500,0,0" lookat="-1000,0,0" spawnclass=SpaceShip pawndesign=spaceshipHeartAttack/>
[10498]34
[10505]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
[10498]44    <!-- Docking  -->
[10507]45    <Dock position="-2000,0,-1000" roll=0 yaw=0 >
[10498]46      <attached>
[10507]47        <Billboard position="0,0,0" material="Alien" scale=5/>
[10498]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>
[10504]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
[10505]78    <MovableEntity position="2000,0,0" >
[10504]79      <templates>
80        <Template link=orbStation/>
81      </templates>
82      <events>
83        <visibility>
84          <EventListener event="dockMe" />
85        </visibility>
86      </events>
87    </MovableEntity>
88
[10505]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">
[10504]93      <events>
94        <takeControl>
95          <EventListener event="takeControl" />
96        </takeControl>
97      </events>
98    </ControllerDirector>
99
100
[10485]101  </Scene>
102</Level>
103
Note: See TracBrowser for help on using the repository browser.