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

<unit>
	<parameters>
		<size value="2"/>
		<height value="1"/>
		<max-hp value="1800" regeneration="0"/>
		<max-ep value="800" regeneration="15" start-value="800" />
		<armor value="50"/>	
		<armor-type value="metall"/>				
		<sight value="20"/>
		<time value="60"/>	
		<multi-selection value="true"/>	
		<cellmap value="false"/>
		<levels>
			<level name="veteran" kills="10"/>
			<level name="experte" kills="30"/>
		</levels>
		<fields>
			<field value="air"/>
		</fields>	
		<properties/>
		<light enabled="false"/>
		<unit-requirements>
			
		</unit-requirements>
		<upgrade-requirements>
			<upgrade name="verbesserte_geschosse"/>
			<upgrade name="verbesserte_panzerung"/>			
		</upgrade-requirements>
		<resource-requirements>
			<resource name="gold" amount="300"/>
			<resource name="stein" amount="150"/>
			<resource name="holz" amount="200"/>
			<resource name="essen" amount="2"/>						
		</resource-requirements>
		<resources-stored/>
		<image path="images/hubschrauber.png"/>
		<image-cancel path="../zentralmodul/images/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="100"/>
			<anim-speed value="110"/>
			<animation path="models/hubschrauber_stop_luft.g3d"/>
			<sound enabled="false"/>
		</skill>

		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="0"/>
			<speed value="370"/>
			<anim-speed value="175"/>
			<animation path="models/hubschrauber_neu_fliegen.g3d"/>
			<animation path="models/hubschrauber_neu_fliegen_2.g3d"/>
			<sound enabled="false" start-time="0.6">
				<sound-file path="sounds/military_rotor.wav"/>
			</sound> 
		</skill>

		<skill>
			<type value="move"/>
			<name value="charge_skill"/>		
			<ep-cost value="0"/>
			<speed value="370"/>
			<anim-speed value="175"/>
			<animation path="models/hubschrauber_neu_fliegen.g3d"/>
			<animation path="models/hubschrauber_neu_fliegen_2.g3d"/>
			<sound enabled="false" start-time="0.6">
				<sound-file path="sounds/helicopter_rotor.wav"/>
			</sound> 
		</skill>

		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>		
			<ep-cost value="100"/>
			<speed value="100"/>
			<anim-speed value="125"/>
			<animation path="models/hubschrauber_neu_angriff.g3d"/>
			
			<sound enabled="true" start-time="0.12">
				<sound-file path="../panzerfaustman/sounds/rocket.wav"/>
			</sound>
			
			<sound enabled="true" start-time="0.25">
				<sound-file path="../panzerfaustman/sounds/rocket.wav"/>
			</sound>
			
			<sound enabled="true" start-time="0.37">
				<sound-file path="../panzerfaustman/sounds/rocket.wav"/>
			</sound>
			
			<sound enabled="true" start-time="0.49">
				<sound-file path="../panzerfaustman/sounds/rocket.wav"/>
			</sound>
			
			<sound enabled="true" start-time="0.63">
				<sound-file path="../panzerfaustman/sounds/rocket.wav"/>
			</sound>
			
			<sound enabled="true" start-time="0.75">
				<sound-file path="../panzerfaustman/sounds/rocket.wav"/>
			</sound>
			
			<sound enabled="true" start-time="0.88">
				<sound-file path="../panzerfaustman/sounds/rocket.wav"/>
			</sound>
			
			<sound enabled="true" start-time="0.99">
				<sound-file path="../panzerfaustman/sounds/rocket.wav"/>
			</sound>
			
			<attack-strenght value="350"/>
			<attack-var value="75"/>
			<attack-range value="9"/>
			<attack-type value="rakete"/>
			<attack-fields>
				<field value="land"/>
				<field value="air"/>
			</attack-fields>
			<attack-start-time value="0"/>
			
			<projectiles>
			  
			<projectile attack-start-time="0.12" damage-percentage="12">	
				<particle value="true" path="helicopter_proj_rocket_1.xml"/>
				<hitsound enabled="false"/>
			</projectile>
			
			<projectile attack-start-time="0.25" damage-percentage="13">	
				<particle value="true" path="helicopter_proj_rocket_2.xml"/>
				<hitsound enabled="false"/>
			</projectile>
			
			<projectile attack-start-time="0.37" damage-percentage="12">	
				<particle value="true" path="helicopter_proj_rocket_3.xml"/>
				<hitsound enabled="false"/>
			</projectile>
			
			<projectile attack-start-time="0.49" damage-percentage="13">	
				<particle value="true" path="helicopter_proj_rocket_4.xml"/>
				<hitsound enabled="false"/>
			</projectile>
			
			<projectile attack-start-time="0.63" damage-percentage="12">	
				<particle value="true" path="helicopter_proj_rocket_5.xml"/>
				<hitsound enabled="false"/>
			</projectile>
			
			<projectile attack-start-time="0.75" damage-percentage="13">	
				<particle value="true" path="helicopter_proj_rocket_6.xml"/>
				<hitsound enabled="false"/>
			</projectile>
			
			<projectile attack-start-time="0.88" damage-percentage="12">	
				<particle value="true" path="helicopter_proj_rocket_7.xml"/>
				<hitsound enabled="false"/>
			</projectile>
			
			<projectile attack-start-time="0.99" damage-percentage="13">	
				<particle value="true" path="helicopter_proj_rocket_8.xml"/>
				<hitsound enabled="false"/>
			</projectile>
			
			</projectiles>
			
			<splash value="true">
				<radius value="1"/>
				<damage-all value="false"/>
				<particle value="true" path="particle_splash.xml"/>
			</splash>
		</skill>
		
		<skill>
			<type value="morph"/>
			<name value="morph_skill"/>		
			<ep-cost value="0"/>
			<speed value="3000"/>
			<anim-speed value="32"/>
			<animation path="models/hubschrauber_6_0_h_landen.g3d" />
			<particles value="false">
			
			</particles>
			<sound enabled="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/hubschrauber_neu_angriff.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="9" />
					<min-radius value="8.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="75"/>
			<animation path="models/hubschrauber_5h_absturz.g3d"/>  
			<animation path="models/hubschrauber_5h_absturz_drehung.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="../arbeiter/images/stop.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<stop-skill value="stop_skill"/>
		</command>

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

		<command>
			<type value="attack"/>
			<name value="angreifen"/>
			<image path="images/hubschrauber.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="../feldagent/images/position_halten.png"/>
			<unit-requirements/>
			<upgrade-requirements>

			</upgrade-requirements>
			<stop-skill value="stop_skill"/>
			<attack-skill value="attack_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="morph"/>
			<name value="helicopter_landen"/>
			<image path="../helicopter/images/helicopter_landen.png"/>
			<unit-requirements>
				
			</unit-requirements>
			<upgrade-requirements>
			
			</upgrade-requirements>
			<morph-skill value="morph_skill"/>
			<morph-unit name= "helicopter_"/>
			<discount value="0"/>  
		</command>

	</commands>
</unit>
