Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/AsteroidMining_HS17/data/levels/AsteroidFarming.oxw @ 11646

Last change on this file since 11646 was 11646, checked in by remartin, 6 years ago

Fisch

File size: 4.1 KB
Line 
1<LevelInfo
2 name = "AsteroidFarming"
3 description = "Testing the Asteroid Mining Project, PPS HS 17"
4 tags = "test, showcase"
5 screenshot = "AsteroidFarming.png"
6/>
7
8<?lua
9  include("stats.oxo")
10  include("HUDPickupTemplate.oxo")
11  include("templates/lodInformation.oxt")
12?>
13
14<?lua
15  include("templates/spaceshipAssff.oxt")
16  include("templates/spaceshipPirate.oxt")
17  include("templates/pickupRepresentationTemplates.oxt")
18?>
19
20<WorldAmbientSound source="Asteroid_rocks.ogg" looping="true" playOnLoad="true" />
21
22<Level>
23  <templates>
24    <Template link=lodtemplate_default />
25  </templates>
26
27  <?lua include("includes/notifications.oxi") ?>
28
29  <Scene
30    ambientlight = "0.8, 0.8, 0.8"
31    skybox       = "Orxonox/Starbox"
32    hasPhysics = true
33  >
34
35  <?lua
36      include("includes/pickups.oxi")
37  ?>
38
39    <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"/>
40
41    <SpawnPoint team=0 position="0,0,0" direction="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
42   
43
44     <!-- Asteroid Display: -->
45      <Model position="0,  0,40" yaw="90" pitch="-90" roll="0" scale="3" mesh="ast1.mesh" />
46      <Model position="0, 20,40" yaw="90" pitch="-90" roll="0" scale="3" mesh="ast2.mesh" />
47      <Model position="0, 40,40" yaw="90" pitch="-90" roll="0" scale="3" mesh="ast3.mesh" />
48      <Model position="0, 60,40" yaw="90" pitch="-90" roll="0" scale="3" mesh="ast4.mesh" />
49      <Model position="0,-20,40" yaw="90" pitch="-90" roll="0" scale="4" mesh="ast5.mesh" />
50      <Model position="0,-40,40" yaw="90" pitch="-90" roll="0" scale="4" mesh="ast6.mesh" />
51      <Model position="0,-60,40" yaw="90" pitch="-90" roll="0" scale="5" mesh="asteroid_ice.mesh" />
52      <Model position="0,-80,40" yaw="90" pitch="-90" roll="0" scale="5" mesh="asteroid_UV.mesh" />
53
54     <!-- Display some pickup, 'Meta' -->
55    <PickupSpawner pickup=usemetapickup position="-25,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10" />
56    <PickupSpawner pickup=dropmetapickup position="0,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10" />
57    <PickupSpawner pickup=destroymetapickup position="25,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10" />
58    <PickupSpawner pickup=destroycarriermetapickup position="50,75,-125" triggerDistance="10" respawnTime="5" maxSpawnedItems="10" />
59
60    <!-- Drone pickup -->
61   
62    <PickupSpawner pickup=dronepickup position="-25,100,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10" />
63
64
65    <!-- @Objects: 4 boxes (uncontrolled pawns) Trying to understand the pickup generation-->
66    <Pawn team=1 health=30 position="0,100,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box RVName = "Box 4" >
67        <events>
68          <visibility>
69            <EventListener event="flying4" />
70          </visibility>
71        </events>
72        <attached>
73            <Model position="0,0,0" mesh="crate.mesh" scale3D="3,3,3" />
74        </attached>
75        <collisionShapes>
76            <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
77        </collisionShapes>
78
79    </Pawn>
80
81    <!----Just a box with different mesh-->
82    <Pawn team=1 health=50 position="0,1000,0" direction="0,-1,0" collisionType=dynamic mass=100000 name=box RVName = "Globi Asteroid" >
83        <events>
84          <visibility>
85            <EventListener event="flying4" />
86
87          </visibility>
88        </events>
89        <attached>
90            <Model position="0,0,0" mesh="ast4.mesh" scale3D="3,3,3" />
91        </attached>
92        <collisionShapes>
93            <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
94        </collisionShapes>
95    </Pawn>
96
97
98    <!-----AsteroidMinable --->
99    <AsteroidMinable size=15 position="0,-500,0" />
100    <AsteroidMinable size=5 position="100,-500,100" />
101    <AsteroidMinable size=50 position="500,-500, 500" />
102    <AsteroidMinable size=30 position="-100, -500, -100" velocity= "0, -30, 0"/>
103
104    <!--- SpicedAsteroidField --->
105    <SpicedAsteroidField count=30 mDensity= 0.5 maxSize=40 minSize=1 position="5000, 0, 0" radius=1000/>
106
107
108
109  </Scene>
110</Level>
Note: See TracBrowser for help on using the repository browser.