[Orxonox-commit 5425] r10088 - code/branches/minigame4DHS14/data/levels

richtero at orxonox.net richtero at orxonox.net
Wed Oct 8 15:37:22 CEST 2014


Author: richtero
Date: 2014-10-08 15:37:21 +0200 (Wed, 08 Oct 2014)
New Revision: 10088

Added:
   code/branches/minigame4DHS14/data/levels/4Dtest.oxw
Log:
new test level



Added: code/branches/minigame4DHS14/data/levels/4Dtest.oxw
===================================================================
--- code/branches/minigame4DHS14/data/levels/4Dtest.oxw	                        (rev 0)
+++ code/branches/minigame4DHS14/data/levels/4Dtest.oxw	2014-10-08 13:37:21 UTC (rev 10088)
@@ -0,0 +1,60 @@
+<LevelInfo
+ name = "4Dtest"
+ description = "Test of 4D minigame."
+  screenshot = "asteroidFieldTest.png"
+ tags = "test, showcase"
+/>
+
+<?lua
+  include("stats.oxo")
+  include("HUDTemplates3.oxo")
+  include("templates/lodInformation.oxt")
+?>
+<WorldAmbientSound source="Asteroid_rocks.ogg" looping="true" playOnLoad="true" />
+
+<?lua
+  include("templates/spaceshipAssff.oxt")
+  include("templates/spaceshipPirate.oxt")
+?>
+
+<Level
+ name         = "Sample"
+ description  = "Just a few tests"
+>
+  <templates>
+    <Template link=lodtemplate_default />
+  </templates>
+  <?lua include("includes/notifications.oxi") ?>
+
+  <Scene
+    ambientlight = "0.8, 0.8, 0.8"
+    skybox       = "Orxonox/Starbox"
+    hasPhysics   = true
+  >
+
+    <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 team=0 position="-200,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff />
+
+    <!-- Planet in the middle -->
+    <Planet
+      position="0,0,0"
+      scale="50"
+      collisionType="dynamic"
+      linearDamping="0.8"
+      angularDamping="0"
+      mass="0"
+      pitch="0"
+      mesh="planets/muunilinst.mesh"
+      atmosphere="atmosphere1"
+      rotationaxis="1,0,0"
+      rotationrate="0"
+      atmospheresize="2.0f"
+      imagesize="1024.0f"
+    >
+    </Planet>
+
+
+
+  </Scene>
+</Level>
+




More information about the Orxonox-commit mailing list