[Orxonox-commit 5157] r9822 - code/branches/levelMichael/data/levels

schlaem at orxonox.net schlaem at orxonox.net
Mon Nov 25 16:08:20 CET 2013


Author: schlaem
Date: 2013-11-25 16:08:20 +0100 (Mon, 25 Nov 2013)
New Revision: 9822

Modified:
   code/branches/levelMichael/data/levels/Spacefight.oxw
Log:
in progress..


Modified: code/branches/levelMichael/data/levels/Spacefight.oxw
===================================================================
--- code/branches/levelMichael/data/levels/Spacefight.oxw	2013-11-25 15:05:51 UTC (rev 9821)
+++ code/branches/levelMichael/data/levels/Spacefight.oxw	2013-11-25 15:08:20 UTC (rev 9822)
@@ -539,7 +539,7 @@
 	</SimpleNotification>
 
 	<!-- DistanceTrigger for spion -->
-	<DistanceTrigger name="spionTrigger" position="0,-10000,42000" target="SpaceShip" distance=50 stayActive="true" delay=0.1 />
+	<DistanceTrigger name="spionTrigger" position="15000,4000,19000" target="SpaceShip" distance=50 stayActive="true" delay=0.1 />
 	<SimpleNotification message="spion is arrived!"  broadcast="true">
 		<events>
 			<trigger>
@@ -795,7 +795,7 @@
 </SpaceShip>
 
 <!-- Angreiffende Piraten: Guard 2 -->
-<SpaceShip position="19000,5000,21000" lookat="19000,4900,21000" name="secondPatrol" visible="true" radarname="Patrol">
+<SpaceShip position="19000,5000,18000" lookat="19000,4900,21000" name="secondPatrol" visible="true" radarname="Patrol">
   <events>
     <visibility>
       <EventListener event=spawntrigger2 /> <!-- guard1trigger4 -->
@@ -807,14 +807,14 @@
   <controller>
     <WaypointPatrolController alertnessradius=2000 team=1 active=false>
       <waypoints>
-	<Model mesh="cube.mesh" scale=0 position="18700,4300,21000" />
-        <Model mesh="cube.mesh" scale=0 position="18000,4000,21000" />
-	<Model mesh="cube.mesh" scale=0 position="17300,4300,21000" />
-	<Model mesh="cube.mesh" scale=0 position="17000,5000,21000" />
-	<Model mesh="cube.mesh" scale=0 position="17300,5700,21000" />
-	<Model mesh="cube.mesh" scale=0 position="18000,6000,21000" />
-	<Model mesh="cube.mesh" scale=0 position="18700,5700,21000" />
-        <Model mesh="cube.mesh" scale=0 position="19000,5000,21000" />
+	<Model mesh="cube.mesh" scale=0 position="18700,4300,18000" />
+        <Model mesh="cube.mesh" scale=0 position="18000,4000,18000" />
+	<Model mesh="cube.mesh" scale=0 position="17300,4300,18000" />
+	<Model mesh="cube.mesh" scale=0 position="17000,5000,18000" />
+	<Model mesh="cube.mesh" scale=0 position="17300,5700,18000" />
+	<Model mesh="cube.mesh" scale=0 position="18000,6000,18000" />
+	<Model mesh="cube.mesh" scale=0 position="18700,5700,18000" />
+        <Model mesh="cube.mesh" scale=0 position="19000,5000,18000" />
       </waypoints>
       <events>
         <activity>
@@ -825,7 +825,7 @@
   </controller>
 </SpaceShip>
 
-<SpaceShip position="17000,5000,21000" lookat="17000,5100,21000" name="secondPatrol" visible="true" radarname="Patrol">
+<SpaceShip position="17000,5000,18000" lookat="17000,5100,21000" name="secondPatrol" visible="true" radarname="Patrol">
   <events>
     <visibility>
       <EventListener event=spawntrigger2 /> <!-- guard1trigger4 -->
@@ -837,14 +837,14 @@
   <controller>
     <WaypointPatrolController alertnessradius=2000 team=1 active=false>
       <waypoints>
-	<Model mesh="cube.mesh" scale=0 position="17300,5700,21000" />
-	<Model mesh="cube.mesh" scale=0 position="18000,6000,21000" />
-	<Model mesh="cube.mesh" scale=0 position="18700,5700,21000" />
-        <Model mesh="cube.mesh" scale=0 position="19000,5000,21000" />
-	<Model mesh="cube.mesh" scale=0 position="18700,4300,21000" />
-        <Model mesh="cube.mesh" scale=0 position="18000,4000,21000" />
-	<Model mesh="cube.mesh" scale=0 position="17300,4300,21000" />
-	<Model mesh="cube.mesh" scale=0 position="17000,5000,21000" />
+	<Model mesh="cube.mesh" scale=0 position="17300,5700,18000" />
+	<Model mesh="cube.mesh" scale=0 position="18000,6000,18000" />
+	<Model mesh="cube.mesh" scale=0 position="18700,5700,18000" />
+        <Model mesh="cube.mesh" scale=0 position="19000,5000,18000" />
+	<Model mesh="cube.mesh" scale=0 position="18700,4300,18000" />
+        <Model mesh="cube.mesh" scale=0 position="18000,4000,18000" />
+	<Model mesh="cube.mesh" scale=0 position="17300,4300,18000" />
+	<Model mesh="cube.mesh" scale=0 position="17000,5000,18000" />
       </waypoints>
       <events>
         <activity>
@@ -855,7 +855,7 @@
   </controller>
 </SpaceShip>
 
-<SpaceShip position="18000,4000,21000" lookat="17000,4000,21000" name="secondPatrol" visible="true" radarname="Patrol">
+<SpaceShip position="18000,4000,18000" lookat="17000,4000,21000" name="secondPatrol" visible="true" radarname="Patrol">
   <events>
     <visibility>
       <EventListener event=spawntrigger2 /> <!-- guard1trigger4 -->
@@ -867,14 +867,14 @@
   <controller>
     <WaypointPatrolController alertnessradius=2000 team=1 active=false>
       <waypoints>
-	<Model mesh="cube.mesh" scale=0 position="17300,4300,21000" />
-	<Model mesh="cube.mesh" scale=0 position="17000,5000,21000" />
-	<Model mesh="cube.mesh" scale=0 position="17300,5700,21000" />
-	<Model mesh="cube.mesh" scale=0 position="18000,6000,21000" />
-	<Model mesh="cube.mesh" scale=0 position="18700,5700,21000" />
-        <Model mesh="cube.mesh" scale=0 position="19000,5000,21000" />
-	<Model mesh="cube.mesh" scale=0 position="18700,4300,21000" />
-        <Model mesh="cube.mesh" scale=0 position="18000,4000,21000" />
+	<Model mesh="cube.mesh" scale=0 position="17300,4300,18000" />
+	<Model mesh="cube.mesh" scale=0 position="17000,5000,18000" />
+	<Model mesh="cube.mesh" scale=0 position="17300,5700,18000" />
+	<Model mesh="cube.mesh" scale=0 position="18000,6000,18000" />
+	<Model mesh="cube.mesh" scale=0 position="18700,5700,18000" />
+        <Model mesh="cube.mesh" scale=0 position="19000,5000,18000" />
+	<Model mesh="cube.mesh" scale=0 position="18700,4300,18000" />
+        <Model mesh="cube.mesh" scale=0 position="18000,4000,18000" />
       </waypoints>
       <events>
         <activity>
@@ -885,7 +885,7 @@
   </controller>
 </SpaceShip>
 
-<SpaceShip position="18000,6000,21000" lookat="19000,6000,21000" name="secondPatrol" visible="true" radarname="Patrol">
+<SpaceShip position="18000,6000,18000" lookat="19000,6000,21000" name="secondPatrol" visible="true" radarname="Patrol">
   <events>
     <visibility>
       <EventListener event=spawntrigger2 /> <!-- guard1trigger4 -->
@@ -897,14 +897,14 @@
   <controller>
     <WaypointPatrolController alertnessradius=2000 team=1 active=false>
       <waypoints>
-	<Model mesh="cube.mesh" scale=0 position="18700,5700,21000" />
-        <Model mesh="cube.mesh" scale=0 position="19000,5000,21000" />
-	<Model mesh="cube.mesh" scale=0 position="18700,4300,21000" />
-        <Model mesh="cube.mesh" scale=0 position="18000,4000,21000" />
-	<Model mesh="cube.mesh" scale=0 position="17300,4300,21000" />
-	<Model mesh="cube.mesh" scale=0 position="17000,5000,21000" />
-	<Model mesh="cube.mesh" scale=0 position="17300,5700,21000" />
-	<Model mesh="cube.mesh" scale=0 position="18000,6000,21000" />
+	<Model mesh="cube.mesh" scale=0 position="18700,5700,18000" />
+        <Model mesh="cube.mesh" scale=0 position="19000,5000,18000" />
+	<Model mesh="cube.mesh" scale=0 position="18700,4300,18000" />
+        <Model mesh="cube.mesh" scale=0 position="18000,4000,18000" />
+	<Model mesh="cube.mesh" scale=0 position="17300,4300,18000" />
+	<Model mesh="cube.mesh" scale=0 position="17000,5000,18000" />
+	<Model mesh="cube.mesh" scale=0 position="17300,5700,18000" />
+	<Model mesh="cube.mesh" scale=0 position="18000,6000,18000" />
       </waypoints>
       <events>
         <activity>
@@ -916,7 +916,7 @@
 </SpaceShip>
 
 <!-- Escape-Ship (Spion) -->
-<SpaceShip position="17000,4000,22000" lookat="-12000, -22000, 25000" name="spion" visible="true" radarname="Spion" >
+<SpaceShip position="17000,4000,19000" lookat="-12000, -22000, 25000" name="spion" visible="true" radarname="Spion" >
   <events>
     <visibility>
       <EventListener event="guard2trigger1" />
@@ -928,7 +928,7 @@
   <controller>
     <WaypointController team=1>
       <waypoints>
-        <Model mesh="cube.mesh" scale=0 position="0,-10000,42000" /> <!-- "-7000,-10000,42000" -->
+        <Model mesh="cube.mesh" scale=0 position="15000,4000,19000" /> <!-- "-7000,-10000,42000" -->
         <Model mesh="cube.mesh" scale=0 position="-12000, -22000, 25000" />
       </waypoints>
       <events>
@@ -1138,7 +1138,12 @@
 
 	<!-- Asteroids -->
 
-	<Model position="9800, -5000, 5700" yaw="90" pitch="-90" roll="0" scale="300" mesh="asteroid_ice.mesh" />
+	<Model 	position="9800, -5000, 5700" 
+		yaw="90" 
+		pitch="-90" 
+		roll="0" 
+		scale="300" 
+		mesh="asteroid_ice.mesh" />
 
 	<!-- triple large belt around the planet  -->
 	<?lua
@@ -1198,8 +1203,14 @@
 			rotationaxis="1,1,0" 
 			rotationrate="0.5" 
 			atmospheresize=224.0f 
-			imagesize=1024.0f />
+			imagesize=1024.0f
+			mass="10000000"
+			angularDamping=0
+			collisiondamage=2
+			enablecollisiondamage=true
+			collisionType="dynamic" />
 
+
 	<BlinkingBillboard position="-7000,-10000,42000" color="1,1,1" frequency=0.6 amplitude=100 material="Examples/Flare" >
           <events>
             <visibility>
@@ -1218,16 +1229,24 @@
 <!-- ----------------Rotating SpaceStation--------------- -->
 
 	<!-- first guard -->
-	<StaticEntity position="9000,0,0" yaw=112 pitch=67>
-		<attached>
-			<?lua
-				createSpaceStationPar(0,2,1,2,1,4,1,50)
-			?>
-		</attached>
-	</StaticEntity>
+    <Pawn team=1 health=50000 position="9000,0,0" direction="0,-1,0" yaw=112 pitch=67 collisionType=dynamic mass=100000 name=station1 radarname="Guard 1" >
+        <events>
+          <visibility>
+            <EventListener event=spawntrigger2 />
+          </visibility>
+        </events>
+        <attached>
+            	<?lua
+			createSpaceStationPar(0,2,1,2,1,4,1,50)
+		?>
+        </attached>
+        <collisionShapes>
+            <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
+        </collisionShapes>
+    </Pawn>
 
 	<!-- second guard -->
-	<StaticEntity position="18000,5000,21000" yaw=12 pitch=75>
+	<StaticEntity position="18000,5000,18000" yaw=12 pitch=75>
 		<attached>
 			<?lua
 				createSpaceStationPar(0,2,1,2,1,4,1,50)
@@ -1236,16 +1255,26 @@
 	</StaticEntity>
 
 <!-- ------------------------- Mainship ------------------ -->
+    <Pawn team=1 health=50000 position="13500, 2500, 13000" direction="0,-1,0" collisionType=dynamic mass=100000 name=box radarname = "Mainship" yaw=112 pitch=67>
+        <events>
+          <visibility>
+            <EventListener event=spawntrigger2 />
+          </visibility>
+        </events>
+        <attached>
+            	<?lua
+			createSpaceStationPar(0,2,1,2,1,4,1,50)
+		?>
+        </attached>
+        <collisionShapes>
+            <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
+        </collisionShapes>
+    </Pawn>
 
-	<StaticEntity position="-12000, -22000, 25000" yaw=112 pitch=67>
-		<attached>
-			<?lua
-				createSpaceStationPar(0,2,1,2,1,4,1,50)
-			?>
-		</attached>
-	</StaticEntity>
 
+<!-- "-12000, -22000, 25000" -->
 
+
   </Scene>
 </Level>
 




More information about the Orxonox-commit mailing list