Skip to content

Factions ​

The Factions editor (Behaviors > Factions).
The Factions editor (Behaviors > Factions).

A faction is a side. Every NPC belongs to one (or to none), the party belongs to the Player faction, and the factions decide who fights whom: who attacks on sight, who defends their friends, who ignores everyone. A faction also tracks reputation: how much another faction likes it, which can change who is an enemy.

The built-in factions ​

FactionWhat it is
PlayerThe party. Always on the same side as itself
EnvironmentalNature and scenery: traps, hazards, destructible objects. It is neutral to everyone and is never an enemy, but it can always be targeted

The demo adds Friendly (allied with the Player, hostile to Hostile) and Hostile (hostile to the Player and to Friendly). Make as many as your world has.

Fields ​

FieldWhat it does
Name, Description, Icon, ColorThe name and color in the editor and in nameplates
Faction standings (Add Reputation Level)The ranks of reputation, see below
Faction relationships (Refresh List)A line for every other faction: how this faction treats it by default

Relationships ​

For every other faction, this faction has a default relationship: Hostile, Neutral or Friendly (a name that is not one of these, such as Allied, counts as friendly). The relationship is read from the point of view of this faction: Hostile may be hostile to the Player and the Player may still be neutral to Hostile if you set it that way. Normally you set both sides.

How two factions are compared:

QuestionAnswer
Is a faction hostile to itself?Never. Members of the same faction are friends
Is anything hostile to Environmental?Never. Environmental is neutral to all
OtherwiseThe reputation standing decides if there is one (below), else the relationship listed in the editor
Can it target the other as an enemy?When it is hostile to it or not friendly to it. A neutral can be attacked

What the relationships do in play:

RelationshipEffect
HostileAn NPC attacks on sight when the other is within its sight range (it pulls). An area effect that "hits enemies" hits it
NeutralNo one attacks first. A neutral NPC that is attacked fights back, and is neutral again when the fight ends. Area effects that "hit neutrals" decide for themselves
FriendlyThey help each other. A friendly NPC will not be damaged by "enemies only" effects, and heals and buffs can target it

An NPC with no faction acts as a neutral creature.

Reputation ​

Reputation is a number a faction keeps for each other faction. The party gains and loses it with rewards (a quest that makes the Thieves' Guild like you more) and your own scripts.

The Faction standings are the ranks along the number:

Field of a standingWhat it does
Level nameRevered, Honored, Neutral, Unfriendly, Hostile
Min reputationThe standing begins at this number. The levels are sorted by it. A standing lasts until the next one begins
Description, Color, IconFor the reputation window
RelationshipHostile, Neutral or Friendly: what this standing means for the fight

When the standing a reputation puts you in has a relationship, it wins over the default relationship: raise your reputation with the Hostile faction enough, and its guards stop attacking you. A change of standing raises a signal the interface can show.

The Environmental faction keeps no reputation.

The rewards and the requirement ​

WhereWhat it does
Faction Reputation rewardAdds (or, with a negative number, takes away) reputation with a faction
Faction Standing rewardSets the reputation to the start of a standing by its name
Faction requirementNeeds a minimum reputation or a named standing with a faction: "Honored with the Guild"

Skill trees ​

The Skill Trees section of the faction editor lists the skill trees of the faction: a tree for the Mages Guild, a tree of favours. A tree opens once the party has met the faction (the faction has a standing with the party's faction) and spends the points of faction pools (Points belong to: The party). Use the tree rules (a requirement on the standing, say) to open it later. Factions belong to the party for now.

Where a faction is chosen ​

  • NPC: the Faction field of the NPC definition, and the override of a placed NPC.
  • Summoned things: a pet or a summoned object takes the faction of its summoner.
  • Abilities and effects ask the faction relationship when they decide who counts as an enemy, an ally or a neutral.
  • Encounters and traps with a relationship filter use it too.

See also ​