This repository contains the source code and assets used in my Unreal Engine 5.4 AI development tutorial series. Each part of the series explores a different aspect of AI behavior, ranging from basic setups to advanced state handling and task prioritization within behavior trees. You can find the related YouTube video links for each part in their respective sections.
- Part 1: Basic AI Setup and Custom Tasks
- Part 2: Patrolling, State Switching, and Animation Montages
- Upcoming Parts
- How to Use
- Technologies
- License
Video Link: Watch on YouTube
In this part, I demonstrate the foundational AI setup, which includes:
- AI Controller Setup: Creating a basic AI controller to handle AI movement and actions.
- Behavior Tree Creation: Setting up the behavior tree and blackboard to manage AI decision-making processes.
- Custom Tasks: Developing custom tasks such as AI attacks, focus handling, and other actions.
- Leg IK Fix for UE5 Mannequin: Ensuring correct leg IK setup for smoother animation blending.
Video Link: Watch on YouTube
This part builds on the previous AI setup and focuses on the following:
- Patrolling AI: Implementing spline-based patrol paths for AI navigation.
- State Switching: Using behavior trees to switch between different AI states, such as idle, patrol, and attack.
- Task Priority: Managing task priorities in the behavior tree, allowing for interruption of lower-priority tasks by higher-priority ones.
- Animation Montages: Creating and utilizing animation montages, including triggering specific actions with montage notifies.
Additional parts will be added soon, focusing on more advanced AI behavior, including combat strategies, boss AI, and dynamic world interaction.
- Clone the repository to your local machine:
git clone https://github.com/FurkanBaytak/Unreal-Engine-5.4-EnemyAI-System.git
- Open the project in Unreal Engine 5.4.
- Navigate to the
Content
folder to view. - Behavior Trees, AI Controllers, and tasks can be found within the corresponding Blueprint and asset directories.
- Unreal Engine 5.4: The core game engine used for development.
- Blueprints: Used for visual scripting in conjunction with C++.
- Behavior Trees: For decision-making AI logic.
- Custom Tasks: For custom tasks used by AI.
- Animation Montages: For managing character animations.
This project is licensed under the MIT License - see the LICENSE file for details.