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

<unit>
	<parameters>
		<size value="0"/>
		<height value="1"/>
		<max-hp value="1" regeneration="0"/>
		<max-ep value="0"/>
		<max-unit-count value="1"/>
		<armor value="0"/>	
		<armor-type value="leather"/>				
		<sight value="10"/>
		<time value="1"/>	
		<multi-selection value="false"/>
		<cellmap value="false" allowEmpty="true">
			<row value="0"/>
		</cellmap>
		<levels/>
		<fields>
			<field value="land"/>
		</fields>	
		<properties/>
		<light enabled="false"/>
		<unit-requirements/>
		<upgrade-requirements/>
		<resource-requirements/>
		<resources-stored/>
		<image path="images/bug.bmp"/>
		<image-cancel path="images/tech_cancel.bmp"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="true">
			<sound path="sounds/bug_select.wav"/>
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="sounds/bug_ack.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/trap.g3d"/>
			<sound enabled="false"/>
		</skill>


		<skill>
			<type value="morph"/>
			<name value="morph_skill"/>		
			<ep-cost value="0"/>
			<speed value="500"/>
			<anim-speed value="80"/>
			<animation path="models/trap.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/trap.g3d" />
			<sound enabled="false" />
		</skill>
		
                <skill>
			<type value="attack"/>
			<name value="attack_skill"/>		
			<ep-cost value="0"/>
			<speed value="100"/>
			<anim-speed value="30"/>
			<animation path="models/trap_attack.g3d"/>
			<sound enabled="true" start-time="0.0">
				<sound-file path="sounds/machine_attack2.wav"/>
			</sound> 
			<attack-strenght value="2000"/>
			<attack-var value="0"/>
			<attack-range value="2"/>
			<attack-type value="snap"/>
			<attack-start-time value="0.0"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
			<projectile value="true">
				<particle value="true" path="particle_proj.xml"/>
				<sound enabled="false"/>
			</projectile>
			<splash value="true">
				<radius value="0"/>
				<damage-all value="true"/>
				<particle value="false" path="particle_splash.xml"/>
			</splash>
		</skill>	

		<skill>
			<type value="die"/>
			<name value="die_skill"/>		
			<ep-cost value="0"/>
			<speed value="100"/>
			<anim-speed value="60"/>
			<animation path="models/trap.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/swordman_die1.wav"/>
				<sound-file path="sounds/swordman_die2.wav"/>
			</sound>			
			<fade value="true"/>
		</skill>


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

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

	</commands>
</unit>
