[Orxonox-commit 5071] r9735 - code/branches/levelMichael/data/levels
schlaem at orxonox.net
schlaem at orxonox.net
Mon Nov 4 13:25:00 CET 2013
Author: schlaem
Date: 2013-11-04 13:24:59 +0100 (Mon, 04 Nov 2013)
New Revision: 9735
Modified:
code/branches/levelMichael/data/levels/Spacefight.oxw
Log:
two new asteroid fields
Modified: code/branches/levelMichael/data/levels/Spacefight.oxw
===================================================================
--- code/branches/levelMichael/data/levels/Spacefight.oxw 2013-11-04 12:10:57 UTC (rev 9734)
+++ code/branches/levelMichael/data/levels/Spacefight.oxw 2013-11-04 12:24:59 UTC (rev 9735)
@@ -83,12 +83,8 @@
<LocalQuest id="spacefight.flying1">
<QuestDescription
- title="To the first guard"
- description="You've reached the enemys Station and they haven't seen you yet.
-
- Ahead you see the first little patrol.
- Attack them!"
- failMessage="You've lost all your ships!"
+ title="To the first guard!"
+ description="Reach the station ahead."
completeMessage="Well done!" />
<complete-effects>
<AddQuest questId="spacefight.guard1" />
@@ -97,8 +93,12 @@
<LocalQuest id="spacefight.guard1">
<QuestDescription
- title="eliminate the first guard!"
- description=""
+ 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!" />
<complete-effects>
@@ -112,14 +112,15 @@
title="Prepare for the fight."
description="Your friends has an arsenal left behind near by your position.
perhaps you find something useful there..."
- failMessage=""
+ 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." />
</LocalQuest>
<LocalQuest id="spacefight.flying2">
<QuestDescription
- title=""
- description="(siehe flying1)"
+ title="To the second guard!"
+ description="There is another sentry on the way to the big mainship.
+ unfortunately, we also have to destroy this one."
failMessage="You've lost all your ships!"
completeMessage="" />
<complete-effects>
@@ -129,8 +130,8 @@
<LocalQuest id="spacefight.guard2">
<QuestDescription
- title=""
- description="(siehe guard1)"
+ title="The second guard!"
+ description="Destroy also this guard!"
failMessage="You've lost all your ships!"
completeMessage="" />
<complete-effects>
@@ -140,10 +141,13 @@
<LocalQuest id="spacefight.escape">
<QuestDescription
- title=""
- description=""
- failMessage="You've lost all your ships!"
- completeMessage="" />
+ 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!" />
<complete-effects>
<AddQuest questId="spacefight.flying3" />
</complete-effects>
@@ -151,25 +155,55 @@
<LocalQuest id="spacefight.flying3" >
<QuestDescription
+ title="Prepared for the big fight?"
+ description=""
+ failMessage="You've lost all your ships!"
+ completeMessage="" />
+ </LocalQuest>
+
+ <LocalQuest id="spacefight.mainfight" >
+ <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." />
+ </LocalQuest>
+
+ <LocalQuest id="spacefight." >
+ <QuestDescription
title=""
description=""
failMessage=""
completeMessage="" />
</LocalQuest>
+ <LocalQuest id="" >
+ <QuestDescription
+ title=""
+ description=""
+ failMessage=""
+ completeMessage="" />
+ </LocalQuest>
+
<!-- ---------------------------------------------------------------------- -->
+
<QuestEffectBeacon times=0>
<effects>
<AddQuest questId="spacefight.flying1" />
</effects>
<events>
- <execute>
- <EventListener event=spawntrigger2 />
- </execute>
+ <execute>
+ <EventListener event=spawntrigger2 />
+ </execute>
</events>
<attached>
- <BlinkingBillboard position="5000,0,0" colour="1,0,0" frequency=0.5 amplitude=5 material="Examples/Flare" />
+ <BlinkingBillboard position="8000,0,0" colour="1,0,0" frequency=0.5 amplitude=5 material="Examples/Flare" />
</attached>
</QuestEffectBeacon>
@@ -185,19 +219,19 @@
</QuestEffectBeacon>
<QuestEffectBeacon times=1>
- <effects>
- <CompleteQuest questId="spacefight.guard1" />
- </effects>
- <events>
- <execute>
- <EventListener event="guard1trigger4" />
- </execute>
- </events>
+ <effects>
+ <CompleteQuest questId="spacefight.guard1" />
+ </effects>
+ <events>
+ <execute>
+ <EventListener event="guard1trigger4" />
+ </execute>
+ </events>
</QuestEffectBeacon>
<!-- ---------------------------------------------------------------------- -->
- <DistanceTrigger name="flying1" position="3000,0,0" target="SpaceShip" distance=1000 stayActive="true" delay=0 />
+ <DistanceTrigger name="flying1" position="5000,0,0" target="SpaceShip" distance=1000 stayActive="true" delay=0 />
<DistanceTrigger name=spawntrigger2 position="0,0,0" target="SpaceShip" distance=10 stayActive="true" delay=0 />
<SimpleNotification message="Let's fly to the blinking light." >
@@ -243,9 +277,9 @@
<!-- ----------------------------------------------------- -->
-<!-- Passive Piraten -->
+<!-- Passive Piraten: Guard 1 -->
-<SpaceShip position="5000,1000,0" lookat="-1,0,0" name=firstPatrol radarname="Patrol">
+<SpaceShip position="8000,1000,0" lookat="-1,0,0" name="firstPatrol" radarname="Patrol">
<events>
<visibility>
<EventListener event=spawntrigger2 />
@@ -257,14 +291,14 @@
<controller>
<WaypointController team=1>
<waypoints>
- <Model mesh="cube.mesh" scale=8 position="5000,-1000,0" />
- <Model mesh="cube.mesh" scale=8 position="5000,1000,0" />
+ <Model mesh="cube.mesh" scale=8 position="8000,-1000,0" />
+ <Model mesh="cube.mesh" scale=8 position="8000,1000,0" />
</waypoints>
</WaypointController>
</controller>
</SpaceShip>
-<SpaceShip position="5000,0,0" lookat="-1,0,0" name=firstPatrol radarname="Patrol">
+<SpaceShip position="8000,0,0" lookat="-1,0,0" name=firstPatrol radarname="Patrol">
<events>
<visibility>
<EventListener event=spawntrigger2 />
@@ -276,17 +310,17 @@
<controller>
<WaypointController team=1>
<waypoints>
- <Model mesh="cube.mesh" scale=8 position="5000,0,-1000" />
- <Model mesh="cube.mesh" scale=8 position="5000,0,1000" />
+ <Model mesh="cube.mesh" scale=8 position="8000,0,-1000" />
+ <Model mesh="cube.mesh" scale=8 position="8000,0,1000" />
</waypoints>
</WaypointController>
</controller>
</SpaceShip>
-<!-- Angreiffender Pirat 1 -->
+<!-- Angreiffende Piraten: Guard 1 -->
-<SpaceShip position="5000,-1000,1000" lookat="5000,1000,-1000" name=firstPatrol visible="true" radarname="Patrol" >
+<SpaceShip position="8000,-1000,1000" lookat="8000,1000,-1000" name=firstPatrol visible="true" radarname="Patrol" >
<events>
<visibility>
<EventListener event=spawntrigger2 />
@@ -298,8 +332,8 @@
<controller>
<WaypointPatrolController alertnessradius=2000 team=1 active=false>
<waypoints>
- <Model mesh="cube.mesh" scale=8 position="5000,1000,-1000" />
- <Model mesh="cube.mesh" scale=8 position="5000,-1000,1000" />
+ <Model mesh="cube.mesh" scale=8 position="8000,1000,-1000" />
+ <Model mesh="cube.mesh" scale=8 position="8000,-1000,1000" />
</waypoints>
<events>
<activity>
@@ -310,8 +344,7 @@
</controller>
</SpaceShip>
-<!-- Angreiffender Pirat 2 -->
-<SpaceShip position="5000,-500,-500" lookat="5000,1000,1000" name=firstPatrol visible="true" radarname="Patrol">
+<SpaceShip position="8000,-500,-500" lookat="8000,1000,1000" name=firstPatrol visible="true" radarname="Patrol">
<events>
<visibility>
<EventListener event=spawntrigger2 />
@@ -323,8 +356,8 @@
<controller>
<WaypointPatrolController alertnessradius=2000 team=1 active=false>
<waypoints>
- <Model mesh="cube.mesh" scale=8 position="5000,1000,1000" />
- <Model mesh="cube.mesh" scale=8 position="5000,-1000,-1000" />
+ <Model mesh="cube.mesh" scale=8 position="8000,1000,1000" />
+ <Model mesh="cube.mesh" scale=8 position="8000,-1000,-1000" />
</waypoints>
<events>
<activity>
@@ -335,6 +368,10 @@
</controller>
</SpaceShip>
+<!-- Passive Piraten: Guard 2 -->
+
+<!-- Angreiffende Piraten: Guard 2 -->
+
<!-- ----------------------------------------------------- -->
<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"/>
@@ -355,13 +392,27 @@
asteroidBelt(2000, -250, 9000, 30, 0, 30, 30, 50, 14000, 15000, 350, 1)
?>
+<!-- other asteroid fileds -->
+ <!-- links vor guard 1 -->
+ <?lua
+ dofile("includes/asteroidField.lua")
+ asteroidField(-5000, -5000, -20000, 100, 300, 10000, 50, 1)
+ ?>
+
+ <!-- links hinter guard 1 -->
+ <?lua
+ dofile("includes/asteroidField.lua")
+ asteroidField(20000, -10000, -10000, 50, 1000, 10000, 40, 0)
+ ?>
+
+
<Planet position="2000,-250,9000" scale=5000 pitch=1 mesh="iceplanet.mesh" atmosphere="atmosphere1" rotationaxis="1,1,0" rotationrate="3" atmospheresize=224.0f imagesize=1024.0f />
<!-- ----------------Rotating SpaceStation--------------- -->
-<StaticEntity position="5500,0,0" yaw=112 pitch=67>
+<StaticEntity position="9000,0,0" yaw=112 pitch=67>
<attached>
<?lua
createSpaceStationPar(0,2,1,2,1,4,1,50)
@@ -369,7 +420,15 @@
</attached>
</StaticEntity>
+<StaticEntity position="9000,20000,0" yaw=112 pitch=67>
+ <attached>
+ <?lua
+ createSpaceStationPar(0,2,1,2,1,4,1,50)
+ ?>
+ </attached>
+</StaticEntity>
+
</Scene>
</Level>
More information about the Orxonox-commit
mailing list