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

<unit>
	<parameters>
		<size value="1"/>
		<height value="2"/>
		<max-hp value="700" regeneration="0"/>
		<max-ep value="0"/>
		<armor value="30"/>	
		<armor-type value="metall"/>				
		<sight value="6"/>
		<time value="60"/>	
		<multi-selection value="true"/>
		<max-unit-count value="4"/>
		<cellmap value="false"/>
		<levels>
			<level name="veteran" kills="3"/>
			<level name="experte" kills="7"/>
			<level name="champion" kills="15"/>
			<level name="meister" kills="35"/>
			<level name="grossmeister" kills="70"/>
		</levels>
		<fields>
			<field value="land"/>
		</fields>	
		<properties/>
		<light enabled="false"/>
		<unit-requirements>
			<unit name="zentrum"/>
			<unit name="bauernhof"/>
			<unit name="landsknechtzelt" />
			<unit name="schmiede"/>
		</unit-requirements>
		<upgrade-requirements/>
		<resource-requirements>
			<resource name="gold" amount="125"/>
			<resource name="wood" amount="75"/>			
			<resource name="food" amount="1"/>						
		</resource-requirements>
		<resources-stored/>
		<image path="images/bannertraeger_2.png"/>
		<image-cancel path="../arbeiter/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/bannerman_idle.g3d"/>
			<sound enabled="false"/>
			<attack-boost>
				<allow-multiple-boosts value="false" />
				<radius value="15"/>
				<target value="faction">
					<unit-type name="schwertkaempfer" />
					<unit-type name="gepanzerter_schwertkaempfer" />
					<unit-type name="speerkaempfer" />
					<unit-type name="axtkaempfer" />
					<unit-type name="gepanzerter_axtkaempfer" />
					<unit-type name="jaeger" />
				</target>
				<max-hp value="0" />
				<max-ep value="0"/>
				<sight value="0"/>
				<attack-strenght value="20"/>
				<attack-range value="0"/>
				<armor value="0"/>
				<move-speed value="0" />
				<production-speed value="0"/>
				<particles value="true">
					<affected-particle-file path="banner_particles.xml"/>
				</particles>
			</attack-boost>
		</skill>
	
		<skill>
			<type value="stop"/>
			<name value="hold_stop_skill"/>		
			<ep-cost value="0"/>
			<speed value="1000"/>
			<anim-speed value="45"/>
			<animation path="models/bannerman_idle.g3d"/>
			<sound enabled="false"/>
			<attack-boost>
				<allow-multiple-boosts value="false" />
				<radius value="15"/>
				<target value="faction">
					<unit-type name="schwertkaempfer" />
					<unit-type name="gepanzerter_schwertkaempfer" />
					<unit-type name="speerkaempfer" />
					<unit-type name="axtkaempfer" />
					<unit-type name="gepanzerter_axtkaempfer" />
					<unit-type name="jaeger" />
				</target>
				<max-hp value="0" />
				<max-ep value="0"/>
				<sight value="0"/>
				<attack-strenght value="20"/>
				<attack-range value="0"/>
				<armor value="0"/>
				<move-speed value="0" />
				<production-speed value="0"/>
				<particles value="true">
					<affected-particle-file path="banner_particles.xml"/>
				</particles>
			</attack-boost>
		</skill>

		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="0"/>
			<speed value="200"/>
			<anim-speed value="80"/>
			<animation path="models/bannerman_walking.g3d"/>
			<sound enabled="false"/>	
			<attack-boost>
				<allow-multiple-boosts value="false" />
				<radius value="15"/>
				<target value="faction">
					<unit-type name="schwertkaempfer" />
					<unit-type name="gepanzerter_schwertkaempfer" />
					<unit-type name="speerkaempfer" />
					<unit-type name="axtkaempfer" />
					<unit-type name="gepanzerter_axtkaempfer" />
					<unit-type name="jaeger" />					
				</target>
				<max-hp value="0" />
				<max-ep value="0"/>
				<sight value="0"/>
				<attack-strenght value="20"/>
				<attack-range value="0"/>
				<armor value="0"/>
				<move-speed value="0" />
				<production-speed value="0"/>
				<particles value="true">
					<affected-particle-file path="banner_particles.xml"/>
				</particles>
			</attack-boost>
		</skill>

		<skill>
			<type value="move"/>
			<name value="charge_skill"/>		
			<ep-cost value="0"/>
			<speed value="245"/>
			<anim-speed value="125"/>
			<animation path="models/bannerman_walking.g3d"/>
			<sound enabled="false"/>
			<attack-boost>
				<allow-multiple-boosts value="false" />
				<radius value="15"/>
				<target value="faction">
					<unit-type name="schwertkaempfer" />
					<unit-type name="gepanzerter_schwertkaempfer" />
					<unit-type name="speerkaempfer" />
					<unit-type name="axtkaempfer" />
					<unit-type name="gepanzerter_axtkaempfer" />
					<unit-type name="jaeger" />
				</target>
				<max-hp value="0" />
				<max-ep value="0"/>
				<sight value="0"/>
				<attack-strenght value="20"/>
				<attack-range value="0"/>
				<armor value="0"/>
				<move-speed value="0" />
				<production-speed value="0"/>
				<particles value="true">
					<affected-particle-file path="banner_particles.xml"/>
				</particles>
			</attack-boost>
		</skill>

		<skill>
			<type value="attack"/>
			<name value="stay_behind"/>		
			<ep-cost value="0"/>
			<speed value="100"/>
			<anim-speed value="80"/>
			<animation path="models/bannerman_idle.g3d"/>
			<sound enabled="false"/>				
			<attack-strenght value="0"/>
			<attack-var value="0"/>
			<attack-range value="8"/>
			<attack-type value="schlag"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
			<attack-start-time value="0"/>
			<projectile value="false"/>
			<splash value="false"/>
			<attack-boost>
				<allow-multiple-boosts value="false" />
				<radius value="15"/>
				<target value="faction">
					<unit-type name="schwertkaempfer" />
					<unit-type name="gepanzerter_schwertkaempfer" />
					<unit-type name="speerkaempfer" />
					<unit-type name="axtkaempfer" />
					<unit-type name="gepanzerter_axtkaempfer" />
					<unit-type name="jaeger" />
				</target>
				<max-hp value="0" />
				<max-ep value="0"/>
				<sight value="0"/>
				<attack-strenght value="20"/>
				<attack-range value="0"/>
				<armor value="0"/>
				<move-speed value="0" />
				<production-speed value="0"/>
				<particles value="true">
					<affected-particle-file path="banner_particles.xml"/>
				</particles>
			</attack-boost>
		</skill>
	
		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>		
			<ep-cost value="0"/>
			<speed value="100"/>
			<anim-speed value="80"/>
			<animation path="models/bannerman_attack.g3d"/>
			<sound enabled="true" start-time="0.47">
				<sound-file path="$COMMONDATAPATH/sounds/guard_attack1.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/guard_attack2.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/guard_attack3.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/guard_attack4.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/guard_attack5.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/guard_attack6.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/guard_attack7.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/guard_attack8.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/guard_attack9.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/guard_attack10.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/guard_attack11.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/guard_attack12.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/guard_attack13.wav"/>
				<sound-file path="$COMMONDATAPATH/sounds/guard_attack14.wav"/>
			</sound> 
			<attack-strenght value="110"/>
			<attack-var value="50"/>
			<attack-range value="1"/>
			<attack-type value="schlag"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
			<attack-start-time value="0"/>
			<projectile value="false"/>
			<splash value="false"/>
			<attack-boost>
				<allow-multiple-boosts value="false" />
				<radius value="15"/>
				<target value="faction">
					<unit-type name="schwertkaempfer" />
					<unit-type name="gepanzerter_schwertkaempfer" />
					<unit-type name="speerkaempfer" />
					<unit-type name="axtkaempfer" />
					<unit-type name="gepanzerter_axtkaempfer" />
					<unit-type name="jaeger" />
				</target>
				<max-hp value="0" />
				<max-ep value="0"/>
				<sight value="0"/>
				<attack-strenght value="20"/>
				<attack-range value="0"/>
				<armor value="0"/>
				<move-speed value="0" />
				<production-speed value="0"/>
				<particles value="true">
					<affected-particle-file path="banner_particles.xml"/>
				</particles>
			</attack-boost>
		</skill>

		<skill>
			<type value="die"/>
			<name value="die_skill"/>		
			<ep-cost value="0"/>
			<speed value="60"/>
			<anim-speed value="60"/>
			<animation path="models/bannerman_dying.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/halte_banner.png"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="charge_skill"/>
			<attack-skill value="stay_behind"/>
		</command>

		<command>
			<type value="attack"/>
			<name value="mit_schwert_angreifen"/>
			<image path="images/schwertangriff.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="../jaeger/images/position_halten.png"/>
			<unit-requirements/>
			<upgrade-requirements>
				<upgrade name="trainingsfeld"/>
			</upgrade-requirements>
			<stop-skill value="stop_skill"/>
			<attack-skill value="attack_skill"/>

		</command>	

	</commands>
</unit>
