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

<unit>

	<parameters>
		<size value="2"/>
		<height value="2"/>
		<max-hp value="2800" regeneration="3"/>
		<max-ep value="0" regeneration="0"/>
		<armor value="50"/>	
		<armor-type value="organic"/>
		<sight value="10"/>
		<time value="70"/>	
		<multi-selection value="true"/>	
		<cellmap value="false"/>
		<levels>
			<level name="ancient" kills="10"/>
		</levels>
		<fields>
			<field value="land"/>
		</fields>	
		<properties/>
			<light enabled="false"/>
		<unit-requirements>
			<unit name="lake"/>
			<unit name="traper"/>
		</unit-requirements>
		<upgrade-requirements/>
		<resource-requirements>
			<resource name="gold" amount="200"/>
			<resource name="wood" amount="200"/>
			<resource name="food" amount="2"/>				
		</resource-requirements>
		<resources-stored/>
		<image path="images/behemoth.bmp"/>
		<image-cancel path="images/tech_cancel.bmp"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="true">
			<sound path="sounds/behemoth_select1.wav"/>
			<sound path="sounds/behemoth_select2.wav"/>
			<sound path="sounds/behemoth_select3.wav"/>
			<sound path="sounds/behemoth_select4.wav"/>
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="sounds/behemoth_ack1.wav"/>
			<sound path="sounds/behemoth_ack2.wav"/>
			<sound path="sounds/behemoth_ack3.wav"/>
			<sound path="sounds/behemoth_ack4.wav"/>
			<sound path="sounds/behemoth_ack5.wav"/>
			<sound path="sounds/behemoth_ack6.wav"/>
		</command-sounds>

	</parameters>

	<skills>
	
		<skill>
			<type value="stop"/>
			<name value="stop_skill"/>		
			<ep-cost value="0"/>
			<speed value="1000"/>
			<anim-speed value="50"/>
			<animation path="models/bear_stand.g3d"/>
			<sound enabled="false"/>
		</skill>
		
		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="0"/>
			<speed value="180"/>
			<anim-speed value="70"/>
			<animation path="models/bear_walk.g3d"/>
			<sound enabled="true" start-time="0.4">
				<sound-file path="sounds/behemoth_walk1.wav"/>
				<sound-file path="sounds/behemoth_walk2.wav"/>
			</sound>
		</skill>
		
		<skill>
			<type value="move"/>
			<name value="charge_skill"/>		
			<ep-cost value="0"/>
			<speed value="200"/>
			<anim-speed value="80"/>
			<animation path="models/bear_charge.g3d"/>
			<sound enabled="true" start-time="0.4">
				<sound-file path="sounds/behemoth_walk1.wav"/>
				<sound-file path="sounds/behemoth_walk2.wav"/>
			</sound>
		</skill>

		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>		
			<ep-cost value="0"/>
			<speed value="75"/>
			<anim-speed value="75"/>
			<animation path="models/bear_attack.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/behemoth_attack1a.wav"/>
				<sound-file path="sounds/behemoth_attack1b.wav"/>
				<sound-file path="sounds/behemoth_attack1c.wav"/>
				<sound-file path="sounds/behemoth_attack1d.wav"/>
				<sound-file path="sounds/behemoth_attack1e.wav"/>
				<sound-file path="sounds/behemoth_attack1f.wav"/>
				<sound-file path="sounds/behemoth_attack1g.wav"/>
				<sound-file path="sounds/behemoth_attack1h.wav"/>
			</sound> 
			<attack-strenght value="325"/>
			<attack-var value="25"/>
			<attack-range value="1"/>
			<attack-type value="impact"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
			<attack-start-time value="0.3"/>
			<projectile value="false"/>
			<splash value="false"/>
		</skill>
	
		<skill>
			<type value="die"/>
			<name value="die_skill"/>		
			<ep-cost value="0"/>
			<speed value="100"/>
			<anim-speed value="100"/>
			<animation path="models/bear_die.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/behemoth_die1.wav"/>
				<sound-file path="sounds/behemoth_die2.wav"/>
				<sound-file path="sounds/behemoth_die3.wav"/>
				<sound-file path="sounds/behemoth_die4.wav"/>
			</sound>
			<fade value="false"/>
		</skill>

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

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

                <command>
			<type value="attack"/>
			<name value="attack"/>
			<image path="images/behemoth_attack.bmp"/>
			<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="images/tech_hold.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<stop-skill value="stop_skill"/>
			<attack-skill value="attack_skill"/>
		</command>

	</commands>
</unit>
