<?xml version="1.0" standalone="no"?>

<unit>

	<!-- *** parameters *** -->

	<parameters>
		<size value="1"/>
		<height value="3"/>
		<max-hp value="700" regeneration="0"/>
		<max-ep value="0"/>
		<armor value="9"/>	
		<armor-type value="metal"/>				
		<sight value="10"/>
		<time value="30"/>	
		<multi-selection value="true"/>	
		<cellmap value="false"/>
		<levels>
		</levels>
		<fields>
			<field value="air"/>
		</fields>	
		<properties>
		</properties>
		<light enabled="false"/>
		<unit-requirements>
		</unit-requirements>
		<upgrade-requirements/>
		<resource-requirements>
			<resource name="metal" amount="30"/>
			<resource name="gold" amount="40"/>
		</resource-requirements>
		<resources-stored/>
		<image path="images/ufo.bmp"/>
		<image-cancel path="../lasership/images/alien_cancel.bmp"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="true">
			<sound path="sounds/archer_select1.wav"/>
			<sound path="sounds/archer_select2.wav"/>
			<sound path="sounds/archer_select3.wav"/>
			<sound path="sounds/archer_select4.wav"/>
			<sound path="sounds/archer_select5.wav"/>
			<sound path="sounds/archer_select6.wav"/>
			<sound path="sounds/archer_select7.wav"/>

		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="sounds/archer_ack1.wav"/>
			<sound path="sounds/archer_ack2.wav"/>
			<sound path="sounds/archer_ack3.wav"/>
			<sound path="sounds/archer_ack4.wav"/>
			<sound path="sounds/archer_ack5.wav"/>
			<sound path="sounds/archer_ack6.wav"/>
			<sound path="sounds/archer_ack7.wav"/>
		</command-sounds>
	</parameters>


	<!-- *** skills *** -->

	<skills>
	
		<skill>
			<type value="stop"/>
			<name value="stop_skill"/>		
			<ep-cost value="0"/>
			<speed value="1000"/>
			<anim-speed value="0"/>
			<animation path="models/ufo.g3d"/>
			<sound enabled="false"/>
		</skill>
		
		<skill>
			<type value="stop"/>
			<name value="stop_loaded_skill"/>		
			<ep-cost value="0"/>
			<speed value="70"/>
			<anim-speed value="0"/>
			<animation path="models/ufo-rescources.g3d"/>
			<sound enabled="false"/>
		</skill>

		<skill>
			<type value="move"/>
			<name value="move_loaded_skill_metal"/>		
			<ep-cost value="0"/>
			<speed value="230"/>
			<anim-speed value="0"/>
			<animation path="models/metal/ufo-rescources.g3d"/>
			<sound enabled="false"/>
		</skill>

		<skill>
			<type value="stop"/>
			<name value="stop_loaded_skill_metal"/>		
			<ep-cost value="0"/>
			<speed value="70"/>
			<anim-speed value="0"/>
			<animation path="models/metal/ufo-rescources.g3d"/>
			<sound enabled="false"/>
		</skill>

		<skill>
			<type value="harvest"/>
			<name value="harvest_skill"/>		
			<ep-cost value="0"/>
			<speed value="200"/>
			<anim-speed value="0"/>
			<animation path="models/ufo.g3d"/>
			<particles value="true">
				<particle-file path="particle/get_particles.xml"/>
			</particles>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/initiate_harvest1.wav"/>
				<sound-file path="sounds/initiate_harvest2.wav"/>
				<sound-file path="sounds/initiate_harvest3.wav"/>
				<sound-file path="sounds/initiate_harvest4.wav"/>
			</sound>
		</skill>

		<skill>
			<type value="move"/>
			<name value="move_loaded_skill"/>		
			<ep-cost value="0"/>
			<speed value="230"/>
			<anim-speed value="0"/>
			<animation path="models/ufo-rescources.g3d"/>
			<sound enabled="false"/>
		</skill>

		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="0"/>
			<speed value="230"/>
			<anim-speed value="75"/>
			<animation path="models/ufo.g3d"/>
			<sound enabled="false"/>
		</skill>

		<skill>
			<type value="build"/>
			<name value="build_skill"/>		
			<ep-cost value="0"/>
			<speed value="150"/>
			<anim-speed value="80"/>
			<animation path="models/ufo.g3d"/>
			<particles value="true">
				<particle-file path="particle/built.xml"/>
			</particles>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/initiate_build1.wav"/>
				<sound-file path="sounds/initiate_build2.wav"/>
				<sound-file path="sounds/initiate_build3.wav"/>
			</sound>
		</skill>

		<skill>
			<type value="repair"/>
			<name value="repair_skill"/>		
			<ep-cost value="0"/>
			<speed value="50"/>
			<anim-speed value="150"/>
			<animation path="models/ufo.g3d"/>
			<particles value="true">
				<particle-file path="particle/repair.xml"/>
			</particles>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/initiate_build1.wav"/>
				<sound-file path="sounds/initiate_build2.wav"/>
				<sound-file path="sounds/initiate_build3.wav"/>
			</sound>
		</skill>

		<skill>
			<type value="die"/>
			<name value="die_skill"/>		
			<ep-cost value="0"/>
			<speed value="60"/>
			<anim-speed value="60"/>
			<animation path="models/ufo.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/archer_die5.wav"/>
				<sound-file path="sounds/archer_die1.wav"/>
				<sound-file path="sounds/archer_die2.wav"/>
				<sound-file path="sounds/archer_die3.wav"/>
				<sound-file path="sounds/archer_die4.wav"/>
			</sound>			
			<fade value="true"/>
		</skill>


	</skills>

	<!-- *** commands *** -->
	
	<commands>
		
		<command>
			<type value= "stop"/>
			<name value="stop"/>
			<image path="../lasership/images/alien_stop.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<stop-skill value="stop_skill"/>
		</command>

		<command>
			<type value="move"/>
			<name value="move"/>
			<image path="../lasership/images/alien_move.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
		</command>

		<command>
			<type value="repair"/>
			<name value="repair"/>
			<image path="images/repair.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<repair-skill value="repair_skill"/>
			<repaired-units>
				<unit name="upgrade_center"/>
				<unit name="ship_factory"/>
				<unit name="laser_tower"/>
				<unit name="rocket_turret"/>
				<unit name="space_station"/>
			</repaired-units>		
		</command>

		<command>
			<type value="build"/>
			<name value="build"/>
			<image path="images/build.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<build-skill value="build_skill"/>
			<buildings>
				<building name="ship_factory"/>
				<building name="upgrade_center"/>
				<building name="laser_tower"/>
				<building name="rocket_turret"/>
				<building name="space_station"/>
			</buildings>
			<start-sound enabled="false">
				<sound-file path="sounds/initiate_work_start1.wav"/>
				<sound-file path="sounds/initiate_work_start2.wav"/>
			</start-sound>

			<built-sound enabled="false">
				<sound-file path="sounds/initiate_work_end1.wav"/>
				<sound-file path="sounds/initiate_work_end2.wav"/>						
			</built-sound>	

		</command>
		<command>
			<type value="harvest"/>
			<name value="get_resources"/>
			<image path="images/gold_get.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<harvest-skill value="harvest_skill"/>
			<stop-loaded-skill value="stop_loaded_skill"/>
			<move-loaded-skill value="move_loaded_skill"/>
			<harvested-resources>
				<resource name="gold"/>	
			</harvested-resources>
			<max-load value="20"/>
			<hits-per-unit value="1"/>				
		</command>

		<command>
			<type value="harvest"/>
			<name value="get_resources"/>
			<image path="images/metal_get.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<harvest-skill value="harvest_skill"/>
			<stop-loaded-skill value="stop_loaded_skill_metal"/>
			<move-loaded-skill value="move_loaded_skill_metal"/>
			<harvested-resources>
				<resource name="metal"/>	
			</harvested-resources>
			<max-load value="20"/>
			<hits-per-unit value="1"/>				
		</command>

	</commands>
</unit>
