Set Up Ninja Factions
Prerequisites
Start with an Unreal project and a level where you can play as one character and place an enemy. Ninja Factions supplies the components and controllers needed for the first walkthrough.
Setup Checklist
Step | When you need it | Where to go |
|---|---|---|
Enable Ninja Factions. | Every project | |
Add the | C++ classes that use the plugin | |
Register the folder that contains your faction assets. | Projects using the built-in asset database | |
Choose how one actor judges another. | Keep the default for fixed teams, or select reputation for changing relationships. |
Register your faction folder
In the Content Browser, create a folder for faction assets, for example Content/Data/Factions.
Open Edit → Project Settings → Asset Manager → Primary Asset Types to Scan. Add or update the entry for
FactionSetup. Set Asset Base Class toNinjaFactionDataAsset.Add your folder under Directories, for example
/Game/Data/Factions. Leave Has Blueprint Classes and Is Editor Only off. Use Always Cook to include these factions in packaged builds. Save the settings and restart the editor.

The shared Asset Manager guide includes the matching configuration entry.
Choose the Relationship Rules
Open Project Settings → Ninja Factions. For a first game with fixed teams, keep Faction Database Class on Faction Database: Data Assets and Faction Solver Class on Faction Attitude Solver: Simple Attitude Check. The plugin uses Default Team (initially No Team) and Default Attitude (initially Neutral) as fallbacks when it cannot resolve a team or attitude.
For a game where quests change how a faction sees the player, choose Target Reputation and assign a Reputation Table. You can make that change after the first team test. See Reputation and Attitude.
First Steps
Give two actors opposing factions to check your setup in play.