Characters

VisAI - Companion - Modern AI Framework

Modern multiplayer-ready AI framework for RPGs with relationship-driven companion behavior, command UI, interaction system, and detailed example map.

VisAI - Companion - Modern AI FrameworkCharacters

Resource overview

Companion AI That Reacts to Relationships and Aggression

The 1st thing you notice with VisAI – Companion is that the Artificial Intelligence (AI) doesn't act in a vacuum. Its behavior is influenced by the relationships of the Actors around it, its current command status, and its aggression level. That means a companion can hold fire, press an attack, or ignore an order depending on who it's dealing with and how it's been configured.

Aggression levels map directly to combat posture. An aggressive companion will ignore commands until all known enemies are dealt with. A neutral companion won't attack unless attacked, and it stays fully cooperative with commands. A friendly companion won't attack even if it's attacked. This gives you a sliding scale of behavior without writing custom branches.

Relationships are not locked into 1 single definition. You can define relationships in any way you see fit, and they can change dynamically during play. The companion automatically ignores attacks by friendlies, but that's a configurable behavior. You could modify it so a friendly remains non-hostile until they push the AI into the "danger zone" of health. That kind of tuning is left completely up to you.

The VisAI Framework Underneath

VisAI is described as a Modern AI Framework with abstracted, streamlined, and modular code. It's built to be highly optimizable, customizable, and Multiplayer-supported. The framework integrates with virtually any plugin or project and is "built for everyone" in the sense that it comes with configurable settings, live debugging tools, and long-term support.

Under the hood, the framework is incredibly optimized and ready for 100s of AI. Various detailed examples are included to show how the pieces fit together. AI files can be automatically generated on the fly, and there's an automatic "framework fork" generation that lets you branch the AI logic without pulling everything apart. More advanced Editor Utility Tools are in the works, but the existing settings already let you configure many options without hunting through code.

The codebase relies on modular, ready-to-go actions for quick AI setup. Complex behaviors run with minimal overhead, and detailed comments and descriptions appear throughout. This is a framework that expects to be customized, and the structure is meant to keep that customization from turning into a maintenance problem.

Perception, Memory, Health, and Targeting Systems

VisAI provides tools for visual, auditory, and touch perception, so companions can react to what they see, hear, and feel. The health and damage system is easily adjustable and full-featured. The memory system is high quality, abstract, and adaptable. The targeting system is versatile and multi-Actor, and pathfinding is room and highlight based.

Dynamic AI decision making sits on top of those systems. The companion's behavior can shift based on what it perceives, what it remembers, how damaged it is, and which targets are currently relevant. Because the systems are separate modules, you can tune each 1 directly. For example, you could adjust how sensitive the companion is to sound, or how long it remembers a threat.

Command Authority and Command User Interface (UI)

The command system is modular, customizable, and extendable. It ships with 10+ existing commands and a straightforward command creation process, so adding new orders doesn't require a rewrite. Multiplayer command authority lets you define exactly who can command the AI, and command hotkeys are set up by calling a single function from an attached Actor Component.

When a player tries to give an order, they interact with the command interaction User Interface (UI). It uses a conversation-like approach: players with authority see the full list of commands, while players without authority see a busy message. That clear separation helps in Multiplayer sessions where ownership matters. The interaction system itself is also modular, customizable, and extendable, so you can adapt the UI to your project's art style.

Interactables, Doors, Buttons, and Replicated Base Classes

The package includes a highly interactive door template with toggle functionality, auto close, lock, and much more. 2 button types are provided: a push button that works with mouse-based interactivity, and an overlap button that relies on collision-based interactivity. Both integrate easily with the door using object references. The overlap button uses Material Instances to dynamically change color when stood on, giving players visual feedback.

Beyond the ready-made pieces, there's a complete Base Class setup for quick creation of Replicated interactables. That means you can build custom interactive objects and have them work in Multiplayer without starting from scratch. The door, push button, and overlap button are all examples of how that Base Class can be used.

Example Map and Where the Companion Fits

A fully detailed Example Map is included, with an overview of the features and lots of notes to help you get started. It shows the companion AI, the command system, the interaction UI, and the door/button templates working together in a real scene. The enemy AI is included as a basic attack with simple animations, giving you a starting point for combat opponents.

VisAI – Companion is aimed at teams building Role-Playing Game (RPG), adventure, action, strategy, or puzzler projects. The companion AI is intended for games that need a highly intelligent, feature-filled, versatile sidekick. With relationship-driven behavior, command authority, interaction systems, and Replicated interactables, it's a practical base for Single-Player and Multiplayer games alike. The framework's modular code, long-term support, and scalability for 100s of AI make it a tool you can extend as your project grows.

Related Resources Worth Checking

Free Download

Download this resource

Loading your download options...

Resources are manually reviewed before listing to improve quality and reduce obvious risks.

Resource archiveContent.7z

Related resources