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

<unit>
	<parameters>
		<size value="1"/>
		<height value="1"/>
		<max-hp value="400" regeneration="0"/>
		<max-ep value="100" regeneration="5" start-value="100"/>
		<armor value="50"/>	
		<armor-type value="metall"/>				
		<sight value="20"/>
		<time value="60"/>	
		<multi-selection value="true"/>
		<max-unit-count value="4" />	
		<cellmap value="false"/>
		<levels/>
		<fields>
			<field value="air"/>
		</fields>	
		<properties/>
		<light enabled="false"/>
		<unit-requirements>
			<unit name="radar"/>
		</unit-requirements>
		<upgrade-requirements/>
		<resource-requirements>
			<resource name="gold" amount="75"/>
			<resource name="stein" amount="100"/>
			<resource name="holz" amount="150"/>						
		</resource-requirements>
		<resources-stored/>
		<image path="../../images/icons/units/morddrohne.png"/>
		<image-cancel path="../../images/icons/commands/abbrechen.png"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="true">
			<sound path="$COMMONDATAPATH/sounds/guard_select1.wav"/>
			<sound path="$COMMONDATAPATH/sounds/guard_select2.wav"/>
			<sound path="$COMMONDATAPATH/sounds/guard_select3.wav"/>
			<sound path="$COMMONDATAPATH/sounds/guard_select4.wav"/>
			<sound path="$COMMONDATAPATH/sounds/guard_select5.wav"/>
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="$COMMONDATAPATH/sounds/guard_ack1.wav"/>
			<sound path="$COMMONDATAPATH/sounds/guard_ack2.wav"/>
			<sound path="$COMMONDATAPATH/sounds/guard_ack3.wav"/>
			<sound path="$COMMONDATAPATH/sounds/guard_ack4.wav"/>
			<sound path="$COMMONDATAPATH/sounds/guard_ack5.wav"/>
			<sound path="$COMMONDATAPATH/sounds/guard_ack6.wav"/>
			<sound path="$COMMONDATAPATH/sounds/guard_ack7.wav"/>
		</command-sounds>
	</parameters>

	<skills>
	
		<skill>
			<type value="stop"/>
			<name value="stop_skill"/>		
			<ep-cost value="0"/>
			<speed value="200"/>
			<anim-speed value="30"/>
			<animation path="models/killerdrohne.g3d"/>
			<animation path="models/killerdrohne_stehen.g3d"/>
			<sound enabled="false"/>
	
		</skill>
		
		<skill>
			<type value="stop"/>
			<name value="stop_skill_hold"/>		
			<ep-cost value="0"/>
			<speed value="200"/>
			<anim-speed value="20"/>
			<animation path="models/killerdrohne_position_halten.g3d"/>		
			<sound enabled="false"/>
	
		</skill>
		
		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="0"/>
			<speed value="200"/>
			<anim-speed value="40"/>
			<animation path="models/killerdrohne_bewegen.g3d"/>
			<sound enabled="false" start-time="0">
				<sound-file path="sounds/helicopter_rotor.wav"/>
			</sound> 

		</skill>

		<skill>
			<type value="move"/>
			<name value="charge_skill"/>		
			<ep-cost value="0"/>
			<speed value="200"/>
			<anim-speed value="40"/>
			<animation path="models/killerdrohne_bewegen.g3d"/>
			<sound enabled="false"/>
	
		</skill>

		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>		
			<ep-cost value="25"/>
			<speed value="100"/>
			<anim-speed value="80"/>
			<animation path="models/killerdrohne_angriff.g3d"/>
			<sound enabled="false" start-time="0.47">
				<sound-file path="$COMMONDATAPATH/sounds/guard_attack1.wav"/>
			</sound> 
			<attack-strenght value="150"/>
			<attack-var value="0"/>
			<attack-range value="11"/>
			<attack-type value="kanone"/>
			<attack-fields>
				<field value="land"/>
				<field value="air"/>
			</attack-fields>
			<attack-start-time value="0"/>
			<projectile value="true">	
				<particle value="true" path="killerdrohne_particle_proj.xml"/>
				<sound enabled="false"/>
			</projectile>
			<splash value="false"/> 			

		</skill>	
		
	<!--	<skill>
			<type value="stop" />
			<name value="show_range_skill" />		
			<ep-cost value="0" />
			<speed value="300" />
			<anim-speed value="100" />
			<animation path="models/drohne.g3d" />
			<particles value="true">
			  	<particle-file path="../raketenartillerie/particle_range_sicht.xml">
					<shape value="conical">
						<angle value="90" />
					</shape>
					<radius value="20" />
					<min-radius value="19.9" />
					<direction x="0" y="0.1" z="0" />
					<offset x="0" y="1" z="0" />
				</particle-file>
				
				<particle-file path="../raketenartillerie/particle_range.xml">
					<shape value="conical">
						<angle value="90" />
					</shape>
					<radius value="11" />
					<min-radius value="10.9" />
					<direction x="0" y="0.1" z="0" />
					<offset x="0" y="1" z="0" />
				</particle-file>
											
				<particle-file path="../feldagent/particle_range_einfluss.xml">
					<shape value="conical">
						<angle value="90" />
					</shape>
					<radius value="8" />
					<min-radius value="7.9" />
					<direction x="0" y="0.1" z="0" />
					<offset x="0" y="1" z="0" />
				</particle-file>
			</particles>
			<sound enabled="false" />
		
		</skill>  -->
		
		<skill>
			<type value="die"/>
			<name value="die_skill"/>		
			<ep-cost value="0"/>
			<speed value="100"/>
			<anim-speed value="60"/>
			<animation path="models/killerdrohne_absturz.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="$COMMONDATAPATH/sounds/guard_die1.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/guard_die2.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/guard_die3.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/guard_die4.wav"/>
			</sound>			
			<fade value="false"/>
		</skill>


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

		<command>
			<type value="move"/>
			<name value="bewegen"/>
			<image path="../../images/icons/commands/bewegen.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
		</command>
		
	<!--	<command>
			<type value="stop" />
			<name value="zeige_reichweite" />
			<image path="../raketenartillerie/images/reichweite.png" />
			<unit-requirements />
			<upgrade-requirements />
			<stop-skill value="show_range_skill" />
			</command>  -->
		
		<command>
			<type value="attack"/>
			<name value="angreifen"/>
			<image path="../../images/icons/commands/killerdrohne_angriff.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="charge_skill"/>
			<attack-skill value="attack_skill"/>
		</command>
		
		<command>
			<type value="attack_stopped"/>
			<name value="position_halten"/>
			<image path="../../images/icons/commands/position_halten.png"/>
			<unit-requirements/>
			<upgrade-requirements>

			</upgrade-requirements>
			<stop-skill value="stop_skill_hold"/>
			<attack-skill value="attack_skill"/>
		</command>	

	</commands>
</unit>
