Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentationFS16/data/levels/florin_johnny_presentation.oxw @ 11247

Last change on this file since 11247 was 11209, checked in by fvultier, 9 years ago

Preparation for the presentation. Failing the mission in florin_jhonny_presentation.oxw still crashes the game.

File size: 2.6 KB
Line 
1<LevelInfo
2 name = "Testlevel for spaceshipfx112"
3 description = "Testlevel for spaceshipfx112"
4 tags = "mission"
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/spaceshipEscort.oxt")
16  include("templates/spaceshipFx112.oxt")
17?>
18
19<Level
20 gametype     = "Mission"
21>
22  <templates>
23    <Template link=lodtemplate_default />
24  </templates>
25  <?lua include("includes/notifications.oxi") ?>
26
27  <NotificationQueueCEGUI
28    name="narrative"
29    targets="simpleNotification"
30    size=3
31    displayTime=3.9
32    position="0.2, 0, 0.1, 0"
33    fontSize="23"
34    fontColor="0.3, 1, 0.2, 0.8"
35    alignment="HorzCentred"
36    displaySize="0.6, 0, 0, 0"
37    />
38
39  <Scene
40    ambientlight = "0.8, 0.8, 0.8"
41    skybox       = "Orxonox/Starbox"
42  >
43
44    <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"/>
45    <SpawnPoint team=0 position="0,300,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipfx112 />
46    <Model position=“0,0,0“ mesh="fx112.mesh" scale="3" />
47
48    <SpaceShip position="0,0,300" lookat="0,0,0" team=3>
49        <templates>
50            <Template link=spaceshipfx112 />
51        </templates>
52        <controller>
53            <WaypointController accuracy=10 team=3>
54                <waypoints>
55                    <Model mesh="cube.mesh" scale=8 position="0,0,300" />
56                    <Model mesh="cube.mesh" scale=8 position="0,500,300" />
57                    <Model mesh="cube.mesh" scale=8 position="0,500,0" />
58                    <StaticEntity position="0,0,0" />
59                </waypoints>
60            </WaypointController>
61        </controller>
62    </SpaceShip>
63
64
65    <Backlight position="300,0,0" frequency=0.6 amplitude=3 material="Flares/lensflare" colour="0,1,0"/>
66    <DistanceTrigger name="win" position="300,0,0" target="SpaceShip" distance=25 stayActive="true"/>
67
68    <Script code="Mission endMission true" onLoad="false">
69        <events>
70            <trigger>
71                <EventListener event="win" />
72            </trigger>
73        </events>
74    </Script>
75
76    <Backlight position="-300,0,0" frequency=0.6 amplitude=3 material="Flares/lensflare" colour="1,0,0"/>
77    <DistanceTrigger name="loose" position="-300,0,0" target="SpaceShip" distance=25 stayActive="true"/>
78
79    <Script code="Mission endMission false" onLoad="false">
80        <events>
81            <trigger>
82                <EventListener event="loose" />
83            </trigger>
84        </events>
85    </Script>
86
87  </Scene>
88</Level>
Note: See TracBrowser for help on using the repository browser.