[Orxonox-commit 5990] r10649 - code/branches/campaignHS15/data/levels

paulsc at orxonox.net paulsc at orxonox.net
Mon Oct 12 18:40:48 CEST 2015


Author: paulsc
Date: 2015-10-12 18:40:48 +0200 (Mon, 12 Oct 2015)
New Revision: 10649

Modified:
   code/branches/campaignHS15/data/levels/Campaign1.oxw
Log:
Added waypoint-transporter and music

Modified: code/branches/campaignHS15/data/levels/Campaign1.oxw
===================================================================
--- code/branches/campaignHS15/data/levels/Campaign1.oxw	2015-10-12 16:28:15 UTC (rev 10648)
+++ code/branches/campaignHS15/data/levels/Campaign1.oxw	2015-10-12 16:40:48 UTC (rev 10649)
@@ -1,8 +1,8 @@
 <LevelInfo
- name = "Campaign Level"
- description = "A level with absolutely nothing in it."
+ name = "CampaignHS15 1"
+ description = "Protect the transporter!"
  tags = "mission"
- screenshot = "emptylevel.png"
+ screenshot = "missionOne.png"
 />
 
 <?lua
@@ -18,7 +18,6 @@
   include("templates/spaceshipRing.oxt")
   include("templates/spaceshipSwallow.oxt")
   include("templates/spaceshipTransporter.oxt")
-  include("templates/spaceshipTransporterSL.oxt")
 ?>
 
 <Level gametype     = "Mission">
@@ -32,9 +31,26 @@
     skybox       = "Orxonox/Starbox"
   >
 
+    <WorldAmbientSound source="Earth.ogg" looping="true" playOnLoad="true" />
+
     <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="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipTransporterSL />
+    <SpawnPoint team=0 position="0,-200,0" lookat="0,0,-50" spawnclass=SpaceShip pawndesign=spaceshipassff2 />
     
+	<SpaceShip position="500,500,-200" lookat="-500,500,-200" team=0>
+		<templates>
+			<Template link=spaceshipTransporter />
+		</templates>
+		<controller>
+		    <WaypointController accuracy=10 team=0>
+		        <waypoints>
+		            <Model mesh="cube.mesh" scale=8 position="0,700,-200" />
+                    <Model mesh="cube.mesh" scale=8 position="500,500,-200" />
+                    <Model mesh="cube.mesh" scale=8 position="-500,500,-200" />
+		        </waypoints>
+		    </WaypointController>
+		</controller>
+	</SpaceShip>
+
   </Scene>
 </Level>
 




More information about the Orxonox-commit mailing list