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

<unit>
	<parameters>
		<size value="3"/>
		<height value="1"/>
		<max-hp value="2200" regeneration="2"/>
		<max-ep value="0"/>
		<armor value="20"/>	
		<armor-type value="leather"/>
		<sight value="15"/>
		<time value="220"/>	
		<multi-selection value="true"/>	
		<cellmap value="false"/>
		<levels>
			<level name="elite" kills="12"/>
		</levels>
		<fields>
			<field value="air"/>
		</fields>	
		<properties/>
		<damage-particles value="true">
			<particle-file path="smoke_particles.xml"/>
		</damage-particles>

		<light enabled="false"/>
		<unit-requirements>
			<unit name="blacksmith"/>
			<unit name="technodrome"/>
		</unit-requirements>
		<upgrade-requirements>
			<upgrade name="robotics"/>
		</upgrade-requirements>
		<resource-requirements>
			<resource name="gold" amount="300"/>
			<resource name="wood" amount="250"/>	
			<resource name="food" amount="1"/>				
		</resource-requirements>
		<resources-stored/>
		<image path="images/airship.bmp"/>
		<image-cancel path="../archer/images/tech_cancel.bmp"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="true">
			<sound path="../technician/sounds/technician_select1.wav"/>
			<sound path="../technician/sounds/technician_select2.wav"/>
			<sound path="../technician/sounds/technician_select3.wav"/>
			<sound path="../technician/sounds/technician_select4.wav"/>
			<sound path="../technician/sounds/technician_select5.wav"/>
			<sound path="../technician/sounds/technician_select6.wav"/>
			<sound path="../technician/sounds/technician_select7.wav"/>
			<sound path="../technician/sounds/technician_select8.wav"/>
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="../technician/sounds/technician_ack1.wav"/>
			<sound path="../technician/sounds/technician_ack2.wav"/>
			<sound path="../technician/sounds/technician_ack3.wav"/>
			<sound path="../technician/sounds/technician_ack4.wav"/>		
			<sound path="../technician/sounds/technician_ack5.wav"/>
			<sound path="../technician/sounds/technician_ack6.wav"/>
			<sound path="../technician/sounds/technician_ack7.wav"/>
			<sound path="../technician/sounds/technician_ack8.wav"/>
			<sound path="../technician/sounds/technician_ack9.wav"/>
			<sound path="../technician/sounds/technician_ack10.wav"/>
			<sound path="../technician/sounds/technician_ack11.wav"/>		
			<sound path="../technician/sounds/technician_ack12.wav"/>
			<sound path="../technician/sounds/technician_ack13.wav"/>
			<sound path="../technician/sounds/technician_ack14.wav"/>
			<sound path="../technician/sounds/technician_ack15.wav"/>
			<sound path="../technician/sounds/technician_ack16.wav"/>		
			<sound path="../technician/sounds/technician_ack17.wav"/>
			<sound path="../technician/sounds/technician_ack18.wav"/>
			<sound path="../technician/sounds/technician_ack19.wav"/>		
		</command-sounds>

	</parameters>


	<skills>
	
		<skill>
			<type value="stop"/>
			<name value="stop_skill"/>		
			<ep-cost value="0"/>
			<speed value="1000"/>
			<anim-speed value="20"/>
			<animation path="models/airship_standing.g3d"/>
			<sound enabled="false"/>
		</skill>
		
		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="0"/>
			<speed value="120"/>
			<anim-speed value="80"/>
			<animation path="models/airship_walking.g3d"/>
			<particles value="true">
				<particle-file path="motor_particles.xml"/>
				<particle-file path="motor_particles2.xml"/>
			</particles>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/airship_fly.wav"/>
			</sound> 
		</skill>
                
		<skill>
			<type value="attack"/>
			<name value="arrow_skill"/>		
			<ep-cost value="0"/>
			<speed value="70"/>
			<anim-speed value="70"/>
			<animation path="models/airship_attacking.g3d"/>
			<sound enabled="true" start-time="0.1">
				<sound-file path="sounds/airship_attack1.wav"/>
			</sound>
			<attack-strenght value="300"/>
			<attack-var value="150"/>
			<attack-range value="8"/>
			<attack-type value="energy"/>
			<attack-start-time value="0.2"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
			<projectile value="true">
				<particle value="true" path="particle_proj.xml"/>
				<sound enabled="true">
					<sound-file path="sounds/airship_hit.wav"/>
				</sound>
			</projectile>
			<splash value="true">
				<radius value="1"/>
				<damage-all value="true"/>
				<particle value="true" path="particle_splash.xml"/>
			</splash>
		</skill>	

		<skill>
			<type value="die"/>
			<name value="die_skill"/>		
			<ep-cost value="0"/>
			<speed value="50"/>
			<anim-speed value="50"/>
			<animation path="models/airship_dying.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/airship_die1.wav"/>
				<sound-file path="sounds/airship_die2.wav"/>
				<sound-file path="sounds/airship_die3.wav"/>
			</sound>
                        <fade value="false"/>
		</skill>

	</skills>
	
	<commands>
		
                <command>
			<type value="stop"/>
			<name value="stop"/>
			<image path="../archer/images/tech_stop.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<stop-skill value="stop_skill"/>
		</command>
                
		<command>
			<type value="move"/>
			<name value="move"/>
			<image path="../archer/images/tech_move.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
		</command>

        
                <command>
			<type value="attack"/>
			<name value="missile"/>
			<image path="images/airship_attack.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<attack-skill value="arrow_skill"/>
		</command>
              

                <command>
			<type value="attack_stopped"/>
			<name value="hold_position"/>
			<image path="../archer/images/tech_hold.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<stop-skill value="stop_skill"/>
			<attack-skill value="arrow_skill"/>
		</command>

	</commands>
</unit>
