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

<unit>

	<parameters>
		<size value="3"/>
		<height value="2"/>
		<max-hp value="3000" regeneration="1"/>
		<max-ep value="1000" regeneration="15"/>
		<max-unit-count value="3"/>
		<armor value="10"/>
		<armor-type value="metal"/>					
		<sight value="15"/>
		<time value="50"/>	
		<multi-selection value="true"/>	
		<cellmap value="false"/>
		<levels/>
		<fields>
			<field value="land"/>
		</fields>	
		<properties>
			<property value="rotated_climb"/>
		</properties>
		<light enabled="false"/>
		<unit-requirements/>
		<upgrade-requirements>
			<upgrade name="tv_brainwashing"/>
		</upgrade-requirements>
		<resource-requirements>
			<resource name="gold" amount="400"/>
			<resource name="wood" amount="100"/>
			<resource name="fiat_currency" amount="50"/>			
		</resource-requirements>
		<resources-stored/>
		<image path="images/elite_car.bmp"/>
		<image-cancel path="../reichstag_dc/images/tech_cancel.bmp"/>
		<meeting-point value="false"/>
		<selection-sounds enabled="true">
			<sound path="sounds/car_rev_1.ogg"/>
			<sound path="sounds/car_rev_2.ogg"/>
			<sound path="sounds/car_rev_3.ogg"/>
			<sound path="sounds/car_rev_4.ogg"/>
		</selection-sounds>
		<command-sounds enabled="true">
			<sound path="sounds/car_rev_1.ogg"/>
			<sound path="sounds/car_rev_2.ogg"/>
			<sound path="sounds/car_rev_3.ogg"/>
			<sound path="sounds/car_rev_4.ogg"/>		
		</command-sounds>


	</parameters>


	<skills>
	
		<skill>
			<type value="stop"/>
			<name value="stop_skill"/>		
			<ep-cost value="0"/>
			<speed value="190"/>
			<anim-speed value="110"/>
			<animation path="models/black_car_letters_idle.g3d"/>
                        <attack-boost>
				<allow-multiple-boosts value="false" />
				<radius value="10"/>
                        	<target value="faction"> <!-- ally foe faction unit-types all -->
					<!-- <unit-type value="catapult" /> -->
                                </target>

				<max-hp value="10" value-percent-multiplier="true"/>
				<max-ep value="0"/>
				<sight value="0"/>
				<attack-strenght value="50" value-percent-multiplier="true"/>
				<attack-range value="0"/>
				<armor value="0"/>
				<move-speed value="0"/>
				<production-speed value="0"/>
				<particles value="true" start-time="0.001" end-time="0.14">
					<affected-particle-file path="glow_particles.xml"/>
				</particles>
                        </attack-boost>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/car_motor.ogg"/>
			</sound> 
		</skill>

		<skill>
			<type value="move"/>
			<name value="move_skill"/>		
			<ep-cost value="0"/>
			<speed value="190"/>
			<anim-speed value="110"/>
			<animation path="models/black_car_letters_move.g3d"/>
                        <attack-boost>
				<allow-multiple-boosts value="false" />
				<radius value="10"/>
                        	<target value="faction"> <!-- ally foe faction unit-types all -->
					<!-- <unit-type value="catapult" /> -->
                                </target>

				<max-hp value="10" value-percent-multiplier="true"/>
				<max-ep value="0"/>
				<sight value="0"/>
				<attack-strenght value="50" value-percent-multiplier="true"/>
				<attack-range value="0"/>
				<armor value="0"/>
				<move-speed value="0"/>
				<production-speed value="0"/>
				<particles value="true" start-time="0.001" end-time="0.14">
					<affected-particle-file path="glow_particles.xml"/>
				</particles>
                        </attack-boost>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/car_motor.ogg"/>
			</sound> 
		</skill>
              
		<skill>
			<type value="attack"/>
			<name value="attack_skill"/>		
			<ep-cost value="0"/>
			<speed value="190"/>
			<anim-speed value="110"/>
			<animation path="models/black_car_letters_idle.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/car_motor.ogg"/>
			</sound> 
                        <attack-boost>
				<allow-multiple-boosts value="false" />
				<radius value="10"/>
                        	<target value="faction"> <!-- ally foe faction unit-types all -->
					<!-- <unit-type value="catapult" /> -->
                                </target>

				<max-hp value="10" value-percent-multiplier="true"/>
				<max-ep value="0"/>
				<sight value="0"/>
				<attack-strenght value="50" value-percent-multiplier="true"/>
				<attack-range value="0"/>
				<armor value="0"/>
				<move-speed value="0"/>
				<production-speed value="0"/>
				<particles value="true" start-time="0.001" end-time="0.14">
					<affected-particle-file path="glow_particles.xml"/>
				</particles>
                        </attack-boost>
			<attack-strenght value="1"/>
			<attack-var value="1"/>
			<attack-range value="12"/>
			<attack-type value="slashing"/>
			<attack-start-time value="0"/>
			<attack-fields>
				<field value="land"/>
			</attack-fields>
			<projectile value="false"/>
			<splash value="false"/>
		</skill>

		<skill>
			<type value="stop"/>
			<name value="kill_skill"/>		
			<ep-cost value="1000"/>
			<speed value="190"/>
			<anim-speed value="110"/>
			<animation path="models/black_car_letters_idle.g3d"/>
                        <attack-boost>
				<allow-multiple-boosts value="false" />
				<radius value="8"/>
                        	<target value="foe"> <!-- ally foe faction unit-types all -->
					<!-- <unit-type value="catapult" /> -->
                                </target>

				<max-hp value="-101" value-percent-multiplier="true"/>
				<max-ep value="0"/>
				<sight value="0"/>
				<attack-strenght value="0"/>
				<attack-range value="0"/>
				<armor value="0"/>
				<move-speed value="0"/>
				<production-speed value="0"/>
				<particles value="false"/>
                        </attack-boost>
			<particles value="true" start-time="0.001" end-time="0.14">
				<particle-file path="boost_particles1.xml"/>
				<particle-file path="boost_particles2.xml"/>
				<particle-file path="boost_particles3.xml"/>
				<particle-file path="boost_particles4.xml"/>
				<particle-file path="boost_particles5.xml"/>
				<particle-file path="boost_particles6.xml"/>
				<particle-file path="boost_particles7.xml"/>
				<particle-file path="boost_particles8.xml"/>
			</particles>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/car_motor.ogg"/>
			</sound> 
		</skill>

		<skill>
			<type value="die"/>
			<name value="die_skill"/>		
			<ep-cost value="0"/>
			<speed value="90"/>
			<anim-speed value="70"/>
			<animation path="models/black_car_die.g3d"/>
			<sound enabled="true" start-time="0">
				<sound-file path="sounds/explode.wav"/>
			</sound>
			<particles value="true" start-time="0.001" end-time="0.3">
				<particle-file path="fire_particles1.xml"/>
				<particle-file path="fire_particles2.xml"/>
				<particle-file path="fire_particles3.xml"/>
				<particle-file path="fire_particles4.xml"/>
				<particle-file path="fire_particles5.xml"/>
				<particle-file path="fire_particles6.xml"/>
				<particle-file path="fire_particles7.xml"/>
				<particle-file path="fire_particles8.xml"/>
			</particles>
			<fade value="false"/>
		</skill>						

	</skills>
	
	<commands>

		<command>
			<type value="stop"/>
			<name value="stop"/>
			<image path="../reichstag_dc/images/tech_stop.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<stop-skill value="stop_skill"/>
		</command>


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

		<command>
			<type value="attack"/>
			<name value="move_attack_mode"/>
			<image path="images/sword.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<move-skill value="move_skill"/>
			<attack-skill value="attack_skill"/>
		</command>

		<command>
			<type value="stop"/>
			<name value="kill_boost"/>
			<image path="../reichstag_dc/images/tech_stop.bmp"/>
			<unit-requirements/>
			<upgrade-requirements/>
			<stop-skill value="kill_skill"/>
		</command>

	</commands>
</unit>
