I created my own AI tool for my Indie Survival Horror Game (Devlog #2)
https://www.youtube.com/watc...I'm working on a Classic Survival Horror inspired 3rd person game and these are the custom AI tools I've been working on to be able to visually program and customize my AI actors.
The reason I choose to make the tools for myself instead of using existing tools or unity state machine system was more to help me better understand and improve my tool making for unity, as well as having the ability to fully customize it to my own specifications.
The tool does not couple itself with any of the other scripts, instead it uses an event system that the scripts register themselves to, ensuring the system can be fully modular and customizable,
for example:
The vision detection script attached at the moment can be replaced with a radar style detection system instead if I so desire, or if a detection script is not present at all, it will not cause null exception errors.
As for the editor tools themselves, I've written a bunch of generic EditorGUI methods to make adding in new options incredibly easy, a reusable side bar set up that can be reused for future tools if desired and a series of SerializedProperty extension methods to allow for the cloning/copying of data or cycling to access their parent's data.
ā« Music ā«
All music by The Consouls, please check them out!
https://www.youtube.com/watch?v=3mSJ-8DrNi4
https://www.youtube.com/watch?v=wwHVf7q-zPU
https://www.youtube.com/watch?v=Q6BHmjohyLU
https://www.youtube.com/watch?v=vLBw_uI7iFg
https://www.youtube.com/watch?v=SYerNaakCwk
https://www.youtube.com/watch?v=OFIygrwQS5Q
https://www.youtube.com/watch?v=q9SRWWtCfJs
š® Chapters š®
00:00 You got to make a tool.
00:14 AI Patrol tools
00:59 AI Detection tools
02:30 AI Behaviour Manager Introduction
04:01 The State Editor Introduction
08:12 Conditions Explanation
11:55 Detection Demonstrations
16:06 Move Logic Demonstrations
28:47 Animation tools
31:27 Future plans
Patreon: https://www.patreon.com/Facepalme
Let's Play Channel: https://www.youtube.com/channel/UCzOluuJezYEM1wP4Kd0EPhg
Home
/
Indie Game Developers/
Facepalme Dev/
I created my own AI tool for my Indie Survival Horror Game (Devlog #2)