[Orxonox-commit 6665] r11302 - code/branches/BigShip_HS16/data/levels/templates

pschefer at orxonox.net pschefer at orxonox.net
Mon Nov 21 16:04:27 CET 2016


Author: pschefer
Date: 2016-11-21 16:04:27 +0100 (Mon, 21 Nov 2016)
New Revision: 11302

Modified:
   code/branches/BigShip_HS16/data/levels/templates/endurancetest_template.oxt
Log:
added destruction parts

Modified: code/branches/BigShip_HS16/data/levels/templates/endurancetest_template.oxt
===================================================================
--- code/branches/BigShip_HS16/data/levels/templates/endurancetest_template.oxt	2016-11-21 15:01:32 UTC (rev 11301)
+++ code/branches/BigShip_HS16/data/levels/templates/endurancetest_template.oxt	2016-11-21 15:04:27 UTC (rev 11302)
@@ -16,50 +16,50 @@
 
 
    	<parts>
-        <ShipPart name="Endurance_Small_Ship" initialhealth="1000" maxhealth="1000" damageabsorption="0" explosionposition="-100,0,0">
+   		<ShipPart name = "EnduranceSmallShip" initialhealth="10" maxhealth="10" damageabsorption="0.5" explosionposition="0,0,0">
             <destructionevents>
+                <PartDestructionEvent targetType="ship"  operation="destroy" />
+            </destructionevents>
+        </ShipPart>
 
-            	<PartDestructionEvent targetType="part"  targetName = "Endurance_Small_Ship" operation="-" />
-                
+        <ShipPart name = "part2" initialhealth="10" maxhealth="10" damageabsorption="0.5" explosionposition="0,0,0">
+            <destructionevents>
+                <PartDestructionEvent targetType="ship"  operation="destroy" />
+                <PartDestructionEvent targetType="part" targetName ="ct10"   operation="destroy" />
+                <PartDestructionEvent targetType="part" targetName ="ct11"   operation="destroy" />
             </destructionevents>
         </ShipPart>
 
-    </parts>
-
-	<!-- Test endurance -->
-<!--
-	
-	<parts>
-        <ShipPart name="Endurance_Small_Ship" initialhealth="1000" maxhealth="1000" damageabsorption="0" explosionposition="-100,0,0">
+        <ShipPart name = "ct12" initialhealth="10" maxhealth="10" damageabsorption="0.5" explosionposition="0,0,0">
             <destructionevents>
-
-            	<PartDestructionEvent targetType="part"  targetName = "Endurance_Small_Ship" operation="destroy" />
-                
+                <PartDestructionEvent targetType="ship"  operation="destroy" />
             </destructionevents>
         </ShipPart>
 
-        <ShipPart name="part1" initialhealth="10" maxhealth="10" damageabsorption="0" explosionposition="-100,0,100">
+         <ShipPart name = "ct11" initialhealth="10" maxhealth="10" damageabsorption="0.5" explosionposition="0,0,0">
             <destructionevents>
-                <PartDestructionEvent targetType="part"  targetName = "part0" operation="destroy" value="0.5"/>
+                <PartDestructionEvent targetType="ship"  operation="destroy" />
             </destructionevents>
         </ShipPart>
 
-        <ShipPart name="part2" initialhealth="10" maxhealth="10" damageabsorption="0.5" explosionposition="-100,50,86">
+        <ShipPart name = "ct10" initialhealth="10" maxhealth="10" damageabsorption="0.5" explosionposition="0,0,0">
             <destructionevents>
-                <PartDestructionEvent targetType="ship" targetParam="shieldhealth" operation="*" value="0.5"/>
+                <PartDestructionEvent targetType="ship"  operation="destroy" />
             </destructionevents>
         </ShipPart>
 
-        <ShipPart name="part3" initialhealth="10" maxhealth="10" damageabsorption="0.5" explosionposition="-100,86,50">
+    	<ShipPart name = "part1" initialhealth="10" maxhealth="10" damageabsorption="0.5" explosionposition="0,0,0">
             <destructionevents>
-                <PartDestructionEvent targetType="ship" targetParam="shieldhealth" operation="*" value="0.5"/>
+                <PartDestructionEvent targetType="ship"  operation="destroy" />
+                <PartDestructionEvent targetType="part" targetName ="ct12"   operation="destroy" />
+                <PartDestructionEvent targetType="part" targetName ="ct11"   operation="destroy" />
             </destructionevents>
         </ShipPart>
 
-    
+    </parts>
 
-    </parts>
-	-->
+	<!-- Test endurance -->
+
     
     <explosion >
       <ExplosionPart minspeed=0 maxspeed=0 effect1="orxonox/explosion_flash2" effect2="orxonox/explosion_flame2" />
@@ -74,7 +74,7 @@
 
 		<!-- Small-Ship 1/2 -->
 
-		<StaticEntity  name = "Endurance_Small_Ship" collisionType=static position ="21,14.4,-9.6"  pitch="60" yaw="0" roll="90" >
+		<StaticEntity  name = "EnduranceSmallShip" collisionType=static position ="21,14.4,-9.6"  pitch="60" yaw="0" roll="90" >
 			<attached>
 				<Model  mesh="Endurance_Small_Ship.mesh" scale="36" />
 				
@@ -130,7 +130,7 @@
 
 		<!-- ct12 -->
 
-		<StaticEntity collisionType=static position ="0,-30,105"  yaw="0" roll="90" pitch="-60" >
+		<StaticEntity name ="ct12" collisionType=static position ="0,-30,105"  yaw="0" roll="90" pitch="-60" >
 			<attached>
 				
 
@@ -219,7 +219,7 @@
 
 		<!-- ct11 -->
 
-		<StaticEntity collisionType=static position ="0,30,105"  yaw="0" roll="90" pitch="270" >
+		<StaticEntity name = "ct11" collisionType=static position ="0,30,105"  yaw="0" roll="90" pitch="270" >
 			<attached>
 				
 
@@ -255,7 +255,7 @@
 
 		<!-- ct10 -->
 
-		<StaticEntity collisionType=static position ="0,78,78"  yaw="0" roll="90" pitch="240" >
+		<StaticEntity name ="ct10" collisionType=static position ="0,78,78"  yaw="0" roll="90" pitch="240" >
 			<attached>
 				
 




More information about the Orxonox-commit mailing list