[Orxonox-commit 7445] r12052 - code/branches/wagnis_HS18/data/levels

kunzro at orxonox.net kunzro at orxonox.net
Wed Oct 24 11:29:38 CEST 2018


Author: kunzro
Date: 2018-10-24 11:29:37 +0200 (Wed, 24 Oct 2018)
New Revision: 12052

Added:
   code/branches/wagnis_HS18/data/levels/Wagnis.oxw
Log:
Levelfile added

Added: code/branches/wagnis_HS18/data/levels/Wagnis.oxw
===================================================================
--- code/branches/wagnis_HS18/data/levels/Wagnis.oxw	                        (rev 0)
+++ code/branches/wagnis_HS18/data/levels/Wagnis.oxw	2018-10-24 09:29:37 UTC (rev 12052)
@@ -0,0 +1,94 @@
+<LevelInfo
+ name = "Wagnis"
+ description = "A clone of the iconic Risk."
+ tags = "minigame"
+ screenshot = "emptylevel.png"
+/>
+
+<?lua
+  include("stats.oxo")
+  include("HUDTemplates3.oxo")
+  include("templates/lodInformation.oxt")
+?>
+
+<?lua
+  include("templates/spaceshipEscort.oxt")
+?>
+
+<Template name=pongbatcameras defaults=0>
+  <PongBat>
+    <camerapositions>
+      <CameraPosition position="0,150,0" pitch=-90 absolute=true />
+      <CameraPosition position="0,50,160" drag=true mouselook=true />
+      <CameraPosition position="0,40,125" drag=true mouselook=true />
+      <CameraPosition position="0,30, 90" drag=true mouselook=true />
+    </camerapositions>
+  </PongBat>
+</Template>
+
+<Template name=pongbat>
+  <PongBat camerapositiontemplate=pongbatcameras>
+    <attached>
+      <Model position="0,0,3" mesh="cube.mesh" scale3D="14,2,2" />
+      <!--Model roll=180 mesh="pongbat.mesh" scale=0.045 /-->
+    </attached>
+  </PongBat>
+</Template>
+
+<Level>
+  gametype = 
+  <templates>
+    <Template link=lodtemplate_default />
+  </templates>
+  <?lua include("includes/notifications.oxi") ?>
+
+  <Scene
+    ambientlight = "0.8, 0.8, 0.8"
+    skybox       = "Orxonox/skyBoxBasic"
+  >
+
+    <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 position="100, 45, 75" lookat="0, 45, 75" />
+
+
+
+
+<MovableEntity position="0,0,0" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
+    <attached>
+        <Model position="0,0,0" mesh="ast1.mesh" scale3D="2,2,2" />
+    </attached>
+</MovableEntity>
+
+<MovableEntity position="0,0,10" rotationrate="26" rotationaxis="0,2,1">
+    <attached>
+        <Model position="0,0,0" mesh="ast2.mesh" scale3D="2,2,2" />
+    </attached>
+</MovableEntity>
+
+<MovableEntity position="0,10,0" rotationrate="44" rotationaxis="3,1,1">
+    <attached>
+        <Model position="0,0,0" mesh="ast3.mesh" scale3D="2,2,2" />
+    </attached>
+</MovableEntity>
+
+<MovableEntity position="0,10,10" rotationrate="10" rotationaxis="2,9,1">
+    <attached>
+        <Model position="0,0,0" mesh="ast4.mesh" scale3D="2,2,2" />
+    </attached>
+</MovableEntity>
+
+<MovableEntity position="0,20,10" rotationrate="20" rotationaxis="5,2,1">
+    <attached>
+        <Model position="0,0,0" mesh="ast5.mesh" scale3D="2,2,2" />
+    </attached>
+</MovableEntity>
+
+<Model position="0,0,0" mesh="Coordinates.mesh" scale="20"/>
+
+
+
+
+    
+  </Scene>
+</Level>
+



More information about the Orxonox-commit mailing list