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

<unit>
	<parameters>
		<size value="2" />
		<height value="2" />
		<max-hp value="2500" regeneration="0" />
		<max-ep value="1000" regeneration="20" start-value="1000"/>
		<armor value="50" />	
		<armor-type value="metall" />			
		<sight value="18" />
		<time value="100" />	
		<multi-selection value="false" />
		<cellmap value="false" />
		<levels />	
		<fields>
			<field value="land" />
		</fields>	
		<properties>
			<property value="burnable" />
		</properties>
		<light enabled="false" />
		<rotationAllowed value="true" />
		<unit-requirements>
			<unit name="radar"/>
		</unit-requirements>
		<upgrade-requirements />
		<resource-requirements>
			<resource name="gold" amount="150" />
			<resource name="stein" amount="150" />
			<resource name="holz" amount="250" />
		</resource-requirements>
		<resources-stored />
		<image path="images/raketenartillerie.png" />
		<image-cancel path="../arbeiter/images/abbrechen.png" />
		<meeting-point value="false" />
		<selection-sounds enabled="true">
			<sound path="$COMMONDATAPATH/sounds/tech_click.wav" />
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="$COMMONDATAPATH/sounds/tech_click.wav" />
		</command-sounds>
		<damage-particles value="true">
			<particle-file path="../biodome/partikel_schaden_warnung_20.xml" minHp="0" maxHp="500"/>
			<particle-file path="../biodome/partikel_schaden_warnung_40.xml" minHp="501" maxHp="1000"/>
			<particle-file path="../biodome/partikel_schaden_warnung_60.xml" minHp="1001" maxHp="1500"/>
			<particle-file path="../biodome/partikel_schaden_warnung_80.xml" minHp="1501" maxHp="2000"/>
		</damage-particles>
	</parameters>

	<skills>
	
		<skill>
			<type value="stop" />
			<name value="stop_skill" />		
			<ep-cost value="0" />
			<speed value="300" />
			<anim-speed value="100" />
			
			<animation path="models/raketenartillerie_0_68_stop.g3d" />
			<sound enabled="false" />
			
		</skill>
		
		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="0"/>
			<speed value="220"/>
			<anim-speed value="150"/>
			<animation path="models/raketenartillerie_0_68_stop.g3d"/>
			<sound enabled="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/raketenartillerie_0_68_stop.g3d" />
			<particles value="true">
				<particle-file path="particle_range_sicht.xml">
					<shape value="conical">
						<angle value="90" />
					</shape>
					<radius value="18" />
					<min-radius value="17.9" />
					<direction x="0" y="0.1" z="0" />
					<offset x="0" y="1" z="0" />
				</particle-file>
			
				<particle-file path="particle_range.xml">
					<shape value="conical">
						<angle value="90" />
					</shape>
					<radius value="14" />
					<min-radius value="13.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="be_built" />
			<name value="be_built_skill" />		
			<ep-cost value="0" />
			<speed value="300" />
			<anim-speed value="300" />
			<animation path="models/raketenartillerie_0_68_aufbau_20.g3d" minHp="0" maxHp="600"/>
			<animation path="models/raketenartillerie_0_68_aufbau_50.g3d" minHp="601" maxHp="1200"/>
			<animation path="models/raketenartillerie_0_68_aufbau_60.g3d" minHp="1201" maxHp="2400"/>
			<animation path="models/raketenartillerie_0_68_aufbau_80.g3d" minHp="2401" maxHp="3000"/>
			<sound enabled="false"/>
		</skill>
		
		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>		
			<ep-cost value="0"/>
			<speed value="100"/>
			<anim-speed value="100"/>
			<animation path="models/raketenartillerie_0_68.g3d"/>
			
			<sound enabled="true" start-time="0.08">
				<sound-file path="$COMMONDATAPATH/sounds/defense_tower_attack1.wav"/>
			</sound>
			
			<sound enabled="true" start-time="0.17">
				<sound-file path="$COMMONDATAPATH/sounds/defense_tower_attack1.wav"/>
			</sound>
			
			<sound enabled="true" start-time="0.25">
				<sound-file path="$COMMONDATAPATH/sounds/defense_tower_attack1.wav"/>
			</sound>
			
			<sound enabled="true" start-time="0.33">
				<sound-file path="$COMMONDATAPATH/sounds/defense_tower_attack1.wav"/>
			</sound> 
			
			<sound enabled="true" start-time="0.42">
				<sound-file path="$COMMONDATAPATH/sounds/defense_tower_attack1.wav"/>
			</sound>
			
			<sound enabled="true" start-time="0.5">
				<sound-file path="$COMMONDATAPATH/sounds/defense_tower_attack1.wav"/>
			</sound>
			
			<sound enabled="true" start-time="0.58">
				<sound-file path="$COMMONDATAPATH/sounds/defense_tower_attack1.wav"/>
			</sound>  
			
			<sound enabled="true" start-time="0.66">
				<sound-file path="$COMMONDATAPATH/sounds/defense_tower_attack1.wav"/>
			</sound>
			
			<sound enabled="true" start-time="0.75">
				<sound-file path="$COMMONDATAPATH/sounds/defense_tower_attack1.wav"/>
			</sound> 
			
			<sound enabled="true" start-time="0.83">
				<sound-file path="$COMMONDATAPATH/sounds/defense_tower_attack1.wav"/>
			</sound>
			
			<sound enabled="true" start-time="0.9">
				<sound-file path="$COMMONDATAPATH/sounds/defense_tower_attack1.wav"/>
			</sound>
			
			<sound enabled="true" start-time="0.99">
				<sound-file path="$COMMONDATAPATH/sounds/defense_tower_attack1.wav"/>
			</sound>  
			
			
			<attack-strenght value="500"/>
			<attack-var value="125"/>
			<attack-range value="14"/>
			<attack-type value="rakete"/>
			<attack-fields>
			  <!--	<field value="land"/>  -->
				<field value="air"/>
			</attack-fields>
			<attack-start-time value="0"/>
			
			 <projectiles>
			   
			    <projectile attack-start-time="0.08" damage-percentage="8">
				<particle value="true" path="particle_proj_rocket_1.xml"/>
				<hitsound enabled="true">
					<sound-file path="$COMMONDATAPATH/sounds/defense_tower_attack1.wav"/>

				</hitsound>
				<hitshake enabled="true" intensity="50" duration="40" visible="true" in-camera-view="false" camera-distance-affected="false"/>
			  </projectile>
			  
			    <projectile attack-start-time="0.17" damage-percentage="9">
				<particle value="true" path="particle_proj_rocket_2.xml"/>
				<hitsound enabled="true">
					<sound-file path="$COMMONDATAPATH/sounds/defense_tower_attack1.wav"/>
				</hitsound>
			  </projectile>
			  
			    <projectile attack-start-time="0.25" damage-percentage="8">
				<particle value="true" path="particle_proj_rocket_3.xml"/>
				<hitsound enabled="true">
					<sound-file path="$COMMONDATAPATH/sounds/defense_tower_attack1.wav"/>
				</hitsound>
			  </projectile>
			  
			      <projectile attack-start-time="0.33" damage-percentage="8">
				<particle value="true" path="particle_proj_rocket_4.xml"/>
				<hitsound enabled="true">
					<sound-file path="$COMMONDATAPATH/sounds/defense_tower_attack1.wav"/>
				</hitsound>
			  </projectile>
			  
			      <projectile attack-start-time="0.42" damage-percentage="8">
				<particle value="true" path="particle_proj_rocket_5.xml"/>
				<hitsound enabled="true">
					<sound-file path="$COMMONDATAPATH/sounds/defense_tower_attack1.wav"/>
				</hitsound>
			  </projectile>
			  
			        <projectile attack-start-time="0.5" damage-percentage="9">
				<particle value="true" path="particle_proj_rocket_6.xml"/>
				<hitsound enabled="true">
					<sound-file path="$COMMONDATAPATH/sounds/defense_tower_attack1.wav"/>
				</hitsound>
			  
			  </projectile>   
			  
			          <projectile attack-start-time="0.58" damage-percentage="8">
				<particle value="true" path="particle_proj_rocket_7.xml"/>
				<hitsound enabled="true">
					<sound-file path="$COMMONDATAPATH/sounds/defense_tower_attack1.wav"/>
				</hitsound>
			  
			  </projectile>
			  
			         <projectile attack-start-time="0.66" damage-percentage="8">
				<particle value="true" path="particle_proj_rocket_8.xml"/>
				<hitsound enabled="true">
					<sound-file path="$COMMONDATAPATH/sounds/defense_tower_attack1.wav"/>
				</hitsound>
			  
			  </projectile>	         
			  
			  <projectile attack-start-time="0.75" damage-percentage="9">
				<particle value="true" path="particle_proj_rocket_9.xml"/>
				<hitsound enabled="true">
					<sound-file path="$COMMONDATAPATH/sounds/defense_tower_attack1.wav"/>
				</hitsound>
			  
			  </projectile>
			  
			            <projectile attack-start-time="0.83" damage-percentage="8">
				<particle value="true" path="particle_proj_rocket_10.xml"/>
				<hitsound enabled="true">
					<sound-file path="$COMMONDATAPATH/sounds/defense_tower_attack1.wav"/>
				</hitsound>
			  
			  </projectile>
			  
			         <projectile attack-start-time="0.9" damage-percentage="9">
				<particle value="true" path="particle_proj_rocket_11.xml"/>
				<hitsound enabled="true">
					<sound-file path="$COMMONDATAPATH/sounds/defense_tower_attack1.wav"/>
				</hitsound>
			  
			  </projectile>	         
			  
			  <projectile attack-start-time="0.99" damage-percentage="8">
				<particle value="true" path="particle_proj_rocket_12.xml"/>
				<hitsound enabled="true">
					<sound-file path="$COMMONDATAPATH/sounds/defense_tower_attack1.wav"/>
				</hitsound>
			  
			  </projectile>
			  
			</projectiles>
			
			<splash value="false">
			<!--	<radius value="3"/>
				<damage-all value="false"/>
				<particle value="true" path="particle_splash.xml"/>  -->
			</splash>
			
			<hitsound enabled="false">
			<!--	<sound-file path="sounds/daemon_die3.wav"/>  -->
			</hitsound>
		</skill>
		
	<!--	<skill>
			<type value="attack" />
			<name value="attack_skill" />		
			<ep-cost value="100" />
			<speed value="80" />
			<anim-speed value="100" />
			<animation path="models/raketenartillerie_0_68.g3d" />
			<sound enabled="true" start-time="0">
				<sound-file path="$COMMONDATAPATH/sounds/defense_tower_attack1.wav" />
				<sound-file path="$COMMONDATAPATH/sounds/defense_tower_attack2.wav" />
			</sound>
			<attack-strenght value="400" />
			<attack-var value="50" />
			<attack-range value="20" />
			<attack-type value="rakete" />
			<attack-start-time value="0.3" />
			<attack-fields>
				<field value="land" />
				<field value="air" />
			</attack-fields>
			<projectile value="true">
				<particle value="true" path="particle_proj.xml" />
				<sound enabled="true">
					<sound-file path="$COMMONDATAPATH/sounds/arrow_hit1.wav" />
					<sound-file path="$COMMONDATAPATH/sounds/arrow_hit2.wav" />
					<sound-file path="$COMMONDATAPATH/sounds/arrow_hit3.wav" />
					<sound-file path="$COMMONDATAPATH/sounds/arrow_hit4.wav" />
					<sound-file path="$COMMONDATAPATH/sounds/arrow_hit5.wav" />
				</sound>
			</projectile>
			<splash value="false" />
			</skill>  -->

		<skill>
			<type value="die" />
			<name value="die_skill" />		
			<ep-cost value="0" />
			<speed value="300" />
			<anim-speed value="300" />
			<animation path="../zentralmodul/destruction_models/farm_destruction.g3d" />
			<particles value="true">
				<particle-file path="smoke_particles.xml" />
				<particle-file path="glow_particles.xml" />
			</particles>
			<sound enabled="true" start-time="0">
				<sound-file path="$COMMONDATAPATH/sounds/tech_building_fall5.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="attack_stopped" />
			<name value="angreifen" />
			<image path="images/raketenartillerie.png" />
			<unit-requirements />
			<upgrade-requirements />
			<attack-skill value="attack_skill" />
                        <stop-skill value="stop_skill" />
		</command>

		<command>
			<type value="stop" />
			<name value="zeige_reichweite" />
			<image path="images/reichweite.png" />
			<unit-requirements />
			<upgrade-requirements />
			<stop-skill value="show_range_skill" />
		</command>


	</commands>
</unit>
