1 | <LevelInfo |
---|
2 | name = "Lift Test" |
---|
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 | include("templates/spaceshipRing.oxt") |
---|
19 | include("templates/spaceshipSwallow.oxt") |
---|
20 | ?> |
---|
21 | |
---|
22 | <Level> |
---|
23 | <templates> |
---|
24 | <Template link=lodtemplate_default /> |
---|
25 | </templates> |
---|
26 | <?lua include("includes/notifications.oxi") ?> |
---|
27 | |
---|
28 | <Scene |
---|
29 | ambientlight = "0.8, 0.8, 0.8" |
---|
30 | skybox = "Orxonox/Starbox" |
---|
31 | > |
---|
32 | |
---|
33 | <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"/> |
---|
34 | <SpawnPoint team=0 position="30,30,30" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort /> |
---|
35 | |
---|
36 | |
---|
37 | |
---|
38 | <StaticEntity position="20,20,20" direction="0,0,1" collisionType=static mass=0 friction=0.01 > |
---|
39 | <attached> |
---|
40 | <Model position="0,0,0" mesh="cube.mesh" scale3D="5,5,5" /> |
---|
41 | </attached> |
---|
42 | </StaticEntity> |
---|
43 | |
---|
44 | <Dock position="20,20,20" roll=0 yaw=0 > |
---|
45 | <animations> |
---|
46 | <MoveToDockingTarget target="destroyer" /> |
---|
47 | </animations> |
---|
48 | <effects> |
---|
49 | <DockToShip target="spaceShip" /> |
---|
50 | </effects> |
---|
51 | <events> |
---|
52 | <execute> |
---|
53 | <EventListener event="dockMe" /> |
---|
54 | </execute> |
---|
55 | |
---|
56 | <undocking> |
---|
57 | <EventListener event="undockMe" /> |
---|
58 | </undocking> |
---|
59 | |
---|
60 | <activity> |
---|
61 | <EventListener event=notGameEnd /> |
---|
62 | </activity> |
---|
63 | </events> |
---|
64 | <attached> |
---|
65 | <!-- Trigger for docking with billboard --> |
---|
66 | <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.2,0.4,0.8" scale=1 /> |
---|
67 | <DistanceTrigger position="0,0,0" distance="200" target="Pawn" |
---|
68 | beaconMode="exclude" targetname="bcnDestroyer" name="dockMe" |
---|
69 | /> |
---|
70 | <!-- Trigger for undocking with billboard --> |
---|
71 | <Billboard position="-2630,-19970,150" material="Flares/ringflare2" colour="0.2,0.4,0.8" scale=1 /> |
---|
72 | <DistanceTrigger position="-2630,-19970,150" distance="50" target="Pawn" |
---|
73 | beaconMode="identify" targetname="bcnDestroyer" name="undockMe" |
---|
74 | /> |
---|
75 | </attached> |
---|
76 | |
---|
77 | </Dock> |
---|
78 | <StaticEntity position="0,20000,0" direction="0,0,1" collisionType=static mass=0 fricion=0.01 > |
---|
79 | <attached> |
---|
80 | <DockingTarget name="spaceShip" /> |
---|
81 | </attached> |
---|
82 | </StaticEntity> |
---|
83 | |
---|
84 | <Planet |
---|
85 | position="0,1000,0" |
---|
86 | scale="63000" |
---|
87 | collisionType="dynamic" |
---|
88 | linearDamping="0.8" |
---|
89 | angularDamping="0" |
---|
90 | mass="5.9e21" |
---|
91 | pitch="0" |
---|
92 | mesh="planets/earth.mesh" |
---|
93 | atmosphere="atmosphere1" |
---|
94 | rotationaxis="0,1,0" |
---|
95 | rotationrate="0.2" |
---|
96 | atmospheresize="80.0f" |
---|
97 | imagesize="1024.0f" |
---|
98 | collisiondamage = 2 |
---|
99 | enablecollisiondamage = true> |
---|
100 | </Planet> |
---|
101 | </Scene> |
---|
102 | </Level> |
---|
103 | |
---|