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

<unit>
	<parameters>
		<size value="1"/>
		<height value="2"/>
		<max-hp value="900" regeneration="0"/>
		<max-ep value="900" regeneration="10" start-value="900"/>
		<armor value="50"/>	
		<armor-type value="uniform"/>				
		<sight value="13"/>
		<time value="60"/>	
		<multi-selection value="true"/>	
		<!--	<max-unit-count value="8"/>  -->
		<cellmap value="false"/>
		<levels>
			<level name="veteran" kills="5"/>
			<level name="experte" kills="20"/>
		</levels>
		<fields>
			<field value="land"/>
		</fields>	
		<properties>
			<property value="rotated_climb" />
		</properties>
		<light enabled="false"/>
		<damage-particles value="false">
		
		</damage-particles>
		<unit-requirements>
			
		</unit-requirements>
		<upgrade-requirements>
			
		</upgrade-requirements>		    		
		<resource-requirements>
			<resource name="gold" amount="100"/>
			<resource name="stein" amount="50"/>
			<resource name="holz" amount="25"/>
			<resource name="essen" amount="1"/>		
		</resource-requirements>
		<resources-stored/>
		<image path="../../images/icons/units/granatwerfer.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="400"/>
			<anim-speed value="45"/>
			<animation path="models/granatwerfer_natons_stehen.g3d"/>
			<sound enabled="false"/>
		</skill>
		
		<skill>
			<type value="stop"/>
			<name value="stop_skill_position_halten"/>		
			<ep-cost value="0"/>
			<speed value="400"/>
			<anim-speed value="5"/>
			<animation path="models/granatwerfer_natons_angriff.g3d"/>
			<sound enabled="false"/>
		</skill>
		
		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="0"/>
			<speed value="220"/>
			<anim-speed value="110"/>
			<animation path="models/granatwerfer_natons_laufen.g3d"/>
			<sound enabled="false"/>
		</skill>
		
		<skill>
			<type value="move"/>
			<name value="move_skill_run"/>		
			<ep-cost value="0"/>
			<speed value="260"/>
			<anim-speed value="110"/>
			<animation path="models/granatwerfer_natons_rennen.g3d"/>
			<sound enabled="false"/>
		</skill>
		
		<skill>
			<type value="attack"/>
			<name value="attack_skill_hocke"/>		
			<ep-cost value="70"/>
			<speed value="40"/>
			<anim-speed value="30"/>
			<animation path="models/granatwerfer_natons_angriff_4x_laden.g3d"/>
			
			<sound enabled="true" start-time="0.01">
				<sound-file path="../../../revos/units/moerserman/sounds/mortar_1.wav"/>
			</sound> 
			<sound enabled="true" start-time="0.2">
				<sound-file path="../../../revos/units/moerserman/sounds/mortar_1.wav"/>
			</sound> 
			<sound enabled="true" start-time="0.39">
				<sound-file path="../../../revos/units/moerserman/sounds/mortar_1.wav"/>
			</sound> 
			<sound enabled="true" start-time="0.57">
				<sound-file path="../../../revos/units/moerserman/sounds/mortar_1.wav"/>
			</sound> 
			<attack-strenght value="220"/>
			<attack-var value="80"/>
			<attack-range value="7"/>
			<attack-type value="granate"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
			<attack-start-time value="0"/>
			
			<projectiles>
			  
			    <projectile attack-start-time="0.01" damage-percentage="25">	
				<particle value="true" path="granatwerfer_proj.xml"/>
				<hitsound enabled="true">
				      <sound-file path="../../../revos/units/grenadier/sounds/shell_explosion.wav"/>
				</hitsound>
			    </projectile>
			    <projectile attack-start-time="0.2" damage-percentage="25">	
				 <particle value="true" path="granatwerfer_proj.xml"/>
				<hitsound enabled="true">
				      <sound-file path="../../../revos/units/grenadier/sounds/shell_explosion.wav"/>
				</hitsound>							
			    </projectile>
			    <projectile attack-start-time="0.39" damage-percentage="25">	
				<particle value="true" path="granatwerfer_proj.xml"/>
				<hitsound enabled="true">
				      <sound-file path="../../../revos/units/grenadier/sounds/shell_explosion.wav"/>
				</hitsound>
			    </projectile>
			    <projectile attack-start-time="0.57" damage-percentage="25">	
				<particle value="true" path="granatwerfer_proj.xml"/>
				<hitsound enabled="true">
				      <sound-file path="../../../revos/units/grenadier/sounds/shell_explosion.wav"/>
				</hitsound>
			    </projectile>
					
			</projectiles>
			
			<splash value="true">
				<radius value="3"/>
				<damage-all value="false"/>
				<particle value="true" path="particle_splash.xml"/>
			</splash>
		</skill>
		

	<!--	<skill>
			<type value="stop" />
			<name value="show_range_skill" />		
			<ep-cost value="0" />
			<speed value="1000" />
			<anim-speed value="30" />
			<animation path="models/pilot_stehen.g3d" />		
			<particles value="true">			  
				<particle-file path="../raketenartillerie/particle_range_sicht.xml">
					<shape value="conical">
						<angle value="90" />
					</shape>
					<radius value="13" />
					<min-radius value="12.9" />
					<direction x="0" y="0.86" 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="5" />
					<min-radius value="4.9" />
					<direction x="0" y="0.86" 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="6" />
					<min-radius value="5.9" />
					<direction x="0" y="0.86" 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="5"/>
			<anim-speed value="100"/>
			<animation path="models/granatwerfer_natons_sterben.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="true"/>
		</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="attack"/>
			<name value="angreifen_hocke"/>
			<image path="../../images/icons/commands/granatwerfer_angriff.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill_run"/>
			<attack-skill value="attack_skill_hocke"/>
			
		</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>  -->
		
	</commands>
</unit>
