<?xml version="1.0" standalone="no" ?>
<unit>
	<parameters>
		<size value="4" />
		<height value="2" />
		<max-hp value="4500" regeneration="0"/>
		<max-ep value="0" />
		<armor value="0" />
		<armor-type value="wood"/>
		<sight value="8" />
		<time value="100" />
		<multi-selection value="false" />
		<cellmap value="true">
			<row value="1101"/>
			<row value="0000"/>
			<row value="1001"/>
			<row value="1111"/>
		</cellmap>
		<levels/>
		<fields>
			<field value="land" />
		</fields>
		<properties/>
		<light enabled="false" />
		<damage-particles value="true">
			<particle-file path="fire_particles1.xml"/>
			<particle-file path="fire_particles2.xml"/>
			<particle-file path="smoke_particles.xml"/>
		</damage-particles>
		<unit-requirements>
			<unit name="forum" />
		</unit-requirements>
		<upgrade-requirements />
		<resource-requirements>
			<resource name="gold" amount="150" />
			<resource name="wood" amount="100" />
		</resource-requirements>
		<resources-stored />
		<image path="images/barracks.bmp" />
		<image-cancel path="../archer/images/tech_cancel.bmp"/>
		<meeting-point value="true" image-path="images/meeting_point.bmp"/>
		<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>
	</parameters>
	
	<skills>
		<skill>
			<type value="stop"/>	
			<name value="stop_skill"/>
			<ep-cost value="0" />
			<speed value="50" />
			<anim-speed value="100" />
			<animation path="models/training_camp.g3d" />
			<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/training_camp_build.g3d" />
			<sound enabled="false" />
		</skill>	
		
		<skill>
			<type value="upgrade"/>	
			<name value="upgrade_skill"/>	
			<ep-cost value="0" />
			<speed value="300" />
			<anim-speed value="300" />
			<animation path="models/training_camp.g3d" />
			<sound enabled="false" />
		</skill>
		
		<skill>
			<type value="produce"/>
			<name value="produce_skill"/>	
			<ep-cost value="0" />
			<speed value="280" />
			<anim-speed value="300" />
			<animation path="models/training_camp.g3d" />
			<sound enabled="false" />
		</skill>	
		
		<skill>
			<type value="die" />	
			<name value="die_skill"/>		
			<ep-cost value="0" />
			<speed value="300" />
			<anim-speed value="300" />
			<animation path="models/training_camp_die.g3d" />
			<sound enabled="true" start-time="0">
				<sound-file path="$COMMONDATAPATH/sounds/tech_building_fall4.wav"/>
			</sound>			
			<fade value="false"/>
		</skill>

	</skills>
	
	<commands>
	
		<command>
			<type value="produce"/>
			<name value="produce_spearman" />
			<image path="../spearman/images/swordman.bmp" />
			<unit-requirements />
			<upgrade-requirements />
			<produce-skill value="produce_skill"/>
			<produced-unit name="spearman"/>
		</command>
		
		<command>
			<type value="produce"/>
			<name value="produce_archer" />
			<image path="../archer/images/archer.bmp" />
			<unit-requirements />
			<upgrade-requirements />
			<produce-skill value="produce_skill"/>
			<produced-unit name="archer"/>
		</command>
		
		<command>
			<type value="produce"/>
			<name value="produce_guard" />
			<image path="../guard/images/guard.bmp" />
			<unit-requirements />
			<upgrade-requirements />
			<produce-skill value="produce_skill"/>
			<produced-unit name="guard"/>
		</command>
		
		<command>
			<type value="produce"/>
			<name value="produce_swordsman" />
			<image path="../swordsman/images/guard.bmp" />
			<unit-requirements />
			<upgrade-requirements />
			<produce-skill value="produce_skill"/>
			<produced-unit name="swordsman"/>
		</command>		
		
		<command>
			<type value="upgrade"/>
			<name value="create_training_field"/>
			<image path="../../upgrades/training_field/images/training_field.bmp" />
			<unit-requirements />
			<upgrade-requirements />
			<upgrade-skill value="upgrade_skill"/>
			<produced-upgrade name="training_field"/>
		</command>				
	</commands>
</unit>
