<?xml version="1.0" encoding="windows-1250"?>
<animal class="horse">
	<steeringParams>
		<wanderRad>0.2</wanderRad>
		<wanderDist>3.7</wanderDist>
		<wanderJitterPerSec>2.20</wanderJitterPerSec>
		<separationWeight>20.0</separationWeight>
		<alignmentWeight>0.0</alignmentWeight>
		<cohesionWeight>1</cohesionWeight>
		<obstacleAvoidanceWeight>0.0</obstacleAvoidanceWeight>
		<wallAvoidanceWeight>14.0</wallAvoidanceWeight>
		<wanderWeight>6.0</wanderWeight>
		<seekWeight>5.0</seekWeight>
		<fleeWeight>30.0</fleeWeight>
		<arriveWeight>1.0</arriveWeight>
		<pursuitWeight>1.0</pursuitWeight>
		<offsetPursuitWeight>1.0</offsetPursuitWeight>
		<hideWeight>1.0</hideWeight>
		<evadeWeight>0.01</evadeWeight>
		<viewDistance>2</viewDistance>
		<minDetectionBoxLength>0.5</minDetectionBoxLength>
		<wallDetectionFeelerLength>3.0</wallDetectionFeelerLength>
		<threatRangeSq>25</threatRangeSq>
		<pursuitRangeSq>4</pursuitRangeSq>
	</steeringParams>
	<!--Params hard to place somewhere else.-->
	<misc>
		<!--optional Number of samples to be used by smoother-->
		<sampleNumber>20</sampleNumber>
		<!--if angle is less the this(<-1.0, 1.0>), then use rotate-slow -->
		<slowRotation>0.75</slowRotation>
		<useDummy>true</useDummy>
		<moveDummyAlongDirection>0.33</moveDummyAlongDirection>
	</misc>
	<physics>
		<boundingRadius>1.0</boundingRadius>
		<mass>10.0</mass>
		<maxForce>30</maxForce>
		<maxSpeed>0.8</maxSpeed>
		<!--speed of rotation in radians, default is 1.0-->
		<rotation>1.2</rotation>
	</physics>
	<sound>
		<sample id="onIdle" file="animal_horse_2"/>
	</sound>
	<visual>
		<!--Describes the subclasses of given animal-->
		<subclasses>
			<subclass id="brown">
				<model>animal_horse1</model>
				<material>animal_horse1_body1</material>
			</subclass>
			<subclass id="white">
				<model>animal_horse1</model>
				<material>animal_horse1_body2</material>
			</subclass>
			<subclass id="black">
				<model>animal_horse1</model>
				<material>animal_horse1_body3</material>
			</subclass>
			<subclass id="pinto">
				<model>animal_horse1</model>
				<material>animal_horse1_body4</material>
			</subclass>
			<subclass id="ghost">
				<model>animal_horse1</model>
				<material>Ghost</material>
			</subclass>
		</subclasses>
		<!--Animations type is blending or morphing (both are mutually exclusive)-->
		<animations type="blending">
			<animation stateName="idle">
				<anim>idle1</anim>
				<anim>idle2</anim>
				<anim>idle3</anim>
				<anim>idle4</anim>
				<anim>idle5</anim>
				<anim>neigh1</anim>
				<anim>eat1</anim>
			</animation>
			<animation stateName="move">
				<anim>walk1</anim>
			</animation>
			
			<animation stateName="grooming">
				<anim>grooming</anim>
			</animation>
			<animation stateName="grooming-no">
				<anim>grooming-no</anim>
			</animation>
			<animation stateName="grooming-yes">
				<anim>grooming-yes</anim>
			</animation>
			<animation stateName="grooming-idle">
				<anim>idle1</anim>
				<anim>idle2</anim>
				<anim>idle4</anim>
			</animation>
			<animation stateName="rotation-left">
				<anim>idle1</anim>
			</animation>
			<animation stateName="rotation-right">
				<anim>idle1</anim>
			</animation>
			<animation stateName="rotation-slow">
				<anim>idle1</anim>
			</animation>
		</animations>
	</visual>
</animal>