Brains AI
A downloadable tool
BrainsAI – Modular Tactical AI for Unity
BrainsAI is a modular system for Unity that simulates tactical and responsive enemy or companion behavior — from patrolling and detection to combat and cover systems.
Whether you're building a stealth game, tactical shooter, or immersive RPG, BrainsAI gives you everything you need to bring intelligent NPCs to life.
🧠 Key Features
▶️ Core AI System
- Smart State Machine – Switches between Idle, Patrol, Alerted, Investigating, and Combat states.
- Can be used on non-humanoids like security cameras, turrets, etc.Field of View (FOV) – Detects targets in a cone or radius (supports 360°).
- Chase & Distance Control – Use for melee AI (e.g., zombies) or ranged enemies that keep a safe gap.
- Group-Based Communication – AI can alert others in a shared group. If both agents belong to the same alarm group, they’ll rush to the noise position.
- Investigation Behavior – Agents investigate intelligently when losing sight of the target.
- Affects all groups included in the call.Fake Noise Support – Trigger decoy sounds (like explosions or distractions) to lure agents.
🛡️ Tactical AI (Advanced Behavior)
Includes all core features, plus:
- Cover System – Finds safe zones behind obstacles based on the target’s direction.
- Peek-and-Hide Logic – Agent exposes and hides dynamically to simulate tactical combat.
- Safe Spot Grids – Automatically generates optimal cover points.
- Vertical Spot Support – Works on multi-level NavMesh setups.
- Ideal for shooter enemies that hide, peek, and attack from cover after a few seconds.
🧰 Editor & Utilities
- Custom Patrol Path Editor – Design patrol routes directly in the scene view.
- Inspector-Integrated FOV – FOV settings now show directly in the BrainAI inspector.
- Visual Debug Gizmos – See FOV, attack ranges, and cover points in-scene.
- Clean Inspector Tools – Includes foldouts, icons, and tooltips for clarity.
- Static Utility Methods – Helpful gizmo and GUI functions for your own scripts.
✅ Requirements
Requires Unity’s built-in AI Navigation system (NavMesh).
Enable via Window > AI > Navigation or the Package Manager.💡 Integration Tips
- Use UnityEvents to trigger alarms, sounds, or VFX on detection.
- Fully compatible with custom animation setups — just use Animator parameters.
- Supports dynamic worlds with NavMeshObstacle and NavMeshModifier.
- Build stealth, shooter, or zombie-style AI by tweaking FOV, patrol, and aggression settings.
- TacticalAI script is child class of BrainAI and a great starting point — it’s fully commented and easy to learn from.Create your own AI type by extending BrainAI.
💬 Support
📧 ultraboltstudio@gmail.com
Feel free to reach out for help, bug reports, or feature requests!
Updated | 17 days ago |
Status | Released |
Category | Tool |
Author | Ultrabolt |
Tags | ai, fov, game-development, hide-and-peek, Tactical, Unity, unitypackage |
Purchase
In order to download this tool you must purchase it at or above the minimum price of $4 USD. You will get access to the following files:
Leave a comment
Log in with itch.io to leave a comment.