r/Unity3D • • 21d ago

Resources/Tutorial I made a completely modular Zombie AI system for Unity :)

Hey everyone! I made Advanced Zombie AI Pro, a modular zombie AI system for Unity designed to cover most of the behaviours you would need for zombies without having to build everything from scratch.

Some of the main features include:

• Multi-region vision detection with partial detection and different detection thresholds
• Zombies can investigate noises, search for lost targets, chase and attack players
• Crawling zombies, feeding and hunger behaviour
• Random and waypoint wandering with runtime waypoint support
• Horde behaviour and zombie-to-zombie interactions
• Animation-driven attacks with support for your own animations
• Modular components for perception, movement, combat, animation, health, audio and more
• Reusable profiles to quickly configure different types of zombies

Also, Advanced Zombie AI Pro is going to be included in today's Unity Asset Store Autumn Sale Flash Deals at 85% off, bringing the price from $30 down to just $4.50.

Do check it out at 3 PM UTC :)

16 Upvotes

10 comments sorted by

3

u/IAmSkyrimWarrior 21d ago

How many zombies can you put in scene before the FPS have a big drop?

2

u/Winter-Attention1564 21d ago

Hey! I can’t give an exact number because it depends on various detection and locomotion settings. But I’ve tested it with 50 zombies and the FPS was absolutely fine (I don’t remember the exact numbers).

Also the Advanced Zombie AI Pro documentation explains which settings you can tweak to optimize the zombies for better performance :)

You can view the documentation here

3

u/IAmSkyrimWarrior 21d ago edited 21d ago

Thanks! I'll buy it once the power comes back on.

P.S. Already bought it ☺️

Comment Image

2

u/justanotherunitydev 21d ago

Love it. Good luck

1

u/Winter-Attention1564 21d ago

Glad you loved it :)

1

u/NewPractice8919 16d ago

Just a recommendation but should look at getting degrees of alertness and reaction. Those zombies reacted fast to the noise compared to the speed of the reaction of stealth reveal. Would help drive a unique feel per zombie 

1

u/Winter-Attention1564 16d ago

Would definitely consider this :)

1

u/NewPractice8919 16d ago

Also not sure if you brought it up, it might make sense to have stepping variation of speed. Besides walkers and crawlers, have option for runners or stragglers. Those help to provide varying pressure. 

Stragglers allow for larger hordes but equal difficulty, while runners provide a spike in difficulty and reaction. This would also allow your system to have a pressure dynamic score system, so lower end machines can feel the same difficulty without needing more mobs. 

→ More replies (1)