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

<unit>
	<parameters>
		<size value="3"/>
		<height value="3"/>
		<max-hp value="3000" regeneration="1"/>
		<max-ep value="0"/>
		<max-unit-count value="6"/>
		<armor value="80"/>	
		<armor-type value="metal"/>				
		<sight value="20"/>
		<time value="160"/>	
		<multi-selection value="true"/>	
		<cellmap value="false"/>
		<levels/>
		<fields>
			<field value="land"/>
		</fields>	
		<properties>
			<property value="rotated_climb"/>
		</properties>
		<light enabled="false"/>
		<unit-requirements/>
		<upgrade-requirements/>
		<resource-requirements>
			<resource name="gold" amount="350" />
			<resource name="wood" amount="350" />
			<resource name="oil" amount="30" />
		</resource-requirements>
		<resources-stored/>
		<image path="images/swordman.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="45"/>
			<animation path="models/mtvr_idle.g3d"/>
			<sound enabled="false"/>
		</skill>

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

		<skill>
			<type value="produce" />
			<name value="produce_skill"/>		
			<ep-cost value="0" />
			<speed value="300" />
			<anim-speed value="300" />
			<animation path="models/mtvr_idle.g3d" />
			<sound enabled="false" />
		</skill>	

		<skill>
			<type value="die"/>
			<name value="die_skill"/>		
			<ep-cost value="0"/>
			<speed value="80"/>
			<anim-speed value="80"/>
			<animation path="models/mtvr_die.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="$COMMONDATAPATH/sounds/explode.wav"/>
			</sound>
			<particles value="true" start-time="0.001" end-time="0.3">
				<particle-file path="../oil_well/fire_particles1.xml"/>
				<particle-file path="../oil_well/fire_particles2.xml"/>
				<particle-file path="../oil_well/fire_particles3.xml"/>
				<particle-file path="../oil_well/fire_particles4.xml"/>
				<particle-file path="../oil_well/fire_particles5.xml"/>
				<particle-file path="../oil_well/fire_particles6.xml"/>
				<particle-file path="../oil_well/fire_particles7.xml"/>
				<particle-file path="../oil_well/fire_particles8.xml"/>
			</particles>		
			<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="produce"/>
			<name value="produce_machine_gun_solder" />
			<image path="../machine_gun_solder/images/swordman.bmp" />
			<unit-requirements />
			<upgrade-requirements />
			<produce-skill value="produce_skill"/>
			<produced-unit name="machine_gun_solder"/>
		</command>

		<command>
			<type value="produce"/>
			<name value="produce_flame_thrower" />
			<image path="../flame_thrower/images/swordman.bmp" />
			<unit-requirements />
			<upgrade-requirements />
			<produce-skill value="produce_skill"/>
			<produced-unit name="flame_thrower"/>
		</command>

		<command>
			<type value="produce"/>
			<name value="produce_howitzer" />
			<image path="../howitzer/images/swordman.bmp" />
			<unit-requirements />
			<upgrade-requirements />
			<produce-skill value="produce_skill"/>
			<produced-unit name="howitzer"/>
		</command>

		<command>
			<type value="produce"/>
			<name value="produce_recruit" />
			<image path="../recruit/images/worker.bmp" />
			<unit-requirements />
			<upgrade-requirements />
			<produce-skill value="produce_skill"/>
			<produced-unit name="recruit"/>
		</command>

	</commands>
</unit>
