I Made Mr X's AI from Resident Evil 2 Remake | Game Devlog
DarkDax DarkDax
23.9K subscribers
2,082 views
0

 Published On Nov 25, 2023

I recreated Mr X's AI from Resident Evil 2 Remake using Behaviour Trees in the Unity Engine from the ground up!

After many months of studying game AI, game design, coding, general game development and procrastination... I have finally completed my biggest game dev project yet inspired by the popular Resident Evil stalker AI, such as Jack Baker, Mr X and Lady Dimitrescu.

In this devlog, I explain what Behaviour Trees are, how they work, how to create a Behaviour Tree system in Unity using C#, how to create game AI, how to make Mr X, how to make a resident evil stalker system and how I fell to the dangers of Scope Creep and ultimately clawed myself back up to the surface to complete it.

Video Game AI is something I've always been interested in but never truly touched; from Finite State Machines to Goal Oriented Action Planning, to Behaviour Trees. It's a huge game dev topic. So I did the logical thing of diving into the deep end and recreating one of gaming's most revered enemy AI, Mr. X from Resident Evil 2, by creating my Behaviour Tree system in Unity.

Hopefully, you'll learn something from this devlog, if not, then enjoy it, if not, then Mr. X will come for you next.

💻 Links
The Game: https://jackpettigrew.itch.io/game-ai...

Second Channel:    / @dax_plays  
Support me on Patreon:   / darkdax  
Follow me on X (Twitter):   / thisisdarkdax  
Join me LIVE on Twitch:   / darkdax96  

📚 Credit
Mr X Model: https://www.deviantart.com/dollymolly...
AI and Games: ​⁠@AIandGames
Chris Simpson: https://www.gamedeveloper.com/program...
Liz England: https://lizengland.com/blog/2014/04/t...
George Baker - Save Room Theme: ​    • Not So Safe Room - George Baker x Dar...  

🎬 Timestamps
Intro: 00:00
Behaviour Tree Basics - 01:10
Creating a Behaviour Tree - 02:20
Nodes: Composite - 03:03
Nodes: Conditionals - 04:26
Nodes: Action - 04:44
Additional Nodes - 04:56
Challenges - 05:09
Visual Editor - 05:45
The States of Mr X - 05:46
States: Idle - 06:02
States: Attack - 06:12
States: Searching - 06:50
Room Navigation - 07:11
Door Problem - 10:10
Behaviour Tree Completed - 12:19
Gameplay - 13:12
Reflection - 15:15
The Best Bit: 17:25

🎮 Game
Resident Evil 2 Remake (2019)

Stay Safe & Thanks for watching! ~(˘▾˘~)

#ResidentEvil2 #gamedev #gameai #mrx #gamedevelopment #indiedev #indiegame JJJreact

show more

Share/Embed