[Orxonox-commit 3785] r8465 - code/trunk/data/levels

smerkli at orxonox.net smerkli at orxonox.net
Thu May 12 16:00:07 CEST 2011


Author: smerkli
Date: 2011-05-12 16:00:07 +0200 (Thu, 12 May 2011)
New Revision: 8465

Modified:
   code/trunk/data/levels/presentationFS11.oxw
Log:
worked on the presentation level

Modified: code/trunk/data/levels/presentationFS11.oxw
===================================================================
--- code/trunk/data/levels/presentationFS11.oxw	2011-05-12 13:45:23 UTC (rev 8464)
+++ code/trunk/data/levels/presentationFS11.oxw	2011-05-12 14:00:07 UTC (rev 8465)
@@ -15,6 +15,10 @@
   include("templates/spaceshipPirate.oxt")
 ?>
 
+<?lua
+include("templates/pickupRepresentationTemplates.oxt")
+?>
+
 <Level
  name         = "Sample"
  description  = "Just a few tests"
@@ -28,10 +32,24 @@
     skybox       = "Orxonox/Starbox"
   >
 
+    <?lua
+      include("includes/pickups.oxi")
+    ?>
 
     <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"/>
     <SpawnPoint team=0 position="0,0,0" lookat="2,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
+
+
+    <!-- PICKUPS -->
+    <PickupSpawner position="-50,50,-125" triggerDistance="10" respawnTime="30" maxSpawnedItems="10">
+      <pickup>
+        <DronePickup template=dronepickup />
+      </pickup>
+    </PickupSpawner>
+
     
+    <!-- BOUNDARIES AND PORTALS -->
+    
     <SpaceBoundaries warnDistance="1" maxDistance="400" showDistance="300" healthDecrease="0.1" position="0,0,0"/>
     <SpaceBoundaries warnDistance="1" maxDistance="400" showDistance="300" healthDecrease="0.1" position="-10000,0,0"/>
 
@@ -47,6 +65,37 @@
     <PortalEndPoint position="-10300,0,0" id="2" distance="40" target="MobileEntity" design="PortalDefault"/>
     <PortalLink fromID="1" toID="2" />
     <PortalLink fromID="2" toID="1" />
+
+
+
+    <!-- MODELS, DEBRIS, ETC -->
+
+    <Planet
+      position="-5000,0,0"
+      scale="400"
+      collisionType="dynamic"
+      linearDamping="0.8"
+      angularDamping="0"
+      mass="10000000"
+      pitch="0"
+      mesh="planets/muunilinst.mesh"
+      atmosphere="atmosphere1"
+      rotationaxis="1,0,0"
+      rotationrate="1.0"
+      atmospheresize="300.0f"
+      imagesize="1024.0f"
+    >
+      <collisionShapes>
+        <SphereCollisionShape radius="400" position="0,0,0" />
+      </collisionShapes>
+    </Planet>
+
+    <MovableEntity position="0,0,0">
+      <attached>
+        <Billboard position="-5000,0,0" material="Examples/Flare" colour="0, 0, 1" scale=10/>
+      </attached>
+    </MovableEntity>
+
     
   </Scene>
 </Level>




More information about the Orxonox-commit mailing list