Skip to content

Upgrading from Intrigues 1.x

Intrigues 2.0 is a new major version. The Studio and the node system were rebuilt, many nodes were merged, and the scripting API follows C# naming. It is a clean start. This page says what carries over, what does not, and where each 1.x node and name went.

Your 1.x content In 2.0
Databases Not supported. Their graphs use node types that no longer exist. Keep a backup of your 1.x project. Do not save a 1.x database inside a 2.0 project, or its graph data is lost.
Save files (.null) Not read. 2.0 keeps one .isav file per slot in <persistent data folder>/Intrigues Saves. The save format is 10, and 2.0 reads formats 9 and 10. An older format is refused with a reason (OldFormat). See Saving and loading and Results.
Scenes and prefabs Components keep working, because scripts keep their GUIDs. An actor object points to its actor record by ID, so it belongs to the database it was made with. The Actors page can create scene objects for a new database.
Your C# scripts They need the renames below. Code that used node classes or the old editor must be rewritten.

The Demo and Example databases ship already converted. Build your own content again in 2.0, and use the tables below to find each node.

The publisher changed from Nullframes to MrW. The product is still Intrigues.

1.x 2.0
using Nullframes.Intrigues...; using MrW.Intrigues...;
Assembly references Nullframes.Intrigues, Nullframes.Intrigues.Editor MrW.Intrigues, MrW.Intrigues.Editor
Tools > Nullframes > Intrigues, Create > Nullframes Tools > MrW > Intrigues, Create > MrW > Intrigues
Prefab Intrigue System Manager Prefab Intrigue Manager
Add Component > Intrigues > Localise Add Component > Intrigues > Localized Text
Add Component > Threading > Dispatcher Removed. Remove it from your scenes.
Tools > Nullframes > Sprite dB Tools > MrW > Intrigues > Sprite Database
Welcome Window Removed. Its steps and links are on the Home page of the Studio.

Open the Studio with Tools > MrW > Intrigues > Studio, or Cmd/Ctrl+Shift+I. See Home and Menus.

  • Everything you used to wire as a port is a setting in the Element Inspector. A node has one input and named outputs.
  • There is one graph per scheme, family and clan. 1.x group boxes are not carried over; 2.0 has its own node groups (Ctrl/Cmd+G). See Node groups.
  • Rule graphs and the Validator are gone. A scheme lists requirements instead, and a list that several schemes share is a requirement set. See Requirements.
  • Actors, Cultures, Policies, Roles and Variables are tables on their own pages, not nodes.
  • Who a node acts on is a setting, not a link. See Who a node acts on.

A few behaviours differ. A node whose actor is missing stops its branch instead of using the Target. Chance 0% never succeeds, and 100% always does. A comparison answers exactly one output. A dialogue’s Timeout runs every connection of its Timeout output. A scheme that ends with no result raises onSchemeEnded with SchemeResult.None. The changelog lists the rest under Breaking changes: see Changelog.

Search for a 2.0 name in the node search (Space, or right-click and Add Node). The node pages are in the node reference. Where the table gives a setting, the 2.0 node needs it to act like the 1.x node.

1.x node 2.0 node
Start, End Start, End. End has the outputs On Success, On Failure, No Result (was On Neutral) and Always (was Any).
Validator Removed. Use requirements that count while the scheme runs, and link their outputs on When a Requirement Breaks.
On Load On Game Loaded
Sequencer, Break Sequencer Sequencer, Break Sequencer. Link every step to the Steps output. A new output, Done, runs after the last step.
Skip Sequencer Skip Sequencer Step
Repeater Repeater. Times, or Forever. Outputs Loop and Done.
Break Repeater Break Loop
New Flow Run Together
Background Worker Run In Background
Continue, Break Cancel Other Flows. Break is the same node with Keep Dialogues Open on.
Pause, Resume Pause Scheme, Resume Scheme
Success Scheme Succeed Scheme
Fail Scheme Fail Scheme
Scheme State Check Scheme State
Is Compatible Check Requirements
Random Random Branch
Chance, Chance Modifier Chance. A modifier is an entry in its Bonuses list.
Link, Go To Jump Target, Jump To
Wait, Wait(Range) Wait. Turn on Random Length for a range.
The [STOP] port of Wait Stop Wait (new)
1.x node 2.0 node
Dialogue Show Dialogue
Global Message Show Announcement
Choice Data, Sound Class, Voice Class Settings of Show Dialogue and Show Announcement: Tooltip, Sounds, Voice
Objective Set Objective
Play Sound Play Sound. Audience replaces Play For.
Log Log. It writes only in the editor and development builds unless Also In Released Games is on.
Comment(LR), Comment(RL) Comment, with a Tail setting
1.x node 2.0 node
Set Variable, Set Clan Variable, Set Family Variable, Set Relation Variable, Set Variable | Table Set Variable, with a Scope: World, Actor, Clan, Family, Relationship or This Scheme
Get Variable and its clan, family, relation and table forms Compare Variable, with the same Scopes
Get Active Scheme Variable Compare Other Scheme Variable
Wait Until(Variable) Wait Until, with a Variable condition
Set Actor Store Actor
1.x node 2.0 node
Trigger Fire Trigger
Wait Trigger Wait For Trigger. The output Timeout is now Timed Out.
Signal Send Signal
Invoke Run Code. The output Null is now No Answer.
Key Handler On Key Press
Return [Actor], Return [Dual] Actor, Return [Clan], Return [Family] Get From Code, with Gives set to the kind
1.x node 2.0 node
Check Actor, Same Clan, Same Family, Same Culture, Same Gender Same As
Check Clan, Check Family, Check Role, Check Culture The same names
Gender Check Gender
Check State Check State
Is AI Is AI
Has Heir Has Heir, with a Which Role setting
Age Compare Age
Spouse Count, Children Count, Parent Count and the other counts Count Relatives
Is Parent, Is Child, Is Spouse and the other relation checks Check Relation
Scheme Is Active Is Scheme Active
Has Policy Has Policy, with a Belongs To setting

Every node in the Conditions table has + Add another check, so a chain of checks that lead to the same place can become one node.

1.x node 2.0 node
Set Clan, Set Role, Set Culture, Set State The same names. Set Role has a new output, Not Given.
Inheritor Set May Inherit
Set Conspirator, Set Target The same names. A new output, Not Changed.
Marry Marry. A new output, Refused.
Divorce Divorce. A new output, Not Married. Link both outputs where the story goes on.
Add Policy, Remove Policy The same names
Resolve Actor, Resolve Actor Pair, Resolve Clan, Resolve Family Get From Code
Heir Filter The Succession of each role on the Roles page

Family Member and Clan Member nodes are cards on the Families page and the Clans > Court board. Ghost Clan and Ghost Family are gone. New Role, New Policy, Actor, Culture and Variable are pages.

1.x 2.0
A rule graph and the scheme’s Start Rule The scheme’s Requirements list
An Error node A requirement. Its Message is the Reason.
A Warning node A requirement with If not met: Only warn
Hide If Not Compatible A requirement with If not met: Hide the scheme
Check Rule Check Requirements
A Validator Active or Break handler A requirement that counts while the scheme runs

A requirement reacts once per break. The Validator ran its Active handler again and again while the condition held. A scheme that relied on repeats has to loop itself.

Your code must follow these. No old names are kept, so code that used them does not compile.

1.x 2.0
IResult bool? (true, false or null for no answer)
[IInvoke("name")], IInvoke helper [IntrigueMethod("name")], IntrigueMethods
Actor.IState Actor.LifeState, with Alive and Dead
Actor.IGender Actor.GenderType
IEDatabase, IM.IEDatabase IntrigueDatabase, IM.Database
IRuntime, IRuntimeLoader RuntimeActorHandler, RuntimeActorLoaderBase
ILocalise LocalizedText
STATIC IntrigueConstants
Schemer SchemeRunner
IEActor, NexusVariable, AssetDb ActorRecord, VariableDefinition, SpriteDatabase
IChoiceData ChoiceBehaviour
NullUtils delayed calls DelayedCalls.Start, Stop, Pause, Resume
IM.RefreshPortrait, IM.PickPortrait IM.RefreshLook, IM.PickLook
scheme.IsCompatible(...) scheme.CanStart(...), which returns a RequirementCheck
IM.IsCompatible, IM.IsCompatibleAsync IM.Meets (a bool) or IM.Check (a RequirementCheck). There is no async form.
actor.GetCompatibleSchemes(target) actor.GetSchemesFor(target, into)

IM, IntrigueManager, Actor, Scheme, Clan and Family keep their names. Start checks answer at once on the main thread. From another thread they answer “not met” and log one error. For the full list of changes, including saves, succession, families and the UI, read the guide that ships with the package, UPGRADE_GUIDE.md, and the Changelog.

The save calls changed. Save(name) and Load(name) became SaveAsync(slot, request) and LoadAsync(slot, request). Every call returns a result (Ok, Status, Reason) and never throws. A save is taken between two days. See Saving and loading and Saving: limits.