Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/Waypoints_HS17/data/levels/emptyLevel.oxw @ 11535

Last change on this file since 11535 was 11523, checked in by jostoffe, 7 years ago

EmptyLevel funktioniert nicht wegen AutonomousDroneController, HUD geaendert aber brauch ich nicht mehr. Mit movableentity weitermachen

  • Property svn:eol-style set to native
File size: 2.4 KB
Line 
1<LevelInfo
2 name = "emptyLevel"
3 description = "A level with absolutely nothing in it."
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.8, 0.8, 0.8"
45    skybox       = "Orxonox/Starbox"
46  >
47
48    <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"/>
49    <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort />
50
51    <ModularSpaceShip velocity= "20,0,0" position="0,0,200" lookat= "0,0,0" health="1000" maxhealth="1000" initialhealth="1000">
52      <templates>
53        <Template link=endurance />
54      </templates>
55    </ModularSpaceShip>
56    <AutonomousDroneController>
57    </AutonomousDroneController>
58
59<SpaceShip position="0,2000,200" lookat="0,0,0">
60      <templates>
61        <Template link=spaceshipassff />
62      </templates>
63      <controller>
64        <WaypointController alertnessradius=1000 team=10>
65          <waypoints>
66            <Model mesh="cube.mesh" scale=8 position="  0,2000,-200" />
67            <Model mesh="cube.mesh" scale=8 position="  0,2000,-700" />
68            <Model mesh="cube.mesh" scale=8 position="500,2000,-700" />
69            <Model mesh="cube.mesh" scale=8 position="500,2000,-200" />
70          </waypoints>
71        </WaypointController>
72      </controller>
73    </SpaceShip>
74
75   <DistanceTrigger name="flying1" position="0,0,0" distance=100 stayActive="true" delay=6/>
76    <SimpleNotification message="Let's fly to the blinking light.">
77        <events>
78            <trigger>
79                <EventListener event="flying1" />
80            </trigger>
81        </events>
82    </SimpleNotification>
83
84
85  </Scene>
86</Level>
87
Note: See TracBrowser for help on using the repository browser.