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

<unit>
	<parameters>
		<size value="1"/>
		<height value="1"/>
		<max-hp value="2200" regeneration="0"/>
		<max-ep value="800" regeneration="30" start-value="800"/>
		<armor value="40"/>	
		<armor-type value="metall"/>				
		<sight value="11"/>
		<time value="60"/>	
		<multi-selection value="true"/>	
		<cellmap value="false"/>
		<levels>
			<level name="veteran" kills="6"/>
			<level name="experte" kills="16"/>
		</levels>
		<fields>
			<field value="land"/>
		</fields>	
		<properties/>
		<light enabled="false"/>
		<unit-requirements>
			
		</unit-requirements>
		<upgrade-requirements>
					
		</upgrade-requirements>
		<resource-requirements>
			<resource name="gold" amount="225"/>
			<resource name="stein" amount="80"/>
			<resource name="holz" amount="100"/>
			<resource name="essen" amount="3"/>						
		</resource-requirements>
		<resources-stored/>
		<image path="images/panzerwagen.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/panzerwagen_2x2_stand.g3d"/>
			<animation path="models/panzerwagen_2x2_position_halten.g3d"/>
			<sound enabled="false"/>
		</skill>

		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="0"/>
			<speed value="280"/>
			<anim-speed value="125"/>
			<animation path="models/panzerwagen_2x2_fahren.g3d"/>
			<sound enabled="false"/>
			<particles value="true">
				<particle-file path="../spaehwagen/dust.xml"/>
			</particles>
		</skill>

		<skill>
			<type value="move"/>
			<name value="charge_skill"/>		
			<ep-cost value="0"/>
			<speed value="300"/>
			<anim-speed value="125"/>
			<animation path="models/panzerwagen_2x2_fahren.g3d"/>
			<sound enabled="false"/>
			<particles value="true">
				<particle-file path="../spaehwagen/dust.xml"/>
			</particles>
		</skill>

		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>		
			<ep-cost value="50"/>
			<speed value="100"/>
			<anim-speed value="130"/>
			<animation path="models/panzerwagen_2x2_angriff.g3d"/>
			<particles value="true" start-time="0.05" end-time="0.25" >
				<particle-file path="cannonfire_particles.xml"/>
				<particle-file path="cannonsmoke_particles.xml"/>
			</particles>
			<sound enabled="true" start-time="0.1">
				<sound-file path="sounds/boom.wav"/>
			</sound> 
			<attack-strenght value="285"/>
			<attack-var value="50"/>
			<attack-range value="5"/>
			<attack-type value="kanone"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
			<attack-start-time value="0.2"/>
			<projectile value="true">	
				<particle value="true" path="panzerwagen_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/panzerwagen_2x2_position_halten.g3d" />
			<particles value="true">
			  	<particle-file path="../raketenartillerie/particle_range_sicht.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="../raketenartillerie/particle_range.xml">
					<shape value="conical">
						<angle value="90" />
					</shape>
					<radius value="5" />
					<min-radius value="4.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="100"/>
			<animation path="models/panzerwagen_2x2_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"/>
			<image path="images/panzerwagen.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>
		
	</commands>
</unit>
