[Orxonox-commit 7706] r12299 - in code/branches/Boxhead_FS19/data/levels: . templates

kofrey at orxonox.net kofrey at orxonox.net
Thu Apr 11 16:02:23 CEST 2019


Author: kofrey
Date: 2019-04-11 16:02:22 +0200 (Thu, 11 Apr 2019)
New Revision: 12299

Modified:
   code/branches/Boxhead_FS19/data/levels/Hover.oxw
   code/branches/Boxhead_FS19/data/levels/templates/spaceshipHover.oxt
Log:
changed appearance of enemy

Modified: code/branches/Boxhead_FS19/data/levels/Hover.oxw
===================================================================
--- code/branches/Boxhead_FS19/data/levels/Hover.oxw	2019-04-11 13:45:52 UTC (rev 12298)
+++ code/branches/Boxhead_FS19/data/levels/Hover.oxw	2019-04-11 14:02:22 UTC (rev 12299)
@@ -13,8 +13,10 @@
 
 <?lua
   include("templates/spaceshipHover.oxt")
+  include("templates/spaceshipzombie.oxt")
 ?>
 
+
 <?lua
 MAZE_NUM_CELLS = 10
 MAZE_CELL_SIZE = 100
@@ -82,7 +84,7 @@
 
     <SpaceShip position="100,20,100" lookat="50,20,50" name="enemy" health="200" maxhealth="200" initialhealth="200" >
                                     <templates>
-                                            <Template link=spaceshiphover />
+                                            <Template link=spaceshipzombie />
                                       </templates>
                                        <controller>
                                           <WaypointPatrolController alertnessradius=2000 team=1 >

Modified: code/branches/Boxhead_FS19/data/levels/templates/spaceshipHover.oxt
===================================================================
--- code/branches/Boxhead_FS19/data/levels/templates/spaceshipHover.oxt	2019-04-11 13:45:52 UTC (rev 12298)
+++ code/branches/Boxhead_FS19/data/levels/templates/spaceshipHover.oxt	2019-04-11 14:02:22 UTC (rev 12299)
@@ -35,6 +35,9 @@
    mass              = 100
    linearDamping     = 0.2
    angularDamping    = 0.9999999
+   collisiondamage = 20
+   enablecollisiondamage = true
+
   >
     <engines>
       <MultiStateEngine position=" 0, 0, 0" template=spaceshiphoverengine />



More information about the Orxonox-commit mailing list