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

<unit>

	<!-- *** parameters *** -->

	<parameters>
		<count-in-victory-conditions value="false"/>
		<size value="2"/>
		<height value="2"/>
		<max-hp value="800" regeneration="0"/>
		<max-ep value="0"/>
		<armor value="10"/>	
		<armor-type value="defense"/>				
		<sight value="10"/>
		<time value="80"/>	
		<multi-selection value="false"/>	
		<cellmap value="false"/>
		<levels>
		</levels>
		<fields>
			<field value="land"/>
		</fields>	
		<properties>
			<property value="burnable"/>
		</properties>
		<light enabled="false"/>
		<unit-requirements>
		</unit-requirements>
		<upgrade-requirements>
		</upgrade-requirements>
		<resource-requirements>
			<resource name="credit" amount="20"/>
			<resource name="unit" amount="1"/>
			<resource name="supplies" amount="10"/>				
		</resource-requirements>
		<resources-stored/>
		<image path="../../../../../base_battle/icons/icons/gunturret.bmp"/>
		<image-cancel path="../../../../../base_battle/icons/icons/cancel.bmp"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="true">
			<sound path="../../../../../base_battle/sound/building_select_1.wav"/>
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="../../../../../base_battle/sound/building_select_1.wav"/>
		</command-sounds>
	</parameters>


	<!-- *** skills *** -->

	<skills>
	
		<skill>
			<type value="stop"/>
			<name value="stop_skill"/>		
			<ep-cost value="0"/>
			<speed value="500"/>
			<anim-speed value="3"/>
			<animation path="../../../../../base_battle/models/structure/emlturret/gunturretstand.g3d"/>
			<sound enabled="false"/>
		</skill>

		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="0"/>
			<speed value="500"/>
			<anim-speed value="3"/>
			<animation path="../../../../../base_battle/models/structure/emlturret/gunturretstand.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="../../../../../base_battle/models/structure/emlturret/emlturretbuilt.g3d" />    <particles value="true">
         <particle-file path="../../../../particles/built_smoke_2.xml"/>
	<particle-file path="../../../../particles/built_spark_2.xml"/>
			</particles>
			<sound enabled="false" />
		</skill>
	
		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>		
			<ep-cost value="0"/>
			<speed value="170"/>
			<anim-speed value="170"/>
			<animation path="../../../../../base_battle/models/structure/emlturret/gunturretshoot.g3d"/>
			<particles value="true">
				<particle-file path="../../../../particles/gunturret_mflash.xml"/>
			</particles>
			<sound enabled="true" start-time="0.01">
				<sound-file path="../../../../../base_battle/sound/hmg.wav"/>

			</sound>
			<attack-strenght value="25"/>
			<attack-var value="8"/>
			<attack-range value="9"/>
			<attack-type value="bullet"/>
			<attack-start-time value="0.3"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
			<projectile value="false"/>
			<splash value="true">
				<radius value="0"/>
				<damage-all value="true"/>
				<particle value="true" path="../../../../particles/mgun_hit.xml"/>

			</splash>
		</skill>


		
		<skill>
			<type value="die"/>
			<name value="die_skill"/>		
			<ep-cost value="0"/>
			<speed value="60"/>
			<anim-speed value="100"/>
			<animation path="../../../../../base_battle/models/structure/emlturret/gunturretdie.g3d"/>    <particles value="true">
         <particle-file path="../../../../particles/damage_smoke.xml"/>
			</particles>
			<sound enabled="true" start-time="0">
				<sound-file path="../../../../../base_battle/sound/building_destroy.wav"/>
			</sound>			
			<fade value="false"/>
		</skill>


	</skills>

	<!-- *** commands *** -->
	
	<commands>
		
		<command>
			<type value= "stop"/>
			<name value="stop"/>
			<image path="../../../../../base_battle/icons/icons/stop.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<stop-skill value="stop_skill"/>
		</command>


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



		
	</commands>
</unit>