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

<unit>

	<!-- *** parameters *** -->

	<parameters>
		<size value="3"/>
		<height value="3"/>
		<max-hp value="2100" regeneration="0"/>
		<max-ep value="0"/>
		<armor value="14"/>	
		<armor-type value="metal"/>				
		<sight value="12"/>
		<time value="100"/>	
		<multi-selection value="true"/>	
		<cellmap value="false"/>
		<levels>
			<level name="elite" kills="5"/>
		</levels>
		<fields>
			<field value="land"/>
		</fields>	
		<properties>
			<property value="rotated_climb"/>
		</properties>
		<light enabled="false"/>
		<unit-requirements>
		</unit-requirements>
		<upgrade-requirements>
                   <upgrade name="high_laser_power"/>
		</upgrade-requirements>
		<resource-requirements>
			<resource name="gold" amount="280"/>
			<resource name="metal" amount="220"/>
		</resource-requirements>
		<resources-stored/>
		<image path="images/laser_tank.bmp"/>
		<image-cancel path="../lasership/images/alien_cancel.bmp"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="true">
			<sound path="sounds/select1_tank.wav"/>
			<sound path="sounds/select2_tank.wav"/>
			<sound path="sounds/select3_tank.wav"/>
			<sound path="sounds/select4_tank.wav"/>

		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="sounds/i_will_follow_your_orders_laser_tank.wav"/>
			<sound path="sounds/as_you_wish_laser_tank.wav"/>
		</command-sounds>
	</parameters>


	<!-- *** skills *** -->

	<skills>
	
		<skill>
			<type value="stop"/>
			<name value="stop_skill"/>		
			<ep-cost value="0"/>
			<speed value="1000"/>
			<anim-speed value="0"/>
			<animation path="models/laser_tank.g3d"/>
			<particles value="true">
				<particle-file path="elec_particles.xml"/>
			</particles>
			<sound enabled="false"/>
		</skill>
		
		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="0"/>
			<speed value="230"/>
			<anim-speed value="0"/>
			<animation path="models/laser_tank.g3d"/>
			<particles value="true">
				<particle-file path="elec_particles2.xml"/>
			</particles>
			<sound enabled="false"/>
		</skill>

		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>		
			<ep-cost value="0"/>
			<speed value="60"/>
			<anim-speed value="50"/>
			<animation path="models/laser_tank.g3d"/>
			<particles value="true">
				<particle-file path="elec_particles.xml"/>
			</particles>
			<sound enabled="true" start-time="0.15">
				<sound-file path="/sounds/rifleprimary2.ogg"/>
			</sound>
			<attack-strenght value="270"/>
			<attack-var value="50"/>
			<attack-range value="10"/>
			<attack-type value="piercing"/>
			<attack-start-time value="0.35"/>
			<attack-fields>
				<field value="land"/>
				<field value="air"/>
			</attack-fields>
			<projectile value="true">
				<particle value="true" path="particle_proj.xml"/>
				<sound enabled="false">
				</sound>
			</projectile>
			<splash value="false"/>
		</skill>
		
		<skill>
			<type value="die"/>
			<name value="die_skill"/>		
			<ep-cost value="0"/>
			<speed value="60"/>
			<anim-speed value="10"/>
			<animation path="models/laser_tank_die.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/die.wav"/>
				<sound-file path="sounds/die2.wav"/>
				<sound-file path="sounds/die3.wav"/>
			</sound>			
			<fade value="false"/>
		</skill>


	</skills>

	<!-- *** commands *** -->
	
	<commands>
		
		<command>
			<type value= "stop"/>
			<name value="stop"/>
			<image path="../lasership/images/alien_stop.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<stop-skill value="stop_skill"/>
		</command>

		<command>
			<type value="move"/>
			<name value="move"/>
			<image path="../lasership/images/alien_move.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
		</command>

		<command>
			<type value="attack"/>
			<name value="attack"/>
			<image path="images/archer_attack.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<attack-skill value="attack_skill"/>
		</command>
		
		<command>
			<type value="attack_stopped"/>
			<name value="hold_position"/>
			<image path="../lasership/images/alien_hold.bmp"/>
			<unit-requirements/>
			<upgrade-requirements>
			</upgrade-requirements>
			<stop-skill value="stop_skill"/>
			<attack-skill value="attack_skill"/>
		</command>
		
	</commands>
</unit>
