<?xml version="1.0" standalone="no" ?>
<unit>
	<parameters>
		<size value="2" />
		<height value="2" />
		<max-hp value="2000" regeneration="0"/>
		<max-ep value="0"/>
		<armor value="20" />
		<armor-type value="leather"/>				
		<sight value="12" />
		<time value="250" />
		<multi-selection value="false" />
		<cellmap value="false"/>
		<levels/>
		<fields>
			<field value="land" />
		</fields>
		<properties/>
		<light enabled="false"/>
		<unit-requirements/>
		<upgrade-requirements />
		<resource-requirements/>
		<resources-stored/>
		<image path="images/machine_gun_turret.bmp" />
		<image-cancel path="../gunner/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="75" />
			<anim-speed value="75" />
			<animation path="models/machine_gun_turret_stop.g3d" />
			<sound enabled="false" />
		</skill>
      
		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="0"/>
			<speed value="100"/>
			<anim-speed value="100"/>
			<animation path="models/machine_gun_turret_stop.g3d"/>
			<sound enabled="false"/>
		</skill>
      
		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>		
			<ep-cost value="0"/>
			<speed value="400"/>
			<anim-speed value="400"/>
			<animation path="models/machine_gun_turret_attack.g3d"/>
			<sound enabled="true" start-time="0.1">
            <sound-file path="../solder/sound/attacks/machinegun1.wav" />
			</sound>
			<attack-strenght value="150"/>
			<attack-var value="50"/>
			<attack-range value="10"/>
			<attack-type value="shells"/>
			<attack-fields>
				<field value="land"/>
            <field value="air"/>
			</attack-fields>
			<attack-start-time value="0.1"/>
			<projectile value="true">
				<particle value="true" path="particle_proj.xml"/>
				<sound enabled="true">
               <sound-file path="../solder/sound/attacks/bullethit.wav" />
				</sound>
			</projectile>
			<splash value="false">
				<radius value="2"/>
				<damage-all value="true"/>
				<particle value="false"/>
			</splash>
		</skill>
		
		<skill>
			<type value="die" />
			<name value="die_skill"/>		
			<ep-cost value="0" />
			<speed value="75" />
			<anim-speed value="75" />
			<animation path="models/machine_gun_turret_die.g3d" />
			<sound enabled="false"/>				
			<fade value="false"/>
		</skill>

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

	</commands>
</unit>
