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

<unit>
	<parameters>
		<size value="2"/>
		<height value="8"/>
		<max-hp value="14000" regeneration="0"/>
		<max-ep value="0"/>
		<armor value="100"/>	
		<armor-type value="wood"/>				
		<sight value="15"/>
		<time value="50"/>	
		<multi-selection value="false"/>	
		<cellmap value="false"/>
		<levels/>
		<fields>
			<field value="land"/>
		</fields>	
		<properties>
			<property value="burnable"/>
		</properties>
		<light enabled="false"/>
		<unit-requirements>
			<unit name="headquarters"/>
		</unit-requirements>
		<upgrade-requirements>
			<upgrade name="defence_lvl4"/>
		</upgrade-requirements>
		<resource-requirements>
			<resource name="gold" amount="150"/>	
			<resource name="wood" amount="100"/>	
			<resource name="oil" amount="12"/>	
		</resource-requirements>
		<resources-stored/>
		<image path="images/swordman.bmp"/>
		<image-cancel path="../headquarters/images/tech_cancel.bmp"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="false"/>
		<command-sounds enabled="false"/>
	</parameters>

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

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

		<skill>
			<type value="morph"/>
			<name value="morph_skill"/>		
			<ep-cost value="0"/>
			<speed value="500"/>
			<anim-speed value="200"/>
			<animation path="models/outpost_4.g3d"/>
			<sound enabled="false" />
		</skill>

		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>		
			<ep-cost value="0"/>
			<speed value="300"/>
			<anim-speed value="300"/>
			<animation path="models/outpost_4.g3d"/>
			<sound enabled="true" start-time="0.47">
				<sound-file path="$COMMONDATAPATH/sounds/shot1.wav"/>
			</sound> 
			<attack-strenght value="175"/>
			<attack-var value="25"/>
			<attack-range value="14"/>
			<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="60"/>
			<anim-speed value="60"/>
			<animation path="../outpost_i/models/brake3.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="$COMMONDATAPATH/sounds/swordman_die1.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/swordman_die2.wav"/>
			</sound>	
			<particles value="true">
				<particle-file path="../outpost_i/smoke_particles.xml"/>
				<particle-file path="../outpost_i/glow_particles.xml"/>
			</particles>			
			<fade value="false"/>
		</skill>


	</skills>
	
	<commands>

		<command>
			<type value="stop"/>
			<name value="attack_off"/>
			<image path="images/defense_tower_attack_off.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<stop-skill value="stop_skill"/>
		</command>

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

	</commands>
</unit>
