I’m proud to announce the release of Sheep Herd.
Sheep Herd features herding behavior with leader and follower Sheep. These Sheep have a Health and Stamina System and use a full AI Controller, Blackboard and Behavior Tree Environment. They keep track of and run from Enemy Actors that they see using the Perception system. You can also play as a Sheep.
Leader Sheep - These Sheep will roam to random Sheep Path Targets you place around your level. They will take breaks to graze and Idle, then move on to the next Sheep Path Target. As they move around they will lose stamina (at an adjustable rate). When out of Stamina they will rest. They will keep track of all actors with an Enemy Tag in their Perception range and run from the nearest Enemy.
Follower Sheep - These Sheep will keep an eye out for a leader Sheep to follow as they roam to random Sheep Path Nodes. Follower Sheep will become tied to the first Leader that they encounter. If their leader dies they will be on the lookout for a new leader. Follower Sheep will also run from Actors with an Enemy Tag, and once clear of the Enemy they will regroup with their Leader. Follower Sheep will also rest but only when the Leader does, so they rest and sleep as a group.
Non-Grouping Sheep - These Sheep will act as lone solo Sheep without care for leaders or followers. Non grouping Sheep will have the same behavior as a leader Sheep without having followers.
Sheep Herd is now avaliable in the Unreal Marketplace.
1 Like
Hi there @Living_Systems,
They’re so adorable and realistic
Brilliant job. Obvious adorable-ness aside, the “herd” behavior is phenomenal. Now you just need that one sheep to fall upside down and be unable to get himself back up 
Hi,
This look great. Well done. A question. I am looking at making a film and wondering if this can be use via the sequencer?
Thank.
I’m not sure, Sheep herd uses the perception system and I’m not sure if the perception system is active in sequencer. Sorry I couldn’t be more helpful.
I’m using the sheep as the player character and noticed that the health system already exists within the Sheep Blueprint. However, when the sheep is placed in the level and controlled by the player, the health doesn’t seem to update or respond during gameplay.
It’s unclear how the health system is intended to be triggered or driven when using the sheep as the player rather than a standard character setup.
Could you clarify how this is supposed to work?
- Is additional setup required to get the health system responding in-game?
- Is there a specific way the sheep Blueprint needs to be used or possessed for this to function correctly?
- Are there any guides or examples that show this working with the sheep as the player character?
Any pointers to relevant documentation or tutorials would be really helpful.
Yes the Play As Sheep is ready for damage. You need a damage causer to inflict damage on the Sheep. when the sheep reaches 0 health they will ragdoll then restart the level in the player start location. This is handled in the “BP_PlayAs_Sheep_Base” in the Parent Class Folder- Look for the Damage section. A simple way to test this out is drag a Pain Causing Volume into the level- See Image
I also added a rock to mark the spot in game. On the volume itself you can set how much damage it causes. Now when playing the level as a Sheep (Set PlayAsSheep_Gamemode in the World Settings- GameMode Overide) If I walk into this volume you can see it is causing Damage- The Health Bar is on the top Left. See Image
I hope that was helpful. You may want to look up some tutorials on Damage and Damage causing in Unreal.
1 Like
Amazing thanks that’s exactly what I needed appreciate your help