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

<unit>
	<parameters>
		<size value="2"/>
		<height value="1"/>
		<max-hp value="2800" regeneration="0"/>
		<max-ep value="1200" regeneration="10" start-value="1200"/>
		<armor value="50"/>	
		<armor-type value="metall"/>				
		<sight value="17"/>
		<time value="90"/>	
		<multi-selection value="true"/>	
		<cellmap value="false"/>
		<levels>
			<level name="veteran" kills="30"/>
			<level name="experte" kills="70"/>
		</levels>
		<fields>
			<field value="land"/>
		</fields>	
		<properties/>
		<light enabled="false"/>
		<unit-requirements>
			
		</unit-requirements>
		<upgrade-requirements>
			<upgrade name="verbesserte_geschosse"/>
			<upgrade name="verbesserte_panzerung"/>
		</upgrade-requirements>  
		<resource-requirements>
			<resource name="gold" amount="550"/>
			<resource name="stein" amount="350"/>
			<resource name="holz" amount="300"/>
			<resource name="essen" amount="6"/>						
		</resource-requirements>
		<resources-stored/>
		<image path="images/mammut.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="12"/>
			<animation path="models/mammut_stehen.g3d"/>
			<sound enabled="false"/>
		</skill>
		
		<skill>
			<type value="stop"/>
			<name value="stop_skill_hold"/>		
			<ep-cost value="0"/>
			<speed value="1000"/>
			<anim-speed value="12"/>
			<animation path="models/mammut_stehen.g3d"/>
			<sound enabled="false"/>
		</skill>
		
		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="0"/>
			<speed value="200"/>
			<anim-speed value="80"/>
			<animation path="models/mammut_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="200"/>
			<anim-speed value="80"/>
			<animation path="models/mammut_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="100"/>
			<speed value="40"/>
			<anim-speed value="80"/>
			<animation path="models/mammut_angriff.g3d"/>
			<particles value="true" >
				<particle-file start-time="0.41" end-time="0.55" path="cannonfire_particles_2.xml"/>
				<particle-file start-time="0.41" end-time="0.55" path="cannonsmoke_particles_2.xml"/>
				<particle-file start-time="0.61" end-time="0.75" path="cannonfire_particles.xml"/>
				<particle-file start-time="0.61" end-time="0.75" path="cannonsmoke_particles.xml"/>
			</particles>
						
			<sound enabled="true" start-time="0.41">
				<sound-file path="sounds/bombexplosion.wav"/>
			</sound>
								
			<sound enabled="true" start-time="0.61">
				<sound-file path="sounds/bombexplosion.wav"/>
			</sound>
					
			<attack-strenght value="350"/>
			<attack-var value="50"/>
			<attack-range value="13"/>
			<attack-type value="kanone"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
			<attack-start-time value="0.02"/>
			
			<projectiles>
			  
			<projectile attack-start-time="0.41" damage-percentage="50">			
				<particle value="true" path="mammut_proj.xml"/>
				<hitsound enabled="true">
				      <sound-file path="../grenadier/sounds/shell_explosion.wav"/>
				</hitsound>				
			</projectile>
			
			<projectile attack-start-time="0.61" damage-percentage="50">
				<particle value="true" path="mammut_proj_2.xml"/>
				<hitsound enabled="true">
				      <sound-file path="../grenadier/sounds/shell_explosion.wav"/>
				</hitsound>				
			</projectile>
			
			</projectiles>
			<splash value="true">
				<radius value="2"/>
				<damage-all value="true"/>
				<particle value="true" path="particle_splash.xml"/>
			</splash>
			<shake enabled="true" intensity="30" duration="18" start-time="0.42">
				<self enabled="true" visible="true" in-camera-view="true" camera-distance-affected="true"/>
				<team enabled="true" visible="true" in-camera-view="true" camera-distance-affected="true"/>
				<enemy enabled="true" visible="true" in-camera-view="false" camera-distance-affected="true"/>
			</shake>
			<shake enabled="true" intensity="30" duration="18" start-time="0.62">
				<self enabled="true" visible="true" in-camera-view="true" camera-distance-affected="true"/>
				<team enabled="true" visible="true" in-camera-view="true" camera-distance-affected="true"/>
				<enemy enabled="true" visible="true" in-camera-view="false" camera-distance-affected="true"/>
			</shake>
		</skill>	
		
		<skill>
			<type value="stop" />
			<name value="show_range_skill" />		
			<ep-cost value="0" />
			<speed value="300" />
			<anim-speed value="100" />
			<animation path="models/mammut_stehen.g3d" />
			<particles value="true">
			  	<particle-file path="../raketenartillerie/particle_range_sicht.xml">
					<shape value="conical">
						<angle value="90" />
					</shape>
					<radius value="17" />
					<min-radius value="16.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="13" />
					<min-radius value="12.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="170"/>
			<animation path="models/mammut_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>
			<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/angriff_mammut.png"/>
			<unit-requirements/>
			<upgrade-requirements/>			
			<move-skill value="charge_skill"/>
			<stop-skill value="stop_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_hold"/>
			<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>
