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

<unit>
	<parameters>
		<size value="2"/>
		<height value="1"/>
		<max-hp value="2000" regeneration="0"/>
		<max-ep value="800" regeneration="30" start-value="800"/>
		<armor value="50"/>	
		<armor-type value="metall"/>				
		<sight value="12"/>
		<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="land"/>
		</fields>	
		<properties>
			<property value="rotated_climb" />
		</properties>
		<light enabled="false"/>
		<unit-requirements>
			
		</unit-requirements>
		<upgrade-requirements>
			
		</upgrade-requirements>		    		
		<resource-requirements>
			<resource name="gold" amount="150"/>
			<resource name="stein" amount="100"/>
			<resource name="holz" amount="50"/>
			<resource name="essen" amount="2"/>		
		</resource-requirements>
		<resources-stored/>
		<image path="images/raketenwagen.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="1000"/>
			<anim-speed value="45"/>
			<animation path="models/raketenwagen_stehen.g3d"/>
			<sound enabled="false"/>
		</skill>

		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="0"/>
			<speed value="300"/>
			<anim-speed value="125"/>
			<animation path="models/raketenwagen_fahren.g3d"/>
			<sound enabled="false"/>
		</skill>

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

	<!--	<skill>
			<type value="attack"/>
			<name value="attack_skill_land"/>		
			<ep-cost value="30"/>
			<speed value="400"/>
			<anim-speed value="130"/>
			<animation path="models/raketenwagen_angriff.g3d"/>
			<sound enabled="true" start-time="0.47">
				<sound-file path="sounds/fireworks_mortar_1.wav"/>
				<sound-file path="sounds/fireworks_mortar_2.wav"/>
				<sound-file path="sounds/fireworks_mortar_3.wav"/>
			</sound> 
			<attack-strenght value="150"/>
			<attack-var value="50"/>
			<attack-range value="9"/>
			<attack-type value="rakete"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
			<attack-start-time value="0"/>
			<projectile value="true">	
				<particle value="true" path="raketenwagen_proj.xml"/>
				<sound enabled="false"/>
			</projectile>
			<splash value="false"/>
			</skill>  -->
	
		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>		
			<ep-cost value="200"/>
			<speed value="100"/>
			<anim-speed value="180"/>
			<animation path="models/raketenwagen_angriff.g3d"/>
			
			<sound enabled="true" start-time="0.01">
				<sound-file path="sounds/fireworks_mortar_1.wav"/>
			</sound> 
			
			<sound enabled="true" start-time="0.5">
				<sound-file path="sounds/fireworks_mortar_2.wav"/>
			</sound>
			
			<sound enabled="true" start-time="0.99">
				<sound-file path="sounds/fireworks_mortar_3.wav"/>
			</sound>
			
			<attack-strenght value="200"/>
			<attack-var value="50"/>
			<attack-range value="9"/>
			<attack-type value="rakete"/>
			<attack-fields>
				<field value="air"/>
				<field value="land"/>
			</attack-fields>
			<attack-start-time value="0.3"/>
			<projectiles>
			  
			  <projectile start-time="0.01" damage-percentage="33" >	
				<particle value="true" path="raketenwagen_proj_1.xml"/>
				<hitsound enabled="false"/>
			  </projectile>
			
			  <projectile start-time="0.5" damage-percentage="34">	
				<particle value="true" path="raketenwagen_proj_2.xml"/>
				<hitsound enabled="false"/>
			  </projectile>
			
			  <projectile start-time="0.99" damage-percentage="33">	
				<particle value="true" path="raketenwagen_proj_3.xml"/>
				<hitsound enabled="false"/>
			  </projectile>
			
			</projectiles>
			<splash value="true">
				<radius value="2"/>
				<damage-all value="false"/>
				<particle value="true" path="particle_splash.xml"/>
			</splash>
			<hitsound enabled="false"/>
		</skill>
		<skill>
			<type value="die"/>
			<name value="die_skill"/>		
			<ep-cost value="0"/>
			<speed value="100"/>
			<anim-speed value="100"/>
			<animation path="models/raketenwagen_tot.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>						
			<particles value="true">	
				<particle-file value="true" path="../spaehwagen/feuer_particles.xml"/>
				<particle-file value="true" path="../spaehwagen/rauch_particles.xml"/>								
			</particles>
			<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_land"/>
			<image path="images/raketenwagen.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="charge_skill"/>
			<attack-skill value="attack_skill_land"/>
			</command>  -->
				
		<command>
			<type value="attack"/>
			<name value="angreifen"/>
			<image path="images/raketenwagen.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_land"/>  -->
			<attack-skill value="attack_skill"/>
		</command>	

	</commands>
</unit>
