Skip to main content

Factions

Factions is a feature which allows you to assign NPC's to specific groups with their own behaviors and logic towards other factions.

For example, you could have the high ranking gang of the Tunnel Snakes with their legions of members (three) and they can be set to aggressive against the Brotherhood.

Usage

Game State

The game state controls all alliances between all factions. It allows you to set which factions are friendly, neutral or hostel to one another.

gamestate-faction.webp

ENarrativeFactionID Properties

Enumerator NameDescription
NoneRepresents a person without an affiliation.
BanditsExample faction. Represents characters affiliated with bandits. Can be edited in NarrativeArsenal.h.
HeroesExample faction. Represents characters affiliated with heroes. Can be edited in NarrativeArsenal.h.
CiviliansExample faction. Represents characters affiliated with civilians. Can be edited in NarrativeArsenal.h.
SoldiersExample faction. Represents characters affiliated with soldiers. Can be edited in NarrativeArsenal.h.

ETeamAttitude Properties

Enumerator NameDescription
FriendlyRepresents an attitude that is friendly.
NeutralRepresents an attitude that is neutral.
HostileRepresents an attitude that is hostile.