Index: code/branches/presentationHS13/data/levels/EntryTest.oxw
===================================================================
--- code/branches/presentationHS13/data/levels/EntryTest.oxw	(revision 9930)
+++ 	(revision )
@@ -1,1135 +1,0 @@
-<!-- -->
-<LevelInfo
- name = "EntryTest"
- description = "Test suite for Entry"
- screenshot = "missionOne.png"
- tags = "mission"
-/>
-
-<?lua
-  include("stats.oxo")
-  include("HUDTemplates3.oxo")
-  include("templates/lodInformation.oxt")
-  include("templates/spaceshipAssff.oxt")
-  include("templates/spaceshipPirate.oxt")
-  include("templates/spaceshipSpacecruiser.oxt")
-  include("templates/spaceshipTransporter.oxt")
-  include("templates/FPS.oxt")
-?>
-
-<?lua
-include("templates/pickupRepresentationTemplates.oxt")
-?>
-
-<Level
- gametype     = "Mission"
->
-  <templates>
-    <Template link=lodtemplate_default />
-  </templates>
-  <?lua include("includes/notifications.oxi") ?>
-
-  <NotificationQueueCEGUI
-    name="narrative"
-    targets="simpleNotification"
-    size=3
-    displayTime=3.9
-    position="0.2, 0, 0.1, 0"
-    fontSize="23"
-    fontColor="0.3, 1, 0.2, 0.8"
-    alignment="HorzCentred"
-    displaySize="0.6, 0, 0, 0"
-    />
-  <Scene
-    ambientlight = "0.8, 0.8, 0.8"
-    skybox       = "Orxonox/Starbox"
-  >
-    <?lua
-      include("includes/pickups.oxi")
-    ?>
-
-    <WorldAmbientSound source="Earth.ogg" looping="true" playOnLoad="true" /> <!-- AlphaCentauri.ogg, Mars.ogg-->
-
-    <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"/>
-<!-- END OF INCLUDES & NECESSARITIES -->
-
-<!-- SPAWNPOINT & START OF QUESTS via spawntrigger -->
-    <EventMultiTrigger name=spawntrigger>
-        <events>
-            <trigger>
-                <TeamSpawnPoint team=0 position="-47000,-1000,1300" direction="-1,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff>
-                  <EventTrigger invert=true>
-                    <events>
-                      <trigger>
-                        <EventListener event="attack" />
-                      </trigger>
-                    </events>
-                  </EventTrigger>
-                </TeamSpawnPoint>
-            </trigger>
-        </events>
-    </EventMultiTrigger>
-
-        <QuestEffectBeacon times=1>
-            <effects>
-                <AddQuest questId="missionOne.basicFlying" />
-                <!--AddQuestHint hintId ="quest1hint3" /-->
-            </effects>
-            <events>
-                <execute>
-                    <EventListener event=spawntrigger />
-                </execute>
-            </events>
-        </QuestEffectBeacon>
-
-        <QuestEffectBeacon times=1>
-            <effects>
-                <CompleteQuest questId="missionOne.basicFlying" />
-            </effects>
-            <events>
-                <execute>
-                    <EventListener event="flying4" />
-                </execute>
-            </events>
-        </QuestEffectBeacon>
-
-        <QuestEffectBeacon times=1>
-            <effects>
-                <CompleteQuest questId="missionOne.navigation" />
-            </effects>
-            <events>
-                <execute>
-                    <EventListener event="navigationend" />
-                </execute>
-            </events>
-        </QuestEffectBeacon>
-
-<!--helper trigger to end the weaponsystemI quest -->
-    <DistanceTrigger name="boxend" position="0,0,0" distance=950 target="SpaceShip" stayActive="false" delay=0.1>
-              <EventTrigger>
-                <events>
-                  <trigger>
-                    <EventListener event="boxtrigger4" />
-                  </trigger>
-                </events>
-              </EventTrigger>
-    </DistanceTrigger>
-
-        <QuestEffectBeacon times=1>
-            <effects>
-                <CompleteQuest questId="missionOne.weaponsystemI" />
-            </effects>
-            <events>
-                <execute>
-                    <EventListener event="boxend" />
-                </execute>
-            </events>
-        </QuestEffectBeacon>
-
-<!--helper trigger to end the weaponsystemII quest -->
-    <DistanceTrigger name="piratesend" position="0,0,0" distance=2000 target="SpaceShip" stayActive="false" delay=0.1>
-              <EventTrigger>
-                <events>
-                  <trigger>
-                    <EventListener event="movingpirates2" />
-                  </trigger>
-                </events>
-              </EventTrigger>
-    </DistanceTrigger>
-
-        <QuestEffectBeacon times=1>
-            <effects>
-                <CompleteQuest questId="missionOne.weaponsystemII" />
-            </effects>
-            <events>
-                <execute>
-                    <EventListener event=piratesend />
-                </execute>
-            </events>
-        </QuestEffectBeacon>
-
-<!--helper trigger to end the DuBallStation quest -->
-    <DistanceTrigger name="duballend" position="-1000,-300,700" distance=2000 target="SpaceShip" stayActive="false" delay=0.1>
-              <EventTrigger>
-                <events>
-                  <trigger>
-                    <EventListener event="duball3" />
-                  </trigger>
-                </events>
-              </EventTrigger>
-    </DistanceTrigger>
-
-
-        <QuestEffectBeacon times=1>
-            <effects>
-                <CompleteQuest questId="missionOne.DuballStation" />
-            </effects>
-            <events>
-                <execute>
-                    <EventListener event=duballend />
-                </execute>
-            </events>
-        </QuestEffectBeacon>
-
-        <QuestEffectBeacon times=1> <!--  alternative quest end  -->
-            <effects>
-                <CompleteQuest questId="missionOne.DuballStation" />
-            </effects>
-            <events>
-                <execute>
-                    <EventListener event=toHydroFarmer />
-                </execute>
-            </events>
-        </QuestEffectBeacon>
-
-<!--helper trigger to end the getHelp quest -->
-    <DistanceTrigger name="getHelpEnd" position="-47000,-1000,1300" distance=1400 target="SpaceShip" stayActive="false" delay=0.1>
-              <EventTrigger>
-                <events>
-                  <trigger>
-                    <EventListener event="ondock" />
-                  </trigger>
-                </events>
-              </EventTrigger>
-    </DistanceTrigger>
-
-        <QuestEffectBeacon times=1>
-            <effects>
-                <CompleteQuest questId="missionOne.getHelp" />
-            </effects>
-            <events>
-                <execute>
-                    <EventListener event=getHelpEnd />
-                </execute>
-            </events>
-        </QuestEffectBeacon>
-
-<!--helper trigger to end the getHome quest -->
-    <DistanceTrigger name="getHomeEnd" position="0,0,0" distance=4000 target="SpaceShip" stayActive="false" delay=0.1>
-              <EventTrigger>
-                <events>
-                  <trigger>
-                    <EventListener event="attack" />
-                  </trigger>
-                </events>
-              </EventTrigger>
-    </DistanceTrigger>
-
-        <QuestEffectBeacon times=1>
-            <effects>
-                <CompleteQuest questId="missionOne.getHome" />
-            </effects>
-            <events>
-                <execute>
-                    <EventListener event=getHomeEnd />
-                </execute>
-            </events>
-        </QuestEffectBeacon>
-
-<!--helper trigger to end the defence quest -->
-    <DistanceTrigger name="defenceEnd" position="0,0,0" distance=4000 target="SpaceShip" stayActive="false" delay=0.1>
-              <EventTrigger>
-                <events>
-                  <trigger>
-                    <EventListener event="attacktrigger6" />
-                  </trigger>
-                </events>
-              </EventTrigger>
-    </DistanceTrigger>
-
-        <QuestEffectBeacon times=1>
-            <effects>
-                <CompleteQuest questId="missionOne.defence" />
-            </effects>
-            <events>
-                <execute>
-                    <EventListener event=defenceEnd />
-                </execute>
-            </events>
-        </QuestEffectBeacon>
-
-<!-- End the quest after own destruction of spacecruiser -->
-        <QuestEffectBeacon position="-100,0,0" times=1>
-            <effects>
-                <FailQuest questId="missionOne.getHelp" />
-            </effects>
-            <events>
-                <execute>
-                    <EventListener event="failQuest" />
-                </execute>
-            </events>
-            <attached>
-                <DistanceTrigger name="failQuest" position="-47000,-1000,1300" distance=2300 target="SpaceShip">
-                  <EventTrigger>
-                    <events>
-                      <trigger>
-                        <EventListener event="gameEnd" />
-                      </trigger>
-                    </events>
-                  </EventTrigger>
-                </DistanceTrigger>
-            </attached>
-        </QuestEffectBeacon>
-
-
-
-
-    <LocalQuest id="missionOne.basicFlying">
-        <QuestDescription title="Flying" description="Can you see the blinking light straight ahead? Your goal is to fly through it.
-Use (W) to accelerate and steer with your mouse.
-
-Further flying moves:
-break (S)
-roll     (Q) and (E)
-boost (Space)
-
-Whenever a new quest is added you can view it by pressing (F3). Quit this menu via (Esc)." failmessage="" completeMessage="" />
-        <complete-effects>
-            <AddQuest questId="missionOne.navigation" />
-        </complete-effects>
-    </LocalQuest>
-
-    <LocalQuest id="missionOne.navigation">
-        <QuestDescription title="Navigation" description="The next goal is to find and move towards the test targets for your weaponsystem. The three arrows that just appeared down in the right corner of your screen indicate in which direction you have to turn your spacefighter to find your next targets.
-
-Alternative navigation: There's a green circle in the left corner - the radar. The red dots on the radar represent your targets. If you manage to move your spaceship in a way such that a dot is at the center of the radar, you will be able to see the concerning object straight ahead." failmessage="" completeMessage="" />
-        <complete-effects>
-            <AddQuest questId="missionOne.weaponsystemI" />
-        </complete-effects>
-    </LocalQuest>
-
-            <LocalQuest id ="missionOne.weaponsystemI">
-                <QuestDescription title="Destroy the Boxes" description="Test your four different weapons on the four boxes:
-1. laser (left click)
-2. plasma (right click)
-3. target seeking rockets (middle click)
-4. manual rockets (T)
-
-Attention if you use manual rockets: Press (T) only once to start the rocket. If you miss your target you can get out of the rocket, by clicking or pressing (T) once more." failmessage="" completeMessage="" />
-                    <hints>
-                        <QuestHint id="missionOne.weaponsystem.laser">
-                            <QuestDescription title="Laser" description="The laser is a standard weapon. It is fast and precise but does not deal much damage." />
-                        </QuestHint>
-                        <QuestHint id="missionOne.weaponsystem.lightningGun">
-                            <QuestDescription title="Lightninggun" description="That was the lightning gun. Its plasma munition is quite slow, but a normal spaceship can't take more than three hits of such a strong weapon. That could be your favourite weapon for close range combat or if you want to hit a really slow enemy." />
-                        </QuestHint>
-                        <QuestHint id="missionOne.weaponsystem.targetSeekingRocket">
-                            <QuestDescription title="Target Seeking Rocket" description="The target seeking rockets follow slow targets on their own." />
-                        </QuestHint>
-                        <QuestHint id="missionOne.weaponsystem.manualrocket">
-                            <QuestDescription title="Manual Rocket" description="Manual rockets are your most powerful weapon. But since you have to steer it to your target yourself, you will leave your spaceship unprotected for a while. The total amount of both manual and target seeking rockets is limited to 10." />
-                        </QuestHint>
-                    </hints>
-                <complete-effects>
-                    <AddQuest questId="missionOne.weaponsystemII" />
-                </complete-effects>
-            </LocalQuest>
-
-            <LocalQuest id="missionOne.weaponsystemII">
-                <QuestDescription title="Kill the pirates" description="Get rid of the patrolling pirates.
-Find out which weapon is best to tackle moving targets. Get close enough." failmessage="" completeMessage="" />
-                <complete-effects>
-                    <AddQuest questId="missionOne.DuballStation" />
-                </complete-effects>
-            </LocalQuest>
-
-    <LocalQuest id="missionOne.DuballStation">
-        <QuestDescription title="Duball Space Station" description="Fly towards the Duball Space Station. The grey radar marker will lead you to its position." failmessage="" completeMessage="" />
-        <complete-effects>
-            <AddQuest questId="missionOne.getHelp" />
-        </complete-effects>
-    </LocalQuest>
-
-    <LocalQuest id="missionOne.getHelp">
-        <QuestDescription title="Get Help" description="There are several enemies approaching. You can't handle it on your own. Fortunately there's a shortcut to the next friendly unit. Use the portal (grey dot) to get near the Hydrogen Farmer.
-The Hydrogen Farmer is a large spaceship with three legs.
-There you might get help - as far as we know there should be a strong spaceruiser docked to the Hydrogen Farmer. In order to be able to use that stronger spaceship, you have to dock to the Hydrogen Farmer.
-Simply fly to the center of the Hydrogen Farmer, which is between its three legs.
-
-How to dock: Accept the dialogue, take your hands off the keyboard and watch." failmessage="" completeMessage="" />
-        <complete-effects>
-            <AddQuest questId="missionOne.getHome" />
-        </complete-effects>
-    </LocalQuest>
-
-    <LocalQuest id="missionOne.getHome">
-        <QuestDescription title="Return ASAP" description="So you managed to get the spacecruiser. Use the portal to return to the DuBall Space Station.
-Hurry! Your help is desperately needed." failmessage="" completeMessage="" />
-        <complete-effects>
-            <AddQuest questId="missionOne.defence" />
-        </complete-effects>
-    </LocalQuest>
-
-    <LocalQuest id="missionOne.defence">
-        <QuestDescription title="Defence" description="Seven enemies were detected that seem to launch a coordinated attack.
-Do not hesitate to fight or you will be the target.
-
-Always take care of the enemy that is the closest to you." failmessage="" completeMessage="Yeah! You did it." />
-    </LocalQuest>
-
-    <SimpleNotification message="Dock to the Hydrogen Farmer." broadcast="true">
-        <events>
-            <trigger>
-                <EventListener event=toHydroFarmer />
-            </trigger>
-        </events>
-    </SimpleNotification>
-
-<!-------------------------------------- PART FOUR : Get Help --------------------------------------->
-
-    <Trigger name="famer1" mode="and" stayActive="true">
-        <DistanceTrigger position="-48200,100,0" target="Pawn" distance=650 stayActive="true" delay=0 />
-        <EventTrigger name="notGameEnd" activations="1" invert="true">
-          <events>
-            <trigger>
-              <EventListener event="gameEnd" />
-            </trigger>
-          </events>
-        </EventTrigger>
-    </Trigger>
-
-    <Trigger name="famer2" mode="and" stayActive="true">
-        <DistanceTrigger position="-48200,100,0" target="Pawn" distance=650 stayActive="true" delay=4 />
-        <EventTrigger activations="1" invert="true">
-          <events>
-            <trigger>
-              <EventListener event="gameEnd" />
-            </trigger>
-          </events>
-        </EventTrigger>
-    </Trigger>
-
-    <SimpleNotification message="We just received a message from DuBall." broadcast="true">
-        <events>
-            <trigger>
-                <EventListener event=famer1 />
-            </trigger>
-        </events>
-    </SimpleNotification>
-
-
-    <SimpleNotification message="We will lend you our strongest ship." broadcast="true">
-        <events>
-            <trigger>
-                <EventListener event=famer2 />
-            </trigger>
-        </events>
-    </SimpleNotification>
-
-
-<!-- @Objects: HYDROGEN FARMER & DOCKING -->
-    <SpaceShip
-        team      = 0
-        position  = "-48900,100,0"
-        roll      = 90   yaw=0  pitch=20
-        mass      = 10000
-        health    = 100000 initialhealth=100000 maxhealth="100000"
-        name      = "HydroFarmer"
-        radarname = "Hydrogen Farmer" >
-      <attached>
-        <!-- Docking -->
-        <DistanceTriggerBeacon name="bcnDestroyer" />
-        <DockingTarget name="destroyer" />
-
-        <Model mesh="HydroHarvester.mesh" mass=10 position="0,0,0" scale=50 />
-   <!-- <Model mesh="cube.mesh" mass=10 position="-560,0,0" scale3D="115,100,245"  />
-        <Model mesh="cube.mesh" mass=10 position="290,0,-480" scale3D="115,100,245" yaw=-120 />
-        <Model mesh="cube.mesh" mass=10 position="290,0,480" scale3D="115,100,245" yaw=-240 />
-        <Model mesh="cube.mesh" mass=10 position="-280,0,0" scale3D="163,50,50" />
-        <Model mesh="cube.mesh" mass=10 position="140,0,-240" scale3D="163,50,50"  yaw=-120/>
-        <Model mesh="cube.mesh" mass=10 position="140,0,240" scale3D="163,50,50" yaw=-240/>
-        <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" />
-        <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" yaw=-120/>
-        <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" yaw=-240/>
-        <Model mesh="cube.mesh" mass=10 position="0,400,0" scale3D="43,110,26" yaw=-30 />
-        <Model mesh="cube.mesh" mass=10 position="-200,100,0" scale3D="26,50,43" />
-        <Model mesh="cube.mesh" mass=10 position="100,100,-173" scale3D="43,50,26" yaw=-30/>
-        <Model mesh="cube.mesh" mass=10 position="100,100,173" scale3D="43,50,26" yaw=30/>
-        <Model mesh="cube.mesh" mass=10 position="-100,264,0" scale3D="26,105,43" roll=-49/>
-        <Model mesh="cube.mesh" mass=10 position="50,264,-87" scale3D="26,105,43" roll=-49 yaw=-120/>
-        <Model mesh="cube.mesh" mass=10 position="50,264,87" scale3D="26,105,43" roll=-49 yaw=-240/>     -->
-      </attached>
-      <collisionShapes>
-        <BoxCollisionShape  position="-560,0,0" halfExtents="115,100,245" /><!-- Three lower boxes -->
-        <BoxCollisionShape  position="290,0,-480" halfExtents="115,100,245" yaw=-120 />
-        <BoxCollisionShape  position="290,0,480" halfExtents="115,100,245" yaw=-240 />
-        <BoxCollisionShape  position="-280,0,0" halfExtents="163,50,50" /><!-- Three lower connections -->
-        <BoxCollisionShape  position="140,0,-240" halfExtents="163,50,50" yaw=-120 />
-        <BoxCollisionShape  position="140,0,240" halfExtents="163,50,50" yaw=-240 />
-        <BoxCollisionShape  position="0,530,0" halfExtents="172,52,298" /><!-- Upper Tower -->
-        <BoxCollisionShape  position="0,530,0" halfExtents="172,52,298" yaw=-120 />
-        <BoxCollisionShape  position="0,530,0" halfExtents="172,52,298" yaw=-240 />
-        <BoxCollisionShape  position="0,400,0" halfExtents="43,110,26" yaw=-30 /><!-- Middle one-->
-        <BoxCollisionShape  position="-200,100,0" halfExtents="26,50,43" /><!--Three lower legs -->
-        <BoxCollisionShape  position="100,100,-173" halfExtents="43,50,26" yaw=-30 />
-        <BoxCollisionShape  position="100,100,-173" halfExtents="43,50,26" yaw=30 />
-        <BoxCollisionShape  position="-100,264,0" halfExtents="26,105,43" roll=-49 /><!--Three upper legs -->
-        <BoxCollisionShape  position="50,264,-87" halfExtents="26,105,43" roll=-49 yaw=-120 />
-        <BoxCollisionShape  position="50,264,87" halfExtents="26,105,43" roll=-49 yaw=-240 />
-      </collisionShapes>
-    </SpaceShip>
-
-    <Dock position="-48900,0,0" roll=90 yaw=180 >
-        <animations>
-            <MoveToDockingTarget target="destroyer" />
-        </animations>
-        <effects>
-            <DockToShip target="spaceShip" />
-        </effects>
-        <events>
-            <execute>
-                <EventListener event="dockMe" />
-            </execute>
-            <activity>
-                <EventListener event=notGameEnd />
-            </activity>
-        </events>
-        <attached>
-            <DistanceTrigger position="10,-202, -42" distance="800" target="Pawn"
-                beaconMode="exclude" targetname="bcnDestroyer" name="dockMe"
-            />
-        </attached>
-
-    </Dock>
-
-<!--@Objects: SpaceCruiser as docking target -->
-    <SpaceShip
-        template            = "spaceshipspacecruiser"
-        team                = "0"
-        position            = "-48900,800,0"
-        orientation         = "-0.14, 0.68, 0.68, 0.223"
-        health              = "400"
-        initialhealth       = "400"
-        maxhealth           = "500"
-        shieldhealth        = "80"
-        initialshieldhealth = "80"
-        maxshieldhealth     = "120"
-        shieldabsorption    = "0.8"
-        reloadrate          = "1"
-        reloadwaittime      = "1"
-        name                = "cruiser"
-        radarname           = "Spacecruiser" >
-    <!--FpsPlayer
-   spawnparticlesource    = "Orxonox/fairytwirl"
-   spawnparticleduration  = 3
-   explosionchunks        = 6
-
-   health            = 100
-   maxhealth         = 200
-   initialhealth     = 100
-
-   primaryThrust     = 0;
-   auxilaryThrust    = 0;
-   rotationThrust    = 0;
-
-   collisionType     = "dynamic"
-   mass              = 100
-   linearDamping     = 0.7
-   angularDamping    = 0.9999999
-   friction          = 0.01
-
-   weapon            = "hs-w01.mesh"
-
-   radarname	     = "FPS"
-  -->
-      <attached>
-        <DockingTarget name="spaceShip" />
-      </attached>
-    </SpaceShip>
-
-
-<!-- cruiserKilled: if cuiser is killed & player hasn't taken control of spacecrusier -->
-          <Trigger name="cruiserKilled" mode="and" stayActive="true">
-            <EventTrigger  stayActive="true">
-              <events>
-                <trigger>
-                  <EventListener event="cruiser"/>
-                </trigger>
-              </events>
-            </EventTrigger>
-            <EventTrigger invert=true>
-              <events>
-                <trigger>
-                  <EventListener event="ondock" />
-                </trigger>
-              </events>
-            </EventTrigger>
-          </Trigger>
-
-
-<!-- triggers when either hydrofarmer or cruiser is killed -->
-            <Trigger mode=or name="gameEnd">
-                <EventTrigger activations="1">
-                  <events>
-                    <trigger>
-                      <EventListener event="HydroFarmer" />
-                    </trigger>
-                  </events>
-                </EventTrigger>
-                <EventTrigger activations="1">
-                  <events>
-                    <trigger>
-                      <EventListener event="cruiserKilled" />
-                    </trigger>
-                  </events>
-                </EventTrigger>
-            </Trigger>
-
-<!-- triggers delayed when either hydrofarmer or cruiser is killed -->
-            <EventTrigger delay=4 name="earlyEnd">
-              <events>
-                <trigger>
-                  <EventListener event="gameEnd" />
-                </trigger>
-              </events>
-              <events>
-                <activity>
-                  <EventListener event="movingpirates2" />
-                </activity>
-              </events>
-            </EventTrigger>
-
-
-    <SimpleNotification message="Oh no! You killed the Hydrogen Farmer!" broadcast="true">
-        <events>
-            <trigger>
-                <EventListener event="HydroFarmer" />
-            </trigger>
-        </events>
-    </SimpleNotification>
-
-    <SimpleNotification message="Oh no! You killed the SpaceCruiser!" broadcast="true">
-        <events>
-            <trigger>
-                <EventListener event="cruiserKilled" />
-            </trigger>
-        </events>
-    </SimpleNotification>
-
-    <SimpleNotification message="Press (Esc) and restart the mission." broadcast="true">
-        <events>
-            <trigger>
-                <EventListener event="earlyEnd" />
-            </trigger>
-        </events>
-    </SimpleNotification>
-
-<!-- hydrogen farmer & docking END -->
-
-
-<!-- @Objects: Pickup - find better place !! -->
-    <PickupSpawner pickup=hugeshieldpickup position="-48650,700,100" triggerDistance="70" respawnTime="30" maxSpawnedItems="1" />
-
-
-    <DistanceTrigger name="pickup" position="-48650,700,100" target="Pawn" distance=60 stayActive="true" delay=0 />
-    <SimpleNotification message="This pickup protects your spaceship.">
-        <events>
-            <trigger>
-                <EventListener event=pickup />
-            </trigger>
-        </events>
-    </SimpleNotification>
-<!-- Pickup-->
-
-
-<!-- @Objects: planet && spaceboundaries  -->
-    <Planet
-      position="-44000,0,0"
-      scale="2500"
-      collisionType="dynamic"
-      linearDamping="0.8"
-      angularDamping="0"
-      mass="10000000"
-      pitch="0"
-      mesh="planets/muunilinst.mesh"
-      atmosphere="atmosphere1"
-      rotationaxis="1,0,0"
-      rotationrate="1.0"
-      atmospheresize="80.0f"
-      imagesize="1024.0f"
-      collisiondamage = "2"
-      enablecollisiondamage = "false"
-    >
-      <!--attached>
-        <ForceField position="0,0,0" mode="sphere" diameter="10000" velocity="-50" />
-      </attached-->  <!-- Forcefield kills HYDROGEN FARMER-->
-      <collisionShapes>
-        <SphereCollisionShape radius="2500" position="0,0,0" />
-      </collisionShapes>
-    </Planet>
-
-
-<!-------------------------------------- The attack --------------------------------------->
-<!-- TODO:
-     - update spaceshipTransporter
-     - bots do friendly fire (is drone function reusable?)
--->
-
-<!-- Fallback Spawnpoint: on cruiserdeath caused by pirates. Unfortunately unstable behaviour concerning activity. -->
-    <TeamSpawnPoint team=0 position="2000,1500,-1500" direction="-1,-1,1" spawnclass=SpaceShip pawndesign=spaceshipspacecruiser>
-        <events>
-            <activity>
-                <EventListener event="attack" />
-            </activity>
-        </events>
-    </TeamSpawnPoint>
-
-<!-- @Triggers: toHydroFamer <-> first  portal usage
-                ondock       <-> successfull docking
-                attack       <-> second portal usage -->
-
-    <DistanceTrigger name="attack" position="-1400,-500,800" target="Pawn" distance=100 stayActive="true" mode="and">
-        <EventTrigger name="ondock" activations="1" stayactive="true" delay=6>
-          <events>
-            <trigger>
-              <EventListener event="dockMe" />
-            </trigger>
-          </events>
-            <Trigger mode=and>
-              <DistanceTrigger name="toHydroFarmer" position="-47000,-1000,1300" target="Pawn" distance=100 stayActive="true" />
-              <EventTrigger activations="1" invert="true">
-                <events>
-                  <trigger>
-                    <EventListener event="gameEnd" />
-                  </trigger>
-                </events>
-              </EventTrigger>
-            </Trigger>
-        </EventTrigger>
-        <EventTrigger activations="1" invert="true">
-          <events>
-            <trigger>
-              <EventListener event="earlyEnd" />
-            </trigger>
-          </events>
-        </EventTrigger>
-    </DistanceTrigger>
-
-    <SimpleNotification message="Return before it's too late. Boost with (Space)." broadcast="true">
-        <events>
-            <trigger>
-                <EventListener event=ondock />
-            </trigger>
-        </events>
-    </SimpleNotification>
-
-    <SimpleNotification message="Several serious enemies are approaching!">
-        <events>
-            <trigger>
-                <EventListener event=attack />
-            </trigger>
-        </events>
-    </SimpleNotification>
-
-
-<!-- @Objects: 6 pirates, heading towards DuBall, attacking  -->
-<!-- TODO: re-hide pirates on early end-->
-<!-- 1 -->
-    <SpaceShip position="3000,-4000,4000" lookat="-1300,-600,900" name="attacker"visible="true">
-        <events>
-            <visibility>
-                <EventListener event="ondock" />
-            </visibility>
-        </events>
-        <templates>
-            <Template link=spaceshippirate /> <!--spaceshipTransporter -->
-        </templates>
-        <controller>
-            <WaypointPatrolController alertnessradius=3129 team=1 active=false>
-                <waypoints>
-                    <Model mesh="cube.mesh" scale=0 position="-1300,-600,900" />
-                    <Model mesh="cube.mesh" scale=0 position="0,0,0" />
-                </waypoints>
-                <events>
-                    <activity>
-                        <EventListener event="attack" /> <!-- activates enemies-->
-                     </activity>
-                </events>
-            </WaypointPatrolController>
-        </controller>
-    </SpaceShip>
-<!-- 2 -->
-    <SpaceShip position="3000,-4000,-4000" lookat="-1300,-600,900" name="attacker" visible="true">
-        <events>
-            <visibility>
-                <EventListener event="ondock" />
-            </visibility>
-        </events>
-        <templates>
-            <Template link=spaceshippirate /> <!--spaceshipTransporter -->
-        </templates>
-        <controller>
-            <WaypointPatrolController alertnessradius=3129 team=1 active=false>
-                <waypoints>
-                    <Model mesh="cube.mesh" scale=0 position="-1300,-600,900" />
-                    <Model mesh="cube.mesh" scale=0 position="0,0,0" />
-                </waypoints>
-                <events>
-                    <activity>
-                        <EventListener event="attack" /> <!-- activates enemies-->
-                     </activity>
-                </events>
-            </WaypointPatrolController>
-        </controller>
-    </SpaceShip>
-<!-- 3 -->
-    <SpaceShip position="-4000,-3000,4000" lookat="-1300,-600,900" name="attacker" visible="true">
-        <events>
-            <visibility>
-                <EventListener event="ondock" />
-            </visibility>
-        </events>
-        <templates>
-            <Template link=spaceshippirate /> <!--spaceshipTransporter -->
-        </templates>
-        <controller>
-            <WaypointPatrolController alertnessradius=3129 team=1 active=false>
-                <waypoints>
-                    <Model mesh="cube.mesh" scale=0 position="-1300,-600,900" />
-                    <Model mesh="cube.mesh" scale=0 position="0,0,0" />
-                </waypoints>
-                <events>
-                    <activity>
-                        <EventListener event="attack" /> <!-- activates enemies-->
-                     </activity>
-                </events>
-            </WaypointPatrolController>
-        </controller>
-    </SpaceShip>
-<!-- 4 -->
-    <SpaceShip position="-3000,-3000,-5000" lookat="-1300,-600,900" name="attacker" visible="true">
-        <events>
-            <visibility>
-                <EventListener event="ondock" />
-            </visibility>
-        </events>
-        <templates>
-            <Template link=spaceshippirate /> <!--spaceshipTransporter -->
-        </templates>
-        <controller>
-            <WaypointPatrolController alertnessradius=3129 team=1 active=false>
-                <waypoints>
-                    <Model mesh="cube.mesh" scale=0 position="-1300,-600,900" />
-                    <Model mesh="cube.mesh" scale=0 position="0,0,0" />
-                </waypoints>
-                <events>
-                    <activity>
-                        <EventListener event="attack" /> <!-- activates enemies-->
-                     </activity>
-                </events>
-            </WaypointPatrolController>
-        </controller>
-    </SpaceShip>
-<!-- 5 -->
-    <SpaceShip position="4000,4000,3000" lookat="-1300,-600,900" name="attacker"visible="true">
-        <events>
-            <visibility>
-                <EventListener event="ondock" />
-            </visibility>
-        </events>
-        <templates>
-            <Template link=spaceshippirate /> <!--spaceshipTransporter -->
-        </templates>
-        <controller>
-            <WaypointPatrolController alertnessradius=3129 team=1 active=false>
-                <waypoints>
-                    <Model mesh="cube.mesh" scale=0 position="-1300,-600,900" />
-                    <Model mesh="cube.mesh" scale=0 position="0,0,0" />
-                </waypoints>
-                <events>
-                    <activity>
-                        <EventListener event="attack" /> <!-- activates enemies-->
-                     </activity>
-                </events>
-            </WaypointPatrolController>
-        </controller>
-    </SpaceShip>
-<!-- 6 -->
-    <SpaceShip position="2000,-4000,5000" lookat="-1300,-600,900" name="attacker" visible="true">
-        <events>
-            <visibility>
-                <EventListener event="ondock" />
-            </visibility>
-        </events>
-        <templates>
-            <Template link=spaceshippirate /> <!--spaceshipTransporter -->
-        </templates>
-        <controller>
-            <WaypointPatrolController alertnessradius=3129 team=1 active=false>
-                <waypoints>
-                    <Model mesh="cube.mesh" scale=0 position="-1300,-600,900" />
-                    <Model mesh="cube.mesh" scale=0 position="0,0,0" />
-                </waypoints>
-                <events>
-                    <activity>
-                        <EventListener event="attack" /> <!-- activates enemies-->
-                     </activity>
-                </events>
-            </WaypointPatrolController>
-        </controller>
-    </SpaceShip>
-
-
-<!-- @Triggers: attacktriggerX <-> X enemies destroyed , X is an element of [1,6] -->
-    <EventTrigger name="attacktrigger6" activations="1" stayactive="true">
-      <events>
-        <trigger>
-          <EventListener event="attacker" />
-        </trigger>
-      </events>
-      <EventTrigger name="attacktrigger5" activations="1" stayactive="true" delay=0.1>
-        <events>
-          <trigger>
-            <EventListener event="attacker" />
-          </trigger>
-        </events>
-        <EventTrigger name="attacktrigger4" activations="1" stayactive="true" delay=0.1>
-          <events>
-            <trigger>
-              <EventListener event="attacker" />
-            </trigger>
-          </events>
-          <EventTrigger name="attacktrigger3" activations="1" stayactive="true" delay=0.1>
-            <events>
-              <trigger>
-                <EventListener event="attacker" />
-              </trigger>
-            </events>
-            <EventTrigger name="attacktrigger2" activations="1" stayactive="true" delay=0.1>
-              <events>
-                <trigger>
-                  <EventListener event="attacker" />
-                </trigger>
-              </events>
-              <EventTrigger name="attacktrigger1" activations="1" stayactive="true" delay=0.1>
-                <events>
-                  <trigger>
-                    <EventListener event="attacker" />
-                  </trigger>
-                </events>
-              </EventTrigger>
-            </EventTrigger>
-          </EventTrigger>
-        </EventTrigger>
-      </EventTrigger>
-    </EventTrigger>
-
-
-    <SimpleNotification message="5 enemies left!" broadcast="true">
-      <events>
-        <trigger>
-          <EventListener event="attacktrigger1" />
-        </trigger>
-      </events>
-    </SimpleNotification>
-
-    <SimpleNotification message="4 enemies left!" broadcast="true">
-      <events>
-        <trigger>
-          <EventListener event="attacktrigger2" />
-        </trigger>
-      </events>
-    </SimpleNotification>
-
-    <SimpleNotification message="3 enemies left!" broadcast="true">
-      <events>
-        <trigger>
-          <EventListener event="attacktrigger3" />
-        </trigger>
-      </events>
-    </SimpleNotification>
-
-    <SimpleNotification message="2 enemies left!" broadcast="true">
-      <events>
-        <trigger>
-          <EventListener event="attacktrigger4" />
-        </trigger>
-      </events>
-    </SimpleNotification>
-
-    <SimpleNotification message="One enemy left!" broadcast="true">
-      <events>
-        <trigger>
-          <EventListener event="attacktrigger5" />
-        </trigger>
-      </events>
-    </SimpleNotification>
-
-    <SimpleNotification message="Well done. You finished this tutorial." broadcast="true">
-      <events>
-        <trigger>
-          <EventListener event="attacktrigger6" />
-        </trigger>
-      </events>
-    </SimpleNotification>
-
-<!-- @Triggers: postAttack <-> delayed attacktrigger6 -->
-    <EventTrigger name="postAttack1" activations="1" stayactive="true" delay=4.1>
-      <events>
-        <trigger>
-          <EventListener event="attacktrigger6" />
-        </trigger>
-      </events>
-    </EventTrigger>
-
-    <EventTrigger name="postAttack2" activations="1" stayactive="true" delay=8.2>
-      <events>
-        <trigger>
-          <EventListener event="attacktrigger6" />
-        </trigger>
-      </events>
-    </EventTrigger>
-
-    <SimpleNotification message="Either quit by pressing (Esc) or ..." broadcast="true">
-      <events>
-        <trigger>
-          <EventListener event="postAttack1" />
-        </trigger>
-      </events>
-    </SimpleNotification>
-
-    <SimpleNotification message="... stay here to learn some tricks." broadcast="true">
-      <events>
-        <trigger>
-          <EventListener event="postAttack2" />
-        </trigger>
-      </events>
-    </SimpleNotification>
-
-<!-------------------------------------- |Bonus Part| --------------------------------------->
-<!-- @Triggers: "bonusX" <->  delayed "attacktrigger6" -->
-    <EventTrigger name="bonus1" activations="1" stayactive="true" delay=12.3>
-      <events>
-        <trigger>
-          <EventListener event="attacktrigger6" />
-        </trigger>
-      </events>
-    </EventTrigger>
-    <EventTrigger name="bonus2" activations="1" stayactive="true" delay=16.4>
-      <events>
-        <trigger>
-          <EventListener event="attacktrigger6" />
-        </trigger>
-      </events>
-    </EventTrigger>
-    <EventTrigger name="bonus3" activations="1" stayactive="true" delay=22>
-      <events>
-        <trigger>
-          <EventListener event="attacktrigger6" />
-        </trigger>
-      </events>
-    </EventTrigger>
-    <EventTrigger name="bonus4" activations="1" stayactive="true" delay=28.1>
-      <events>
-        <trigger>
-          <EventListener event="attacktrigger6" />
-        </trigger>
-      </events>
-    </EventTrigger>
-    <EventTrigger name="bonus5" activations="1" stayactive="true" delay=32.3>
-      <events>
-        <trigger>
-          <EventListener event="attacktrigger6" />
-        </trigger>
-      </events>
-    </EventTrigger>
-    <EventTrigger name="bonus6" activations="1" stayactive="true" delay=36.5>
-      <events>
-        <trigger>
-          <EventListener event="attacktrigger6" />
-        </trigger>
-      </events>
-    </EventTrigger>
-    <EventTrigger name="bonus7" activations="1" stayactive="true" delay=4.1>
-      <events>
-        <trigger>
-          <EventListener event="bonus6" />
-        </trigger>
-      </events>
-    </EventTrigger>
-
-
-
-    <SimpleNotification message="Rotate your ship. Press (Q) or (E). "  broadcast="true">
-        <events>
-            <trigger>
-                <EventListener event=bonus1 />
-            </trigger>
-        </events>
-    </SimpleNotification>
-
-    <SimpleNotification message="Switch the camera's position. Press (C). "  broadcast="true">
-        <events>
-            <trigger>
-                <EventListener event=bonus2 />
-            </trigger>
-        </events>
-    </SimpleNotification>
-
-    <SimpleNotification message="360° view: press (Ctrl) + use the mouse "  broadcast="true">
-        <events>
-            <trigger>
-                <EventListener event=bonus3 />
-            </trigger>
-        </events>
-    </SimpleNotification>
-
-    <SimpleNotification message="Have a look at the main menu's settings."  broadcast="true">
-        <events>
-            <trigger>
-                <EventListener event=bonus4 />
-            </trigger>
-        </events>
-    </SimpleNotification>
-
-    <SimpleNotification message="E.g: Settings > Miscellaneous > Nr. of bots"  broadcast="true">
-        <events>
-            <trigger>
-                <EventListener event=bonus5 />
-            </trigger>
-        </events>
-    </SimpleNotification>
-
-    <SimpleNotification message="You successfully finished Mission One!"  broadcast="true">
-        <events>
-            <trigger>
-                <EventListener event=bonus6 />
-            </trigger>
-        </events>
-    </SimpleNotification>
-
-    <SimpleNotification message="Press (Esc) and return to the main menu."  broadcast="true">
-        <events>
-            <trigger>
-                <EventListener event=bonus7 />
-            </trigger>
-        </events>
-    </SimpleNotification>
-
-
-    <!--Script code="addBots 3" onLoad="false">
-        <events>
-            <trigger>
-                <EventListener event=bonus6 />
-            </trigger>
-        </events>
-    </Script>
-
-    <Script code="artificialcontroller setbotlevel 0.1" onLoad="false">
-        <events>
-            <trigger>
-                <EventListener event=bonus6 />
-            </trigger>
-        </events>
-    </Script-->
-    <!-- Script code="artificialcontroller setbotlevel 0.1" /-->
-  </Scene>
-</Level>
-
-<!-- TODO:
-- Story & more precise Questmessages; more quest hints; fail-quest;
-- Colouring: Show who is friend or foe via the colour
-- Waypoints: show the player the way
-- Foolproof text messages (e.g. verspätete Nachrichten unterdrücken ~done )
-- End Tutorial, if either the Hydrogen Farmer or the SpaceCruiser gets destroyed. (~done)
- -->
Index: code/branches/presentationHS13/data/levels/EscapeTheBastards.oxw
===================================================================
--- code/branches/presentationHS13/data/levels/EscapeTheBastards.oxw	(revision 9930)
+++ 	(revision )
@@ -1,1402 +1,0 @@
-<!-- -->
-
-<!--Basic----------------------------------------------------------------------------------------------------------------------------------------------------------------------->
-							<!--Basic Infos-->
-
-<LevelInfo
- name = "Escape the bastards"
- description = "You destroyed their Base, you accomplished the mission. Now get out of there, and get rid of the haunters"
- tags = "mission"
- screenshot = "emptylevel.png"
-/>
-
-<?lua
-  include("stats.oxo")
-  include("HUDTemplates3.oxo")
-  include("templates/lodInformation.oxt")
-?>
-
-<?lua
-  include("templates/pickupRepresentationTemplates.oxt")
-  include("templates/spaceshipAssff.oxt")
-  include("templates/spaceshipPirate.oxt")
-  include("templates/spaceshipEscort.oxt")
-  include("templates/spaceshipCollateralDamage.oxt")
-  include("templates/spaceshipTurret.oxt")
-?>
-
-  <NotificationQueueCEGUI
-    name="narrative"
-    targets="simpleNotification"
-    size=3
-    displayTime=4
-    position="0.2, 0, 0.1, 0"
-    fontSize="23"
-    fontColor="0, 0.5, 1, 0.9"
-    alignment="HorzCentred"
-    displaySize="0.6, 0, 0, 0"
-    />
-
-<Level
-  name = "Escape the bastards"
-  description = "You destroyed their Base, you accomplished the mission. Now get out of there, and get rid of the haunters"
-  gametype=Mission
->
-  <templates>
-    <Template link=lodtemplate_default />
-  </templates>
-  <?lua include("includes/notifications.oxi") ?>
-
-  <Scene
-    ambientlight = "0.8, 0.8, 0.8"
-    skybox       = "Orxonox/skyBoxMoreNebula" 
-  >
-
-    <?lua
-      include("includes/pickups.oxi")
-    ?>
-
-    <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="-1000,0,0" lookat="0,0,0" spawnclass=SpaceShip pawndesign=spaceshipassff / -->
-
-<!-- Pickups -->
-
-    <PickupSpawner pickup=dronepickup position="-5000,-1300,-209" triggerDistance="10" respawnTime="30" maxSpawnedItems="10" />
-
-    <PickupSpawner pickup=hugehealthpickup position="0,-4,-940" triggerDistance="10" respawnTime="10" maxSpawnedItems="99" visible="true">
-                            <events>
-                                <visibility>
-                                    <EventListener event="boxtrigger" />
-                                </visibility>
-                            </events>
-	</PickupSpawner>
-    <PickupSpawner pickup=mediumspeedpickup position="0,4,-940" triggerDistance="10" respawnTime="10" maxSpawnedItems="99"  visible="true">
-                            <events>
-                                <visibility>
-                                    <EventListener event="boxtrigger" />
-                                </visibility>
-                            </events>
-	</PickupSpawner>
-
-<!-- Pickups heal the box, so one cant destroy the box -->
-
-<!-- Pickups END -->
-							<!--Basic Infos end-->
-
-<!--Story----------------------------------------------------------------------------------------------------------------------------------------------------------------------->
-
-
-<!--Quests (Fly to the Ally)-->
-    <EventMultiTrigger name=spawntrigger>
-        <events>
-            <trigger>
-
-                <TeamSpawnPoint team=0 position="-8050,0,0" direction="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipcollateraldamage>
-<!-- Spawnpoint aendern zu -8050,0,0 nachher direction="1,0.3,0.2"-->
-<!-- Spawnpoint aendern zu 3000,12000,-5500 nachher direction="0.3,1.2,-5.5" Fuer homeplanet-->
-<!-- Spawnpoint aendern zu -46950,-30000,30000 nachher direction="1,0,0" Fuer inBox-->
-                  <EventTrigger invert=true>
-                    <events>
-                      <trigger>
-                        <EventListener event="missionfinish" />
-                      </trigger>
-                    </events>
-                  </EventTrigger>
-                </TeamSpawnPoint>
-            </trigger>
-        </events>
-    </EventMultiTrigger>
-
-
-    <TeamSpawnPoint team=0 position="0,-2500,0" direction="0,-1,0" spawnclass=SpaceShip pawndesign=spaceshipcollateraldamage active =false>
-        <events>
-            <activity>
-                <EventListener event="reachedally" />
-            </activity>
-        </events>
-    </TeamSpawnPoint>
-
-    <TeamSpawnPoint team=0 position="-46950,-30000,30000" direction="1,0,0" spawnclass=SpaceShip pawndesign=spaceshipcollateraldamage active =false>
-        <events>
-            <activity>
-                <EventListener event="reachedhomeplanet" />
-            </activity>
-        </events>
-    </TeamSpawnPoint>
-
-
-
-
-        <QuestEffectBeacon times=1>
-            <effects>
-                <AddQuest questId="Helpisontheway.1" />
-            </effects>
-            <events>
-                <execute>
-                    <EventListener event=spawntrigger />
-                </execute>
-            </events>
-        </QuestEffectBeacon>
-
-        <QuestEffectBeacon times=1>
-            <effects>
-                <CompleteQuest questId="Helpisontheway.1" />
-            </effects>
-            <events>
-                <execute>
-                    <EventListener event="missionfinish" />
-                </execute>
-            </events>
-        </QuestEffectBeacon>
-
-
-        <QuestEffectBeacon times=1 >
-            <effects>
-                <CompleteQuest questId="defend.2" />
-            </effects>
-            <events>
-                <execute>
-                    <EventListener event="Boxdestroyed" />
-                </execute>
-            </events>
-        </QuestEffectBeacon>
-
-        <QuestEffectBeacon times=1 >
-            <effects>
-                <CompleteQuest questId="leave.3" />
-            </effects>
-            <events>
-                <execute>
-                    <EventListener event="reachedhomeplanet" />
-                </execute>
-            </events>
-        </QuestEffectBeacon>
-
-        <QuestEffectBeacon times=1 >
-            <effects>
-                <CompleteQuest questId="wayhome.4" />
-            </effects>
-            <events>
-                <execute>
-                    <EventListener event="reachedend" />
-                </execute>
-            </events>
-        </QuestEffectBeacon>
-
-			<!-- END OF GAME -->
-    <SimpleNotification message="Well done, you've finished">
-        <events>
-            <trigger>
-                <EventListener event=reachedend />
-            </trigger>
-        </events>
-    </SimpleNotification>
-
-
-    <Script code="Mission endMission true" onLoad="false">
-        <events>
-            <trigger>
-                <EventListener event="reachedend" />
-            </trigger>
-        </events>
-    </Script>
-			<!-- END OF GAME END -->
-
-
-        <DistanceTrigger name="missionfinish" position="-120,0,0" target="Pawn" distance=60 stayActive="true" delay=1>
-    </DistanceTrigger>
- 	<DistanceTrigger name="reachedally" position="-120,0,0" target="Pawn" distance=60 stayActive="true" delay=2>
-    </DistanceTrigger>
- 	<DistanceTrigger name="reachedhomeplanet" position="-3000,12000,-6990" target="Pawn" distance=60 stayActive="true" delay=2>
-    </DistanceTrigger>
- 	<DistanceTrigger name="reachedend" position="-41000,-30000,33800" target="Pawn" distance=60 stayActive="true" delay=2>
-    </DistanceTrigger>
-
-          <EventTrigger name="boxtrigger" activations="1" stayactive="true" delay=0.1>
-            <events>
-              <trigger>
-                <EventListener event="box" />
-              </trigger>
-            </events>
-          </EventTrigger>
-
-
-<!-- Billboard Allyplanet -->
-
-<BlinkingBillboard position="-120,0,0" frequency=0.4 amplitude=3 material="Flares/lensflare" colour="1,1,0.05">
-          <events>
-            <visibility>
-              <EventTrigger invert=true>
-                <events>
-                  <trigger>
-                    <EventListener event="missionfinish" />
-                  </trigger>
-                </events>
-              </EventTrigger>
-            </visibility>
-          </events>
-</BlinkingBillboard>
-
-<Billboard position="-120,0,0" amplitude=1 material="Flares/lensflare" colour="0,0.8,0.1">
-          <events>
-            <visibility>
-              <EventTrigger>
-                <events>
-                  <trigger>
-                    <EventListener event="missionfinish" />
-                  </trigger>
-                </events>
-              </EventTrigger>
-            </visibility>
-          </events>
-</Billboard>
-
-<!-- Billboard Allyplanet END-->
-
-
-<!-- Box with Pickups -->
-    <Pawn team=1 health=30 position="0,0,-900" direction="0,-1,0" collisionType=dynamic mass=100000 name=box radarname = "Something" >
-        <events>
-          <visibility>
-            <EventListener event="target3" />
-          </visibility>
-        </events>
-        <attached>
-            <Model position="0,0,0" mesh="crate.mesh" scale3D="5,5,5" />
-        </attached>
-        <collisionShapes>
-            <BoxCollisionShape position="0,0,0" halfExtents="15,15,15" />
-        </collisionShapes>
-	<controller>
-                      <WaypointController team=1>
-                    </WaypointController>
-        </controller>
-    </Pawn>
-
-<Billboard position="0,0,-940" amplitude=1 material="Flares/lensflare" colour="0,0.8,0.1">
-          <events>
-            <visibility>
-              <EventTrigger>
-                <events>
-                  <trigger>
-                    <EventListener event="boxtrigger" />
-                  </trigger>
-                </events>
-              </EventTrigger>
-            </visibility>
-          </events>
-</Billboard>
-<!-- Box with Pickups END -->
-
-<!-- Billboard Homeplanet -->
-
-<!-- evt Blinking light before landing on planet, Entfernen nach architektur-->
-<BlinkingBillboard position="-3000,12000,-6990" frequency=0.4 amplitude=3 material="Flares/lensflare" colour="1,1,0.05">
-          <events>
-            <visibility>
-              <EventTrigger>
-                <events>
-                  <trigger>
-                    <EventListener event="boxtrigger"/> <!-- reachedhomeplanet--> 
-                  </trigger>
-                </events>
-              </EventTrigger>
-            </visibility>
-          </events>
-</BlinkingBillboard>
-
-
-<!-- Billboard Homeplanet END-->
-
-
-<!--Quests (Fly to the Ally) END-->
-
-<!--Quests (Fight Enemies)-->
-
-
- <SpaceShip position="1000,0,0" lookat="0,0,1" name="attacker" radarname="Fighter1" visible="true">
-                            <events>
-                                <visibility>
-                                    <EventListener event="missionfinish" />
-                                </visibility>
-                            </events>
-
-                    <templates>
-                      <Template link=spaceshippirate />
-                    </templates>
-                    <controller>
-                      <WaypointPatrolController alertnessradius=750  team=1 active=false>
-                         <waypoints>
-                        <Model mesh="cube.mesh" scale=0 position="1000,0,0"/>
-                        <Model mesh="cube.mesh" scale=0 position="500,500,0"/>
-                        <Model mesh="cube.mesh" scale=0 position="0,1000,0"/>
-                        <Model mesh="cube.mesh" scale=0 position="-500,500,0"/>
-                        <Model mesh="cube.mesh" scale=0 position="-1000,0,0"/>
-                        <Model mesh="cube.mesh" scale=0 position="-500,-500,0"/>
-                        <Model mesh="cube.mesh" scale=0 position="0,-1000,0"/>
-                        <Model mesh="cube.mesh" scale=0 position="500,-500,0"/>
-                       </waypoints>
-                       <events>
-                         <activity>
-                              <EventListener event="reachedally" />
-                         </activity>
-                       </events>
-                    </WaypointPatrolController>
-                  </controller>
-                </SpaceShip>
-
- <SpaceShip position="0,1000,0" lookat="1,0,0" name="attacker" radarname="Fighter2" visible="true">
-                            <events>
-                                <visibility>
-                                    <EventListener event="missionfinish" />
-                                </visibility>
-                            </events>
-                    <templates>
-                      <Template link=spaceshippirate />
-                    </templates>
-                    <controller>
-                      <WaypointPatrolController alertnessradius=750  team=1 active=false>
-                         <waypoints>
-                        <Model mesh="cube.mesh" scale=0 position="0,1000,0"/>
-                        <Model mesh="cube.mesh" scale=0 position="0,500,500"/>
-                        <Model mesh="cube.mesh" scale=0 position="0,0,1000"/>
-                        <Model mesh="cube.mesh" scale=0 position="0,-500,500"/>
-                        <Model mesh="cube.mesh" scale=0 position="0,-1000,0"/>
-                        <Model mesh="cube.mesh" scale=0 position="0,-500,-500"/>
-                        <Model mesh="cube.mesh" scale=0 position="0,0,-1000"/>
-                        <Model mesh="cube.mesh" scale=0 position="0,500,-500"/>
-                       </waypoints>
-                       <events>
-                         <activity>
-                              <EventListener event="reachedally" />
-                         </activity>
-                       </events>
-                    </WaypointPatrolController>
-                  </controller>
-                </SpaceShip>
-
- <SpaceShip position="0,0,1000" lookat="0,1,0" name="attacker" radarname="Fighter3" visible="true">
-                            <events>
-                                <visibility>
-                                    <EventListener event="missionfinish" />
-                                </visibility>
-                            </events>
-                    <templates>
-                      <Template link=spaceshippirate />
-                    </templates>
-                    <controller>
-                      <WaypointPatrolController alertnessradius=750  team=1 active=false>
-                         <waypoints>
-                        <Model mesh="cube.mesh" scale=0 position="1000,0,0"/>
-                        <Model mesh="cube.mesh" scale=0 position="500,0,500"/>
-                        <Model mesh="cube.mesh" scale=0 position="0,0,1000"/>
-                        <Model mesh="cube.mesh" scale=0 position="-500,0,500"/>
-                        <Model mesh="cube.mesh" scale=0 position="-1000,0,0"/>
-                        <Model mesh="cube.mesh" scale=0 position="-500,0,-500"/>
-                        <Model mesh="cube.mesh" scale=0 position="0,0,-1000"/>
-                        <Model mesh="cube.mesh" scale=0 position="500,0,-500"/>
-                       </waypoints>
-                       <events>
-                         <activity>
-                              <EventListener event="reachedally" />
-                         </activity>
-                       </events>
-                    </WaypointPatrolController>
-                  </controller>
-                </SpaceShip>
-
-<!-- @Triggers: Attakers, Fight one by one  -->
-
-	<EventTrigger name="target3" activations="1" stayactive="true" delay=0.1>
-     	 <events>
-     	   <trigger>
-        	  <EventListener event="attacker" />
-      	  </trigger>
-     	 </events>
-   	<EventTrigger name="target2" activations="1" stayactive="true" delay=0.1>
-      	  <events>
-     	     <trigger>
-    	        <EventListener event="attacker" />
-     	     </trigger>
-  	  </events>
-   	<EventTrigger name="target1" activations="1" stayactive="true" delay=0.1>
-      	  <events>
-     	     <trigger>
-    	        <EventListener event="attacker" />
-     	     </trigger>
-  	  </events>
-      	</EventTrigger>
-    	</EventTrigger>
-    	</EventTrigger>
-
-
-    <SimpleNotification message="Wow, That's an explosion."  broadcast="true">
-        <events>
-            <trigger>
-                <EventListener event="target1" />
-            </trigger>
-        </events>
-    </SimpleNotification>
-
-    <SimpleNotification message="Booom, you got him!"  broadcast="true">
-        <events>
-            <trigger>
-                <EventListener event="target2" />
-            </trigger>
-        </events>
-    </SimpleNotification>
-
-
-    <SimpleNotification message="No Mercy!! .. What's that?"  broadcast="true">
-        <events>
-            <trigger>
-                <EventListener event="target3" />
-            </trigger>
-        </events>
-    </SimpleNotification>
-
-
-
-
-<!-- @Triggers: Attakers, Fight one by one END  -->
-
-
-<!--Quests (Fight Enemies) END-->
-
-
-<!-- LocalQuests -->
-    <LocalQuest id="Helpisontheway.1">
-        <QuestDescription title="Help is on the way" description="An allied pilot is cast away on a planet in front of you. Pick him up and leave.
-
-
-		Hint: He will blink with his lamp
-
-		PS: Remind the gravitation field"
-
- 
-	failmessage="Well, you sucked" completeMessage="Well done, You're a hero" />
-        <complete-effects>
-            <AddQuest questId="defend.2" />
-        </complete-effects>
-    </LocalQuest>
-
-
-    <LocalQuest id="defend.2">
-        <QuestDescription title="Defend the Planet" description="Well your enemies trapped you. Kill'em all."
-
-	failmessage="Well, you sucked" completeMessage="Well done, You're a hero" />
-        <complete-effects>
-            <AddQuest questId="leave.3" />
-        </complete-effects>
-    </LocalQuest>
-
-
-
-    <LocalQuest id="leave.3">
-        <QuestDescription title="Leave the Place" description="You've blown their minds. Let's go home. Aim the Big blue planet to reach your home." failmessage="" completeMessage="" />
-        <complete-effects>
-            <AddQuest questId="wayhome.4" />
-        </complete-effects>
-    </LocalQuest>
-
-    <LocalQuest id="wayhome.4">
-        <QuestDescription title="Let's go home" description="You've reached the portal. You've been teleportet to the passage to your home, but your enemies trapped you again" failmessage="" completeMessage="" />
-        <complete-effects>
-            <AddQuest questId="end.5" />
-        </complete-effects>
-    </LocalQuest>
-
-<!-- LocalQuests END -->
-
-<!-- Message Triggers -->
-    <DistanceTrigger name="StartofMission" position="-8050,0,0" target="Pawn" distance=10 stayActive="true" delay=1.2/>
-    <SimpleNotification message="Houston: John can you hear me?">
-        <events>
-            <trigger>
-                <EventListener event="StartofMission" />
-            </trigger>
-        </events>
-    </SimpleNotification>
-
-    <DistanceTrigger name="Introduction1" position="-8050,0,0" target="Pawn" distance=30 stayActive="true" delay=6.4/>
-    <SimpleNotification message="John: No. Can i go home now?">
-        <events>
-            <trigger>
-                <EventListener event="Introduction1" />
-            </trigger>
-        </events>
-    </SimpleNotification>
-
-    <DistanceTrigger name="Introduction2" position="-8050,0,0" target="Pawn" distance=30 stayActive="true" delay=10.8/>
-    <SimpleNotification message="Houston: Not yet, another ally needs your help.">
-        <events>
-            <trigger>
-                <EventListener event="Introduction2" />
-            </trigger>
-        </events>
-    </SimpleNotification>
-
-    <DistanceTrigger name="Introduction3" position="-8050,0,0" target="Pawn" distance=30 stayActive="true" delay=15.2/>
-    <SimpleNotification message="Houston: He had to force land near you.">
-        <events>
-            <trigger>
-                <EventListener event="Introduction3" />
-            </trigger>
-        </events>
-    </SimpleNotification>
-
-
-    <DistanceTrigger name="PickedUpAlly" position="-120,0,0" target="Pawn" distance=30 stayActive="true" delay=0.1/>
-    <SimpleNotification message="John: Are you kidding me, thats a kitty.">
-        <events>
-            <trigger>
-                <EventListener event="PickedUpAlly" />
-            </trigger>
-        </events>
-    </SimpleNotification>
-
-    <DistanceTrigger name="PickedUpAlly1" position="-120,0,0" target="Pawn" distance=30 stayActive="true" delay=4.4/>
-    <SimpleNotification message="Houston: ... but if there is no ally...">
-        <events>
-            <trigger>
-                <EventListener event="PickedUpAlly1" />
-            </trigger>
-        </events>
-    </SimpleNotification>
-
-    <DistanceTrigger name="PickedUpAlly2" position="-120,0,0" target="Pawn" distance=30 stayActive="true" delay=8.8/>
-    <SimpleNotification message="Houston: F***, they trapped us">
-        <events>
-            <trigger>
-                <EventListener event="PickedUpAlly2" />
-            </trigger>
-        </events>
-    </SimpleNotification>
-
-
-    <SimpleNotification message="Houston: Pickups! Pick them up :-)"  broadcast="true">
-        <events>
-            <trigger>
-                <EventListener event="boxtrigger" />
-            </trigger>
-        </events>
-    </SimpleNotification>
-
-    <DistanceTrigger name="Boxdestroyed" position="0,0,-940" target="SpaceShip" distance=30 stayActive="true" delay=0.1 />
-    <SimpleNotification message="Houston: Now aim the blue planet">
-        <events>
-            <trigger>
-                <EventListener event="Boxdestroyed" />
-            </trigger>
-        </events>
-    </SimpleNotification>
-
-    <DistanceTrigger name="Boxdestroyed2" position="2200,1000,-600" target="SpaceShip" distance=30 stayActive="true" delay=4.4 />
-    <SimpleNotification message="Houston: Land near the blinking light!">
-        <events>
-            <trigger>
-                <EventListener event="Boxdestroyed2" />
-            </trigger>
-        </events>
-    </SimpleNotification>
-
-    <SimpleNotification message="Houston: You're almost there">
-        <events>
-            <trigger>
-                <EventListener event="reachedhomeplanet" />
-            </trigger>
-        </events>
-    </SimpleNotification>
-
-<DistanceTrigger name="cave1" position="-46300,-30000,30000" target="SpaceShip" distance=30 stayActive="true" delay=0.1 />
-    <SimpleNotification message="Houston: You reached the cave, you're safe!!">
-        <events>
-            <trigger>
-                <EventListener event="cave1" />
-            </trigger>
-        </events>
-    </SimpleNotification>
-
-<DistanceTrigger name="cave2" position="-46300,-30000,30000" target="SpaceShip" distance=30 stayActive="true" delay=4.4 />
-    <SimpleNotification message="Houston: ... wait it's a tr#@$%&^#$...">
-        <events>
-            <trigger>
-                <EventListener event="cave2" />
-            </trigger>
-        </events>
-    </SimpleNotification>
-
-<DistanceTrigger name="cave2" position="-46300,-30000,30000" target="SpaceShip" distance=30 stayActive="true" delay=4.4 />
-    <SimpleNotification message="John: not again ...">
-        <events>
-            <trigger>
-                <EventListener event="cave2" />
-            </trigger>
-        </events>
-    </SimpleNotification>
-
-
-    <SimpleNotification message="Sanchez: I waited for you ...">
-        <events>
-            <trigger>
-                <EventListener event="Reachedtheend" />
-            </trigger>
-        </events>
-    </SimpleNotification>
-
-
-
-<!-- Message Triggers END -->
-
-<!--Quests____END-->
-
-
-
-<!--Enviroment-------------------------------------------------------------------------------------------------------------------------------------------------------------------->
-
-							<!--Asteroids Field-->
-
-	<?lua for i=0,750,1 do
-		x=math.random(-8000,-1000)
-		y=math.random(-2345,2345)
-		z=math.random(-2500,2500)
-	scale=math.random(20,70)
-	?>
-	<MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=0 mass="<?lua print(scale * 5) ?>" position="<?lua print(x) ?>,<?lua print(y) ?>,<?lua print(z) ?>" rotationaxis="<?lua print(math.random()) ?>,<?lua print(math.random()) ?>,<?lua print(math.random()) ?>" rotationrate="<?lua print(math.random()*15) ?>"       collisiondamage = 0.01
-      enablecollisiondamage = true >
-    	<attached>
-        	<Model scale="<?lua print(scale) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false/>
-   	 </attached>
-   	 <collisionShapes>
-      	 	<SphereCollisionShape radius="<?lua print(scale * 3) ?>" />
-    	</collisionShapes>
-	</MovableEntity>
-	<?lua end ?>
-
-							<!--Asteroids Field end -->
-
-
-							<!--Asteroids Random
-
-				"The game lags, when you're flying far away"
-
-
-	<?lua for i=0,300,1 do
-		x=math.random(-12000,4000)
-		y=math.random(-8000,8000)
-		z=math.random(-8000,8000)
-	?>
-	<MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=0 mass="<?lua print(scale * 5) ?>" position="<?lua print(x) ?>,<?lua print(y) ?>,<?lua print(z) ?>" rotationaxis="<?lua print(math.random()) ?>,<?lua print(math.random()) ?>,<?lua print(math.random()) ?>" rotationrate="<?lua print(math.random()*15) ?>"      collisiondamage = 0.01
-      enablecollisiondamage = true  >
-    	<attached>
-        	<Model scale="<?lua print(math.random(20,70)) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh" shadow=false/>
-    	</attached>
-    	<collisionShapes>
-            <SphereCollisionShape radius="<?lua print(scale * 3) ?>" />
-        </collisionShapes>
-	</MovableEntity>
-	<?lua end ?>
--->
-							<!--Asteroids  Random end-->
-
-    							<!--Asteroid Elipse-->
-<!-- LAAAGS :-(
-
-				"The game lags, when you're flying far away"		
-
-    <?lua
-        dofile("includes/asteroidField.lua")
-        asteroidBelt(-3000,12000,-10000, 30, 0, 30, 30, 50, 7190, 7800, 250, 1)
-    ?>
-
-    <?lua
-        dofile("includes/asteroidField.lua")
-        asteroidBelt(-3000,12000,-10000, 30, 0, 30, 30, 50, 14000, 15000, 350, 1)
-    ?>
--->
-
-
-    <?lua
-    max = 20
-    for i = 0, max, 1
-    do
-    y = math.sin(i/max*6)*2000
-    z = math.cos(i/max*6)*2500
-    x = 0
-    ?>
-    <?lua
-    for k = 1, 15, 1
-    do
-    j = math.random()
-    ?>
-
-    <MovableEntity
-      position = "<?lua print(x + math.random() * 500) ?>,<?lua print(y + math.random() * 500) ?>,<?lua print(z + math.random() * 1000) ?>"
-      collisionType = "dynamic"
-      linearDamping = "0.5"
-      angularDamping = "0.01"
-      collisiondamage = "0.01"
-      enablecollisiondamage = "true"
-      scale="<?lua print(j * 5) ?>" >
-      <attached>
-        <Model position="0,0,0" scale="<?lua print(j * 10) ?>" mesh="ast<?lua print( math.mod(i,6) + 1) ?>.mesh">
-      <?lua if k == 5 then ?><attached>			<!--asteroid fog-->
-            <ParticleEmitter position="0,0,0" source="Orxonox/Steam" />
-          </attached> <?lua end ?>
-        </Model>
-      </attached>
-      <collisionShapes>
-        <SphereCollisionShape radius="<?lua print(j * 80) ?>" />
-      </collisionShapes>
-    </MovableEntity>
-    <?lua
-    end
-    ?>
-    <?lua end ?>
-							<!--Asteroid Elipse end-->
-
-							<!--Planet sun-->
-    <Planet position="15000,0,0" scale=1500 pitch=-90 mesh="planets/sol.mesh" atmosphere="atmosphere1" rotationaxis="8,1,0" rotationrate="1" atmospheresize=0 imagesize=1024.0f />
-    <StaticEntity position="2600,0,0" collisionType=static>
-        <collisionShapes>
-            <SphereCollisionShape radius="399" />
-        </collisionShapes>
-    </StaticEntity>
-
-    <Billboard position="15100,0,0" material="Flares/backlightflare" colour="0.7,0.4,0.1" scale=600 />
-
-						<!--Planet END-->
-
-							<!--Planet with Ally-->
-    <Planet
-      position="0,0,0"
-      scale="100"
-      collisionType="dynamic"
-      linearDamping="0.8"
-      angularDamping="0"
-      mass="5000000"
-      pitch="0"
-      mesh="planets/muunilinst.mesh"
-      atmosphere="atmosphere1"
-      rotationaxis="1,0,0"
-      rotationrate="1.0"
-      atmospheresize="80.0f"
-      imagesize="1024.0f"
-    >
-      <attached>
-        <ForceField position="0,0,0" mode="sphere" diameter="1000" velocity="-500" />
-                    <ParticleEmitter position="0,0,0" source="Orxonox/fire3" />
-      </attached>
-      <collisionShapes>
-        <SphereCollisionShape radius="100" position="0,0,0" />
-      </collisionShapes>
-    </Planet>
-							<!-- Planet with Ally END-->
-
-
-							<!-- Homeplanet -->
-    <Planet
-      position="-3000,12000,-10000"
-      scale="3000"
-      collisionType="dynamic"
-      linearDamping="0.8"
-      angularDamping="0"
-      mass="5000000000000"
-      pitch="0"
-      mesh="iceplanet.mesh"
-      atmosphere="atmosphere1"
-      rotationaxis="0,0,0"
-      rotationrate="0.0"
-      atmospheresize="80.0f"
-      imagesize="1024.0f"
-    >
-      <attached>
-        <ForceField position="0,0,0" mode="sphere" diameter="10000" velocity="-900" />
-      </attached>
-      <collisionShapes>
-        <SphereCollisionShape radius="3000" position="0,0,0" />
-      </collisionShapes>
-    </Planet>
-  							<!-- Homeplanet  END-->
-
-							<!-- Planet around the cave-->
-
-<Planet position="-43500,-30000,31900" scale=5000 pitch=-90 mesh="planets/moon.mesh" atmosphere="atmosphere1" rotationaxis="8,1,0" rotationrate="1" atmospheresize=0 imagesize=1024.0f />
-
-							<!-- Planet around the cave END-->
-
-							<!-- Anotherplanet -->
-    <Planet
-      position="-20000,6000,7000"
-      scale="3000"
-      collisionType="dynamic"
-      linearDamping="0.8"
-      angularDamping="0"
-      mass="5000000000000"
-      pitch="0"
-      mesh="planets/ganymede.mesh"
-      atmosphere="atmosphere1"
-      rotationaxis="0,0,0"
-      rotationrate="0.0"
-      atmospheresize="80.0f"
-      imagesize="1024.0f"
-    >
-      <collisionShapes>
-        <SphereCollisionShape radius="3000" position="0,0,0" />
-      </collisionShapes>
-    </Planet>
-<!-- LAAAGS :-(
-
-				"The game lags, when you're flying far away"
-
-    <?lua
-        dofile("includes/asteroidField.lua")
-        asteroidBelt(-20000,6000,7000, 30, 0, 30, 30, 50, 7190, 7800, 250, 1)
-    ?>
--->
-  							<!-- Anotherplanet  END-->
-
-  							<!-- Homeplanet Architecture-->
-<!-- -3000,12000,-6990  = Billboard position-->
-
-     <!-- 	<Model  position="-3070,12070,-6990" yaw="90" pitch="-90" roll="0" scale="70" mesh="asteroid_ice.mesh" >
-      <collisionShapes>
-        <SphereCollisionShape radius="70" position="0,0,0" />
-      </collisionShapes>
-	</Model>
--->
-
-	<MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=0 mass="500"  pitch="90" roll="86" yaw="12" position="-2900,12080,-6990" rotationaxis="0,0,0" rotationrate="0"       collisiondamage = 0.01  enablecollisiondamage = true >
-    	<attached>
-        	<Model scale="70" mesh="asteroid_ice.mesh"  shadow=false/>
-   	 </attached>
-   	 <collisionShapes>
-      	 	<SphereCollisionShape radius="70" />
-    	</collisionShapes>
-	</MovableEntity>
-
-	<MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=5 mass="500"   pitch="30" roll="11" yaw="51" position="-3200,11950,-6990" rotationaxis="0,0,0" rotationrate="0"       collisiondamage = 0.01  enablecollisiondamage = true >
-    	<attached>
-        	<Model scale="90" mesh="asteroid_ice.mesh"  shadow=false/>
-   	 </attached>
-   	 <collisionShapes>
-      	 	<SphereCollisionShape radius="90" />
-    	</collisionShapes>
-	</MovableEntity>
-
-	<MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=5 mass="500"  pitch="0" roll="12" yaw="81"  position="-2800,12150,-6990" rotationaxis="0,0,0" rotationrate="0"       collisiondamage = 0.01  enablecollisiondamage = true >
-    	<attached>
-        	<Model scale="90" mesh="asteroid_ice.mesh"  shadow=false/>
-   	 </attached>
-   	 <collisionShapes>
-      	 	<SphereCollisionShape radius="90" />
-    	</collisionShapes>
-	</MovableEntity>
-
-	<MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=5 mass="500"  pitch="0" roll="0" yaw="0" position="-3300,11800,-6990" rotationaxis="0,0,0" rotationrate="0"       collisiondamage = 0.01  enablecollisiondamage = true >
-    	<attached>
-        	<Model scale="155" mesh="asteroid_ice.mesh"  shadow=false/>
-   	 </attached>
-   	 <collisionShapes>
-      	 	<SphereCollisionShape radius="155" />
-    	</collisionShapes>
-	</MovableEntity>
-
-
-	<MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=5 mass="500"  pitch="0" roll="0" yaw="12" position="-3230,12300,-6990" rotationaxis="0,0,0" rotationrate="0"       collisiondamage = 0.01  enablecollisiondamage = true >
-    	<attached>
-        	<Model scale="150" mesh="asteroid_ice.mesh"  shadow=false/>
-   	 </attached>
-   	 <collisionShapes>
-      	 	<SphereCollisionShape radius="150" />
-    	</collisionShapes>
-	</MovableEntity>
-
-	<MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=5 mass="500" pitch="13" roll="23"yaw="120" position="-3000,12000,-6820" rotationaxis="0,0,0" rotationrate="0"       collisiondamage = 0.01  enablecollisiondamage = true >
-    	<attached>
-        	<Model scale="100" mesh="asteroid_ice.mesh"  shadow=false/>
-   	 </attached>
-   	 <collisionShapes>
-      	 	<SphereCollisionShape radius="100" />
-    	</collisionShapes>
-	</MovableEntity>
-
-	<MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=5 mass="500" pitch="2" roll="12" yaw="43" position="-3250,12100,-6850" rotationaxis="0,0,0" rotationrate="0"       collisiondamage = 0.01  enablecollisiondamage = true >
-    	<attached>
-        	<Model scale="70" mesh="asteroid_ice.mesh"  shadow=false/>
-   	 </attached>
-   	 <collisionShapes>
-      	 	<SphereCollisionShape radius="70" />
-    	</collisionShapes>
-	</MovableEntity>
-
-	<MovableEntity collisionType=kinematic linearDamping=0.8 angularDamping=5 mass="500" pitch="0" roll="0" yaw="0"  position="-3230,11800,-6990" rotationaxis="0,0,0" rotationrate="0"       collisiondamage = 0.01  enablecollisiondamage = true >
-    	<attached>
-        	<Model scale="85" mesh="asteroid_ice.mesh"  shadow=false/>
-   	 </attached>
-   	 <collisionShapes>
-      	 	<SphereCollisionShape radius="85" />
-    	</collisionShapes>
-	</MovableEntity>
-
- 							<!-- Homeplanet Architecture END-->
-
-
-							<!-- Portal-->
-    <Template name=PortalDefault>
-        <PortalEndPoint>
-            <attached>
-                <Model mesh="Spacegate.mesh" yaw="90"/>
-            </attached>
-        </PortalEndPoint>
-    </Template>
-
-    <PortalEndPoint position="-3000,12000,-6990" id="1" distance="40" target="MobileEntity" design="PortalDefault" reenterDelay="0"/>
-    <PortalEndPoint position="-47000,-30000,30000" id="2" distance="40" target="MobileEntity" design="PortalDefault" reenterDelay="0" pitch = "180"/>
-    <PortalLink fromID="1" toID="2" />
-
-
-							<!-- Portal END-->
-
-
-	<!-- The Cave-->
-<!-- verhaeltniss Cube.mesh <-> Crate.mesh 1:5 -->
-
-					<!-- Enemies-->
-<Turret position="-43700,-30000,30000" pitch="0" yaw="90" roll="90">
-    <templates>
-        <Template link=spaceshipturret />
-    </templates>
-    <controller>
-        <WaypointPatrolController alertnessradius=700 team=3>
-        </WaypointPatrolController>
-     </controller>
-</Turret>
-
-<Turret position="-43700,-30000,33600" pitch="0" yaw="0" roll="0">
-    <templates>
-        <Template link=spaceshipturret />
-    </templates>
-    <controller>
-        <WaypointPatrolController alertnessradius=3000 team=3>
-        </WaypointPatrolController>
-     </controller>
-</Turret>
-
-<Turret position="-43720,-30000,31000" pitch="0" yaw="0" roll="0">
-    <templates>
-        <Template link=spaceshipturret />
-    </templates>
-    <controller>
-        <WaypointPatrolController alertnessradius=3000 team=3>
-        </WaypointPatrolController>
-     </controller>
-</Turret>
-
-<Turret position="-43700,-29980,32100" pitch="0" yaw="0" roll="0">
-    <templates>
-        <Template link=spaceshipturret />
-    </templates>
-    <controller>
-        <WaypointPatrolController alertnessradius=3000 team=3>
-        </WaypointPatrolController>
-     </controller>
-</Turret>
-
-
- <DistanceTrigger name="Reachedtheend" position="-43700,-29980,33000" target="SpaceShip" distance=300 stayActive="true" delay=0 />
-
- <SpaceShip position="-42000,-30000,33800" lookat="-1,0,0" name="attacker" radarname="Enemy1" visible="true">
-                            <events>
-                                <visibility>
-                                    <EventListener event="Reachedtheend" />
-                                </visibility>
-                            </events>
-                    <templates>
-                      <Template link=spaceshippirate />
-                    </templates>
-                    <controller>
-                      <WaypointPatrolController alertnessradius=1500  team=3 active=false>
-                         <waypoints>
-                        <Model mesh="cube.mesh" scale=0 position="-41200,-30000,33800"/>
-                       </waypoints>
-                       <events>
-                         <activity>
-                              <EventListener event="Reachedtheend" />
-                         </activity>
-                       </events>
-                    </WaypointPatrolController>
-                  </controller>
-                </SpaceShip>
- <SpaceShip position="-42200,-30000,33800" lookat="-1,0,0" name="attacker" radarname="Enemy2" visible="true">
-                            <events>
-                                <visibility>
-                                    <EventListener event="Reachedtheend" />
-                                </visibility>
-                            </events>
-                    <templates>
-                      <Template link=spaceshippirate />
-                    </templates>
-                    <controller>
-                      <WaypointPatrolController alertnessradius=1500  team=3 active=false>
-                         <waypoints>
-                        <Model mesh="cube.mesh" scale=0 position="-41600,-30000,33800"/>
-                       </waypoints>
-                       <events>
-                         <activity>
-                              <EventListener event="Reachedtheend" />
-                         </activity>
-                       </events>
-                    </WaypointPatrolController>
-                  </controller>
-                </SpaceShip>
- <SpaceShip position="-42400,-30000,33800" lookat="-1,0,0" name="attacker" radarname="Sanchez" visible="true">
-                            <events>
-                                <visibility>
-                                    <EventListener event="Reachedtheend" />
-                                </visibility>
-                            </events>
-                    <templates>
-                      <Template link=spaceshippirate />
-                    </templates>
-                    <controller>
-                      <WaypointPatrolController alertnessradius=1500  team=3 active=false>
-                         <waypoints>
-                        <Model mesh="cube.mesh" scale=0 position="-41400,-30000,33800"/>
-                       </waypoints>
-                       <events>
-                         <activity>
-                              <EventListener event="Reachedtheend" />
-                         </activity>
-                       </events>
-                    </WaypointPatrolController>
-                  </controller>
-                </SpaceShip>
-		
-					<!-- Enemies END-->
-
-
-					<!-- 15 Boxes forward-->
- <?lua
-    max = 15
-    for i = 0, max, 1
-    do
-    y=(i*200)-47200
-
-    ?>
-
-    <?lua
-    for j = 0, 2, 1
-    do
-    z =30200-(j*200)
-    ?>    
-    
-    <?lua
-    for k = 0, 1, 1
-    do
-    x =-30200+(k*400)
-    ?>
-
-
-
-
-  <StaticEntity position="<?lua print(y) ?>,<?lua print(x) ?>,<?lua print(z) ?>" direction="0,0,0" collisionType=static mass=100000 friction=0.01 >
-     <attached>
-        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20"  />
-      </attached>
-      <collisionShapes>
-        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
-
-      </collisionShapes>
-</StaticEntity>
-
-
-    <?lua end ?>
-    <?lua end ?>
-    <?lua end ?>
-
- <?lua
-    max = 15
-    for i = 0, max, 1
-    do
-    y=(i*200)-47200
-
-    ?>
-    <?lua
-    for j = 0, 1, 1
-    do
-    z =30200-(j*400)
-    ?>    
-  <StaticEntity position="<?lua print(y) ?>,-30000,<?lua print(z) ?>" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
-     <attached>
-        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
-      </attached>
-      <collisionShapes>
-        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
-
-      </collisionShapes>
-</StaticEntity>
-    <?lua end ?>
-    <?lua end ?>
-
-  <StaticEntity position="-47200,-30000,30000" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
-     <attached>
-        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
-      </attached>
-      <collisionShapes>
-        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
-
-      </collisionShapes>
-</StaticEntity>
-
-					<!-- 15 Boxes forward END -->
-					<!-- 18 Boxes right-->
-
- <?lua
-    max = 18
-    for i = 0, max, 1
-    do
-    z=29800+(i*200)
-
-    ?>
-
-    <?lua
-    for j = 0, 2, 1
-    do
-    y = (j*200)-44000
-    ?>    
-    
-    <?lua
-    for k = 0, 1, 1
-    do
-    x =-30200+(k*400)
-    ?>
-
-
-
-
-  <StaticEntity position="<?lua print(y) ?>,<?lua print(x) ?>,<?lua print(z) ?>" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
-     <attached>
-        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
-      </attached>
-      <collisionShapes>
-        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
-
-      </collisionShapes>
-</StaticEntity>
-
-
-    <?lua end ?>
-    <?lua end ?>
-    <?lua end ?>
-
- <?lua
-    max = 16
-    for i = 0, max, 1
-    do
-    z = 30200+(i*200)
-
-    ?>
-    <?lua
-    for j = 0, 1, 1
-    do
-     y = (j*400)-44000
-    ?>    
-  <StaticEntity position="<?lua print(y) ?>,-30000,<?lua print(z) ?>" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
-     <attached>
-        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
-      </attached>
-      <collisionShapes>
-        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
-
-      </collisionShapes>
-</StaticEntity>
-    <?lua end ?>
-    <?lua end ?>
-
-  <StaticEntity position="-43600,-30000,30000" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
-     <attached>
-        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
-      </attached>
-      <collisionShapes>
-        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
-
-      </collisionShapes>
-</StaticEntity>
-
- <?lua
-    for i = 0, 2, 1
-    do
-    y = -44000+(i*200)
-
-    ?>
-  <StaticEntity position="<?lua print(y) ?>,-30000,29800" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
-     <attached>
-        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
-      </attached>
-      <collisionShapes>
-        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
-
-      </collisionShapes>
-</StaticEntity>
-
-    <?lua end ?>
-
-					<!-- 18 Boxes right END-->
-					<!-- 17 Boxes forward-->
- <?lua
-    max = 17
-    for i = 0, max, 1
-    do
-    y=(i*200)-44000
-
-    ?>
-
-    <?lua
-    for j = 0, 2, 1
-    do
-    z =34000 - (j*200)
-    ?>    
-    
-    <?lua
-    for k = 0, 1, 1
-    do
-    x =-30200+(k*400)
-    ?>
-
-
-
-
-  <StaticEntity position="<?lua print(y) ?>,<?lua print(x) ?>,<?lua print(z) ?>" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
-     <attached>
-        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
-      </attached>
-      <collisionShapes>
-        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
-
-      </collisionShapes>
-</StaticEntity>
-
-
-    <?lua end ?>
-    <?lua end ?>
-    <?lua end ?>
-
- <?lua
-    max = 15
-    for i = 0, max, 1
-    do
-    y=(i*200)-43600
-
-    ?>
-
-    <?lua
-    for j = 0, 0, 1
-    do
-    z =34000 - (i*5.5)
-    ?>
-
-  <StaticEntity position="<?lua print(y) ?>,-30000,<?lua print(z) ?>" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
-     <attached>
-        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
-      </attached>
-      <collisionShapes>
-        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
-
-      </collisionShapes>
-</StaticEntity>
-
-    <?lua end ?>
-    <?lua end ?>
- <?lua
-    max = 15
-    for i = 0, max, 1
-    do
-    y=(i*200)-43600
-
-    ?>
-
-    <?lua
-    for j = 0, 0, 1
-    do
-    z =33600 + (i*5.5)
-    ?>
-
-  <StaticEntity position="<?lua print(y) ?>,-30000,<?lua print(z) ?>" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
-     <attached>
-        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
-      </attached>
-      <collisionShapes>
-        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
-
-      </collisionShapes>
-</StaticEntity>
-    <?lua end ?>
-    <?lua end ?>
-
-
- <?lua
-    for i = 0, 1, 1
-    do
-    y = -44000+(i*200)
-
-    ?>
-  <StaticEntity position="<?lua print(y) ?>,-30000,34000" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
-     <attached>
-        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
-      </attached>
-      <collisionShapes>
-        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
-
-      </collisionShapes>
-</StaticEntity>
-
-    <?lua end ?>
-
-  <StaticEntity position="-44000,-30000,33800" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
-     <attached>
-        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
-      </attached>
-      <collisionShapes>
-        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
-
-      </collisionShapes>
-</StaticEntity>
-
-  <StaticEntity position="-44000,-30000,33600" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
-     <attached>
-        <Model position="0,0,0" mesh="crate.mesh" scale3D="20,20,20" />
-      </attached>
-      <collisionShapes>
-        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
-
-      </collisionShapes>
-</StaticEntity>
-					<!-- 17 Boxes forward END-->
-    <Billboard position="-41000,-30000,33800" material="Flares/backlightflare" colour="0,1.4,2.1" scale=15 />
-
-  <StaticEntity position="-40400,-30000,33800" direction="0,0,0" collisionType=static mass=100000 friction=0.01>
-     <attached>
-        <Model position="0,0,0" mesh="cube_green.mesh" scale3D="100,100,100" />
-      </attached>
-      <collisionShapes>
-        <BoxCollisionShape position="0,0,0" halfExtents="100,100,100" />
-      </collisionShapes>
-</StaticEntity>
-
-<!-- FORCEFIELD -->
-<ForceField position="-47000,-30000,30000" direction="1,0,0" diameter=2000 velocity=2000 length=2000 />
-
-
-	<!-- The Cave END-->
-
-	<!-- Planet around the cave-->
-
-  </Scene>
-</Level>
-
-
-
Index: code/branches/presentationHS13/data/levels/Spacefight.oxw
===================================================================
--- code/branches/presentationHS13/data/levels/Spacefight.oxw	(revision 9930)
+++ 	(revision )
@@ -1,1840 +1,0 @@
-<!--Spacefight-->
-
-<!--
-To Do:
-- Discuss between Player and Captain Hood
-- If possible, do the spion with DistanceTriggerBeacon
-- Place the explosion right (time and place)
-- bigger explosion?
-- collisionShape for mainship
-- DistanceTriggerBeacon for Captain Hood
--->
-
-<LevelInfo
- name = "Spacefight"
- description = "Level with the big Spacefight"
- tags = "mission"
- screenshot = "emptylevel.png"
-/>
-
-<?lua
-  include("stats.oxo")
-  include("HUDTemplates3.oxo")
-  include("templates/lodInformation.oxt")
-?>
-
-<?lua
-  include("templates/spaceshipAssff2.oxt")
-  include("templates/spaceshipPirate.oxt")
-  include("templates/spaceshipEscort.oxt")
-  include("templates/spaceshipSwallow.oxt")
-  include("templates/pickupRepresentationTemplates.oxt")
-  include("templates/spaceshipCollateralDamage.oxt")
-?>
-<?lua
-    dofile("includes/CuboidSpaceStation.lua")
-?>
-
-<Level
-  gametype = "Mission"
->
-  <templates>
-    <Template link=lodtemplate_default />
-  </templates>
-
-  <?lua include("includes/notifications.oxi") ?>
-
-
-  <NotificationQueueCEGUI
-    name="narrative"
-    targets="simpleNotification"
-    size=3
-    displayTime=4.9
-    position="0.2, 0, 0.1, 0"
-    fontSize="23"
-    fontColor="0.3, 1, 0.2, 0.8"
-    alignment="HorzCentred"
-    displaySize="0.6, 0, 0, 0"
-    />
-
-<Scene
-    ambientlight = "0.8, 0.8, 0.8"
-    skybox       = "Orxonox/Starbox"
-  >
-  <?lua include("includes/pickups.oxi") ?>
-
-<Script code="showGUI NotificationLayer false true" needsGraphics="true" />
-<OverlayGroup name="spacefightHUD" scale = "1, 1">
-  <CountDown
-     position    = "0.51, 0.05"
-     pickpoint   = "0.0, 0.0"
-     font        = "ShareTechMono"
-     textsize    = 0.1
-     colour      = "1.0, 1.0, 1.0, 1.0"
-     align       = "center"                  
-     counter     = "10.0"
-     speedfactor = "1.0"
-     active      = "false"
-  >
-    <events>
-      <activity>
-        <EventListener event="timer1" />
-      </activity>
-    </events>
-  </CountDown>
-</OverlayGroup>
-
-<!-- SPAWNTRIGGER -->
-	<!-- StartPoint (0, 0, 0), lookat=(100, 0, 0) -->
-	<SpawnPoint team=0 position="-12350, -21950, 25500" lookat="-12350, -21950, 25300" spawnclass=SpaceShip pawndesign=spaceshipswallow > <!-- pawndesign=spaceshipcollateraldamage -->
-          <events>
-            <activity>
-              <EventListener event="flying12" />
-            </activity>
-          </events>
-	</SpawnPoint>
-
-	<EventTrigger name="flying12" invert="true" >
-	  <events>
-	    <trigger>
-	      <EventListener event="flying1" />
-	    </trigger>
-          </events>
-	</EventTrigger>
-
-	<!-- Second Spawnpoint (after first guard) --
-	<SpawnPoint team=0 position="13500, 2500, 10500" lookat="18000,5000,18000" spawnclass=SpaceShip pawndesign=spaceshipswallow > <!-- pawndesign=spaceshipcollateraldamage --
-	  <events>
-            <activity>
-	      <EventTrigger>
-		<EventTrigger invert=true >
-		  <events>
-		    <trigger>
-		      <EventListener event="reached" />
-		    </trigger>
-		  </events>
-		</EventTrigger>
-		<events>
-		  <trigger>
-                    <EventListener event="flying1" />
-		  </trigger>
-		</events>
-	      </EventTrigger>
-            </activity>
-          </events>
-        </SpawnPoint>
-	
-	<!-- Thirth Spawnpoint (when reached Captain Hood) --
-	<SpawnPoint team=0 position="-4000, -18000, 19000" lookat="-12000, -22000, 25000" spawnclass=SpaceShip pawndesign=spaceshipswallow > <!-- pawndesign=spaceshipcollateraldamage --
-	  <events>
-            <activity>
-	      <EventTrigger>
-		<EventTrigger invert=true >
-		  <events>
-		    <trigger>
-		      <EventListener event="timerEnd" />
-		    </trigger>
-		  </events>
-		</EventTrigger>
-		<events>
-		  <trigger>
-                    <EventListener event="reached" />
-		  </trigger>
-		</events>
-	      </EventTrigger>
-            </activity>
-          </events>
-        </SpawnPoint>
-
-	<!-- Distance-Spawn-Trigger (0, 0, 0) -->
-	<DistanceTrigger name=spawntrigger2 position="-12350, -21950, 25500" target="SpaceShip" distance=10 stayActive="true" delay=0 />
-
-	<!-- Drone pickup -->
-	<PickupSpawner pickup=dronepickup position="9750, -5350, 5650" triggerDistance="100" respawnTime="30" maxSpawnedItems="2" />
-
-<!-- QUEST DESCRIPTION -->
-	<LocalQuest id="spacefight.guard1">
-		<QuestDescription 
-			title="Eliminate the first guard!" 
-			description="You've reached the enemys Station and they haven't seen you yet.
-
-				Ahead you see the first little patrol.
-				There are two little battleships and also two unarmed ships.
-				The unarmed could not attack you. So first destroy the battleships!"
-			failMessage="You've lost all your ships!"
-			completeMessage="Well done!" />
-	</LocalQuest>
-
-	<LocalQuest id="spacefight.upgrade1">
-		<QuestDescription
-			title="Prepare for the fight (optional)"
-			description="Your friends has an arsenal left behind near by your position.
-				perhaps you find something useful there...
-				Hint: look for a big asteroid."
-			failMessage="You've lost all your ships!"
-			completeMessage="Your ship is prepared best for the second and last guard on the way to the mainship.
-				Now attack the second guard!" />
-	</LocalQuest>
-
-	<LocalQuest id="spacefight.guard2">
-		<QuestDescription
-			title="The second guard!"
-			description="There is also a second guard. The blinking light shows you the direction.
-				Destroy also this guard!"
-			failMessage="You've lost all your ships!"
-			completeMessage="" />
-	</LocalQuest>
-<!--
-	<LocalQuest id="spacefight.escape">
-		<QuestDescription
-			title="Catch the messenger!"
-			description="A messenger is on the way to warn the troups of the mainship.
-				Destroy him before he is near by the mainship. 
-				Else the fight against the enemys troups will be much more difficult."
-			failMessage="The messenger has reached the mainship.
-				Prepare to fight against a strong enmey!"
-			completeMessage="Well done! Now the element of surprise will be ours!" />
-	</LocalQuest>
-
-<!-- 2 different possibilitys --
-	<!-- Spion is destroyed --
-	<LocalQuest id="spacefight.mainfight(min)" >
-		<QuestDescription
-			title="The big fight!"
-			description="Now the time is come!
-				You've done all you can to prepare you for this spacebattle.
-				Let us see, if it was enough.
-				
-				ATTACK!!!"
-			failMessage="You've lost all your ships!"
-			completeMessage="YEEEHAAA!
-				You managed it! For that you will get the golden medal of the united space armies." />
-		<complete-effects>
-			<AddQuest questId="spacefight.rescue" />
-		</complete-effects>
-	</LocalQuest>
-
-	<!-- Spion isn't destroyed --
-	<LocalQuest id="spacefight.mainfight(max)" >
-		<QuestDescription
-			title="The big fight!"
-			description="Now the time is come!
-				You've done all you can to prepare you for this spacebattle.
-				Unfortunately the spion has alert the mainship. So the soldiers will also be prepared for you.
-				But you can manage it.
-				Good luck!"
-			failMessage="You've lost all your ships!"
-			completeMessage="YEEEHAAA!
-				You managed it! For that you will get the golden medal of the united space armies." />
-		<complete-effects>
-			<AddQuest questId="spacefight.rescue" />
-		</complete-effects>
-	</LocalQuest>
-<!-- --
-
-	<LocalQuest id="spacefight.rescue" >
-		<QuestDescription
-			title="Rescue and place the bomb"
-			description="Now you have to free the commander and place a bomb in the pirates' mainship."
-			failMessage="You've lost all your ships!"
-			completeMessage="" />
-		<complete-effects>
-			<AddQuest questId="spacefight.moveAway" />
-		</complete-effects>
-	</LocalQuest>
-
-	<LocalQuest id="spacefight.moveAway" >
-		<QuestDescription
-			title="Get away!"
-			description="Get away of the mainship before the bomb detonates."
-			failMessage="You've lost all your ships!"
-			completeMessage="Done!" />
-	</LocalQuest>
-
-	<!-- GRAND EXPLOSION IF POSSIBLE -->
-	<!-- Next Part -->
--->
-	
-<!-- ---------------------------------------------------------------------- -->
-
-<!-- QuestEffectBeacon's -->
-	<!-- START -->
-	<QuestEffectBeacon times=0>
-		<effects>
-			<AddQuest questId="spacefight.guard1" />
-		</effects>
-		<events>
-			<execute>
-				<EventListener event=spawntrigger2 />
-			</execute>
-		</events>
-	</QuestEffectBeacon>
-
-	<QuestEffectBeacon times=0>
-		<events>
-			<execute>
-				<EventListener event="flying1" />
-			</execute>
-		</events>
-		<effects>
-			<CompleteQuest questId="spacefight.guard1" />
-		</effects>
-	</QuestEffectBeacon>
-
-	<SimpleNotification message="Well done!"  broadcast="true">
-		<events>
-			<trigger>
-				<EventListener event="flying1" />
-			</trigger>
-		</events>
-	</SimpleNotification>
-
-	<EventTrigger name="flying1delay" activations="1" stayactive="true" delay=5.1 >
-	  <events>
-	    <trigger>
-	      <EventListener event="flying1" />
-	    </trigger>
-	  </events>
-	</EventTrigger>
-
-	<SimpleNotification message="The green light shows you the way!"  broadcast="true" >
-		<events>
-			<trigger>
-				<EventListener event="flying1delay" />
-			</trigger>
-		</events>
-	</SimpleNotification>
-
-	<BlinkingBillboard position="11000, 1000, 7000" colour="0.0, 1.0, 0.0" frequency=0.5 amplitude=10 material="Examples/Flare" >
-          <events>
-            <visibility>
-              <EventTrigger>
-		<EventTrigger invert=true>
-		  <events>
-		    <trigger>
-		      <EventListener event="flying2" />
-		    </trigger>
-		  </events>
-		</EventTrigger>
-                <events>
-                  <trigger>
-                    <EventListener event="flying1" />
-                  </trigger>
-                </events>
-	      </EventTrigger>
-            </visibility>
-          </events>
-	</BlinkingBillboard>
-	
-	<!-- Drone (optional) -->
-	<QuestEffectBeacon times=0>
-		<effects>
-			<AddQuest questId="spacefight.upgrade1" />
-		</effects>
-		<events>
-			<execute>
-				<EventListener event="droneTrigger" />
-			</execute>
-		</events>
-	</QuestEffectBeacon>	
-
-	<QuestEffectBeacon times=0>
-		<effects>
-			<CompleteQuest questId="spacefight.upgrade1" />
-		</effects>
-		<events>
-			<execute>
-				<EventListener event="drone1" />
-			</execute>
-		</events>
-	</QuestEffectBeacon>
-
-	<QuestEffectBeacon times=0>
-		<effects>
-			<CompleteQuest questId="spacefight.upgrade1" />
-		</effects>
-		<events>
-			<execute>
-				<EventListener event="victory" />
-			</execute>
-		</events>
-	</QuestEffectBeacon>
-	
-	<!-- Guard 2 -->
-	<QuestEffectBeacon times=0>
-		<effects>
-			<AddQuest questId="spacefight.guard2" />
-		</effects>
-		<events>
-			<execute>
-				<EventListener event="droneTrigger" />
-			</execute>		
-		</events>
-	</QuestEffectBeacon>
-
-	<QuestEffectBeacon times=0>
-		<effects>
-			<CompleteQuest questId="spacefight.guard2" />
-		</effects>
-		<events>
-			<execute>
-				<EventListener event="flying2" />
-			</execute>		
-		</events>
-	</QuestEffectBeacon>
-
-	<!-- ESCAPE -->
-	<SimpleNotification message="A scout is startet to the mainship!"  broadcast="true">
-		<events>
-			<trigger>
-				<EventListener event="guard2trigger1" />
-			</trigger>
-		</events>
-	</SimpleNotification>
-
-	<QuestEffectBeacon times=0>
-		<effects>
-			<AddQuest questId="spacefight.escape" />
-		</effects>
-		<events>
-			<execute>
-				<EventListener event="escape10" />
-			</execute>
-		</events>
-	</QuestEffectBeacon>
-
-	<!-- ESCAPE ENDING -->
-	<!-- Spion escaped -->
-	<QuestEffectBeacon times=0>
-		<effects>
-			<CompleteQuest questId="spacefight.escape" />
-			<AddQuest questId="spacefight.mainfight(max)" />
-		</effects>
-		<events>
-			<execute>
-				<EventListener event="spionTrigger" />
-			</execute>
-		</events>
-	</QuestEffectBeacon>
-
-	<!-- TEST -->
-	<QuestEffectBeacon>
-		<effects>
-			<AddQuest questId="spacefight.escape" />
-		</effects>
-		<events>
-			<execute>
-				<EventListener event=spawntrigger2 />
-			</execute>
-		</events>
-	</QuestEffectBeacon>
-
-	<!-- Spion destroyed -->
-	<QuestEffectBeacon>
-		<effects>
-			<CompleteQuest questId="spacefight.escape" />
-			<AddQuest questId="spacefight.mainfight(min)" />
-		</effects>
-		<events>
-			<execute>
-				<EventListener event="spion5" />
-			</execute>
-		</events>
-	</QuestEffectBeacon>
-
-	<!-- LAST FIGHT -->
-	<!-- Spion destroyed -->
-	<QuestEffectBeacon>
-		<effects>
-			<CompleteQuest questId="spacefight.mainfight(min)" />
-		</effects>
-		<events>
-			<execute>
-				<EventListener event="guard3trigger4" />
-			</execute>
-		</events>
-	</QuestEffectBeacon>
-
-	<!-- Spion escaped -->
-	<QuestEffectBeacon>
-		<effects>
-			<CompleteQuest questId="spacefight.mainfight(max)" />
-		</effects>
-		<events>
-			<execute>
-				<EventListener event="guard3trigger6" />
-			</execute>
-		</events>
-	</QuestEffectBeacon>
-
-	<!-- COMMANDER RESCUE -->
-	<QuestEffectBeacon>
-		<effects>
-			<CompleteQuest questId="spacefight.rescue" />
-		</effects>
-		<events>
-			<execute>
-				<EventListener event="dock" />
-			</execute>
-		</events>
-	</QuestEffectBeacon>
-
-	<!-- FLY AWAY -->
-	<QuestEffectBeacon>
-		<effects>
-			<CompleteQuest questId="spacefight.moveAway" />
-		</effects>
-		<events>
-			<execute>
-				<EventListener event="" />
-			</execute>
-		</events>
-	</QuestEffectBeacon>
-
-<!-- ---------------------------------------------------------------------- -->
-	<!-- Helper-Trigger for first guard -->
-	<DistanceTrigger name="flying1" position="9000, 0, 0" target="SpaceShip" distance=10000 stayActive="true" delay=0.1 >
-		<EventTrigger>
-			<events>
-				<trigger>
-					<EventListener event="guard1trigger4" />
-				</trigger>
-			</events>
-		</EventTrigger>
-	</DistanceTrigger>
-
-	<!-- Trigger to activate the upgrade1-Quest -->
-	<DistanceTrigger name="droneTrigger" position="11000, 1000, 7000" target="SpaceShip" distance=2000 stayActive="true" delay=0.1 />
-	<SimpleNotification message="Need an Upgrade?"  broadcast="true">
-		<events>
-			<trigger>
-				<EventListener event="droneTrigger" />
-			</trigger>
-		</events>
-	</SimpleNotification>
-
-	<EventTrigger name="droneTriggerDelay" stayactive="true" delay=5 >
-		<events>
-			<trigger>
-				<EventListener event="droneTrigger" />
-			</trigger>
-		</events>
-	</EventTrigger>
-
-	<SimpleNotification message="Search the drone!"  broadcast="true" >
-		<events>
-			<trigger>
-				<EventListener event="droneTriggerDelay" />
-			</trigger>
-		</events>
-	</SimpleNotification>
-			
-
-	<!-- Helper-Trigger for the drone(s) -->
-	<DistanceTrigger name="drone1" position="9750, -5350, 5650" target="SpaceShip" distance=100 stayActive="true" delay=0.1 />
-	<SimpleNotification message="Now your are prepared best!"  broadcast="true">
-		<events>
-			<trigger>
-				<EventListener event="drone1" />
-			</trigger>
-		</events>
-	</SimpleNotification>
-
-	<EventTrigger name="drone1Delay" stayactive="true" delay=5.1 >
-		<events>
-			<trigger>
-				<EventListener event="drone1" />
-			</trigger>
-		</events>
-	</EventTrigger>
-
-	<SimpleNotification message="Fly back to the green light."  broadcast="true">
-		<events>
-			<trigger>
-				<EventListener event="drone1Delay" />
-			</trigger>
-		</events>
-	</SimpleNotification>
-
-	<Trigger name="secondDroneTrigger" mode="and" stayActive="true">
-	  <DistanceTrigger name="droneTrigger" position="11000, 1000, 7000" target="SpaceShip" distance=1000 stayActive="true" delay=0.1 />
-          <EventTrigger>
-            <events>
-              <trigger>
-                <EventListener event="drone1" />
-              </trigger>
-            </events>
-          </EventTrigger>
-        </Trigger>
-
-	<SimpleNotification message="The red light shows you the direction."  broadcast="true">
-		<events>
-			<trigger>
-				<EventListener event="secondDroneTrigger" />
-			</trigger>
-		</events>
-	</SimpleNotification>
-
-	<BlinkingBillboard position="11500, 1500, 10000" colour="1.0, 0.0, 0.0" frequency=0.5 amplitude=5 material="Examples/Flare" >
-	  <events>
-	    <visibility>
-	      <EventTrigger>
-		<EventTrigger invert=true>
-		  <events>
-		    <trigger>
-		      <EventListener event="guard2trigger1" />
-		    </trigger>
-		  </events>
-		</EventTrigger>
-	        <events>
-	          <trigger>
-	            <EventListener event="secondDroneTrigger" />
-	          </trigger>
-	        </events>
-	      </EventTrigger>
-	    </visibility>
-	  </events>
-	</BlinkingBillboard>
-
-	<!-- Helper-Trigger for second guard -->
-	<DistanceTrigger name="flying2" position="18000, 5000, 21000" target="SpaceShip" distance=10000 stayActive="true" delay=0.1 >
-		<EventTrigger>
-			<events>
-				<trigger>
-					<EventListener event="guard2trigger4" />
-				</trigger>
-			</events>
-		</EventTrigger>
-	</DistanceTrigger>	
-
-	<SimpleNotification message="Well done!"  broadcast="true">
-		<events>
-			<trigger>
-				<EventListener event="flying2" />
-			</trigger>
-		</events>
-	</SimpleNotification>
-
-	<Trigger name="guard2withoutSpion" mode="and" stayActive="true" delay=0 >
-	  <EventTrigger activations="1" >
-	    <events>
-	      <trigger>
-	        <EventListener event="flying2" />
-	      </trigger>
-	    </events>
-	  </EventTrigger>
-	  <EventTrigger activations="1" invert="true" >
-	    <events>
-	      <trigger>
-	        <EventListener event="spionEnd" />
-	      </trigger>
-	    </events>
-	  </EventTrigger>
-	</Trigger>
-
-	<EventTrigger name="flying2delay1" activations="1" stayactive="true" delay=5 >
-	  <events>
-	    <trigger>
-	      <EventListener event="guard2withoutSpion" />
-	    </trigger>
-	  </events>
-	</EventTrigger>
-
-	<SimpleNotification message="Catch the scout!"  broadcast="true" >
-		<events>
-			<trigger>
-				<EventListener event="flying2delay1" />
-			</trigger>
-		</events>
-	</SimpleNotification>
-
-	<EventTrigger name="flying2delay2" activations="1" stayactive="true" delay=5 >
-	  <events>
-	    <trigger>
-	      <EventListener event="flying2delay1" />
-	    </trigger>
-	  </events>
-	</EventTrigger>
-
-	<SimpleNotification message="Before he reachs the red light..."  broadcast="true" >
-		<events>
-			<trigger>
-				<EventListener event="flying2delay2" />
-			</trigger>
-		</events>
-	</SimpleNotification>
-
-	<!-- DistanceTrigger for spion -->
-	<Trigger name="spionTrigger" mode="and" stayActive="true">
-	  <DistanceTrigger position="15000, 1000, 25000" target="SpaceShip" distance=50 stayActive="true" delay=0.1 />
-          <EventTrigger activations="1" invert="true">
-            <events>
-              <trigger>
-                <EventListener event="spion5" />
-              </trigger>
-            </events>
-          </EventTrigger>
-        </Trigger>
-
-	<SimpleNotification message="Scout is arrived!"  broadcast="true">
-		<events>
-			<trigger>
-				<EventListener event="spionTrigger" />
-			</trigger>
-		</events>
-	</SimpleNotification>
-
-	<EventTrigger name="spionTriggerDelay" stayactive="true" delay=5 >
-		<events>
-			<trigger>
-				<EventListener event="spionTrigger" />
-			</trigger>
-		</events>
-	</EventTrigger>	
-
-	<SimpleNotification message="Now the mainship is alarmed..."  broadcast="true">
-		<events>
-			<trigger>
-				<EventListener event="spionTriggerDelay" />
-			</trigger>
-		</events>
-	</SimpleNotification>
-
-	<BlinkingBillboard position="15000, 1000, 25000" colour="1.0, 0.0, 0.0" frequency=0.3 amplitude=7 material="Examples/Flare" >
-	  <events>
-	    <visibility>
-	      <EventTrigger>
-		<EventTrigger invert=true>
-		  <events>
-		    <trigger>
-		      <EventListener event="spionEnd" />
-		    </trigger>
-		  </events>
-		</EventTrigger>
-	        <events>
-	          <trigger>
-	            <EventListener event="guard2trigger1" />
-	          </trigger>
-	        </events>
-	      </EventTrigger>
-	    </visibility>
-	  </events>
-	</BlinkingBillboard>
-
-	<!-- If spion destroyed -->
-	<SimpleNotification message="Scout destroyed!"  broadcast="true">
-		<events>
-			<trigger>
-				<EventListener event="spion5" />
-			</trigger>
-		</events>
-	</SimpleNotification>
-
-	<!-- Spion end -->
-	<Trigger name="spionEnd" mode="or" stayActive="true" delay=0 >
-	  <EventTrigger activations="1" >
-	    <events>
-	      <trigger>
-	        <EventListener event="spion5" />
-	      </trigger>
-	    </events>
-	  </EventTrigger>
-	  <EventTrigger activations="1" >
-	    <events>
-	      <trigger>
-	        <EventListener event="spionTrigger" />
-	      </trigger>
-	    </events>
-	  </EventTrigger>
-	</Trigger>
-
-	<EventTrigger name="spionEndDelay" activations="1" delay=5>
-	  <events>
-	    <trigger>
-	      <EventListener event="spionEnd" />
-	    </trigger>
-	  </events>
-	</EventTrigger>
-
-	<!-- Intro to Captain Hood -->
-	<Trigger name="introHood" mode="and" stayActive="true">
-	  <EventTrigger activations="1" >
-	    <events>
-	      <trigger>
-	        <EventListener event="spionEndDelay" />
-	      </trigger>
-	    </events>
-	  </EventTrigger>
-	  <EventTrigger activations="1" >
-	    <events>
-	      <trigger>
-	        <EventListener event="guard2trigger4" />
-	      </trigger>
-	    </events>
-	  </EventTrigger>
-	</Trigger>
-
-	<EventTrigger name="introHoodDelay1" activations="1" stayactive="true" delay=5 >
-	  <events>
-	    <trigger>
-	      <EventListener event="introHood" />
-	    </trigger>
-	  </events>
-	</EventTrigger>
-
-	<SimpleNotification message="Your friend, Captain Hood, is near by you!"  broadcast="true">
-		<events>
-			<trigger>
-				<EventListener event="introHoodDelay1" />
-			</trigger>
-		</events>
-	</SimpleNotification>
-
-	<EventTrigger name="introHoodDelay2" activations="1" stayactive="true" delay=5 >
-	  <events>
-	    <trigger>
-	      <EventListener event="introHoodDelay1" />
-	    </trigger>
-	  </events>
-	</EventTrigger>
-
-	<SimpleNotification message="He'll show you the way to the mainship!"  broadcast="true">
-		<events>
-			<trigger>
-				<EventListener event="introHoodDelay2" />
-			</trigger>
-		</events>
-	</SimpleNotification>	
-
-	<!-- Helper-Trigger for Captain Hood -->
-	<DistanceTrigger name="reached" position="10000, 2000, 17000" target="SpaceShip" distance=1000 stayActive="true" delay=0.1 >
-		<EventTrigger>
-			<events>
-				<trigger>
-					<EventListener event="guard2trigger4" />
-				</trigger>
-			</events>
-		</EventTrigger>
-	</DistanceTrigger>
-
-	<SimpleNotification message="Follow Captain Hood!"  broadcast="true">
-		<events>
-			<trigger>
-				<EventListener event="reached" />
-			</trigger>
-		</events>
-	</SimpleNotification>	
-
-	<!-- Trigger for Monologue from Captain Hood --> 
-	<DistanceTrigger name="discuss" position="-4000, -18000, 19000" target="SpaceShip" distance=50 stayActive="true" delay=0.1 />
-	<SimpleNotification message="Look, there is the mainship!"  broadcast="true">
-		<events>
-			<trigger>
-				<EventListener event="discuss" />
-			</trigger>
-		</events>
-	</SimpleNotification>
-
-	<!-- End of Mainfight -->
-        <Trigger name="victory1" mode="and" stayActive="true">
-	  <EventTrigger>
-	    <events>
-	      <trigger>
-		<EventListener event="guard3trigger4" />
-	      </trigger>
-	    </events>
-	  </EventTrigger>
-          <EventTrigger activations="1" >
-            <events>
-              <trigger>
-                <EventListener event="spion5" />
-              </trigger>
-            </events>
-          </EventTrigger>
-        </Trigger>
-
-        <Trigger name="victory2" mode="and" stayActive="true">
-	  <EventTrigger activations="1" >
-	    <events>
-	      <trigger>
-		<EventListener event="guard3trigger6" />
-	        </trigger>
-	    </events>
-	  </EventTrigger>
-          <EventTrigger activations="1" >
-            <events>
-              <trigger>
-                <EventListener event="spionTrigger" />
-              </trigger>
-            </events>
-          </EventTrigger>
-        </Trigger>
-
-        <Trigger name="victory" mode="or" stayActive="true">
-	  <EventTrigger activations="1" >
-	    <events>
-	      <trigger>
-		<EventListener event="victory1" />
-	      </trigger>
-	    </events>
-	  </EventTrigger>
-	  <EventTrigger activations="1" >
-            <events>
-              <trigger>
-                <EventListener event="victory2" />
-              </trigger>
-            </events>
-          </EventTrigger>
-        </Trigger>
-
-	<SimpleNotification message="YEEEHAAA! You managed it!"  broadcast="true">
-		<events>
-			<trigger>
-				<EventListener event="victory" />
-			</trigger>
-		</events>
-	</SimpleNotification>
-
-	<EventTrigger name="victoryDelay1" delay=5 >
-	  <events>
-	    <trigger>
-	      <EventListener event="victory" />
-	    </trigger>
-	  </events>
-	</EventTrigger>
-
-	<EventTrigger name="victoryDelay1.1" delay=5.1 >
-	  <events>
-	    <trigger>
-	      <EventListener event="victory" />
-	    </trigger>
-	  </events>
-	</EventTrigger>
-
-	<SimpleNotification message="For that you will get the golden medal"  broadcast="true">
-		<events>
-			<trigger>
-				<EventListener event="victoryDelay1.1" />
-			</trigger>
-		</events>
-	</SimpleNotification>
-
-	<SimpleNotification message="of the united space armies."  broadcast="true">
-		<events>
-			<trigger>
-				<EventListener event="victoryDelay1" />
-			</trigger>
-		</events>
-	</SimpleNotification>
-
-	<EventTrigger name="victoryDelay2" delay=5 >
-	  <events>
-	    <trigger>
-	      <EventListener event="victoryDelay1.1" />
-	    </trigger>
-	  </events>
-	</EventTrigger>
-
-	<EventTrigger name="victoryDelay2.1" delay=5.1 >
-	  <events>
-	    <trigger>
-	      <EventListener event="victoryDelay1.1" />
-	    </trigger>
-	  </events>
-	</EventTrigger>
-
-	<SimpleNotification message="Now dock at the mainship and"  broadcast="true">
-		<events>
-			<trigger>
-				<EventListener event="victoryDelay2.1" />
-			</trigger>
-		</events>
-	</SimpleNotification>
-
-	<SimpleNotification message="free the Commander!"  broadcast="true">
-		<events>
-			<trigger>
-				<EventListener event="victoryDelay2" />
-			</trigger>
-		</events>
-	</SimpleNotification>
-
-	<EventTrigger name="victoryDelay3" delay=5 >
-	  <events>
-	    <trigger>
-	      <EventListener event="victoryDelay2" />
-	    </trigger>
-	  </events>
-	</EventTrigger>
-
-	<SimpleNotification message="The light shows you the hatch"  broadcast="true">
-		<events>
-			<trigger>
-				<EventListener event="victoryDelay3" />
-			</trigger>
-		</events>
-	</SimpleNotification>
-
-	<!-- Rescue the commander -->
-	<BlinkingBillboard position="-12470, -21870, 25200" colour="0.0, 0.0, 1.0" frequency=0.5 amplitude=5 material="Examples/Flare" >
-	  <events>
-	    <visibility>
-	      <EventTrigger>
-		<EventTrigger invert=true>
-		  <events>
-		    <trigger>
-		      <EventListener event="dock" />
-		    </trigger>
-		  </events>
-		</EventTrigger>
-	        <events>
-	          <trigger>
-	            <EventListener event=spawntrigger2 /> <!-- "victory" -->
-	          </trigger>
-	        </events>
-	      </EventTrigger>
-	    </visibility>
-	  </events>
-	</BlinkingBillboard>
-	
-	<DistanceTrigger name="dock" position="-12470, -21870, 25200" target="SpaceShip" distance=50 stayActive="true" delay=0 />
-	<SimpleNotification message="The Commander is on board!"  broadcast="true">
-		<events>
-			<trigger>
-				<EventListener event="dock" />
-			</trigger>
-		</events>
-	</SimpleNotification>
-	
-	<!-- TIMER-EVENTS -->
-	<EventTrigger name="dockdelay1" activations="1" stayactive="true" delay=5 >
-	  <events>
-	    <trigger>
-	      <EventListener event="dock" />
-	    </trigger>
-	  </events>
-	</EventTrigger>	
-	
-	<SimpleNotification message="You have 10 seconds to move away..."  broadcast="true">
-		<events>
-			<trigger>
-				<EventListener event="dockdelay1" />
-			</trigger>
-		</events>
-	</SimpleNotification>
-
-	<EventTrigger name="dockdelay2" activations="1" stayactive="true" delay=5 >
-	  <events>
-	    <trigger>
-	      <EventListener event="dock" />
-	    </trigger>
-	  </events>
-	</EventTrigger>
-
-	<SimpleNotification message="A bomb is placed in the mainship..."  broadcast="true">
-		<events>
-			<trigger>
-				<EventListener event="dockdelay2" />
-			</trigger>
-		</events>
-	</SimpleNotification>
-
-
-    <EventTrigger name="timer1" activations="1" stayactive="true" delay=5 >
-      <events>
-        <trigger>
-          <EventListener event="dockdelay2" />
-        </trigger>
-      </events>
-    </EventTrigger>
-
-    <EventTrigger name="timerEnd" activations="1" stayactive="true" delay=10 >
-      <events>
-        <trigger>
-          <EventListener event="timer1" />
-        </trigger>
-      </events>
-    </EventTrigger>
-
-    <EventTrigger name="negativeTimerEnd" invert="true" delay=0 >
-      <events>
-        <trigger>
-          <EventListener event="timerEnd" />
-        </trigger>
-      </events>
-    </EventTrigger>
-
-<!-- ----------------------------------------------------- -->    
-<!-- For Guard 1 -->
-<!-- @Triggers: attacktriggerX <-> X enemies destroyed , X is an element of [1,4] -->
-    <EventTrigger name="guard1trigger4" activations="1" stayactive="true" delay=0.1>
-      <events>
-        <trigger>
-          <EventListener event="firstPatrol" />
-        </trigger>
-      </events>
-      <EventTrigger name="guard1trigger3" activations="1" stayactive="true" delay=0.1>
-        <events>
-          <trigger>
-            <EventListener event="firstPatrol" />
-          </trigger>
-        </events>
-        <EventTrigger name="guard1trigger2" activations="1" stayactive="true" delay=0.1>
-          <events>
-            <trigger>
-              <EventListener event="firstPatrol" />
-            </trigger>
-          </events>
-          <EventTrigger name="guard1trigger1" activations="1" stayactive="true" delay=0.1>
-            <events>
-              <trigger>
-                <EventListener event="firstPatrol" />
-              </trigger>
-            </events>
-          </EventTrigger>
-        </EventTrigger>
-      </EventTrigger>
-    </EventTrigger>
-
-<!-- For Guard 2 -->
-<!-- @Triggers: attacktriggerX <-> X enemies destroyed , X is an element of [1,4] -->
-    <EventTrigger name="guard2trigger4" activations="1" stayactive="true" delay=0.1>
-      <events>
-        <trigger>
-          <EventListener event="secondPatrol" />
-        </trigger>
-      </events>
-      <EventTrigger name="guard2trigger3" activations="1" stayactive="true" delay=0.1>
-        <events>
-          <trigger>
-            <EventListener event="secondPatrol" />
-          </trigger>
-        </events>
-        <EventTrigger name="guard2trigger2" activations="1" stayactive="true" delay=0.1>
-          <events>
-            <trigger>
-              <EventListener event="secondPatrol" />
-            </trigger>
-          </events>
-          <EventTrigger name="guard2trigger1" activations="1" stayactive="true" delay=0.1>
-            <events>
-              <trigger>
-                <EventListener event="secondPatrol" />
-              </trigger>
-            </events>
-          </EventTrigger>
-        </EventTrigger>
-      </EventTrigger>
-    </EventTrigger>
-
-<!-- For Escape -->
-	<EventTrigger name="spion5" stayactive="true" >
-	  <events>
-	    <trigger>
-	      <EventListener event="spion" />
-	    </trigger>
-	  </events>
-	</EventTrigger>
-
-<!-- For last fight -->
-    <EventTrigger name="guard3trigger6" activations="1" stayactive="true" delay=0.1 >
-      <events>
-        <trigger>
-          <EventListener event="lastGuard" />
-        </trigger>
-      </events>
-      <EventTrigger name="guard3trigger5" activations="1" stayactive="true" delay=0.1 >
-        <events>
-          <trigger>
-            <EventListener event="lastGuard" />
-          </trigger>
-        </events>
-        <EventTrigger name="guard3trigger4" activations="1" stayactive="true" delay=0.1 >
-          <events>
-            <trigger>
-              <EventListener event="lastGuard" />
-            </trigger>
-          </events>
-          <EventTrigger name="guard3trigger3" activations="1" stayactive="true" delay=0.1 >
-            <events>
-              <trigger>
-                <EventListener event="lastGuard" />
-              </trigger>
-            </events>
-	    <EventTrigger name="guard3trigger2" activations="1" stayactive="true" delay=0.1 >
-	      <events>
-		<trigger>
-		  <EventListener event="lastGuard" />
-		</trigger>
-	      </events>
-	      <EventTrigger name="guard3trigger1" activations="1" stayactive="true" delay=0.1 >
-		<events>
-		  <trigger>
-		    <EventListener event="lastGuard" />
-		  </trigger>
-		</events>
-	      </EventTrigger>
-	    </EventTrigger>
-          </EventTrigger>
-        </EventTrigger>
-      </EventTrigger>
-    </EventTrigger>
-	
-<!-- ----------------------------------------------------- -->
-<!-- Passive Pirates: Guard 1 -->
-<SpaceShip position="8000,1000,0" lookat="-1,0,0" name="firstPatrol" radarname="Patrol">
-  <events>
-    <visibility>
-      <EventListener event=spawntrigger2 />
-    </visibility>
-  </events>
-  <templates>
-    <Template link=spaceshippirate />
-  </templates>
-  <controller>
-    <WaypointController team=1>
-      <waypoints>
-        <Model mesh="cube.mesh" scale=0 position="8000,-1000,0" />
-        <Model mesh="cube.mesh" scale=0 position="8000,1000,0" />
-      </waypoints>
-    </WaypointController>
-  </controller>
-</SpaceShip>
-
-<SpaceShip position="8000,0,0" lookat="-1,0,0" name="firstPatrol" radarname="Patrol">
-  <events>
-    <visibility>
-      <EventListener event=spawntrigger2 />
-    </visibility>
-  </events>
-  <templates>
-    <Template link=spaceshippirate />
-  </templates>
-  <controller>
-    <WaypointController team=1>
-      <waypoints>
-        <Model mesh="cube.mesh" scale=0 position="8000,0,-1000" />
-        <Model mesh="cube.mesh" scale=0 position="8000,0,1000" />
-      </waypoints>
-    </WaypointController>
-  </controller>
-</SpaceShip>
-
-
-<!-- Active Pirates: Guard 1 -->
-<SpaceShip position="8000,-1000,1000" lookat="8000,1000,-1000" name="firstPatrol" visible="true" radarname="Patrol" >
-  <events>
-    <visibility>
-      <EventListener event=spawntrigger2 />
-    </visibility>
-  </events>
-  <templates>
-    <Template link=spaceshippirate />
-  </templates>
-  <controller>
-    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
-      <waypoints>
-        <Model mesh="cube.mesh" scale=0 position="8000,1000,-1000" />
-        <Model mesh="cube.mesh" scale=0 position="8000,-1000,1000" />
-      </waypoints>
-      <events>
-        <activity>
-          <EventListener event=spawntrigger2 />
-        </activity>
-      </events>
-    </WaypointPatrolController>
-  </controller>
-</SpaceShip>
-
-<SpaceShip position="8000,-500,-500" lookat="8000,1000,1000" name="firstPatrol" visible="true" radarname="Patrol">
-  <events>
-    <visibility>
-      <EventListener event=spawntrigger2 />
-    </visibility>
-  </events>
-  <templates>
-    <Template link=spaceshippirate />
-  </templates>
-  <controller>
-    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
-      <waypoints>
-        <Model mesh="cube.mesh" scale=0 position="8000,1000,1000" />
-        <Model mesh="cube.mesh" scale=0 position="8000,-1000,-1000" />
-      </waypoints>
-      <events>
-        <activity>
-          <EventListener event=spawntrigger2 />
-        </activity>
-      </events>
-    </WaypointPatrolController>
-  </controller>
-</SpaceShip>
-
-<!-- Active Pirates: Guard 2 -->
-<SpaceShip position="19000,5000,18000" lookat="19000,4900,21000" name="secondPatrol" visible="true" radarname="Patrol">
-  <events>
-    <visibility>
-      <EventListener event="guard1trigger4" />
-    </visibility>
-  </events>
-  <templates>
-    <Template link=spaceshippirate />
-  </templates>
-  <controller>
-    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
-      <waypoints>
-	<Model mesh="cube.mesh" scale=0 position="18700,4300,18000" />
-        <Model mesh="cube.mesh" scale=0 position="18000,4000,18000" />
-	<Model mesh="cube.mesh" scale=0 position="17300,4300,18000" />
-	<Model mesh="cube.mesh" scale=0 position="17000,5000,18000" />
-	<Model mesh="cube.mesh" scale=0 position="17300,5700,18000" />
-	<Model mesh="cube.mesh" scale=0 position="18000,6000,18000" />
-	<Model mesh="cube.mesh" scale=0 position="18700,5700,18000" />
-        <Model mesh="cube.mesh" scale=0 position="19000,5000,18000" />
-      </waypoints>
-      <events>
-        <activity>
-          <EventListener event="guard1trigger4" />
-        </activity>
-      </events>
-    </WaypointPatrolController>
-  </controller>
-</SpaceShip>
-
-<SpaceShip position="17000,5000,18000" lookat="17000,5100,21000" name="secondPatrol" visible="true" radarname="Patrol">
-  <events>
-    <visibility>
-      <EventListener event="guard1trigger4" />
-    </visibility>
-  </events>
-  <templates>
-    <Template link=spaceshippirate />
-  </templates>
-  <controller>
-    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
-      <waypoints>
-	<Model mesh="cube.mesh" scale=0 position="17300,5700,18000" />
-	<Model mesh="cube.mesh" scale=0 position="18000,6000,18000" />
-	<Model mesh="cube.mesh" scale=0 position="18700,5700,18000" />
-        <Model mesh="cube.mesh" scale=0 position="19000,5000,18000" />
-	<Model mesh="cube.mesh" scale=0 position="18700,4300,18000" />
-        <Model mesh="cube.mesh" scale=0 position="18000,4000,18000" />
-	<Model mesh="cube.mesh" scale=0 position="17300,4300,18000" />
-	<Model mesh="cube.mesh" scale=0 position="17000,5000,18000" />
-      </waypoints>
-      <events>
-        <activity>
-          <EventListener event="guard1trigger4" />
-        </activity>
-      </events>
-    </WaypointPatrolController>
-  </controller>
-</SpaceShip>
-
-<SpaceShip position="18000,4000,18000" lookat="17000,4000,21000" name="secondPatrol" visible="true" radarname="Patrol">
-  <events>
-    <visibility>
-      <EventListener event="guard1trigger4" />
-    </visibility>
-  </events>
-  <templates>
-    <Template link=spaceshippirate />
-  </templates>
-  <controller>
-    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
-      <waypoints>
-	<Model mesh="cube.mesh" scale=0 position="17300,4300,18000" />
-	<Model mesh="cube.mesh" scale=0 position="17000,5000,18000" />
-	<Model mesh="cube.mesh" scale=0 position="17300,5700,18000" />
-	<Model mesh="cube.mesh" scale=0 position="18000,6000,18000" />
-	<Model mesh="cube.mesh" scale=0 position="18700,5700,18000" />
-        <Model mesh="cube.mesh" scale=0 position="19000,5000,18000" />
-	<Model mesh="cube.mesh" scale=0 position="18700,4300,18000" />
-        <Model mesh="cube.mesh" scale=0 position="18000,4000,18000" />
-      </waypoints>
-      <events>
-        <activity>
-          <EventListener event="guard1trigger4" />
-        </activity>
-      </events>
-    </WaypointPatrolController>
-  </controller>
-</SpaceShip>
-
-<SpaceShip position="18000,6000,18000" lookat="19000,6000,21000" name="secondPatrol" visible="true" radarname="Patrol">
-  <events>
-    <visibility>
-      <EventListener event="guard1trigger4" />
-    </visibility>
-  </events>
-  <templates>
-    <Template link=spaceshippirate />
-  </templates>
-  <controller>
-    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
-      <waypoints>
-	<Model mesh="cube.mesh" scale=0 position="18700,5700,18000" />
-        <Model mesh="cube.mesh" scale=0 position="19000,5000,18000" />
-	<Model mesh="cube.mesh" scale=0 position="18700,4300,18000" />
-        <Model mesh="cube.mesh" scale=0 position="18000,4000,18000" />
-	<Model mesh="cube.mesh" scale=0 position="17300,4300,18000" />
-	<Model mesh="cube.mesh" scale=0 position="17000,5000,18000" />
-	<Model mesh="cube.mesh" scale=0 position="17300,5700,18000" />
-	<Model mesh="cube.mesh" scale=0 position="18000,6000,18000" />
-      </waypoints>
-      <events>
-        <activity>
-          <EventListener event="guard1trigger4" />
-        </activity>
-      </events>
-    </WaypointPatrolController>
-  </controller>
-</SpaceShip>
-
-<!-- Escape-Ship (Spion) -->
-<SpaceShip position="17000,4000,19000" lookat="-12000, -22000, 25000" name="spion" visible="true" radarname="Scout" >
-  <events>
-    <visibility>
-      <EventListener event="guard2trigger1" />
-    </visibility>
-  </events>
-  <templates>
-    <Template link=spaceshippirate />
-  </templates>
-  <controller>
-    <WaypointController team=1>
-      <waypoints>
-	<Model mesh="cube.mesh" scale=0 position="15000, 1000, 25000" />
-        <Model mesh="cube.mesh" scale=0 position="0, -10000, 42000" />
-      </waypoints>
-      <events>
-	<activity>
-	  <EventListener event="guard2trigger1" />
-	</activity>
-      </events>
-    </WaypointController>
-  </controller>
-<!--  Should be realized, if possible...
-  <attached>
-    <DistanceTriggerBeacon name="spionBeacon" />
-  </attached>
--->
-</SpaceShip>
-
-<!-- Mainship - Pirates -->
-<SpaceShip position="-10000, -20000, 24000" lookat="-10000, -22000, 24000" name="lastGuard" visible="true" radarname="Pirate" >
-  <events>
-    <visibility>
-      <EventListener event="guard2trigger4" />
-    </visibility>
-  </events>
-  <templates>
-    <Template link=spaceshippirate />
-  </templates>
-  <controller>
-    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
-      <waypoints>
-        <Model mesh="cube.mesh" scale=10 position="-9500, -22000, 24000" /> <!-- -12000, -22000, 25000    -4000, -18000, 19000 -->
-        <Model mesh="cube.mesh" scale=10 position="-10500, -22000, 23000" />
-	<Model mesh="cube.mesh" scale=10 position="-11000, -20000, 23000" />
-	<Model mesh="cube.mesh" scale=10 position="-10000, -20000, 24000" />
-      </waypoints>
-      <events>
-	<activity>
-	  <EventListener event="guard2trigger4" />
-	</activity>
-      </events>
-    </WaypointPatrolController>
-  </controller>
-</SpaceShip>
-
-<SpaceShip position="-10000, -22000, 24000" lookat="-11000, -22000, 23000" name="lastGuard" visible="true" radarname="Pirate" >
-  <events>
-    <visibility>
-      <EventListener event="guard2trigger4" />
-    </visibility>
-  </events>
-  <templates>
-    <Template link=spaceshippirate />
-  </templates>
-  <controller>
-    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
-      <waypoints>
-        <Model mesh="cube.mesh" scale=10 position="-10500, -22000, 23000" />
-	<Model mesh="cube.mesh" scale=10 position="-11000, -20000, 23000" />
-	<Model mesh="cube.mesh" scale=10 position="-10000, -20000, 24000" />        
-	<Model mesh="cube.mesh" scale=10 position="-9500, -22000, 24000" />
-      </waypoints>
-      <events>
-	<activity>
-	  <EventListener event="guard2trigger4" />
-	</activity>
-      </events>
-    </WaypointPatrolController>
-  </controller>
-</SpaceShip>
-
-<SpaceShip position="-11000, -22000, 23000" lookat="-11000, -20000, 23000" name="lastGuard" visible="true" radarname="Pirate" >
-  <events>
-    <visibility>
-      <EventListener event="guard2trigger4" />
-    </visibility>
-  </events>
-  <templates>
-    <Template link=spaceshippirate />
-  </templates>
-  <controller>
-    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
-      <waypoints>
-	<Model mesh="cube.mesh" scale=10 position="-11000, -20000, 23000" />
-	<Model mesh="cube.mesh" scale=10 position="-10000, -20000, 24000" />        
-	<Model mesh="cube.mesh" scale=10 position="-9500, -22000, 24000" />
-        <Model mesh="cube.mesh" scale=10 position="-10500, -22000, 23000" />
-      </waypoints>
-      <events>
-	<activity>
-	  <EventListener event="guard2trigger4" />
-	</activity>
-      </events>
-    </WaypointPatrolController>
-  </controller>
-</SpaceShip>
-
-<SpaceShip position="-11000, -20000, 23000" lookat="-10000, -20000, 24000" name="lastGuard" visible="true" radarname="Pirate" >
-  <events>
-    <visibility>
-      <EventListener event="guard2trigger4" />
-    </visibility>
-  </events>
-  <templates>
-    <Template link=spaceshippirate />
-  </templates>
-  <controller>
-    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
-      <waypoints>
-	<Model mesh="cube.mesh" scale=10 position="-10000, -20000, 24000" />        
-	<Model mesh="cube.mesh" scale=10 position="-9500, -22000, 24000" />
-        <Model mesh="cube.mesh" scale=10 position="-10500, -22000, 23000" />
-	<Model mesh="cube.mesh" scale=10 position="-11000, -20000, 23000" />
-      </waypoints>
-      <events>
-	<activity>
-	  <EventListener event="guard2trigger4" />
-	</activity>
-      </events>
-    </WaypointPatrolController>
-  </controller>
-</SpaceShip>
-
-<!-- Additional pirates if the spion has warned the mainship -->
-<SpaceShip position="-10500, -20000, 23500" lookat="-10000, -21000, 24000" name="lastGuard" visible="true" radarname="Pirate" >
-  <events>
-    <visibility>
-      <EventListener event="spionTrigger" />
-    </visibility>
-  </events>
-  <templates>
-    <Template link=spaceshippirate />
-  </templates>
-  <controller>
-    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
-      <waypoints>
-        <Model mesh="cube.mesh" scale=10 position="-9750, -21000, 24000" />
-        <Model mesh="cube.mesh" scale=10 position="-10000, -22000, 23500" />
-	<Model mesh="cube.mesh" scale=10 position="-10750, -21000, 23000" />
-	<Model mesh="cube.mesh" scale=10 position="-10500, -20000, 23500" />
-      </waypoints>
-      <events>
-	<activity>
-	  <EventListener event="spionTrigger" />
-	</activity>
-      </events>
-    </WaypointPatrolController>
-  </controller>
-</SpaceShip>
-
-<SpaceShip position="-10500, -22000, 23500" lookat="-11000, -21000, 23000" name="lastGuard" visible="true" radarname="Pirate" >
-  <events>
-    <visibility>
-      <EventListener event="spionTrigger" />
-    </visibility>
-  </events>
-  <templates>
-    <Template link=spaceshippirate />
-  </templates>
-  <controller>
-    <WaypointPatrolController alertnessradius=2000 team=1 active=false>
-      <waypoints>
-	<Model mesh="cube.mesh" scale=10 position="-10750, -21000, 23000" />
-	<Model mesh="cube.mesh" scale=10 position="-10500, -20000, 23500" />
-        <Model mesh="cube.mesh" scale=10 position="-9750, -21000, 24000" />
-        <Model mesh="cube.mesh" scale=10 position="-10000, -22000, 23500" />
-      </waypoints>
-      <events>
-	<activity>
-	  <EventListener event="spionTrigger" />
-	</activity>
-      </events>
-    </WaypointPatrolController>
-  </controller>
-</SpaceShip>
-
-<!-- FRIEND-SHIPS -->
-<SpaceShip position="8500, 2000, 17000" lookat="0, -1000, 18000" name="friend" visible="true" radarname="Hood" >
-  <events>
-    <visibility>
-      <EventListener event="guard2trigger4" />
-    </visibility>
-  </events>
-  <templates>
-    <Template link=spaceshipswallow />
-  </templates>
-  <controller>
-    <WaypointPatrolController alertnessradius=5000 team=0 active=false>
-      <waypoints>
-	<Model mesh="cube.mesh" scale=0 position="-4000, -18000, 19000" />
-	<Model mesh="cube.mesh" scale=0 position="-11500, -22000, 25000" />
-      </waypoints>
-      <events>
-	<activity>
-	  <EventListener event="reached" />
-	</activity>
-      </events>
-    </WaypointPatrolController>
-  </controller>
-</SpaceShip>
-
-<BlinkingBillboard position="10000, 2000, 17000" colour="1.0, 1.0, 0.0" frequency=0.5 amplitude=20 material="Examples/Flare" >
-  <events>
-    <visibility>
-      <EventTrigger>
-	<EventTrigger invert=true>
-	  <events>
-	    <trigger>
-	      <EventListener event="reached" />
-	    </trigger>
-	  </events>
-	</EventTrigger>
-        <events>
-          <trigger>
-            <EventListener event="spion5" />
-          </trigger>
-        </events>
-      </EventTrigger>
-    </visibility>
-  </events>
-</BlinkingBillboard>
-
-<SimpleNotification message="Your friend Captain Hood is dead..."  broadcast="true">
-	<events>
-		<trigger>
-			<EventListener event="friend" />
-		</trigger>
-	</events>
-</SimpleNotification>
-
-<EventTrigger name="frienddelay" activations="1" stayactive="true" delay=5.1 >
-  <events>
-    <trigger>
-      <EventListener event="friend" />
-    </trigger>
-  </events>
-</EventTrigger>
-
-<SimpleNotification message="He died in a fight like he wished it!"  broadcast="true">
-	<events>
-		<trigger>
-			<EventListener event="frienddelay" />
-		</trigger>
-	</events>
-</SimpleNotification>
-
-<!-- ----------------------------------------------------- -->
-
-<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" />
-
-
-
-<!-- ASTEROIDS & ASTEROID-FIELDS -->
-	<!-- Asteroids -->
-	<Model 	position="9800, -5000, 5700" 
-		yaw="90" 
-		pitch="-90" 
-		roll="0" 
-		scale="200" 
-		mesh="asteroid_ice.mesh" />
-
-	<!-- triple large belt around the planet  -->
-	<?lua
-		dofile("includes/asteroidField.lua")
-		asteroidBelt(2000, -250, 9000, 30, 0, 30, 30, 50, 7190, 7800, 250, 1)
-	?>
-
-	<?lua
-		dofile("includes/asteroidField.lua")
-		asteroidBelt(2000, -250, 9000, 30, 0, 30, 30, 50, 10000, 11000, 300, 1)
-	?>
-
-	<?lua
-		dofile("includes/asteroidField.lua")
-		asteroidBelt(2000, -250, 9000, 30, 0, 30, 30, 50, 14000, 15000, 350, 1)
-	?>
-
-	<!-- other asteroid fileds -->
-
-	<!-- left before guard 1 -->	
-	<?lua
-		dofile("includes/asteroidField.lua")
-		asteroidField(-5000, -5000, -20000, 20, 50, 10000, 200, 0)
-	?>
-
-	<!-- left behind guard 1 -->
-	<?lua
-		dofile("includes/asteroidField.lua")
-		asteroidField(20000, -10000, -12000, 30, 100, 10000, 200, 0)
-	?>
-
-	<!-- between guard 2 & mainship -->
-		<!-- Core -->	
-		<?lua
-			dofile("includes/asteroidField.lua")
-			asteroidField(-5000, -10000, 30000, 10, 700, 8000, 80, 0)
-		?>
-	
-		<!-- Peripherie -->
-		<?lua
-			dofile("includes/asteroidField.lua")
-			asteroidField(-5000, -10000, 30000, 10, 50, 10000, 100, 0)
-		?>
-
-		<?lua
-	      		dofile("includes/asteroidField.lua")
-			asteroidBelt(-10000, -12500, 0, 0, 0, 30, 30, 500, 0, 7850, 150, 0)
-	    	?>
-
-	<!-- PLANETS -->
-  	<Planet 	position="2000,-250,9000" 
-			scale=5000 
-			pitch=1 
-			mesh="iceplanet.mesh" 
-			atmosphere="atmosphere1" 
-			rotationaxis="1,1,0" 
-			rotationrate="0.5" 
-			atmospheresize=224.0f 
-			imagesize=1024.0f
-			mass="10000000"
-			angularDamping=0
-			collisiondamage=2
-			enablecollisiondamage=true
-			collisionType="dynamic" />
-
-
-<!-- ----------------Rotating SpaceStation--------------- -->
-	<!-- first guard -->
-	<StaticEntity position="9000,0,0" collisionType=static yaw=112 pitch=67 >
-	  <attached>
-	    <?lua
-	      createSpaceStationPar(0,2,1,2,1,4,1,50)
-	    ?>
-	  </attached>
-	</StaticEntity>
-
-	<!-- second guard -->
-	<StaticEntity position="18000,5000,18000" collisionType=static yaw=12 pitch=75 >
-	  <attached>
-	    <?lua
-	      createSpaceStationPar(0,2,1,2,1,4,1,50)
-	    ?>
-	  </attached>
-	</StaticEntity>
-
-<!-- ------------------------- Mainship ------------------ -->
-    <SpaceShip
-        team      = 1
-        position  = "-12000, -22000, 25000"
-        mass      = 10000000000
-        health    = 100000 initialhealth=100000 maxhealth="100000"
-        name      = "Mainship"
-        radarname = "Mainship" 
-	visible	  = "true" >
-      <controller>
-        <WaypointController team=1 active="true" >
-          <waypoints/>
-          <events>
-	    <activity>
-	      <EventListener event=spawntrigger2 />
-	    </activity>
-          </events>
-        </WaypointController>
-      </controller>
-      <attached>
-        <Model scale=200 mesh="drone.mesh" position = "0,0,0" lookat="40000, 4000, 27000" />
-	<Model mesh="cube.mesh" mass=10 position="-445,110,120" scale3D="45,45,150"  yaw=56 pitch=-4 roll=0 />
-        <Model mesh="cube.mesh" mass=10 position="-295,125,220" scale3D="28,28,28" yaw=56 pitch=-4 roll=0 />
-        <Model mesh="cube.mesh" mass=10 position="-400,350,-200" scale3D="80,280,800" yaw=56 pitch=-4 roll=5 />
-        <Model mesh="cube.mesh" mass=10 position="-300,630,-100" scale3D="250,50,500" yaw=56 pitch=-4 roll=5 />
-        <Model mesh="cube.mesh" mass=10 position="-150,-150,-550" scale3D="80,280,800"  yaw=56 pitch=-4 roll=65 />
-        <Model mesh="cube.mesh" mass=10 position="140,0,240" scale3D="250,50,500" yaw=0 pitch=0 roll=0 />
-<!--    <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" />
-        <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" yaw=-120/>
-        <Model mesh="cube.mesh" mass=10 position="0,530,0" scale3D="172,52,298" yaw=-240/>
-        <Model mesh="cube.mesh" mass=10 position="0,400,0" scale3D="43,110,26" yaw=-30 />
-        <Model mesh="cube.mesh" mass=10 position="-200,100,0" scale3D="26,50,43" />
-        <Model mesh="cube.mesh" mass=10 position="100,100,-173" scale3D="43,50,26" yaw=-30/>
-        <Model mesh="cube.mesh" mass=10 position="100,100,173" scale3D="43,50,26" yaw=30/>
-        <Model mesh="cube.mesh" mass=10 position="-100,264,0" scale3D="26,105,43" roll=-49/>
-        <Model mesh="cube.mesh" mass=10 position="50,264,-87" scale3D="26,105,43" roll=-49 yaw=-120/>
-        <Model mesh="cube.mesh" mass=10 position="50,264,87" scale3D="26,105,43" roll=-49 yaw=-240/> -->
-      </attached>
-      <collisionShapes>
-	<BoxCollisionShape  position="-560,0,0" halfExtents="115,100,245" /> <!-- Three lower boxes -->
-<!--    <BoxCollisionShape  position="290,0,-480" halfExtents="115,100,245" yaw=-120 />
-        <BoxCollisionShape  position="290,0,480" halfExtents="115,100,245" yaw=-240 />
-        <BoxCollisionShape  position="-280,0,0" halfExtents="163,50,50" /> <!-- Three lower connections --
-        <BoxCollisionShape  position="140,0,-240" halfExtents="163,50,50" yaw=-120 />
-        <BoxCollisionShape  position="140,0,240" halfExtents="163,50,50" yaw=-240 />
-        <BoxCollisionShape  position="0,530,0" halfExtents="172,52,298" /> <!-- Upper Tower --
-        <BoxCollisionShape  position="0,530,0" halfExtents="172,52,298" yaw=-120 />
-        <BoxCollisionShape  position="0,530,0" halfExtents="172,52,298" yaw=-240 />
-        <BoxCollisionShape  position="0,400,0" halfExtents="43,110,26" yaw=-30 /> <!-- Middle one--
-        <BoxCollisionShape  position="-200,100,0" halfExtents="26,50,43" /> <!--Three lower legs --
-        <BoxCollisionShape  position="100,100,-173" halfExtents="43,50,26" yaw=-30 />
-        <BoxCollisionShape  position="100,100,-173" halfExtents="43,50,26" yaw=30 />
-        <BoxCollisionShape  position="-100,264,0" halfExtents="26,105,43" roll=-49 /> <!--Three upper legs --
-        <BoxCollisionShape  position="50,264,-87" halfExtents="26,105,43" roll=-49 yaw=-120 />
-        <BoxCollisionShape  position="50,264,87" halfExtents="26,105,43" roll=-49 yaw=-240 />  -->
-      </collisionShapes>
-      <events>
-        <visibility>
-	  <EventListener event="negativeTimerEnd" />
-        </visibility>
-      </events>
-    </SpaceShip>
-
-    <!-- PARTICLE EFFECT -->
-
-    <ParticleSpawner position="-12000, -22000, 25000" source="Orxonox/RingExp" autostart="false" lifetime=500 loop=0 startdelay=2.5>
-        <events>
-            <spawn>
-                <EventListener event="timerEnd" />
-            </spawn>
-        </events>
-    </ParticleSpawner>
-    <ParticleSpawner position="-12000, -22000, 25000" source="Orxonox/RingExp2" autostart="false" lifetime=500 loop=0 startdelay=2>
-        <events>
-            <spawn>
-                <EventListener event="timerEnd" />
-            </spawn>
-        </events>
-    </ParticleSpawner>
-    <ParticleSpawner position="-12000, -22000, 25000" source="Orxonox/RingExp3" autostart="false" lifetime=500 loop=0 startdelay=2>
-        <events>
-            <spawn>
-                <EventListener event="timerEnd" />
-            </spawn>
-        </events>
-    </ParticleSpawner>
-
-  </Scene>
-</Level>
-
