Index: code/branches/wagnis_HS18/data/levels/Wagnis.oxw
===================================================================
--- code/branches/wagnis_HS18/data/levels/Wagnis.oxw	(revision 12052)
+++ code/branches/wagnis_HS18/data/levels/Wagnis.oxw	(revision 12067)
@@ -12,8 +12,5 @@
 ?>
 
-<?lua
-  include("templates/spaceshipEscort.oxt")
-?>
-
+<!--
 <Template name=pongbatcameras defaults=0>
   <PongBat>
@@ -31,11 +28,11 @@
     <attached>
       <Model position="0,0,3" mesh="cube.mesh" scale3D="14,2,2" />
-      <!--Model roll=180 mesh="pongbat.mesh" scale=0.045 /-->
+      <-Model roll=180 mesh="pongbat.mesh" scale=0.045 /->
     </attached>
   </PongBat>
-</Template>
+</Template> -->
 
-<Level>
-  gametype = 
+
+<Level plugins="wagnis" gametype="Deathmatch">
   <templates>
     <Template link=lodtemplate_default />
@@ -51,39 +48,52 @@
     <SpawnPoint position="100, 45, 75" lookat="0, 45, 75" />
 
+<WagnisGameboard position="0,0,0">
+ <Provinces>
+    <WagnisProvince ID="1" continent="1" position="0,30,30" 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>
+    </WagnisProvince>
+
+    <WagnisProvince ID="2" continent="1" position="0,40,30" 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>
+    </WagnisProvince>
 
 
 
-<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)?>">
+
+
+  </Provinces>
+</WagnisGameboard>
+
+<!-->
+  <WagnisProvince ID="1" continent="1" position="0,30,30" 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" />
+      <Model position="0,0,0" mesh="ast1.mesh" scale3D="2,2,2" />
     </attached>
-</MovableEntity>
+ </WagnisProvince>
 
-<MovableEntity position="0,0,10" rotationrate="26" rotationaxis="0,2,1">
+  <WagnisProvince ID="1" continent="1" position="0,43,33" 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="ast2.mesh" scale3D="2,2,2" />
+      <Model position="0,0,0" mesh="ast1.mesh" scale3D="2,2,2" />
     </attached>
-</MovableEntity>
+  </WagnisProvince>
 
-<MovableEntity position="0,10,0" rotationrate="44" rotationaxis="3,1,1">
+  <WagnisProvince ID="1" continent="1" position="0,22,28" 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="ast3.mesh" scale3D="2,2,2" />
+      <Model position="0,0,0" mesh="ast1.mesh" scale3D="2,2,2" />
     </attached>
-</MovableEntity>
+  </WagnisProvince>
 
-<MovableEntity position="0,10,10" rotationrate="10" rotationaxis="2,9,1">
+  <WagnisProvince ID="1" continent="1" position="0,41,22" 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="ast4.mesh" scale3D="2,2,2" />
+      <Model position="0,0,0" mesh="ast1.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>
+  </WagnisProvince>
+  -->
 
 <Model position="0,0,0" mesh="Coordinates.mesh" scale="20"/>
-
 
 
