[Orxonox-commit 572] r2200 - media/levels

bknecht at orxonox.net bknecht at orxonox.net
Thu May 28 10:42:55 CEST 2009


Author: bknecht
Date: 2009-05-28 10:42:55 +0200 (Thu, 28 May 2009)
New Revision: 2200

Modified:
   media/levels/presentation09b.oxw
Log:
added pickups and such

Modified: media/levels/presentation09b.oxw
===================================================================
--- media/levels/presentation09b.oxw	2009-05-28 06:42:22 UTC (rev 2199)
+++ media/levels/presentation09b.oxw	2009-05-28 08:42:55 UTC (rev 2200)
@@ -16,8 +16,18 @@
    skybox       = "Orxonox/skypanoramagen2"
   >
     <Light type=directional position="0,0,0" direction="0.683, 0.289, 0.670" diffuse="1.0, 1.0, 1.0, 1.0" specular="1.0, 1.0, 1.0, 1.0" />
+
+    <Template name="JumpItem" baseclass="Jump">
+        <Jump velocity="0,0,-1000" jumpsAvailable="4" guiImage="jumpturbinepickup.jpg" guiText="Jump" />
+    </Template>
+    <Template name="HealthImmediateItem" baseclass="HealthImmediate">
+        <HealthImmediate recoveredHealth="100" guiImage="decal.jpg" guiText="Health" />
+    </Template>
+    <Template name="HealthUsableItem" baseclass="HealthUsable">
+        <HealthImmediate recoveredHealth="80" guiImage="goldwrenchpickup.jpg" guiText="Health" />
+    </Template>
 
-    <SpawnPoint position="-3800, 2500, 1500" direction="-0.683, -0.289, -0.670"  spawnclass=SpaceShip pawndesign=spaceshipassff />
+    <SpawnPoint position="-3800, 2500, 1500" direction="-0.683, -0.289, -0.670"  spawnclass=SpaceShip pawndesign=spaceshipassff2 />
 
     <SpaceShip position="-3900,3000,1000">
       <templates>
@@ -74,7 +84,28 @@
       <controller>
         <WaypointPatrolController alertnessradius=100 team=0 />
       </controller>
-    </SpaceShip>
+    </SpaceShip>
+    
+    <PickupSpawner item="JumpItem" triggerDistance="20" respawnTime="10000" position="-3800, 2500, 1500">
+        <attached>
+            <!--<Model mesh="jumpthrust.mesh" scale="1.0" />
+            <Billboard material="Examples/Flare" colour="0.5, 1.0, 0.3" scale="0.5" />-->
+        </attached>
+    </PickupSpawner>
+    
+    <PickupSpawner item="HealthUsableItem" triggerDistance="20" respawnTime="10000" position="-4150,2750,1550">
+        <attached>
+            <Model mesh="gwrench.mesh" scale="1.0" />
+            <Billboard material="Examples/Flare" colour="0.3, 0.8, 1.0" scale="0.5" />
+        </attached>
+    </PickupSpawner>
+    
+    <PickupSpawner item="HealthImmediateItem" triggerDistance="20" respawnTime="3" position="2300, 4300, 2400">
+        <attached>
+            <Model mesh="gwrench.mesh" scale="1.0" />
+            <Billboard material="Examples/Flare" colour="0.9, 1.0, 0.1" scale="0.5" />
+        </attached>
+    </PickupSpawner>
 
     <Billboard position="-2500, 2400, 1500" material="Examples/Flare" />
     <EventDispatcher>




More information about the Orxonox-commit mailing list