<?xml version="1.0" encoding="utf-8"?>
<AstroMenaceScript name="AstroMenace mission script">
<Load>

	<StarSystem1/><!-- StarSystem 1 SkyBox -->
	<Pirate/><!-- Pirates -->
	<Planet/><!-- Planets -->

	<!-- Load aimode file -->
	<AIFile>DATA/SCRIPT/aimode.xml</AIFile>

	<!-- Setup stars tile layer transparency for this mission -->
	<LayersTransp FirstStart="0.4" SecondStart="0.3"/>

</Load>
<Action>

	<!-- Debug setup -->
	<Debug showline="0" undead="0" showbb="0"/>

	<!-- Environment setup-->
	
	<!-- Star system -->
	<StarSystem system="1" angley="100" anglez="-55"/>
	<!-- Planets -->
	<CreatePlanet type="3" speed="0.75" posax="200" posay="-150" posaz="700"/>
	<CreatePlanet type="4" speed="2.5" posax="-400" posay="-450" posaz="600" anglax="-45"/>
	<CreatePlanet type="4" speed="2.45" posax="-140" posay="-350" posaz="1900" anglax="45"/>
	<!-- Lights -->
	<Light dirx="0.5" diry="-0.5" dirz="1" diffr="1" diffg="1" diffb="1" specr="1" specg="1" specb="1" ambir="1" ambig="1" ambib="1"/>


	<!--Goto label="end"/-->





	<!-- pirates big ships /-->
	<TimeLine value="0">
		<PirateShip type="13" aimode="101" posx="50" posy="-25" posz="340" />
		<PirateShip type="11" aimode="101" posx="-40" posy="-15" posz="300" />

		<PirateShip type="13" aimode="101" posx="0" posy="-25" posz="530" />
		<PirateShip type="12" aimode="101" posx="70" posy="-15" posz="490" />

		<PirateShip type="11" aimode="101" posx="50" posy="-35" posz="440" />
		<PirateShip type="13" aimode="101" posx="-20" posy="-35" posz="480" />

		<PirateShip type="13" aimode="101" posx="0" posy="-25" posz="630" />
		<PirateShip type="14" aimode="101" posx="50" posy="-25" posz="590" />
		<PirateShip type="12" aimode="101" posx="-40" posy="-15" posz="550" />
	</TimeLine>







	<!-- pirate ships /-->
	<TimeLine value="1">
		<PirateShip type="1" speed="5" posx="-20" posy="0" posz="270" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="111"/>
		</PirateShip>
		<PirateShip type="1" speed="5" posx="-40" posy="0" posz="270" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="111"/>
		</PirateShip>
		<PirateShip type="1" speed="5" posx="-60" posy="0" posz="270" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="111"/>
		</PirateShip>
	</TimeLine>

	<!-- pirate ships /-->
	<TimeLine value="5">
		<PirateShip type="1" speed="5" posx="20" posy="0" posz="270" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="112"/>
		</PirateShip>
		<PirateShip type="1" speed="5" posx="40" posy="0" posz="270" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="112"/>
		</PirateShip>
		<PirateShip type="1" speed="5" posx="60" posy="0" posz="270" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="112"/>
		</PirateShip>
	</TimeLine>




	<!-- pirate ships /-->
	<TimeLine value="5">
		<PirateShip type="1" speed="5" posx="-20" posy="0" posz="270" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="111"/>
		</PirateShip>
		<PirateShip type="1" speed="5" posx="-40" posy="0" posz="270" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="111"/>
		</PirateShip>
		<PirateShip type="1" speed="5" posx="-60" posy="0" posz="270" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="111"/>
		</PirateShip>
	</TimeLine>

	<!-- pirate ships /-->
	<TimeLine value="5">
		<PirateShip type="1" speed="5" posx="20" posy="0" posz="270" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="112"/>
		</PirateShip>
		<PirateShip type="1" speed="5" posx="40" posy="0" posz="270" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="112"/>
		</PirateShip>
		<PirateShip type="1" speed="5" posx="60" posy="0" posz="270" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="112"/>
		</PirateShip>
	</TimeLine>




	<!-- pirate ships /-->
	<TimeLine value="5">
		<PirateShip type="1" speed="5" posx="-20" posy="0" posz="270" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="111"/>
		</PirateShip>
		<PirateShip type="1" speed="5" posx="-40" posy="0" posz="270" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="111"/>
		</PirateShip>
		<PirateShip type="1" speed="5" posx="-60" posy="0" posz="270" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="111"/>
		</PirateShip>
	</TimeLine>

	<!-- pirate ships /-->
	<TimeLine value="5">
		<PirateShip type="1" speed="5" posx="20" posy="0" posz="270" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="112"/>
		</PirateShip>
		<PirateShip type="1" speed="5" posx="40" posy="0" posz="270" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="112"/>
		</PirateShip>
		<PirateShip type="1" speed="5" posx="60" posy="0" posz="270" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="112"/>
		</PirateShip>
	</TimeLine>





	<!-- pirate ships /-->
	<TimeLine value="5">
		<PirateShip type="1" speed="5" posx="-20" posy="0" posz="270" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="111"/>
		</PirateShip>
		<PirateShip type="1" speed="5" posx="-40" posy="0" posz="270" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="111"/>
		</PirateShip>
		<PirateShip type="1" speed="5" posx="-60" posy="0" posz="270" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="111"/>
		</PirateShip>
	</TimeLine>

	<!-- pirate ships /-->
	<TimeLine value="5">
		<PirateShip type="1" speed="5" posx="20" posy="0" posz="270" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="112"/>
		</PirateShip>
		<PirateShip type="1" speed="5" posx="40" posy="0" posz="270" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="112"/>
		</PirateShip>
		<PirateShip type="1" speed="5" posx="60" posy="0" posz="270" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="112"/>
		</PirateShip>
	</TimeLine>




	<!-- pirate ships /-->
	<TimeLine value="5">
		<PirateShip type="1" speed="5" posx="-20" posy="0" posz="270" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="111"/>
		</PirateShip>
		<PirateShip type="1" speed="5" posx="-40" posy="0" posz="270" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="111"/>
		</PirateShip>
		<PirateShip type="1" speed="5" posx="-60" posy="0" posz="270" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="111"/>
		</PirateShip>
	</TimeLine>

	<!-- pirate ships /-->
	<TimeLine value="5">
		<PirateShip type="1" speed="5" posx="20" posy="0" posz="270" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="112"/>
		</PirateShip>
		<PirateShip type="1" speed="5" posx="40" posy="0" posz="270" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="112"/>
		</PirateShip>
		<PirateShip type="1" speed="5" posx="60" posy="0" posz="270" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="112"/>
		</PirateShip>
	</TimeLine>




	<!-- pirate ships /-->
	<TimeLine value="5">
		<PirateShip type="1" speed="5" posx="-20" posy="0" posz="270" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="111"/>
		</PirateShip>
		<PirateShip type="1" speed="5" posx="-40" posy="0" posz="270" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="111"/>
		</PirateShip>
	</TimeLine>

	<!-- pirate ships /-->
	<TimeLine value="5">
		<PirateShip type="1" speed="5" posx="20" posy="0" posz="270" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="112"/>
		</PirateShip>
		<PirateShip type="1" speed="5" posx="40" posy="0" posz="270" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="112"/>
		</PirateShip>
	</TimeLine>





	<!-- big pirate ships are increasing speed, waiting for this /-->
	<TimeLine value="70"/>
	



	<!-- pirate ships /-->
	<TimeLine value="5">
		<PirateShip type="1" speed="5" posx="-20" posy="0" posz="280" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="111"/>
		</PirateShip>
		<PirateShip type="1" speed="5" posx="-40" posy="0" posz="280" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="111"/>
		</PirateShip>
		<PirateShip type="1" speed="5" posx="-60" posy="0" posz="280" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="111"/>
		</PirateShip>
	</TimeLine>

	<!-- pirate ships /-->
	<TimeLine value="5">
		<PirateShip type="1" speed="5" posx="20" posy="0" posz="280" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="112"/>
		</PirateShip>
		<PirateShip type="1" speed="5" posx="40" posy="0" posz="280" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="112"/>
		</PirateShip>
		<PirateShip type="1" speed="5" posx="60" posy="0" posz="280" angly="0">
			<TimeSheet time="19" speed="5"/>
			<TimeSheet time="10" aimode="112"/>
		</PirateShip>
	</TimeLine>


	<!-- pirate ships /-->
	<TimeLine value="20">
		<PirateShip type="1" speed="10" posx="0" posy="0" posz="280" angly="180"/>
		<PirateShip type="1" speed="10" posx="20" posy="0" posz="300" angly="180"/>
		<PirateShip type="1" speed="10" posx="-20" posy="0" posz="300" angly="180"/>
	</TimeLine>

	<!-- pirate ships /-->
	<TimeLine value="5">
		<PirateShip type="1" speed="10" posx="20" posy="0" posz="280" angly="180"/>
		<PirateShip type="1" speed="10" posx="0" posy="0" posz="300" angly="180"/>
		<PirateShip type="1" speed="10" posx="40" posy="0" posz="300" angly="180"/>
	</TimeLine>

	<!-- pirate ships /-->
	<TimeLine value="5">
		<PirateShip type="1" speed="10" posx="-20" posy="-2" posz="280" angly="180"/>
		<PirateShip type="1" speed="10" posx="0" posy="-2" posz="300" angly="180"/>
		<PirateShip type="1" speed="10" posx="-40" posy="-2" posz="300" angly="180"/>
	</TimeLine>

	<!--малые корабли пиратов... /-->
	<TimeLine value="5">
		<PirateShip type="1" speed="10" posx="0" posy="-2" posz="280" angly="180"/>
		<PirateShip type="1" speed="10" posx="20" posy="-2" posz="300" angly="180"/>
		<PirateShip type="1" speed="10" posx="-20" posy="-2" posz="300" angly="180"/>
	</TimeLine>

	<!-- pirate ships /-->
	<TimeLine value="5">
		<PirateShip type="1" speed="10" posx="20" posy="-2" posz="280" angly="180"/>
		<PirateShip type="1" speed="10" posx="0" posy="-2" posz="300" angly="180"/>
		<PirateShip type="1" speed="10" posx="40" posy="-2" posz="300" angly="180"/>
	</TimeLine>

	<!-- pirate ships /-->
	<TimeLine value="5">
		<PirateShip type="1" speed="10" posx="-20" posy="-2" posz="280" angly="180"/>
		<PirateShip type="1" speed="10" posx="0" posy="-2" posz="300" angly="180"/>
		<PirateShip type="1" speed="10" posx="-40" posy="-2" posz="300" angly="180"/>
	</TimeLine>

	<!-- pirate ships, zig-zag /-->
	<TimeLine value="5">
		<PirateShip type="1" aimode="123" posx="-15" posy="0" posz="300" angly="180"/>
	</TimeLine>
	<TimeLine value="2">
		<PirateShip type="1" aimode="123" posx="-15" posy="0" posz="300" angly="180"/>
	</TimeLine>
	<TimeLine value="2">
		<PirateShip type="1" aimode="123" posx="-15" posy="0" posz="300" angly="180"/>
	</TimeLine>
	<TimeLine value="2">
		<PirateShip type="1" aimode="123" posx="-15" posy="0" posz="300" angly="180"/>
	</TimeLine>
	<TimeLine value="2">
		<PirateShip type="1" aimode="123" posx="-15" posy="0" posz="300" angly="180"/>
	</TimeLine>
	<TimeLine value="2">
		<PirateShip type="1" aimode="123" posx="-15" posy="0" posz="300" angly="180"/>
	</TimeLine>
	<TimeLine value="2">
		<PirateShip type="1" aimode="123" posx="-15" posy="0" posz="300" angly="180"/>
	</TimeLine>
	<TimeLine value="2">
		<PirateShip type="1" aimode="123" posx="-15" posy="0" posz="300" angly="180"/>
	</TimeLine>
	<TimeLine value="2">
		<PirateShip type="1" aimode="123" posx="-15" posy="0" posz="300" angly="180"/>
	</TimeLine>









<!--Label name="end"/-->


	
	<MissionCompleteAtNoEnemy ships="1" delay="3" />
	
</Action>
</AstroMenaceScript>
