<species cost="integer"Description: The spawn cost of the wildlife species
Type: Integer
Required: yes
debugMinimapColor="r g b"Description: The color of the wildlife species in the debug minimap
Type: Color values (r, g, b) or brand color id
Required: yes
name="string"Description: The name of the wildlife species
Type: String
Required: yes
>

<animation shaderNode="integer"Description: The index of the shader node within the file
Type: Integer
Required: yes
>

<animation opcode="integer"Description: The op code for the animation
Type: Integer
Required: yes
speed="float"Description: The speed for the animation
Type: Float
Required: yes
stateName="string"Description: The name of the state required for the animation
Type: String
Required: yes
transitionTime="float"Description: The transition time for the animation
Type: Float
Required: yes
/>

</animation>

<asset filename="string"Description: The filename of the i3d file
Type: String
Required: yes
/>


<behavior type="string"Description: The behavioural system to use
Type: String
Required: no
>

<flee distance="6"Description: The range at which the species will run from the player
Type: Float
Default: 6
Required: no
moveSpeed="float"Description: How fast the instance moves while fleeing
Type: Float
Required: no
patienceLossPerMove="45"Description: How many points of patience are lost every time this speies has to flee
Type: Float
Default: 45
Required: no
patiencePerSecond="5"Description: How many points of patience are restored per second
Type: Float
Default: 5
Required: no
/>

<follow frequency="x y"Description: The range of seconds that the instance will wait between going to a position around the target
Type: Multiple values (x, y)
Default: min: 120.00, max: 360.00
Required: no
maximumDistance="6"Description: The maximum range before the instance will force find a target to the leader
Type: Float
Default: 6
Required: no
targetRange="x y"Description: The range of radii where the instance can set a target
Type: Multiple values (x, y)
Default: min: 2.00, max: 4.00
Required: no
/>

<idle attentionDuration="x y"Description: The range of durations in which the wildlife will look for danger
Type: Multiple values (x, y)
Default: min: 1.00, max: 2.00
Required: no
eatDuration="x y"Description: The range of durations in which the wildlife will eat
Type: Multiple values (x, y)
Default: min: 1.00, max: 2.00
Required: no
/>

<wander frequency="x y"Description: The minimum and maximum frequency that this species will want to move somewhere else. Every time the species moves, a value between these values will be generated
Type: Multiple values (x, y)
Default: min: 120.00, max: 360.00
Required: no
>

<fly chance="float"Description: The chance that this species will fly rather than walk to its target
Type: Float
Required: no
range="x y"Description: The minimum and maximum range that this species will fly
Type: Multiple values (x, y)
Default: nil
Required: no
/>

<swim range="x y"Description: The minimum and maximum range that this species will swim
Type: Multiple values (x, y)
Default: nil
Required: no
/>

<walk range="x y"Description: The minimum and maximum range that this species will walk
Type: Multiple values (x, y)
Default: min: 1.00, max: 2.00
Required: no
/>

</wander>
</behavior>

<movement canIdleInWater="false"Description: Is true if this species can set a movement target in a body of water; otherwise false
Type: Boolean
Default: false
Required: no
climbSpeed="1"Description: The average movement speed of the species flying upwards
Type: Float
Default: 1
Required: no
flyHeight="x y"Description: The range of fly heights of the species in the air
Type: Multiple values (x, y)
Default: nil
Required: no
flySpeed="float"Description: The average movement speed of the species in the air
Type: Float
Required: no
swimSpeed="float"Description: The average movement speed of the species in the water
Type: Float
Required: no
wadeDepth="0"Description: How far into water the instance can walk
Type: Float
Default: 0
Required: no
walkSpeed="1"Description: The average movement speed of the species on foot
Type: Float
Default: 1
Required: no
/>


<parentFile xmlFilename="string"Description: Parent xml filepath used as basis
Type: String
Required: no
>

<attributes>
<clearList keepIndex="integer"Description: Index of list to keep
Type: Integer
Required: no
path="string"Description: List to clear but keep one item
Type: String
Required: no
/>

<remove path="string"Description: Path to remove from parent xml
Type: String
Required: no
/>

<set path="string"Description: Path change in parent xml
Type: String
Required: no
value="string"Description: Target value to set in parent file
Type: String
Required: no
/>

</attributes>
</parentFile>

<sounds>
<sound chance="1"Description: The chance of the sound playing
Type: Float
Default: 1
Required: no
cooldown="0"Description: The time in seconds in which the same sound group cannot be played more than once
Type: Float
Default: 0
Required: no
name="string"Description: The name of the sound group
Type: String
Required: yes
/>

</sounds>

<spawnRules class="string"Description: The name of the class handling spawn rules
Type: String
Required: no
despawnTime="x y"Description: The time in seconds from an instance spawning before it will flee to despawn
Type: Multiple values (x, y)
Required: no
flyingOverheadChance="0"Description: The chance of this species spawning to fly over the player's head
Type: Float
Default: 0
Required: no
hotspotReuseTime="float"Description: The time in seconds after which the species can go to another hotspot
Type: Float
Required: no
hotspotType="string"Description: The type of hotspot that attracts this species
Type: String
Required: no
maximum="1"Description: The maximum number of instances that this species can have at once
Type: Integer
Default: 1
Required: no
onObjects="false"Description: Is true if this species can spawn on top of objects
Type: Boolean
Default: false
Required: no
/>

</species>