[Orxonox-commit 5275] r9938 - code/branches/presentationHS13/data/levels

jo at orxonox.net jo at orxonox.net
Fri Dec 20 11:08:13 CET 2013


Author: jo
Date: 2013-12-20 11:08:13 +0100 (Fri, 20 Dec 2013)
New Revision: 9938

Modified:
   code/branches/presentationHS13/data/levels/presentationHS13.oxw
Log:
Heavy Cruiser in presentation Level

Modified: code/branches/presentationHS13/data/levels/presentationHS13.oxw
===================================================================
--- code/branches/presentationHS13/data/levels/presentationHS13.oxw	2013-12-19 12:59:07 UTC (rev 9937)
+++ code/branches/presentationHS13/data/levels/presentationHS13.oxw	2013-12-20 10:08:13 UTC (rev 9938)
@@ -21,6 +21,7 @@
   include("templates/spaceshipTurret.oxt")
   include("templates/spaceshipCollateralDamage.oxt")
   include("templates/FPS.oxt")
+  include("templates/HeavyCruiser.oxt")
 ?>
 
 <Level
@@ -44,7 +45,7 @@
     ?>
 
     <Light type=directional position="0,0,0" direction="0.253, 0.593, -0.765" diffuse="1.0,1.0,1.0,0.5" specular="1.0, 0.9, 0.9, 1.0"/>
-    <SpawnPoint team=0 position="3200,0,0" lookat="2800,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort />
+    <SpawnPoint team=0 position="4320,1610,-741" lookat="2800,0,0" spawnclass=SpaceShip pawndesign=spaceshipescort />
 
 
     <StaticEntity position  = "2800,0,0" mass=10000 collisionType=static >
@@ -74,10 +75,10 @@
 <!-- Docking  -->
     <Dock position="2830,20,50" roll=0 yaw=0 >
         <animations>
-            <MoveToDockingTarget target="destroyer" />
+            <MoveToDockingTarget target="fistperson" />
         </animations>
         <effects>
-            <DockToShip target="spaceShip" />
+            <DockToShip target="fistperson" />
         </effects>
         <events>
             <execute>
@@ -88,9 +89,6 @@
 		<EventListener event="undockMe" />
 	    </undocking>
 	
-            <activity>
-                <EventListener event=notGameEnd />
-            </activity>
         </events>
         <attached>
 	<!-- Trigger for docking with billboard -->
@@ -99,26 +97,85 @@
                 beaconMode="exclude" targetname="bcnDestroyer" name="dockMe"
             />
 	<!-- Trigger for undocking with billboard -->
-	    <Billboard position="-2800,-20055,-700" material="Flares/ringflare2" colour="0.2,0.4,0.8" scale=10 />
+	    <Billboard position="-2800,-20055,-700" material="Flares/ringflare2" colour="0.2,0.4,0.8" scale=1 />
 	    <DistanceTrigger position="-2800,-20055,-700" distance="150" target="Pawn"
                 beaconMode="identify" targetname="bcnDestroyer" name="undockMe"
             />
         </attached>
 
     </Dock>
-
+    
 <!-- FPS Player as destination of the dock -->
-    <FpsPlayer template = "fps" radarname = "First Person Player" position = "0,-20000,0" >
+    <FpsPlayer template = "fps" radarname = "First Person Player" position = "172,-20000,-676" >
       <attached>
-        <DockingTarget name="spaceShip" />
         <DistanceTriggerBeacon name="bcnDestroyer" />
-        <DockingTarget name="destroyer" />
+        <DockingTarget name="fistperson" />
       </attached>
     </FpsPlayer>
 
 
-<!-- Cube as test SpaceStation
 
+
+<!-- Docking  II -->
+    <Dock position="-840,-20055,1.8" roll=0 yaw=0 >
+        <animations>
+            <MoveToDockingTarget target="spaceShip" />
+        </animations>
+        <effects>
+            <DockToShip target="spaceShip" />
+        </effects>
+        <events>
+            <execute>
+                <EventListener event="dockMe" />
+            </execute>
+
+	    <undocking>
+		<EventListener event="undockMe" />
+	    </undocking>
+	
+        </events>
+        <attached>
+	<!-- Trigger for docking with billboard -->
+            <Billboard position="0,0,0" material="Flares/ringflare2" colour="0.3,0.4,0.5" scale=1 />
+            <DistanceTrigger position="0,0,0" distance="200" target="Pawn"
+                beaconMode="exclude" targetname="bcnSpaceShip" name="dockMe"
+            />
+	<!-- Trigger for undocking with billboard -->
+	    <Billboard position="4140,20055,-295" material="Flares/ringflare2" colour="0.3,0.4,0.5" scale=1 />
+	    <DistanceTrigger position="4140,20055,-295" distance="300" target="Pawn"
+                beaconMode="identify" targetname="bcnSpaceShip" name="undockMe"
+            />
+        </attached>
+
+    </Dock>
+
+    <SpaceShip
+        template            = "HeavyCruiser"
+        team                = "0"
+        position            = "3600,-20,-120"
+        orientation         = "1,0,0,0"
+        health              = "400"
+        initialhealth       = "400"
+        maxhealth           = "500"
+        shieldhealth        = "80"
+        initialshieldhealth = "80"
+        maxshieldhealth     = "120"
+        shieldabsorption    = "0.8"
+        reloadrate          = "1"
+        reloadwaittime      = "1"
+        name                = "Tanis1"
+        radarname           = "Tanis Cruiser" >
+      <attached>
+        <DockingTarget name="spaceShip" />
+        <DistanceTriggerBeacon name="bcnSpaceShip" />
+      </attached>
+    </SpaceShip>
+
+
+
+
+<!-- SpaceStation
+
 The station can either be hidden outside of the skybox, within the hull of the space station if it is big enough or within a planet.
 Complex spacestations can be placed very far away from the spaceship so it is rendered at low resolution while the player uses the space ship.
 




More information about the Orxonox-commit mailing list