<unit>
	<parameters>
		<size value="1"/>
		<height value="2"/>
		<max-hp value="600" regeneration="0"/>
		<max-ep value="0"/>
		<armor value="10"/>	
		<armor-type value="leather"/>				
		<sight value="10"/>
		<time value="30"/>	
		<multi-selection value="true"/>	
		<cellmap value="false"/>
		<levels>
			<level name="dangerous" kills="2"/>
		</levels>
		<fields>
			<field value="land"/>
		</fields>	
		<properties/>
		<light enabled="false"/>
		<unit-requirements/>
		<upgrade-requirements/>
		<resource-requirements>
			<resource name="gold" amount="50"/>		
			<resource name="food" amount="1"/>						
		</resource-requirements>
		<resources-stored/>
		<image path="images/militia.png"/>
		<image-cancel path="../archer/images/order_cancel.png"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="true">
			<sound path="$COMMONDATAPATH/sounds/worker_select1.wav"/>
			<sound path="$COMMONDATAPATH/sounds/worker_select2.wav"/>
			<sound path="$COMMONDATAPATH/sounds/worker_select3.wav"/>
			<sound path="$COMMONDATAPATH/sounds/worker_select4.wav"/>
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="$COMMONDATAPATH/sounds/worker_ack1.wav"/>
			<sound path="$COMMONDATAPATH/sounds/worker_ack2.wav"/>
			<sound path="$COMMONDATAPATH/sounds/worker_ack3.wav"/>
			<sound path="$COMMONDATAPATH/sounds/worker_ack4.wav"/>		
			<sound path="$COMMONDATAPATH/sounds/worker_ack5.wav"/>
			<sound path="$COMMONDATAPATH/sounds/worker_ack6.wav"/>
			<sound path="$COMMONDATAPATH/sounds/worker_ack7.wav"/>	
		</command-sounds>
	</parameters>

	<skills>	
		<skill>
			<type value="stop"/>
			<name value="stop_skill"/>		
			<ep-cost value="0"/>
			<speed value="1000"/>
			<anim-speed value="45"/>
			<animation path="models/swordman_standing.g3d"/>
			<sound enabled="false"/>
		</skill>
		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="0"/>
			<speed value="230"/>
			<anim-speed value="95"/>
			<animation path="models/swordman_charging.g3d"/>
			<sound enabled="false"/>
		</skill>
		<skill>
			<type value="move"/>
			<name value="charge_skill"/>		
			<ep-cost value="0"/>
			<speed value="230"/>
			<anim-speed value="130"/>
			<animation path="models/swordman_charging.g3d"/>
			<sound enabled="false"/>
		</skill>
		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>		
			<ep-cost value="0"/>
			<speed value="100"/>
			<anim-speed value="100"/>
			<animation path="models/swordman_attacking.g3d"/>
			<sound enabled="true" start-time="0.47">
				<sound-file path="$COMMONDATAPATH/sounds/swordman_attack1.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/swordman_attack2.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/swordman_attack3.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/swordman_attack4.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/swordman_attack5.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/swordman_attack6.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/swordman_attack7.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/swordman_attack8.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/swordman_attack9.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/swordman_attack10.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/swordman_attack11.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/swordman_attack12.wav"/>
			</sound> 
			<attack-strenght value="60"/>
			<attack-var value="20"/>
			<attack-range value="1"/>
			<attack-type value="slashing"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
			<attack-start-time value="0"/>
			<projectile value="false"/>
			<splash value="false"/>
		</skill>
		<skill>
			<type value="morph"/>
			<name value="morph_skill"/>		
			<ep-cost value="0"/>
			<speed value="1000"/>
			<anim-speed value="80"/>
			<animation path="models/swordman_standing.g3d"/>
			<sound enabled="false"/>
		</skill>	
		<skill>
			<type value="die"/>
			<name value="die_skill"/>		
			<ep-cost value="0"/>
			<speed value="60"/>
			<anim-speed value="60"/>
			<animation path="models/swordman_dying.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="$COMMONDATAPATH/sounds/worker_die1.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/worker_die2.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/worker_die3.wav"/>				
			</sound>			
			<fade value="false"/>
		</skill>
	</skills>
	
	<commands>		
		<command>
			<type value="stop"/>
			<name value="stop"/>
			<image path="../archer/images/order_halt.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<stop-skill value="stop_skill"/>
		</command>
		<command>
			<type value="move"/>
			<name value="move"/>
			<image path="../archer/images/order_move.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
		</command>
		<command>
			<type value="attack"/>
			<name value="attack"/>
			<image path="images/militia_attack.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="charge_skill"/>
			<attack-skill value="attack_skill"/>
		</command>		
		<command>
			<type value="attack_stopped"/>
			<name value="hold_position"/>
			<image path="../spearman/images/round_shield.png"/>
			<unit-requirements/>
			<upgrade-requirements>
				<upgrade name="training_field"/>
			</upgrade-requirements>
			<stop-skill value="stop_skill"/>
			<attack-skill value="attack_skill"/>
		</command>
		<!--command>
			<type value="morph"/>
			<name value="disarm_and_return"/>
			<image path="../yeoman/images/yeoman.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<morph-skill value="morph_skill"/>
			<morph-unit name="yeoman"/>
			<discount value="0"/>
			<ignore-resource-requirements value="true"/>			
		</command-->
		<!--command>
			<type value="morph"/>
			<name value="conscript_to_swordsman"/>
			<image path="../swordsman/images/swordsman.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<morph-skill value="morph_skill"/>
			<morph-unit name="swordsman"/>
			<discount value="40"/>		
		</command-->			
	</commands>
</unit>
