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

<unit>
  <parameters>
     <size value="1"/>
     <height value="2"/>
     <max-hp value="1200" regeneration="0"/>
     <max-ep value="0"/>
     <armor value="20"/>
     <armor-type value="leather"/>
     <sight value="10"/>
     <time value="100"/>
     <multi-selection value="true"/>
     <cellmap value="false"/>
     <levels>
        <level name="brave" kills="4">
          <static-modifiers>
              <max-hp value="300"/>
              <sight value="3"/>
          </static-modifiers>
          <multipliers>
               <max-hp value="1"/>
               <sight value="1"/>
               <armor value="1"/>
           </multipliers>
        </level>
        <level name="master" kills="8">
          <static-modifiers>
              <max-hp value="500"/>
              <attack-strength value="100"/>
          </static-modifiers>
          <multipliers>
               <max-hp value="1"/>
               <sight value="1"/>
               <armor value="1"/>
           </multipliers>
        </level>
     </levels>
     <fields>
        <field value="land"/>
     </fields>
     <properties/>
     <light enabled="false"/>
     <unit-requirements/>
     <upgrade-requirements>
         <upgrade name="explosives"/>
     </upgrade-requirements>
     <resource-requirements>
        <resource name="gold" amount="200"/>
        <resource name="wood" amount="30"/>
        <resource name="food" amount="1"/>
     </resource-requirements>
     <resources-stored/>
     <image path="images/grenader.bmp"/>
     <image-cancel path="../infantryman/images/tech_cancel.bmp"/>
     <meeting-point value="false"/>
		<selection-sounds enabled="true">
			<sound path="sounds/technician_select1.wav"/>
			<sound path="sounds/technician_select2.wav"/>
			<sound path="sounds/technician_select3.wav"/>
			<sound path="sounds/technician_select4.wav"/>
			<sound path="sounds/technician_select5.wav"/>
			<sound path="sounds/technician_select6.wav"/>
			<sound path="sounds/technician_select7.wav"/>
			<sound path="sounds/technician_select8.wav"/>
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="sounds/technician_ack1.wav"/>
			<sound path="sounds/technician_ack2.wav"/>
			<sound path="sounds/technician_ack3.wav"/>
			<sound path="sounds/technician_ack4.wav"/>		
			<sound path="sounds/technician_ack5.wav"/>
			<sound path="sounds/technician_ack6.wav"/>
			<sound path="sounds/technician_ack7.wav"/>
			<sound path="sounds/technician_ack8.wav"/>
			<sound path="sounds/technician_ack9.wav"/>
			<sound path="sounds/technician_ack10.wav"/>
			<sound path="sounds/technician_ack11.wav"/>		
			<sound path="sounds/technician_ack12.wav"/>
			<sound path="sounds/technician_ack13.wav"/>
			<sound path="sounds/technician_ack14.wav"/>
			<sound path="sounds/technician_ack15.wav"/>
			<sound path="sounds/technician_ack16.wav"/>		
			<sound path="sounds/technician_ack17.wav"/>
			<sound path="sounds/technician_ack18.wav"/>
			<sound path="sounds/technician_ack19.wav"/>
		</command-sounds>
  </parameters>

  <skills>
     <!-- Stop Skill -->
     <skill>
        <type value="stop"/>
        <name value="stop_skill"/>
        <ep-cost value="0"/>
        <speed value="100"/>
        <anim-speed value="35"/>
        <animation path="models/granader_idle.g3d"/>
        <sound enabled="false"/>
     </skill>

     <!-- Move Skill -->
     <skill>
        <type value="move"/>
        <name value="move_skill"/>
        <ep-cost value="0"/>
        <speed value="220"/>
        <anim-speed value="200"/>
        <animation path="models/granader_walk.g3d"/>
        <sound enabled="false"/>
     </skill>

     <!-- Attack Skill -->
     <skill>
        <type value="attack"/>
        <name value="attack_skill"/>
        <ep-cost value="3"/>
        <speed value="70"/>
        <anim-speed value="80"/>
        <animation path="models/granader_attack.g3d"/>
        <sound enabled="true" start-time="0.4">
				<sound-file path="sounds/technician_attack.wav"/>
        </sound>
        <attack-strenght value="400"/>
        <attack-var value="50"/>
        <attack-range value="6"/>
        <attack-type value="energy"/>
        <attack-fields>
           <field value="land"/>
        </attack-fields>
        <attack-start-time value="0.4"/>
        <projectile value="true">
           <particle value="true" path="particle_proj.xml"/>
				<sound enabled="true">
					<sound-file path="/sounds/explode.wav"/>
				</sound>
        </projectile>
        <splash value="true">
           <radius value="2"/>
           <damage-all value="true"/>
           <particle value="true" path="particle_splash.xml"/>
        </splash>
     </skill>

     <!-- Die Skill -->
     <skill>
        <type value="die"/>
        <name value="die_skill"/>
        <ep-cost value="0"/>
        <speed value="300"/>
        <anim-speed value="80"/>
        <animation path="models/granader_die.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/technician_die1.wav"/>
				<sound-file path="sounds/technician_die2.wav"/>
				<sound-file path="sounds/technician_die3.wav"/>	
				<sound-file path="sounds/technician_die4.wav"/>
			</sound>				
        <fade value="false"/>
     </skill>

  </skills>

  <commands>
     <!-- Stop Command -->
     <command>
        <type value="stop"/>
        <name value="stop"/>
        <image path="../infantryman/images/tech_stop.bmp"/>
        <unit-requirements/>
        <upgrade-requirements/>
        <stop-skill value="stop_skill"/>
     </command>

     <!-- Move Command -->
     <command>
        <type value="move"/>
        <name value="move"/>
        <image path="../infantryman/images/tech_move.bmp"/>
        <unit-requirements/>
        <upgrade-requirements/>
        <move-skill value="move_skill"/>
     </command>

     <!-- Attack Command -->
     <command>
        <type value="attack"/>
        <name value="frag_grenade"/>
        <image path="images/attack.bmp"/>
        <unit-requirements/>
        <upgrade-requirements/>
        <move-skill value="move_skill"/>
        <attack-skill value="attack_skill"/>
     </command>

     <!-- Hold Position Command -->
     <command>
        <type value="attack_stopped"/>
        <name value="stand_ground"/>
        <image path="../infantryman/images/tech_hold.bmp"/>
        <unit-requirements/>
        <upgrade-requirements/>
        <stop-skill value="stop_skill"/>
        <attack-skill value="attack_skill"/>
     </command>
     
                 <command>
			<type value="stop"/>
			<name value="guard"/>
			<image path="../infantryman/images/tech_stop.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<stop-skill value="stop_skill"/>
			<attack-skill value="attack_skill"/>
			<max-distance value="2"/>
		</command>

		<command>
			<type value="move"/>
			<name value="patrol"/>
			<image path="../infantryman/images/tech_move.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<attack-skill value="attack_skill"/>
			<max-distance value="2"/>
		</command>

   </commands>
</unit>
