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

<unit>
	<parameters>
		<size value="2"/>
		<height value="4"/>
		<max-hp value="1000" regeneration="3"/>
		<max-ep value="0"/>
		<armor value="50"/>
		<armor-type value="leather"/>					
		<sight value="10"/>
		<time value="70"/>	
		<multi-selection value="true"/>	
		<cellmap value="false"/>
		<levels/>
		<fields>
			<field value="land"/>
		</fields>	
		<properties>
			<property value="rotated_climb"/>
		</properties>
		<light enabled="false"/>
		<unit-requirements>
			<unit name="hunting_tent"/>
			<unit name="bonfire"/>
		</unit-requirements>
		<upgrade-requirements>
			<upgrade name="giants"/>
		</upgrade-requirements>
		<resource-requirements>
			<resource name="gold" amount="125"/>
			<resource name="stone" amount="125"/>
			<resource name="food" amount="1"/>
		</resource-requirements>
		<resources-stored/>
		<image path="images/catapult.bmp"/>
		<image-cancel path="../axe_thrower/images/tech_cancel.bmp"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="true">
			<sound path="../axe_thrower/sounds/select1.wav"/>
			<sound path="../axe_thrower/sounds/select1b.wav"/>
			<sound path="../axe_thrower/sounds/select2.wav"/>
			<sound path="../axe_thrower/sounds/select3.wav"/>
			<sound path="../axe_thrower/sounds/select4.wav"/>
			<sound path="../axe_thrower/sounds/select5.wav"/>
			<sound path="../axe_thrower/sounds/select5b.wav"/>
			<sound path="../axe_thrower/sounds/select6.wav"/>
			<sound path="../axe_thrower/sounds/select7.wav"/>				
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="../axe_thrower/sounds/ack1.wav"/>
			<sound path="../axe_thrower/sounds/ack1b.wav"/>
			<sound path="../axe_thrower/sounds/ack3.wav"/>
			<sound path="../axe_thrower/sounds/ack3b.wav"/>
			<sound path="../axe_thrower/sounds/ack4.wav"/>
			<sound path="../axe_thrower/sounds/ack4b.wav"/>
			<sound path="../axe_thrower/sounds/ack5.wav"/>
			<sound path="../axe_thrower/sounds/ack6.wav"/>
			<sound path="../axe_thrower/sounds/ack7.wav"/>						
		</command-sounds>

	</parameters>

	<skills>
	
		<skill>
			<type value="stop"/>
			<name value="stop_skill"/>		
			<ep-cost value="0"/>
			<speed value="1000"/>
			<anim-speed value="40"/>
			<animation path="models/big_sit.g3d"/>
			<sound enabled="false"/>
		</skill>
		
		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="0"/>
			<speed value="250"/>
			<anim-speed value="150"/>
			<animation path="models/big_walk.g3d"/>
			<sound enabled="true" start-time="0.1">
				<sound-file path="../battleaxe_man/sounds/walk1.wav"/>
				<sound-file path="../battleaxe_man/sounds/walk2.wav"/>
			</sound> 
		</skill>

		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>		
			<ep-cost value="0"/>
			<speed value="70"/>
			<anim-speed value="70"/>
			<animation path="models/big_attack.g3d"/>
			<sound enabled="true" start-time="0.1">
				<sound-file path="../axe_thrower/sounds/throw2.wav"/>
				<sound-file path="../axe_thrower/sounds/throw3.wav"/>
			</sound> 
			<attack-strenght value="380"/>
			<attack-var value="150"/>
			<attack-range value="8"/>
			<attack-type value="impact"/>
			<attack-start-time value="0.7"/>
			<attack-fields>
				<field value="land"/>
				<field value="air"/>
			</attack-fields>
			<projectile value="true">
				<particle value="true" path="particle_proj.xml"/>
				<sound enabled="true">
				<sound-file path="../large_raven/sounds/rock1.wav"/>
				<sound-file path="../large_raven/sounds/rock2.wav"/>
				</sound>
			</projectile>
			<splash value="true">
				<radius value="0"/>
				<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="120"/>
			<anim-speed value="120"/>
			<animation path="models/big_die.g3d"/>
			<sound enabled="true" start-time="0.1">
				<sound-file path="../axe_thrower/sounds/die1.wav"/>
				<sound-file path="../axe_thrower/sounds/die2.wav"/>
			</sound> 			
			<fade value="false"/>
		</skill>

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

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

		<command>
			<type value="move"/>
			<name value="move"/>
			<image path="../axe_thrower/images/tech_move.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
		</command>

		<command>
			<type value="attack"/>
			<name value="fire_ball"/>
			<image path="images/catapult_attack.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<attack-skill value="attack_skill"/>
		</command>

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

	</commands>
</unit>
