# Animal Behavior Kit - add a complete ecosystem to your game!

**URL:** <https://forums.unrealengine.com/t/animal-behavior-kit-add-a-complete-ecosystem-to-your-game/105721>\
**Category:** Game Development\
**Tags:** unreal-engine\
**Created:** [January 29, 2018, 4:18pm UTC](https://forums.unrealengine.com/t/animal-behavior-kit-add-a-complete-ecosystem-to-your-game/105721 "2018-01-29T16:18:30Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![CoquiGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/coquigames/32/1194591_2.png) [@CoquiGames](https://forums.unrealengine.com/u/CoquiGames)\
**Post date:** [March 1, 2018, 3:28pm UTC](https://forums.unrealengine.com/t/animal-behavior-kit-add-a-complete-ecosystem-to-your-game/105721/21 "2018-03-01T15:28:08Z")

</div>

Hey guys! New update!

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/d/4/cd487e5fcd619e3d8bbaf1b5a53c7f28b82d82e3.jpeg "[Devlog 5] All about Predators!") ](https://www.youtube.com/watch?v=gFCLHXmUhag)

**Whats new:**

- Predators finally hunt for prey!
- Predators hunt for nearby prey when they get hungry. This is done with a sphere trace to keep the search very efficient
- Ground animals have 2 engagement modes - Fixated (stick to the same animal) or Nearest (engage closest animal all the time)
- Predators can now do single target damage or AoE damage!
- Easily adjust melee range and debug it
- Improvements in movement - ground animals now turn smoothly towards their running direction

---

<div class="post-metadata">

**Author:** ![tero83](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tero83](https://forums.unrealengine.com/u/tero83)\
**Post date:** [March 2, 2018, 12:26pm UTC](https://forums.unrealengine.com/t/animal-behavior-kit-add-a-complete-ecosystem-to-your-game/105721/22 "2018-03-02T12:26:21Z")

</div>

nice work. Even you have lot of work ahead still have you any schedule for this asset? Like during summer or after summer?

---

<div class="post-metadata">

**Author:** ![CoquiGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/coquigames/32/1194591_2.png) [@CoquiGames](https://forums.unrealengine.com/u/CoquiGames)\
**Post date:** [March 2, 2018, 7:39pm UTC](https://forums.unrealengine.com/t/animal-behavior-kit-add-a-complete-ecosystem-to-your-game/105721/23 "2018-03-02T19:39:48Z")

</div>

> [@tero83](#):
>
> nice work. Even you have lot of work ahead still have you any schedule for this asset? Like during summer or after summer?

Thanks tero83! Its still a bit hard to tell but I’m hoping to have this ready by mid April 🙂

---

<div class="post-metadata">

**Author:** ![CoquiGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/coquigames/32/1194591_2.png) [@CoquiGames](https://forums.unrealengine.com/u/CoquiGames)\
**Post date:** [March 6, 2018, 3:34pm UTC](https://forums.unrealengine.com/t/animal-behavior-kit-add-a-complete-ecosystem-to-your-game/105721/24 "2018-03-06T15:34:49Z")

</div>

Hey guys! A quick teaser on the upcoming devlog 🙂

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/0/d/20d708dadd20480d98feaacf49c0d03793761416.jpeg "[Devlog 6 Teaser] Love is in the air this week!") ](https://www.youtube.com/watch?v=4F30e3yHNos)

---

<div class="post-metadata">

**Author:** ![Almost-Famous](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Almost-Famous](https://forums.unrealengine.com/u/Almost-Famous)\
**Post date:** [March 7, 2018, 1:30am UTC](https://forums.unrealengine.com/t/animal-behavior-kit-add-a-complete-ecosystem-to-your-game/105721/25 "2018-03-07T01:30:09Z")

</div>

This looks like a lot of fun! Great work! I can’t wait to see the finished product.

---

<div class="post-metadata">

**Author:** ![CoquiGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/coquigames/32/1194591_2.png) [@CoquiGames](https://forums.unrealengine.com/u/CoquiGames)\
**Post date:** [March 7, 2018, 6:57pm UTC](https://forums.unrealengine.com/t/animal-behavior-kit-add-a-complete-ecosystem-to-your-game/105721/26 "2018-03-07T18:57:04Z")

</div>

> [@Almost-Famous](#):
>
> This looks like a lot of fun! Great work! I can’t wait to see the finished product.

Thanks for the kind words Almost-Famous!

Its been a blast to work on this so far. Keep an eye out - theres more to come soon 🙂

---

<div class="post-metadata">

**Author:** ![Iadaenei](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Iadaenei](https://forums.unrealengine.com/u/Iadaenei)\
**Post date:** [March 9, 2018, 2:51pm UTC](https://forums.unrealengine.com/t/animal-behavior-kit-add-a-complete-ecosystem-to-your-game/105721/27 "2018-03-09T14:51:00Z")

</div>

This is amazing work, so much possibilities, I am so looking forward to this !  
A few questions and ideas popped into my mind as I was watching your devlogs:

Would it be possible to make a predator disengage if it got too far from it’s “home”, as to not have a free roaming prey lead him all across the map, like it’s giving up the chase ?

About fishes, you stated that they were quite expensive, and therefore added the option to disable them, for example if the player isn’t in the water, but they totally stop in place.  
Can it be that they would, like my previous question, remember their “home” and basically return to it if they are disabled ?  
Getting from the position at which they were when disabled to home should be a lot less expensive while still giving some “life” to the fish.  
But there is still the issue of collisions if it is an A (position at disable) to B (home) path, while the fishing might have avoided obstacles on it’s way to A, going back to B while having no “intelligence” might cause it to go in a straight line, bumping into or clipping through everything in it’s path.  
So why not have the fish “drop” waypoints at regular interval, and basically have the return trip for free, with minimum collision issue from it’s environment ?

A waypoint system could also be used by the player to set patrols for companions and expand the “Go there” command by having multiple points and looping them. Which would also tie in into your companion’s behavior, by a way of the player setting whether it’s in passive, defensive or aggressive mode similar to warlock/hunter pets in World of Warcraft, you could have your companion patrol a perimeter and kill everything in sight, have it only fight if engaged by attackers or just do laps.

Anyways, I’m exited to see what’s new in devlog 6, the teaser was great 🙂

---

<div class="post-metadata">

**Author:** ![tero83](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tero83](https://forums.unrealengine.com/u/tero83)\
**Post date:** [March 11, 2018, 7:08am UTC](https://forums.unrealengine.com/t/animal-behavior-kit-add-a-complete-ecosystem-to-your-game/105721/28 "2018-03-11T07:08:41Z")

</div>

i cant wait that can use this for my survival simulator game project, maybe

---

<div class="post-metadata">

**Author:** ![CoquiGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/coquigames/32/1194591_2.png) [@CoquiGames](https://forums.unrealengine.com/u/CoquiGames)\
**Post date:** [March 12, 2018, 2:17pm UTC](https://forums.unrealengine.com/t/animal-behavior-kit-add-a-complete-ecosystem-to-your-game/105721/29 "2018-03-12T14:17:32Z")

</div>

> [@Iadaenei](#):
>
> This is amazing work, so much possibilities, I am so looking forward to this !  
> A few questions and ideas popped into my mind as I was watching your devlogs:
> 
> Would it be possible to make a predator disengage if it got too far from it’s “home”, as to not have a free roaming prey lead him all across the map, like it’s giving up the chase ?
> 
> About fishes, you stated that they were quite expensive, and therefore added the option to disable them, for example if the player isn’t in the water, but they totally stop in place.  
> Can it be that they would, like my previous question, remember their “home” and basically return to it if they are disabled ?  
> Getting from the position at which they were when disabled to home should be a lot less expensive while still giving some “life” to the fish.  
> But there is still the issue of collisions if it is an A (position at disable) to B (home) path, while the fishing might have avoided obstacles on it’s way to A, going back to B while having no “intelligence” might cause it to go in a straight line, bumping into or clipping through everything in it’s path.  
> So why not have the fish “drop” waypoints at regular interval, and basically have the return trip for free, with minimum collision issue from it’s environment ?
> 
> A waypoint system could also be used by the player to set patrols for companions and expand the “Go there” command by having multiple points and looping them. Which would also tie in into your companion’s behavior, by a way of the player setting whether it’s in passive, defensive or aggressive mode similar to warlock/hunter pets in World of Warcraft, you could have your companion patrol a perimeter and kill everything in sight, have it only fight if engaged by attackers or just do laps.
> 
> Anyways, I’m exited to see what’s new in devlog 6, the teaser was great 🙂

Hey Iadaenei,

Thanks for the kind words and the suggestions!

**Predators Disengaging** - This is a good idea. I currently have the predator automatically disengage if it doesn’t get to melee range of its prey after certain amount of time (you can specify in seconds). This already prevents the predator chasing all across the map. However, you can still exploit it by having the AI get into melee range and then running away again over and over. I like your idea because it adds a max distance from “home” and it cant be exploited as easily :). I’ll add it to the feature list! This reminds me of the old Vanilla WoW videos of Frost Mages kiting mobs all across the map lol.

**Fishes** - This is an interesting idea, though it would still “cost something” to move the fish back (though not as much). I’ll think about it and see if there is a cheap way of doing this 🙂

Btw, your idea of the Way Point system is very interesting for companions and would add some interesting possibilities (like setting a patrol path for example). This would be really cool, but I have to think about how I would do this (like how the Player would drop these waypoints with the mouse or gamepad and then they are assigned to the companion). Its probably something I can add at a later update since it requires a lot or work . 🙂

Thanks and let me know if you think of something else to improve the kit!

---

<div class="post-metadata">

**Author:** ![CoquiGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/coquigames/32/1194591_2.png) [@CoquiGames](https://forums.unrealengine.com/u/CoquiGames)\
**Post date:** [March 12, 2018, 2:49pm UTC](https://forums.unrealengine.com/t/animal-behavior-kit-add-a-complete-ecosystem-to-your-game/105721/30 "2018-03-12T14:49:31Z")

</div>

> [@tero83](#):
>
> i cant wait that can use this for my survival simulator game project, maybe

Yeah this kit would be perfect for that kind of game for sure 🙂

---

<div class="post-metadata">

**Author:** ![CoquiGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/coquigames/32/1194591_2.png) [@CoquiGames](https://forums.unrealengine.com/u/CoquiGames)\
**Post date:** [March 13, 2018, 1:55pm UTC](https://forums.unrealengine.com/t/animal-behavior-kit-add-a-complete-ecosystem-to-your-game/105721/31 "2018-03-13T13:55:49Z")

</div>

**Devlog 6 - Quick look at the Breeding System!**

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/f/f/6ff9e36b3c3ee0855a255b149ead59c2db060219.jpeg "[Devlog 6] ABK - Quick look at the Breeding System") ](https://www.youtube.com/watch?v=aRpnrwtQ7-E)

**Features**

- Implemented as an Actor Component to keep things modular
- Customize the frequency and search radius of animals looking for potential mates
- Easily specify the name and skeletal mesh for the males and females
- Includes ability to add the Natural Death component to the offpsring - this component acts as a “Time to Live” for the animals and kills them after the timer expires

---

<div class="post-metadata">

**Author:** ![CoquiGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/coquigames/32/1194591_2.png) [@CoquiGames](https://forums.unrealengine.com/u/CoquiGames)\
**Post date:** [March 19, 2018, 1:59pm UTC](https://forums.unrealengine.com/t/animal-behavior-kit-add-a-complete-ecosystem-to-your-game/105721/32 "2018-03-19T13:59:04Z")

</div>

**Devlog 7 - Better Population Control**

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/3/e/f3e51e2cfa710bc382e8108e36fb222c37dee950.jpeg "[Devlog 7] ABK - Better Population Control!") ](https://www.youtube.com/watch?v=iYhwWCqmZHg)

The new Population Control system can do the following:

- Save data about all animals in the scene in various arrays (Structs). This data can be displayed on a dynamic table for debugging purposes
- Define Min and Max targets per species
- System will reduce the population by looking at the sexes and killing the more abundant sex (keeping a balance of male / female)
- System will also spawn animals based on the species and sex balance

---

<div class="post-metadata">

**Author:** ![CoquiGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/coquigames/32/1194591_2.png) [@CoquiGames](https://forums.unrealengine.com/u/CoquiGames)\
**Post date:** [March 19, 2018, 2:07pm UTC](https://forums.unrealengine.com/t/animal-behavior-kit-add-a-complete-ecosystem-to-your-game/105721/33 "2018-03-19T14:07:59Z")

</div>

> [@HeadClot](#):
>
> Hey @CoquiGames -
> 
> In response to questions 3 and 4
> 
> 1. I would like to see both having needs broken down into components would be awesome as well as having a generic need component for making custom needs. 🙂
> 
> 2. Yep that Is what I mean - Player enters a trigger and the creature or creatures are visible. I can see this being really useful for things such as caves full of bats for example.

Hi @HeadClot !

I’ve been moving the current code to different components and recently finished the Need System component. I’ll be working on a Custom Need component like you suggested. Can you give me a few examples of what custom needs you may need?

I have an idea of a generic component where you choose a location / actor and the animal will go there after the time expires (basically a generic Hunger / Thirst need but you get to specify the actor in the world). But, before I get working on this I wanted to get your opinion to see if Im missing something.

Thanks!

---

<div class="post-metadata">

**Author:** ![CoquiGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/coquigames/32/1194591_2.png) [@CoquiGames](https://forums.unrealengine.com/u/CoquiGames)\
**Post date:** [March 27, 2018, 2:10pm UTC](https://forums.unrealengine.com/t/animal-behavior-kit-add-a-complete-ecosystem-to-your-game/105721/34 "2018-03-27T14:10:29Z")

</div>

**Devlog 8 - Custom Need System!**

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/3/2/53293951290495f3b3a2beb6ecd89cf9aa8fbf95.jpeg "[Devlog 8] ABK - Custom Need System!") ](https://www.youtube.com/watch?v=htrok-P2rVI)

**Features:**

- Component-based system that can be added to the current Need System (hunger and thirst)
- You can stack Custom Need components and have as many as you’d like in your animal
- Comes with 3 Modes - Single Actor, Get Nearby Actor from Class, or run a custom script

---

<div class="post-metadata">

**Author:** ![CoquiGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/coquigames/32/1194591_2.png) [@CoquiGames](https://forums.unrealengine.com/u/CoquiGames)\
**Post date:** [April 5, 2018, 2:34pm UTC](https://forums.unrealengine.com/t/animal-behavior-kit-add-a-complete-ecosystem-to-your-game/105721/35 "2018-04-05T14:34:04Z")

</div>

Devlog 9 - Better Companions and a more modular kit!

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/9/5/d95beba4f5032d515e96eea550e517d68855a805.jpeg "[Devlog 9] ABK - Better Companions and Modular Kit Improvements!") ](https://www.youtube.com/watch?v=L_zVhb5dxKo)

---

<div class="post-metadata">

**Author:** ![zlafterlife](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zlafterlife](https://forums.unrealengine.com/u/zlafterlife)\
**Post date:** [April 6, 2018, 1:06am UTC](https://forums.unrealengine.com/t/animal-behavior-kit-add-a-complete-ecosystem-to-your-game/105721/36 "2018-04-06T01:06:29Z")

</div>

This Kit is looking awesome keep up the great work

---

<div class="post-metadata">

**Author:** ![CoquiGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/coquigames/32/1194591_2.png) [@CoquiGames](https://forums.unrealengine.com/u/CoquiGames)\
**Post date:** [April 6, 2018, 1:27pm UTC](https://forums.unrealengine.com/t/animal-behavior-kit-add-a-complete-ecosystem-to-your-game/105721/37 "2018-04-06T13:27:14Z")

</div>

> [@zlafterlife](#):
>
> This Kit is looking awesome keep up the great work

Thank you so much zlafterlife! You have no idea how much comments like these help me stay motivated 🙂

---

<div class="post-metadata">

**Author:** ![JimFox](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jimfox/32/1211739_2.png) [@JimFox](https://forums.unrealengine.com/u/JimFox)\
**Post date:** [April 7, 2018, 9:13am UTC](https://forums.unrealengine.com/t/animal-behavior-kit-add-a-complete-ecosystem-to-your-game/105721/38 "2018-04-07T09:13:04Z")

</div>

Nice

> [@CoquiGames](#):
>
> Devlog 9 - Better Companions and a more modular kit!
> 
> [https://youtube.com/watch?v=L\_zVhb5dxKo](https://youtube.com/watch?v=L_zVhb5dxKo)

Nice, it’s just getting better and better! KUTGW! 😉

---

<div class="post-metadata">

**Author:** ![CoquiGames](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/coquigames/32/1194591_2.png) [@CoquiGames](https://forums.unrealengine.com/u/CoquiGames)\
**Post date:** [April 9, 2018, 1:15pm UTC](https://forums.unrealengine.com/t/animal-behavior-kit-add-a-complete-ecosystem-to-your-game/105721/39 "2018-04-09T13:15:22Z")

</div>

> [@JimFox](#):
>
> Nice
> 
> Nice, it’s just getting better and better! KUTGW! 😉

Thank you! 🙂

---

<div class="post-metadata">

**Author:** ![tero83](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@tero83](https://forums.unrealengine.com/u/tero83)\
**Post date:** [April 11, 2018, 6:52am UTC](https://forums.unrealengine.com/t/animal-behavior-kit-add-a-complete-ecosystem-to-your-game/105721/40 "2018-04-11T06:52:41Z")

</div>

amazing, can’t wait for marketplace release

[Previous page](https://forums.unrealengine.com/t/animal-behavior-kit-add-a-complete-ecosystem-to-your-game/105721.md?page=1)

[Next page](https://forums.unrealengine.com/t/animal-behavior-kit-add-a-complete-ecosystem-to-your-game/105721.md?page=3)
