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

<unit>
	<parameters>
		<size value="3"/>
		<height value="2"/>
		<max-hp value="5500" regeneration="1"/>
		<max-ep value="1000" regeneration="4"/>
		<max-unit-count value="6"/>
		<armor value="60"/>	
		<armor-type value="leather"/>
		<sight value="20"/>
		<time value="150"/>	
		<multi-selection value="true"/>	
		<cellmap value="false"/>
		<levels>
			<level name="elite" kills="20"/>
		</levels>
		<fields>
			<field value="land"/>
		</fields>	
		<properties>
			<property value="rotated_climb"/>
		</properties>
		<damage-particles value="true">
			<particle-file path="smoke_particles.xml"/>
		</damage-particles>
		<light enabled="false"/>
		<unit-requirements>
			<unit name="headquarters"/>
		</unit-requirements>
		<upgrade-requirements>
		</upgrade-requirements>			
		<resource-requirements>
			<resource name="wood" amount="250"/>
			<resource name="gold" amount="300"/>
			<resource name="oil" amount="20"/>
		</resource-requirements>
		<resources-stored/>
		<image path="images/airship.bmp"/>
		<image-cancel path="../headquarters/images/tech_cancel.bmp"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="true">
			<sound path="$COMMONDATAPATH/sounds/swordman_select1.wav"/>
			<sound path="$COMMONDATAPATH/sounds/swordman_select2.wav"/>
			<sound path="$COMMONDATAPATH/sounds/swordman_select3.wav"/>
			<sound path="$COMMONDATAPATH/sounds/swordman_select4.wav"/>
			<sound path="$COMMONDATAPATH/sounds/swordman_select5.wav"/>
			<sound path="$COMMONDATAPATH/sounds/swordman_select6.wav"/>
			<sound path="$COMMONDATAPATH/sounds/swordman_select7.wav"/>
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="$COMMONDATAPATH/sounds/swordman_ack1.wav"/>
			<sound path="$COMMONDATAPATH/sounds/swordman_ack2.wav"/>
			<sound path="$COMMONDATAPATH/sounds/swordman_ack3.wav"/>
			<sound path="$COMMONDATAPATH/sounds/swordman_ack4.wav"/>
			<sound path="$COMMONDATAPATH/sounds/swordman_ack5.wav"/>
			<sound path="$COMMONDATAPATH/sounds/swordman_ack6.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/lav_iii_idle1.g3d"/>
			<animation path="models/lav_iii_idle1.g3d"/>
			<animation path="models/lav_iii_idle1.g3d"/>
			<animation path="models/lav_iii_idle1.g3d"/>
			<animation path="models/lav_iii_idle2.g3d"/>
			<animation path="models/lav_iii_idle3.g3d"/>
			<sound enabled="false"/>
		</skill>
		
		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="0"/>
			<speed value="350"/>
			<anim-speed value="190"/>
			<animation path="models/lav_iii_move.g3d"/>
			<particles value="true">
				<particle-file path="../jeep/dirt_particles.xml"/>
				<particle-file path="../jeep/dirt_particles2.xml"/>
			</particles>
			<sound enabled="true" start-time="0">
				<sound-file path="$COMMONDATAPATH/sounds/airship_fly.wav"/>
			</sound> 
		</skill>

		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>		
			<ep-cost value="0"/>
			<speed value="300"/>
			<anim-speed value="300"/>
			<animation path="models/lav_iii_attack.g3d"/>
			<sound enabled="true" start-time="0.47">
				<sound-file path="$COMMONDATAPATH/sounds/chaingun.ogg"/>
			</sound> 
			<particles value="true" start-time="0.4" end-time="0.5">
				<particle-file path="flash.xml"/>
			</particles>
			<attack-strenght value="200"/>
			<attack-var value="50"/>
			<attack-range value="12"/>
			<attack-type value="piercing"/>
			<attack-start-time value="0.4"/>
			<attack-fields>
				<field value="land"/>
				<field value="air"/>
			</attack-fields>
			<projectile value="true">
				<particle value="true" path="particle_proj.xml"/>
				<sound enabled="false"/>
			</projectile>
			<splash value="false"/>
		</skill>	

		<skill>
			<type value="attack"/>
			<name value="army_skill"/>		
			<ep-cost value="1000"/>
			<speed value="300"/>
			<anim-speed value="300"/>
			<animation path="models/lav_iii_attack.g3d"/>
			<sound enabled="true" start-time="0.47">
				<sound-file path="$COMMONDATAPATH/sounds/chaingun.ogg"/>
			</sound> 
			<particles value="true" start-time="0.4" end-time="0.5">
				<particle-file path="flash.xml"/>
			</particles>
			<unit value="machine_gun_solder_" amount="4" />
			<attack-strenght value="200"/>
			<attack-var value="50"/>
			<attack-range value="12"/>
			<attack-type value="piercing"/>
			<attack-start-time value="0.4"/>
			<attack-fields>
				<field value="land"/>
				<field value="air"/>
			</attack-fields>
			<projectile value="true">
				<particle value="true" path="particle_proj.xml"/>
				<sound enabled="false"/>
			</projectile>
			<splash value="false"/>
		</skill>	

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

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

                <command>
			<type value="attack"/>
			<name value="send_out_army"/>
			<image path="images/airship_attack2.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<attack-skill value="army_skill"/>
		</command>

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

	</commands>
</unit>
