Ninjutsu Games
Asset StoreYoutubeTwitterInstagramSupport
  • 🖐️Welcome!
  • Game Creator 2
    • ☢️Fusion Module
      • Setup
      • Sessions
      • Characters
      • Variables
      • Remote Procedure Calls
      • Settings
      • User Interface
      • References
        • Shutdown Reasons
      • Guides
        • How to test my game
        • How to toggle Debug mode
        • How to Update Fusion SDK
      • Releases
      • 🤝Fusion Factions
        • Releases
      • 💫Fusion Stats
        • Releases
      • 📦Fusion Inventory
        • Releases
      • 🧙Fusion Abilities
        • Releases
      • ⚔️Fusion Melee
        • Releases
      • 🔫Fusion Shooter
        • Releases
    • 🤝Factions
      • Setup
      • Faction Asset
        • Settings Editor
      • Member
        • Memory
      • Visual Scripting
        • Conditions
        • Events
        • Instructions
        • Properties
      • User Interface
      • Releases
      • 🌐Photon Factions
    • 🎮Coop
    • 👑Loot Locker
      • Getting Started
      • Authentication
        • Guest
        • White Label
        • Google
        • Steam
        • Apple Sign In
      • Sessions
      • Save Load
      • Players
        • Player Storage
        • Names
      • Leaderboards
        • Visual Scripting
      • Messages
      • Progressions
      • Replenish System
      • Date Time
        • Server Time
      • Handling Errors
      • Releases
    • 🤖State Machine 2
      • Graph Editor
      • State Machine Runner
      • Nodes
        • Node Features
      • Variables
      • Shortcuts
      • Releases
    • 🌐Photon Module 2
      • Overview
      • Releases
      • 🔫Photon Shooter
        • Getting Started
        • Releases
      • 💫Photon Stats
        • Releases
      • 📦Photon Inventory
        • Overview
        • Releases
      • 🧙Photon Abilities
        • Releases
      • ⚔️Photon Melee 2
        • Troubleshooting
        • Releases
  • Game Creator 1
    • Photon Network
      • Overview
      • Characters
      • Network Items
      • Actions
      • Conditions
      • Triggers
      • Guides
        • How to Connect and Instantiate your Player
        • Instantiation Options
        • How to Sync Attachments
        • How to display room or other network information
        • How to setup Camera Motor
        • How to test my game
      • Sub-Modules
        • 🏃Photon Traversal
        • ⚔️Photon Melee
        • 🔫Photon Shooter
          • Changelog
      • Changelog
    • State Machine
      • Editor Graph
        • Nodes
        • Blackboard
        • Copy & Paste
        • Targets
      • Export State Machines
      • Changelog
    • RPG (Deprecated)
      • Actor
        • Actions
        • Conditions
        • Triggers
      • Attributes
        • Actions
        • Conditions
      • Classes
        • Actions
        • Conditions
      • Skills
        • Actions
        • Conditions
      • Formulas
      • Changelog
    • AI & Factions (Deprecated)
      • Changelog
Powered by GitBook
On this page
  • Overview
  • Creating a New Faction Asset
  • Inspector Overview
  • Reputation Thresholds
  • Faction Relationships
  • Faction Variables
  • Save & Load

Was this helpful?

  1. Game Creator 2
  2. Factions

Faction Asset

PreviousSetupNextSettings Editor

Last updated 8 months ago

Was this helpful?

Overview

The Faction asset defines the various factions within your game. It includes settings for reputation thresholds, relationships with other factions, and custom variables.

Creating a New Faction Asset

To create a new Faction asset, right-click on the Project Panel and select Create → Game Creator → Factions → Faction.

Inspector Overview

The Faction asset has several distinct sections, each allowing you to configure different aspects of the faction.

The Type field determines whether the Faction is a hidden faction, or a normal one.

Hidden factions can be hidden from UI elements and are useful for setting up factions that should not be displayed to the user. For example, a player or secret faction.

The Sorting Order determines the priority of the Faction compared to the rest, when being displayed as a list on UI elements. A Faction with a higher value will be displayed above other Faction assets.

The ID is a unique identifier that distinguishes a Faction from others.

If there are two Faction assets with the same ID value, an error message will appear above. To resolve it, click on any of the fields and it will reveal a button that regenerates the current value with a unique one.

Reputation Thresholds

The Reputation Thresholds section allows you to define how reputation points translate into faction stances.

Reputation points can be disabled in a Faction by disabling "Use Reputation"

Each stance is defined by a color and a point threshold, making it easy to visualize the current reputation level in the game.

Negative values can also be utilized for reputation thresholds.

Faction Relationships

This section allows you to define the default relationships this faction has with other factions.

You can click on each circle to change relationship towards the specific Faction

Faction Variables

Custom variables can be defined on factions. These variables can be used in gameplay to store faction-specific data.

Faction Variables allow you to define custom data specific to each faction. These variables work similarly to Global Name Variables, but with a key distinction: all factions have the same set of variables, but each faction can hold different values for these variables.

For example, if you define a variable called resourceLevel, every faction will have this variable, but the resourceLevel value can be different for each faction. This allows you to track and manage faction-specific data dynamically.

By using Faction Variables, you can create a rich, dynamic environment where each faction’s unique state can influence the overall gameplay experience.

Save & Load

Variables and Relationships can be saved between play sessions to later be restored when loading a game. Disabling the save option will make all variables keep the initial value as their starting value, even after loading a previously saved game.

The top section includes general information about the Faction such as its Name or a Description (if any). It also optionally allows to determine a Color and a Sprite image used in .

🤝
UI