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

<unit>
	<parameters>
		<size value="1"/>
		<height value="1"/>
		<max-hp value="1200" regeneration="0"/>
		<max-ep value="1000" regeneration="0" start-value="1000"/>
		<armor value="50"/>	
		<armor-type value="metall"/>				
		<sight value="16"/>
		<time value="60"/>	
		<multi-selection value="true"/>	
		<max-unit-count value="2"/>
		<cellmap value="false"/>
		<levels>
			<level name="veteran" kills="5"/>
			<level name="experte" kills="15"/>
		</levels>
		<fields>
			<field value="land"/>
		</fields>	
		<properties/>
		<light enabled="false"/>	
		<damage-particles value="false">
			<particle-file path="../arbeiter/damage_particles_10.xml" minHp="0" maxHp="120"/>
			<particle-file path="../arbeiter/damage_particles_20.xml" minHp="121" maxHp="240"/>
			<particle-file path="../arbeiter/damage_particles_30.xml" minHp="241" maxHp="360"/>
			<particle-file path="../arbeiter/damage_particles_40.xml" minHp="361" maxHp="480"/>
			<particle-file path="../arbeiter/damage_particles_50.xml" minHp="481" maxHp="600"/>
			<particle-file path="../arbeiter/damage_particles_60.xml" minHp="601" maxHp="720"/>
			<particle-file path="../arbeiter/damage_particles_70.xml" minHp="721" maxHp="840"/>
			<particle-file path="../arbeiter/damage_particles_80.xml" minHp="841" maxHp="960"/>
			<particle-file path="../arbeiter/damage_particles_90.xml" minHp="961" maxHp="1080"/>
			<particle-file path="../arbeiter/damage_particles_100.xml" minHp="1081" maxHp="1200"/>
		</damage-particles>  
		<unit-requirements>
			
		</unit-requirements>
		<upgrade-requirements/>
		<resource-requirements>
			<resource name="gold" amount="130"/>
			<resource name="stein" amount="70"/>
			<resource name="holz" amount="60"/>
			<resource name="essen" amount="2"/>						
		</resource-requirements>
		<resources-stored/>
		<image path="images/spaehwagen.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="25"/>
			<animation path="models/spaehwagen_stehen.g3d"/>
			<sound enabled="false"/>
			<attack-boost name="zielsichtung">
				<allow-multiple-boosts value="false" />
				<radius value="6"/>
				<target value="faction">
					<unit-type name="schuetze" />	
					<unit-type name="moerserman" />	
					<unit-type name="panzerfaustman" />
					<unit-type name="bunker" />
					<unit-type name="raketenartillerie" />
					<unit-type name="raketenwagen" />
					<unit-type name="panzerwagen" />
					<unit-type name="panzer" />
					<unit-type name="hydra" />
					<unit-type name="mammut" />
				</target>
				<max-hp value="0" />
				<max-ep value="0"/>
				<sight value="0"/>
				<attack-strenght value="0"/>
				<attack-range value="1"/>
				<armor value="0"/>
				<move-speed value="0" />
				<production-speed value="0"/>
				<particles value="true">
					<affected-particle-file path="../feldagent/zielsichtung_boost.xml"/>
				</particles>
			</attack-boost>
		</skill>

		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="0"/>
			<speed value="375"/>
			<anim-speed value="125"/>
			<animation path="models/spaehwagen_fahren.g3d"/>
			<sound enabled="false"/>			
			<attack-boost name="zielsichtung">
				<allow-multiple-boosts value="false" />
				<radius value="6"/>
				<target value="faction">
					<unit-type name="schuetze" />
				        <unit-type name="moerserman" />
					<unit-type name="panzerfaustman" />
					<unit-type name="bunker" />
					<unit-type name="raketenartillerie" />
					<unit-type name="raketenwagen" />
					<unit-type name="panzerwagen" />
					<unit-type name="panzer" />
					<unit-type name="hydra" />
					<unit-type name="mammut" />
				</target>
				<max-hp value="0" />
				<max-ep value="0"/>
				<sight value="0"/>
				<attack-strenght value="0"/>
				<attack-range value="1"/>
				<armor value="0"/>
				<move-speed value="0" />
				<production-speed value="0"/>
				<particles value="true">
					<affected-particle-file path="../feldagent/zielsichtung_boost.xml"/>
				</particles>
			</attack-boost>			
			<particles value="true">
				<particle-file path="dust.xml"/>
			</particles>
		</skill>

		<skill>
			<type value="move"/>
			<name value="charge_skill"/>		
			<ep-cost value="0"/>
			<speed value="400"/>
			<anim-speed value="130"/>
			<animation path="models/spaehwagen_angriff_fahren.g3d"/>
			<sound enabled="false"/>	
			<attack-boost name="zielsichtung">
				<allow-multiple-boosts value="false" />
				<radius value="6"/>
				<target value="faction">
					<unit-type name="schuetze" />
					<unit-type name="moerserman" />	
					<unit-type name="panzerfaustman" />
					<unit-type name="bunker" />
					<unit-type name="raketenartillerie" />
					<unit-type name="raketenwagen" />
					<unit-type name="panzerwagen" />
					<unit-type name="panzer" />
					<unit-type name="hydra" />
					<unit-type name="mammut" />
				</target>
				<max-hp value="0" />
				<max-ep value="0"/>
				<sight value="0"/>
				<attack-strenght value="0"/>
				<attack-range value="1"/>
				<armor value="0"/>
				<move-speed value="0" />
				<production-speed value="0"/>
				<particles value="true">
					<affected-particle-file path="../feldagent/zielsichtung_boost.xml"/>
				</particles>
			</attack-boost>
			<particles value="true">
				<particle-file path="dust.xml"/>
			</particles>
		</skill>
		
 		<skill>
			<type value="attack"/>
			<name value="spawn_skill_schuetze"/>		
			<ep-cost value="500"/>
			<speed value="40"/>
			<anim-speed value="90"/>
			<animation path="models/spaehwagen_stehen.g3d"/>
			<particles value="false"/>
			<sound enabled="false"/>
			<unit value="schuetze" amount="1" />	
			<attack-strenght value="0"/>
			<attack-var value="0"/>
			<attack-range value="9"/>
			<attack-type value="feuer"/>
			<attack-start-time value="0.9"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
			<projectile value="false"/>								
			<splash value="false"/>				
		</skill>
		 		
		 <skill>
			<type value="attack"/>
			<name value="spawn_skill_scharfschuetze"/>		
			<ep-cost value="1000"/>
			<speed value="40"/>
			<anim-speed value="90"/>
			<animation path="models/spaehwagen_stehen.g3d"/>
			<particles value="false"/>
			<sound enabled="false"/>
			<unit value="scharfschuetze" amount="1" />	
			<attack-strenght value="0"/>
			<attack-var value="0"/>
			<attack-range value="8"/>
			<attack-type value="feuer"/>
			<attack-start-time value="0.7"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
			<projectile value="false"/>								
			<splash value="false"/>				
		</skill>
		
		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>		
			<ep-cost value="0"/>
			<speed value="150"/>
			<anim-speed value="200"/>
			<animation path="models/spaehwagen_angriff.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/sniper_shot.wav"/>
			</sound> 
			<attack-strenght value="100"/>
			<attack-var value="30"/>
			<attack-range value="9"/>
			<attack-type value="kanone"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
			<attack-start-time value="0"/>
			<projectile value="true">	
				<particle value="true" path="spaehwagen_proj.xml"/>
				<sound enabled="false"/>
			</projectile>
			<splash value="false"/>			
			<attack-boost name="zielsichtung">
				<allow-multiple-boosts value="false" />
				<radius value="6"/>
				<target value="faction">
					<unit-type name="schuetze" />
					<unit-type name="moerserman" />	
					<unit-type name="panzerfaustman" />
					<unit-type name="bunker" />
					<unit-type name="raketenartillerie" />
					<unit-type name="raketenwagen" />
					<unit-type name="panzerwagen" />
					<unit-type name="panzer" />
					<unit-type name="hydra" />
					<unit-type name="mammut" />
				</target>
				<max-hp value="0" />
				<max-ep value="0"/>
				<sight value="0"/>
				<attack-strenght value="0"/>
				<attack-range value="1"/>
				<armor value="0"/>
				<move-speed value="0" />
				<production-speed value="0"/>
				<particles value="true">
					<affected-particle-file path="../feldagent/zielsichtung_boost.xml"/>
				</particles>
			</attack-boost>
		</skill>
				
		<skill>
			<type value="stop" />
			<name value="show_range_skill" />		
			<ep-cost value="0" />
			<speed value="300" />
			<anim-speed value="100" />
			<animation path="models/spaehwagen_stehen.g3d" />
			<particles value="true">
			  	<particle-file path="../raketenartillerie/particle_range_sicht.xml">
					<shape value="conical">
						<angle value="90" />
					</shape>
					<radius value="16" />
					<min-radius value="15.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>
				
				<particle-file path="../feldagent/particle_range_einfluss.xml">
					<shape value="conical">
						<angle value="90" />
					</shape>
					<radius value="6" />
					<min-radius value="5.9" />
					<direction x="0" y="0.1" z="0" />
					<offset x="0" y="1" z="0" />
				</particle-file>
			</particles>
			<sound enabled="false" />			
			<attack-boost name="zielsichtung">
				<allow-multiple-boosts value="false" />
				<radius value="6"/>
				<target value="faction">
					<unit-type name="schuetze" />
					<unit-type name="moerserman" />	
					<unit-type name="panzerfaustman" />
					<unit-type name="bunker" />
					<unit-type name="raketenartillerie" />
					<unit-type name="raketenwagen" />
					<unit-type name="panzerwagen" />
					<unit-type name="panzer" />
					<unit-type name="hydra" />
					<unit-type name="mammut" />
				</target>
				<max-hp value="0" />
				<max-ep value="0"/>
				<sight value="0"/>
				<attack-strenght value="0"/>
				<attack-range value="1"/>
				<armor value="0"/>
				<move-speed value="0" />
				<production-speed value="0"/>
				<particles value="true">
					<affected-particle-file path="../feldagent/zielsichtung_boost.xml"/>
				</particles>
			</attack-boost>
		</skill>
		
		<skill>
			<type value="morph"/>
			<name value="morph_skill"/>		
			<ep-cost value="0"/>
			<speed value="1000"/>
			<anim-speed value="8"/>
			<animation path="models/spaehwagen_aufbau_no_gun.g3d" />
			<particles value="false">
			  <!--	<particle-file path="upgrade_zm2_particles.xml"/>  -->
			</particles>
			<sound enabled="false"/>
		</skill>
		
	<!--	<skill>
			<type value="load" />
			<name value="load_skill" />
			<ep-cost value="0" />
			<speed value="120" />
			<anim-speed value="120" />
			<animation path="models/spaehwagen_aufbau_no_gun.g3d" />
			<sound enabled="true" start-time="0">
				
			</sound>
			<max-range value="3" />
		</skill>
		
		<skill>
			<type value="unload" />
			<name value="unload_skill" />
			<ep-cost value="0" />
			<speed value="120" />
			<anim-speed value="120" />
			<animation path="models/spaehwagen_aufbau_no_gun.g3d" />
			<sound enabled="true" start-time="0">
				
			</sound>
			<max-range value="2" />
			</skill>  -->
		
		<skill>
			<type value="die"/>
			<name value="die_skill"/>		
			<ep-cost value="0"/>
			<speed value="80"/>
			<anim-speed value="100"/>
			<animation path="models/spaehwagen_sterben_tot_tc.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="feuer_particles.xml"/>
				<particle-file value="true" path="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="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/angriff_spaehwagen.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="charge_skill"/>
			<attack-skill value="attack_skill"/>
		</command>
		
	<!--	<command>
			<type value="attack"/>
			<name value="schuetze_aussteigen"/>
			<image path="../schuetze/images/angriff_schuetze_stehen.png"/>
			<unit-requirements/>
			<upgrade-requirements/>			
			<move-skill value="move_skill"/>
			<attack-skill value="spawn_skill_schuetze"/>
			<stop-skill value="stop_skill"/>
		</command>  -->
				
		<command>
			<type value="attack"/>
			<name value="scharfschuetze_aussteigen"/>
			<image path="../spaehwagen/images/spawnangriff_spaehwagen.png"/>
			<unit-requirements/>
			<upgrade-requirements/>			
			<move-skill value="move_skill"/>
			<attack-skill value="spawn_skill_scharfschuetze"/>
			<stop-skill value="stop_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="load" />
			<name value="load" />
			<image path="../arbeiter/images/bewegen.png" />
			<unit-requirements />
			<upgrade-requirements />
			<load-skill value="load_skill" />
			<move-skill value="move_skill" />
			    <units-carried>
				  <unit value="schuetze" />
				  <unit value="moerserman" />
				  <unit value="panzerfaustman" />
				  <unit value="feldagent" />
				  <unit value="scharfschuetze" />
			    </units-carried>
			  <load-capacity value="2" />
		</command>
		
		<command>
			<type value="unload" />
			<name value="unload" />
			<image path="../arbeiter/images/bewegen.png" />
			<unit-requirements />
			<upgrade-requirements />
			<unload-skill value="unload_skill" />
		</command>

		<command>
			<type value="morph"/>
			<name value="spaehwagen_aufbauen"/>
			<image path="images/spaehwagen.png"/>
			<unit-requirements>
				
			</unit-requirements>
			<upgrade-requirements>
				
			</upgrade-requirements>
			<morph-skill value="morph_skill"/>
			<morph-unit name= "spaehwagen"/>
			<discount value="0"/>  
			</command>  -->
		
	</commands>
</unit>
