Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/pickupsFS14/data/levels/emptyLevel.oxw @ 10184

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

Es wird nun angezeigt, wie lange ein item noch aktiv ist.

  • Property svn:eol-style set to native
File size: 1.9 KB
Line 
1<LevelInfo
2 name = "Empty level"
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?>
13
14<?lua
15  include("templates/spaceshipAssff2.oxt")
16  include("templates/spaceshipPirate.oxt")
17  include("templates/spaceshipEscort.oxt")
18?>
19
20<Level>
21  <templates>
22    <Template link=lodtemplate_default />
23  </templates>
24  <?lua include("includes/notifications.oxi") ?>
25
26        <NotificationQueueCEGUI
27    name="narrative"
28    targets="simpleNotification"
29    size=3
30    displayTime=3.9
31    position="0.2, 0, 0.1, 0"
32    fontSize="23"
33    fontColor="0.3, 1, 0.2, 0.8"
34    alignment="HorzCentred"
35    displaySize="0.6, 0, 0, 0"
36    />
37  <Scene
38    ambientlight = "0.8, 0.8, 0.8"
39    skybox       = "Orxonox/Starbox"
40  >
41
42    <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"/>
43    <SpawnPoint team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort />
44
45        <Pawn health=30 position="0,0,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box radarname = "Box 4" >
46        <events>
47          <visibility>
48            <EventListener event="flying4" />
49          </visibility>
50        </events>
51        <attached>
52            <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" />
53        </attached>
54        <collisionShapes>
55            <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
56        </collisionShapes>
57        <controller>
58            <WaypointController team=1>
59            </WaypointController>
60        </controller>
61    </Pawn>
62
63
64
65<SimpleNotification message="Right click on the next target." broadcast="true">
66        <events>
67            <trigger>
68                <EventListener event="box" />
69            </trigger>
70        </events>
71    </SimpleNotification>
72   
73  </Scene>
74</Level>
75
Note: See TracBrowser for help on using the repository browser.