NPC AI - Breakdown
Magisteros » Devlog
NPC AI
The Non-Player-Character Artificial Intelligence (NPC AI) is the system that controls the behaviour of NPCs in this project. I utilised Finite-State Machines (FSMs) and Unity’s NavMesh system to achieve this.
(AI-FSM.png)
By creating new state classes that inherit from the BaseState class, I can create different actions and transitions to create new behaviours that link to other states.
NPCs can cache references to chosen custom states and variables using the Scriptable Object, C_Attributes. This makes it easier for designers to easily create new NPC types using only the editor.
Files
Magisteros MVP (v1.0) 30 MB
Jun 17, 2023
Get Magisteros
Magisteros
An Action RPG created during Mastered Bootcamp.
Status | Released |
Author | Brad Dallimer |
Genre | Action, Role Playing |
Tags | Action RPG, Fantasy, Prototype, Singleplayer, Third Person, Unity |
More posts
- Dynamic Scene Loading - BreakdownJun 20, 2023
- Melee Combat - BreakdownJun 20, 2023
- Data and Event Handling - BreakdownJun 20, 2023
Leave a comment
Log in with itch.io to leave a comment.