Story Framework banner

Story Framework 6 Documentation

Welcome

This documentation is applicable to Story Framework version 6.0 and above. If you're using a version older than SF6 and looking for more info, then please refer to the Story Framework Legacy Documentation.


Welcome to the official documentation page for Story Framework (SF). This doc will take you through all of the different moving parts that function in coherence with each other, walk you through some of the core systems, and further information about editing the different sections with SF.

The left hand side nav-bar covers the separate "sections" found within the framework, and should be used as reference when editing/customizing specific parts of SF. If there are any further questions or concerns you may have with the framework, feel free to reach out to me via our discord community.

Getting Started
Supported Engine Versions

5.5 5.6 5.7 5.8

Supported Development Platforms

Windows PlayStation Xbox MacOS

Quickstart

This section will cover your introduction to Story Framework, and how to get the most out of all the different systems included. Using SF, where specific assets are found, and tools to make using SF easier and quicker will all be touched on here. Some assets mentioned throughout this documentation will include links to learn more about how they work within Unreal if you're knowledge about unreal is rather fresh <3

Looking to modify SF in a more "specific" manor and not sure how? Join our discord community filled with like minded developers and ask away!

Content Browser

To understand any already setup project, we'll first start by how Story Frameworks assets and content are structured within the content browser.


The "root" Story Framework folder will contain the following content;

Core This homes all of the core systems, widgets, and general content for Story Framework. Example This folder contains content that is not technically "needed". Core systems should not depend on anything within this folder. Content found here is generally used either to demonstrate something specific, or exclusively for the Sample Map. FrameworkSettings (Asset) This asset is your frameworks configuration page. You'll find a long list of modifiable values that effects Core systems, widgets, and some other bonus contents. SFBlueprintStructure (Asset) A general "helper" blueprint explaining how some of SF's blueprint graphs are structured for better understanding when modifying Core behaviour.


Inside of the "Core" folder, you'll be greeted with 3 more folders;

Editor This folder contains all of the logic and extra assets specifically for SF's library of editor tools. This folder shouldn't contain anything you'd generally be looking for. For further context, this folder in its entirety is also excluded from packaged builds. Gameplay This folder holds all of the assets for SF's Core systems, as well as "general" content shared between systems or content that is not system specific. SaveGame This folder contains all assets relating to SF's save system workflow. If you're tampering with anything save-game in SF, this is where you'll find that content.


Inside of the "Gameplay" folder, each larger system is given its own folder. This makes searching for specific assets from a specific system quicker and easier.

Inside of each systems folder, they generally share the same folder naming. For instance, both "Interaction" and "Inventory" can contain a "Data" folder. This keeps the folder structure in its entirety easier to follow and manage.


General Workflow

The process behind working with Story Framework and understanding how systems communicate with one another.


SF utilizes Actor Components to communicate and drive majority of all systems found within this blueprint framework. These actor components are designed to do all the heavy lifting, keeping 95% of all blueprints and code outside of the player controller and/or player character blueprint class. These actor components are as follows:

Understanding that functionality is driven through these Actor Components will make customizing and tweaking core SF logic easier, and faster.


Player inputs are handled using Input Mapping Contexts (IMC), and swapping between different IMC's depending on the gameplay situation. For instance, when the player pauses, SF will switch the default SFGameplay_IMC to the SFWidgets_IMC. This avoids any overlapping inputs throughout gameplay, and keeps the whole process of creating new IMC's linear and understandable to use. All of the different input events and functions are called from within the player controller blueprint. Input actions are essentially the only dependent logic inside either of the player character or player controller blueprints.

Find out more about Enhanced Inputs and how they handle input actions within Unreal.


Color coded graphs/comments inside SF's blueprints

Some of SF's blueprints use orange tinted graphs and comments to indicate that the functionality inside of those graphs/comments are more so for demonstration purposes, meaning that it can be removed or disabled. Graphs/comments that are tinted black should be considered essential to it's functionality, with some exceptions being logic that creates and plays sounds. Refer to the SFBlueprintStructure asset for more information about how to better read SF's graphs.


Tooltips

SF includes tons of tooltips added to variables and other values. If you're uncertain as to what exactly a value does, its more than likely that hovering over said variable will display a tooltip describing how that value is used.

Framework Config

Story Framework includes a large collection of configurable options and settings, all packed into an easily accessible data asset. This data asset contains options for many systems across the entire framework. This data asset is named FrameworkSettings.

This same asset is also found under the Story Framework drop-down towards the top of your SF project (if your project has the required startup py added to it's project settings, mentioned here) > Framework Settings .

Referencing and General Info

As stated before, SF utilizes different actor components to drive certain logic and functions. These actor components are made easily accessible through a function library. This function library contains interface references of each actor component, packed into their respective functions that can be created inside any blueprint. Inside of any blueprint, right-click and search for the component you're trying to reference. Below will be all of the actor component reference functions that can be used,

Some functions or systems mentioned throughout this documentation will need to use these listed functions to reference the component that said function or system is inside of. This will be shown or stated in some manor if these are required to utilize the function or system that is being explained.


Story Tags

Story Tags serve as a way to communicate across all of the different features and sub-systems that SF brings to the table. You'll notice fields that can either add, remove, or require a Story Tag across multiple different systems. These tags act as your narratives "memory". It's primarily used internally, however these tags can no doubt be player-facing as well through a custom widget.


Interaction System

All interaction within SF is handled and driven through the SFInteractionManager_AC actor component that get's attached inside your player controller blueprint. (SF > Core > Gameplay > Interaction > Data > Components)

SF's interaction system is designed to contain all potential / possible interaction information within a single structure / container. This makes things like changing interaction behaviour of an object at runtime possible by simply modifying data.


The interaction manager also exposes a few useful event dispatchers that can be bound to your own logic within your own blueprints or through Listen for Event Objects.

Setting up an Interaction

Check out Interaction in a Nutshell if you'd prefer to watch a video tutorial covering interaction.

Video tutorial coming soon!


All interactables/interactions implement the SFInteraction_BPI blueprint interface to communicate certain functions to and from interactables. This includes an interactables InteractionData_S structure. The following points will continue to elaborate on these settings.


1

Level Actor

Firstly, we will need to place an actor in the scene that your interaction will be connected to. The easiest approach would be to place the InteractableBase_BP actor into your level (SF > Core > Gameplay > Interaction)

2

Appearance and Collision

Now that we have an actor in the scene representing our interaction, we might want to add scene components (like a mesh for instance) to our interactable. If you're using the InteractableBase_BP actor, this can be done by simply hitting the "Add" button in the details panel with your actor selected. Here, you can add any component (static mesh, skeletal mesh, particles, etc) you'd like to this actor.

In regards to interaction collision, you'll notice the InteractableBase_BP already contains a blue tinted sphere collider. This collider is exclusively used to block the players interaction trace, meaning players are not forced to look directly at your actors mesh to interact with it. The size of this sphere can be modified by clicking on the InteractionCollision component in the details panel, or alternatively modifying the Interaction Collision Size variable under "Data" in the details panel with your interactable selected.

3

Setting General Data

All interactions utilize General Data. This is where you define the ID of your object, it's display name, and other useful initial values.

Object ID Its generally good practice to always give unique interactables their own unique ID, however there are some interaction scenarios that this isn't required. Object Display Name The localizable text name of your interactable, primarily used to display through widgets. Interaction Distance The distance (From player camera to object, in Unreal Units) at which the player can interact with this object. The interaction system does not use a fixed interaction distance. Instead, each interactable can contain its own unique interaction distance. Input Hold Timer How long the player is required to hold the Primary Interact Key before interaction is executed. Leaving this value at "0,0" means an interaction happens immediately upon key press. Quick Action Triggers Check out the Quick Actions section for more info.

4

Configuring Advanced Data

Advanced Data is where we can begin to define more interesting and specific interaction behaviours for our object. Let's approach this by comprehending the different interaction layers/phases first and foremost. Upon executing an interaction, the execution flow looks a little something like; Interact > Execute "On Interact" Quick Actions > If Required Item ID is not empty, then execute "Player Requires Item" layer > Execute Interaction Method logic. The flow mentioned above should help with understanding when and where values are used.


Defining the baseline behaviours are done through the 3 variables shown below,

Interaction Execution Order This option should generally be set to its default value (Execute Interaction Method Logic Immediately). If you're setting up a custom interactable and have custom logic assigned to your custom interactables EventPrimary/SecondaryInteractWith BPI function that you'd like to execute before interaction method logic mentioned below, then use the Manually Execute Interaction Method Logic option. Primary Interaction Method The type of interaction to execute upon "Primary Interacting" with your interactable. Interaction types included out-of-the-box are: None/Custom, Inspect, Drag, Physics Grab, and Quick Pickup. Secondary Interaction Method (Optional) This is an optional secondary interaction that can be utilized. The available interaction methods here are: None, Custom, Inspect, and Quick Pickup. Each interaction method contains its own drop-down within "Advanced Data". This is where you specify how a specific interaction method will execute or behave. Make use of the tooltips that appear when hovering a variable to learn more about how each variable effects an interaction.

5

Managing Prompt Data

Control how your interactables prompt appears and behaves through the Prompt Data section.

Prompt Widget Override Override the "Default" prompt widget assigned in the "Story Framework Values" data asset. Widget Data String (Optional) If you'd like your "Prompt" widget to have custom logic per interactable object, then this is where you can assign a custom "Data String" for this objects "Prompt" widget specifically. Primary Interact Text Override Override the default "Primary Interact" text displayed on "Prompt" widgets provided with SF out-of-the-box. Secondary Interact Text Override Override the default "Secondary Interact" text displayed on "Prompt" widgets provided with SF out-of-the-box. Prompt Fade in Distance The distance at which this objects interaction indicator (indicator is included in any "Prompt" widget) and the prompt in its entirety begins to be visible (in uu). Object Outline Color Optionally override SF's outline color assigned to this object specifically.

6

Inspect Focus Points (Extra Feature / Optional)

SF includes a scene component that can be added to any interactable to add further depth to inspection interactions. This adds an interaction on your physical object that is accessible during inspection. To add an Inspect Focus Point to your interactable, hit the button in the components hierarchy field within the details panel with your interactable selected (this can also be added to your interactables component hierarchy inside of a custom child blueprint so that every instance of your child interactable contains it without needing to manually add it in the details panel with your interactable selected in the level viewport) and search for the FocusPoint_BP component.

With your FocusPoint_BP component selected, you'll find general properties for defining a static mesh to appear as well as adjust its position (contains a blue outlined "handle" to move the mesh in the scene instead of modifying the offset values in the details panel)

Interaction Type will define the result of an interaction with your focus point.

None Simply executes this focus points "On Interact Quick Actions" and display any readable if setup. Nothing further. Destroy Focus Point Executes the same behaviour as "None", but immediately "destroys / removes" this focus point and its static mesh. Useful for one-time focus points. Stop Interaction For Duration Executes the same behaviour as "None", but will disable interaction with this focus point for a few seconds at which point it will be re-enabled.

Focus Points inherintly support readables upon interaction. You can define what data appears in the readable widget under the Readable Data (If Readable) section. Uncheck Open Readable on Interact to disable the readable popup for this focus point.

Adjusting the location of where the interaction prompt appears can be done by modifying the offset values of the Interaction Prompt Offset value (contains a blue outlined "handle" to move the prompt offset in the scene instead of modifying the offset values in the details panel).


Storage Containers

SF Includes simple and effective Storage Containers that can be used to scatter loot around your levels, or alternatively allow the player to use a specific storage container actor as their "persistent" storage.


The Storage Container actor can be placed into the scene. It can be found in the StoryFramework > Core > Gameplay > Interaction directory.

Once placed in the scene, it will appear as an "empty" interactable. From here, you can add your own mesh / components to the storage container by clicking on the button in the details panel with your storage container selected (near the component hierarchy).


Managing how this storage container will behave is done so through the details panel under the "Loot" section.

Use Persistent Storage Determines whether loot displayed in the container is sourced from the "Loot Profile" defined, or if this storage container is "persistent storage" – meaning the contents shown within the storage container is items the player has put into it from any other storage container marked as "persistent storage". Loot Profile Loot Profiles determine what set of random items can appear in your storage container IF your storage container is not marked as "persistent storage". Inventory Size The number of slots that appear within this storage container. Applies to both storage containers that use Loot Profiles as well as "persistent storage".


Loot Profiles are data assets containing information about randomly generated items. In the context of storage containers, its used to determine what items should be inside of your storage container. Below will explain how Loot Profiles are setup. Upon creating a new Loot Profile data asset, you'll be greeted with the Loot Groups array. This is a simple list for internally identifying different groups of loot for loot generation to sample from (I.e. names set here aren't used elsewhere).

Within each Loot Groups entry, you'll be prompted to define the randomization rules for the bottom Entries array (the array containing the data for each of your items). Roll Chance (scale between "0,0" - "1,0") determines what chance this specific Loot Groups entry has to be picked during random generation. Random Iteration Range Min/Max determines how many times to loop through this same Loot Groups entry, picking a random item from the Entries array. Allow Duplicates simply determines whether the same item in the Entries array can be picked multiple times.

Let's touch on an item entry in the Entries array. Upon adding a new entry, you'll find two values to define. Loot Data is the interaction data for your item. You have 2 options to pick from here; InteractData_S (The full interaction data of an item), or SimpleInventoryItem_S (a simplified version of the base InteractionData_S structure that only contains inventory relevant data). Weight determines the probability of this item being picked during random generation.


Custom View Actors

Custom View Actors offer an opportunity to create sections with a custom camera angle. Systems such as interaction continue to function as expected within these Custom Views. This actor can be placed in the scene and is found in the StoryFramework > Core > Gameplay > Interaction directory.

Once placed in the scene, you'll notice this actor contains its own Camera Component. This is what will become the view of the player upon interacting with this actor in the level. Position the actor itself to be where you'd like the interaction to be. Adjusting the cameras position can be done by moving the SpringArm (Move Cam Here) component within the actors component hierarchy. Alternatively, position the viewports camera to be where you would like the cameras view to be > right-click on your CustomViewInteraction_BP actor in the scene > Scripted Actor Actions > SF General > "Set Camera Component (if Valid) To Viewport Camera Transform" button. This will snap any actors camera component to the current viewport cameras location/rotation.

More control over your custom view can be found within the details panel of your selected custom view actor.

Interactable Children Select specific interactable actors in the scene to make it become a "child" of this custom view. That means that interaction with said interactable actor will only be available if the player has interacted with and is within your custom view. Hide Player Simply defines if the players pawn should be hidden when entering this custom view. For most cases, this would be checked. Description Provide context for this view by displaying a small text field on the left-most side of the screen. Leaving this text field empty won't display any text on-screen. Camera Controls "Camera Fade Delay" determines how long the transition from the players camera to the custom views camera should be. Leaving this set to "0,0" will simply fade in/out of black when transitioning instead. "Turn Input Strength" acts as your custom views "look sensitivity". "Yaw/Pitch Min Max Clamp" controls how far the player can "look" left, right, up, and down starting from the original or starting position of the camera.


Quick Actions

SF6 introduced a new system called "Quick Actions". These are modular object classes that can be used to build completely custom interactions and interaction results without ever coding it through BP or CPP yourself (Used on interactables, but is not limited to usage within interactions).


Inside of the Quick Action Triggers drop-down within any interactables "Interaction Data", you'll find arrays to execute quick actions at different events throughout a single interaction.

  • On Primary Interact Executes upon primary interacting with an object, regardless of interaction configurations.

  • On Secondary Interact Executes upon secondary interacting with an object. Secondary interaction and subsequently these Quick Actions would only be available if your object has a vaild secondary interaction method set.

  • After Interact Executes after certain interactions. A few examples are; After closing out of an inspection interaction, after exiting a Custom View interaction, after a "drag" interaction has been "released", after dialogue with one of SF's sample base NPC classes has finished, etc.

  • On Looked At A custom scenario that executes when the player looks at your interactable.


Upon adding a new index into either array above, you'll need to define an Action Type . SF includes a large collection of these action types out-of-the-box. Hovering over any action type will display a tooltip explaining what Action Property it supports, as well as how to use the Universal Action Property type (the "Universal" property is accepted by all Quick Actions, but behaves differently between each Action Type).

Delay simply allows you to define a delay before this Quick Action executes. This can be used to delay any Quick Actions added after one with a delay as well, as Quick Actions execute sequentially. Do Once (ID) allows you to define a unique ID for this Quick Action if you'd only want this Quick Action to execute a single time.


Let's look at a use-case example.

Upon primary interacting with this actor, we play a custom sound through the PlaySound_AtLocation Quick Action > then add a codex entry into the players codex through the AddEntry_Codex Quick Action > and finally add an entry into the players journal through the AddEntry_Journal Quick Action. What we've done here is essentially setup a completely custom, bespoke piece of logic unique to this single interactable without ever creating a child blueprint or opening up a blueprint graph. That is the power of Quick Actions.


I heavily encourage you to read the tooltips of Quick Actions when hovering over them. They'll be very informative and help with understanding how exactly each Quick Action is used.

Custom Quick Actions

With the flexibility of Quick Actions also comes the ability to create these custom logic building blocks. Below will explain the workflow used to quickly set one up.


First, let's create a new quick action object blueprint. Navigate to the interaction systems "QuickActions" folder in the content browser and duplicate an existing quick action blueprint and name it something relevant to the logic it will be executing.

StoryFramework > Core > Gameplay > Interaction > Data > Objects > QuickActions

Once created, open up the blueprints event graph > press (Ctrl+A) to select all nodes > delete. Starting from a fresh blueprint, implement the PrimaryInteractWith interface event (reference image below). This event gets executed when your quick action gets created / becomes active. Consider this your "On Initialized" event.

From this point, assign and setup any custom logic that this quick action should execute upon it getting created or becoming active. Search for and make use of the Quick Action Properties structure variable to be able to configure custom values for your quick action when it is used. Plug that structure variable into a Get Instanced Struct Value function to retrieve the data from the type of structure you defined in the quick actions "Action Properties" field (Generally, the Unviersal Action Properties structure should cover most custom value cases you might need).

For further examples of custom properties for Quick Actions, I encourage you to open up and analyze some the existing quick action object blueprints that come with SF out-of-the-box.

After your logic is setup, you're required to call the Exucution Completed event dispatcher. This essentially communicates to the interaction manager that this quick action has completed and any subsequent quick actions can execute. For lists of more than a single quick action, quick action execution is dependent on the previous quick action (if its not the first one) to call its Execution Completed event dispatcher with its Completed value set to "true". If that value is set to "false", any subsequent quick actions will not get executed. This is a method for creating conditional quick actions as well.

Generally speaking however, most of the time you'll want the Execution Completed dispatcher call to have Completed set to "true".


For quick actions assigned to an interaction, quick actions do not queue the actual interaction itself by default. Changing the Identifier Tag in your blueprints "Class Defaults" to "Latent". This notifies the interaction manager to instead wait for this quick actions Execution Completed to be called before executing the physical interaction, meaning you determine when interaction actually executes.

Taking the PlaySequence_Cutscene quick action as an example of this: When creating a new level sequence, we bind an custom event to the "Current Sequence's" OnFinished event dispatcher from SF's sequence manager, and only then call the Execution Completed event dispatcher. This means if assigned to an interaction, the interaction will only "happen" when this quick actions sequence has finished. This makes something like playing a small cutscene before inspecting an object possible.


Cinematic Tooling

Story Framework includes a collection of features focused around cinematic scenes and sequencer.
Find more information about each tool listed here through the sections below.


Playing Level Sequences

As apart of the suite of cinematic tooling, SF assists in making playing level sequences as easy as possible. Using SF's functions for playing level sequences is also an integral part in ensuring that the rest of SF's cinematic tooling work with little hassle.


Aside from Quick Actions (used more-so during physical interactions on objects), there are 2 primary ways of playing a level sequence through SF;

  • In Blueprints Playing a level sequence through SF is easily done by calling the PlayLevelSequence function from SF's sequence manager, with input variables to define both general and SF specific sequence options.

  • Trigger Volume SF includes a PlayCutscene_BP trigger volume that will automatically play any level sequence of your choosing through the custom PlayLevelSequence function mentioned above.


Subtitled Sounds

Subtitled Sounds are used to provide subtitles to any given sound asset. This is primarily used within dialogue, however custom subtitled sounds can be created and played outside of direct dialogue as well.


Manually creating and playing subtitled sounds can be done in numerous different ways. First of which is through the PlaySubtitledSound_BP trigger blueprint. Define the subtitles and sound to play in the details panel of this actor placed in the level.

Core > Gameplay > General > Actors > TriggerVolumes

Playing a subtitled sound can also be done through the PlaySound_Subtitled Quick Action, setting the "Action Properties" field to Subtitled Sound Action Properties . This is how we would play a subtitled sound upon or after interaction.

Finally through blueprints, this can be done by calling the Play Subtitled Sound (2D), (3D), or (Attached) from SF's sequence manager.

If you're looking to contain subtitle sound data within a single source of truth (and utilize its data for the events above), look into using the SubtitleSoundVault_DT data table. Here, you can setup subtitles for sounds and get that data through the GetSubtitleSoundDataFromVault function.


Skill Checks / QTE's

Out-of-the-box, SF includes 3 different types of Skill Checks that are generally designed to be used within sequencer but can also be used outside of sequencer. These are; Simple Key Reaction, Timed Circular, and Timed Heartbeat.

All 3 types of Skill Checks have configurable difficulties values.


To create a new Skill Check, find (can be found in the SF editor drop-down towards the top of your editor) and open the SkillCheckVault_DT . This data table will hold any and all Skill Checks used throughout your project, all in one location for easier modification and reusability. Once that data table is opened, hit the "Add" button towards the top.

Once a new Row appears, give your new Skill Check a unique Row Name and optionally, a unique Skill Check ID value.

Just below the skill check ID, you'll find a Skill Check Data field. This is where you will choose what type of skill check this row will be. Each skill check has its own set of data (hence the use of an instanced struct for the variable type). To find compatible structures, search for any structure ending in "Skill Check".

Descriptions covering individual skill check settings can be found below.

Simple Key Reaction

Shrink Speed (Min & Max) Define a min and max range for the speed at which the shrinking "press" indicator shrinks (a random speed is chosen within the defined range) Cycle Target Inputs Enabling this option will present a chance to randomize the required input key for the Skill Check upon each successful press (Be default, the required input key is [E]. With this option enabled, input keys will cycle between [E], [F], [Q]. and [C]).

Timed Circular

Rotation Speed Determines the speed at which the small "press" indicator spins around the Skill Check circle (Recommended to keep this within the range of 50,0 - 325,0) Skill Check Scale Determines the size of the segment that the small "press" indicator needs to land within to count an input press as "successfull" (Recommended to keep this within the range of 0.03 - 0.25) Cycle Target Inputs Enabling this option will present a chance to randomize the required input key for the Skill Check upon each successful press (Be default, the required input key is [E]. With this option enabled, input keys will cycle between [E], [F], [Q]. and [C]).

Timed Heartbeat

Heartbeat Interval Sizes Heartbeats are grouped into pairs of 2. This value determines the size of the gap between each pair (Recommended to keep this within the range of 150,0 - 1000,0). Heartbeat Speed Determines the speed at which the Heartbeat pairs move across the screen (Recommended to keep this within the range of 100,0 - 425,0). Cycle Target Inputs Enabling this option will present a chance to randomize the required input key for the Skill Check upon each successful press (Be default, the required input key is [E]. With this option enabled, input keys will cycle between [E], [F], [Q]. and [C]).

Completing or failing a Skill Check starts by understanding how SF structures completion or failure. All Skill Checks are setup to be required to "complete" multiple times. Let's take the "Timed Circular" Skill Check as an example; This skill check contains a small "pin" like line that spins in a circle and requires the player to press the target input key when it is inside of a white colored zone / segment. This is classified as a "Correct Attempt". If they press that same input key outside of the white colored zone / segment, then that counts as a "Failed Attempt". Setting the requirements that determine whether a Skill Check is completed or failed is done by configuring the Min Num of Correct Attempts & Max Num of Failed Attempts values. Min Num of Correct Attempts Minimum amount of "Correct Attempts" or input presses made by the player to classify the Skill Check as "successfull" when it finishes. Max Num of Failed Attempts Maximum amount of "Failed Attempts" or input presses made by the player, at which point the Skill Check will immediately stop and produce a "Failed" result. Some Skill Checks might be more challenging then others. Defining a maximum number higher than 1 gives players more chances to continue with the Skill Check and "complete" it.

If you're using these Skill Checks within sequencer, you can make use of the Result Play Sequence section / drop-down to play conditional subsequent sequences upon the player completing or failing the Skill Check (The current sequence will simply continue playing if the result of the Skill Check does not have a subsequent sequence set / is left empty).


Starting a Skill Check can be done in 2 different ways. First of which, is directly through blueprints by calling the Create Skill Check event from SF's sequence manager, feeding in a Row Name (the Row Name of your Skill Check within the SkillCheckVault_DT data table) and a Duration (how long in seconds should the Skill Check be active. After the delay / duration, the active Skill Check will determine a result depending on how well the player performed relative to the Max Num of Failed Attempts / Min Num of Correct Attempts values set)

The 2nd way to create a Skill Check is done directly inside of sequencer by making use of the "Add Skill Check" Custom Sequencer Track.


Custom Sequencer Tracks

SF includes a couple of custom sequencer tracks that quickly and easily integrates some of SF's systems into sequencer.

To utilize SF's custom sequencer tracks, your project must have the "Customizable Sequencer Tracks" plugin enabled!


| Add Skill Check "Add Skill Check" allows you to create a Skill Check easily within sequencer.

The "Duration" of the Skill Check is determined by how long the track segment is inside of sequencer. Picking a specific Skill Check to activate is done by right-clicking on any Skill Check track segment > Properties > General > Skill Check Row Name .


| Add Subtitled Sound "Add Subtitled Sound" allows you to create and play a sound containing subtitles within sequencer.

Selecting a specific sound to be played and the subtitles to display is defined by right-clicking on any "Add Subtitled Sound" track segment > Properties > General.

The track length in sequencer does not impact the duration of sounds or subtitles. That is all set inside of the properties of each "Add Subtitled Sound" track segment.


| Add Title Card "Add Title Card" displays a custom on-screen title / header within sequencer.

The duration that the title card is on screen for is determined by the length of the track segment. Configurable values for a title card can be found by right-clicking on any "Add Title Card" track segment > Properties > General.

An image of what these Title Cards look like in-game can be found below.


Dialogue Framework

NPC's and Dialogue are driven through Dialogue Assets that get created within SF's dialogue graph and then can be assigned to specific NPC actors within your level.


The tutorial below will take you through setting up these NPC's and making use of the dialogue graph found within SF.

If you're looking for further guidance / assistance with Dialogue, please do feel free to reach out via our discord server or to me directly via email.

Creating Dialogue

Creating new dialogue involves creating a new dialogue data asset and assigning that asset to an Actor in the scene that we will refer to as "Speakers".


Creating a new dialogue data asset can be done from within SF's dialogue graph. The dialogue graph can be opened from within SF's editor drop-down menu under "Dialogue" > "Dialogue Graph".

Hit the "Create New Dialogue..." button within the Dialogue Browser on the left-hand side and assign a new and file destination to your newly created dialogue asset.


Utilizing the Dialogue Graph

SF's dialogue graph opens up opportunities to create both basic and more advanced dialogue scenarios. The Authoring Dialogue made Easy tutorial covers a few dialogue graph node use-cases as well as explanations of the different dialogue graph node types that can be utilized.


Upon creation of any new dialogue asset, we can configure some "defaults" from within the Details Panel on the right-hand side.


Below is an explanation of what each dialogue graph node does and/or how it can be used,

  • Start Dialogue This is where all new dialogue begins. Every newly created dialogue asset will automatically create this node. Treat this node as your dialogues "root".

  • End Dialogue Immediately ends dialogue when executed. Should be used to stop dialogue whenever needed.

  • Call Event Call a custom event created in the target speakers (by ID) event graph. Should be used to execute more custom behaviour that can't necessarily be done through the nodes provided here.

  • Wait for Event Used to "pause" and "continue" dialogue. Upon execution, dialogue will wait for a Continue Dialogue event call (from SF's dialogue manager) to pick up dialogue back at the position of the Wait For Event node itself.

  • Speaker This is your voice line node. Any time you'd need a speaker to speak, this node should be used. Includes options like different speaker line formats (Single Speaker Line & Split Speaker Line ), optional CanPlayerSkip fields, and more.

  • Reply This node should be used when you're looking to prompt the player with a set of replies. Each reply node includes options to define Story Tag conditions and custom reply icons.

  • Branch Used to create conditional / "If" execution. Includes a few predetermined condition types which can be configured by searching for any structure ending in Dialogue Condition in the Dialogue Condition Format field.

  • Story Tag Used to add or remove Story Tags straight from within dialogue.

  • Jump In/Out An execution flow node that upon creation, will create both an "In" and "Out" node. These can be used to create wireless execution from anywhere within your dialogue graph.

  • Passthrough Another execution flow node that acts as a simple reroute. Can be used to help tidy up graphs.

Find out more about what Story Tags are and how they connect logic between different SF-related systems here.

Adding an NPC Actor

Adding dialogue to an in-scene actor can be done by dragging either the NPC_Actor_Base_BP , NPC_Character_Base_BP , or a child class of these 2 actors into the level.

Once placed in the scene, we can select that NPC actor and set its Dialogue Asset and Speaker ID fields within the details panel to be your newly created dialogue asset and a unique Speaker ID of our choosing (used when setting up "Speaker" nodes inside of the dialogue graph).


Questing

SF's Quest system gives your player direction throughout your story. Build Quests with custom objectives, groups, and user-created completion rules. Utilize SF's Quest Editor to create these Quest Assets .


The tutorial below will take you through setting up Quests and using the Quest Editor to manage quest flow.

If you're looking for further guidance / assistance with Quests, please do feel free to reach out via our discord server or to me directly via email.

Creating a Quest

Creating new quests involve creating a new quest data asset and assigning that calling the Start Quest function from SF's quest manager.


Creating a new quest data asset can be done from within SF's quest editor. The quest editor can be opened from within SF's editor drop-down menu under "Quests" > "Quest Editor".

Hit the "Create New Quest..." button within the Quest Browser on the left-hand side and assign a new and file destination to your newly created quest asset.


Starting a Quest

Starting a quest can be done in many different ways. The supported out-of-the-box methods include either using the StartQuest_BP trigger blueprint (simply starts a quest defined in the details panel of the trigger blueprint actor upon the player overlapping its box volume)

Core > Gameplay > General > Actors > TriggerVolumes

or within blueprints by calling the Start Quest function from SF's quest manager.


Objective Completion Rules

Every objective created requires a Completion Rule to be defined. This is essentially the logic that will determine when an objective gets completed. Below are the list of completion rules included out-of-the-box:

  • AfterInteractWith_Object Will complete an objective after the player interacts with any object that has an Object ID corresponding with the ID defined in the Completion Property field ("After Interaction" is executed when exiting an inspection, after dialogue with an NPC, etc)

  • GoTo_Location Will complete an objective when the player nears the world location set in the Completion Property field (tip: A world location can be set here by placing an actor in the scene in the location that you want to require the player to go to > Shift + Right-Click on the "Location" field in the details panel to copy its values > Ctrl + V to paste it into the Completion Property field).

  • InventoryItem_Added Will complete an objective when an item with an Object ID corresponding with the ID set in the Completion Property field is added to the players inventory (if an objective with this Completion Rule becomes active after the player has already picked up the target item, then this completion logic will check the players inventory first).

  • OnInteractWith_Object Will complete an objective when the player interacts with any object that has an Object ID corresponding with the ID defined in the Completion Property field.

  • StoryTag_Added Will complete an objective when the player receives the Story Tag defined in the Completion Property field (if an objective with this Completion Rule becomes active after the player has already received the target Story Tag, then this completion logic will check if the player already has the target Story Tag first).

Find out more about what Story Tags are and how they connect logic between different SF-related systems here.


Along-side the existing completion rules that exist, custom rules can also be created. This can be done by duplicating any one of the existing completion rule objects within the content browser (assign it a custom name)

Core > Gameplay > Quests > Data > Objects > ObjectiveCompletion

Open up the blueprint of your newly duplicated object, and remove all of the previous logic from the asset you duplicated the currently opened object from aside from the Event OnObjectiveActivated event and the Call Objective Completed dispatcher call. As you would assume, any logic to check when the objective that is using this custom completion rule becomes active would be setup off of the Event OnObjectiveActivated event. If its a condition that needs to be repeatedly checked, then I would recommend setting up a slow timer to do so. When your logic returns true (i.e. the completion rule has been met), execute the Call Objective Completed event dispatcher.

Context Example

You can also make use of the Property variable inside of your custom completion logic object blueprint by searching for "Get Property" in your graph.

This value is set on any objective within the details panel inside of the quest editor. To be specific, the Completion Property field.


Inventory Manager

The SFInventoryManager_AC actor component is responsible for handling any systems that classify as "container" systems. For instance, the quick-access inventory contains a list of items picked up by the player, the Journal contains item entries that have been given to the player, codex entries, etc. This actor component will relay called events, or input actions to the respective Inventory Menus that are currently in use by the player. (SF > Core > Gameplay > Inventory > Data > Components)

The next few sections will take you through each menu, and how they're modified/used.


The inventory manager also exposes a few useful event dispatchers that can be bound to your own logic within your own blueprints or through Listen for Event Objects.

Quick-Access Inventory

The Quick-Access Inventory becomes an important part of gameplay when the player picks up items that can / need to be used during gameplay. Things like healables, throwables, or any form of action that is performed upon "using" an item.


The Quick-Access inventory separates all items within the players inventory into 3 different categories (accessed by either pressing [1], [2], or [3] on mouse & keyboard. (D-pad up), (D-pad right), or (D-pad down) on gamepad.

These 3 categories can be configured within the framework settings data asset > System Defaults > Inventory > Quick Access.

Items get sorted into these different categories if they contain the category tag matching either the [ Top ], [ Middle ], or [ Bottom ]. Item category tags are defined within any objects Interaction Data > Advanced Data > Item Inventory Data (assuming the item can be picked up).


Using items that appear in the Quick-Access inventory requires your object to have a valid Use Item Logic object assigned. If one is not assigned, then the item will appear with a "blocked / can not use" icon next to it within the Quick-Access inventory.

Custom Use Item Logic objects can be created for more "object specific" behaviour. Easiest way to do so would be by duplicating an existing Use Item Logic object blueprint, renaming it, and building your custom logic inside of that object blueprint. Once created and opened, reference the logic shown below to create your own "Use Item" logic.

Note that if the item in question needs to be removed from the players inventory (or its quantity needs to be reduced by "1"), then you are responsible for manually removing the item using the ObjectID variable and calling the RemoveItemFromInventory (Player) function from SF's inventory manager. Refer to the "Consume_Cube" Use Item Logic object blueprint for this.


Unified Menu Container

The "Unified Menu Container" compiles a collection of custom curated widgets into a single menu that can be navigated through. This offers a much more "polished" experience for players as opposed to requiring the player to use and remember multiple different inputs to open different menu's.


The following sections will cover the menu's that exist out-of-the-box, as well as adding custom menu's to this "Unified Menu Container".

Player Inventory

The players inventory can be seen by opening up the "Unified Menu Container" and is the initial menu that appears. The players inventory will also appear when using the "Requires Item" interaction sub-mode.

This inventory screen is the only location that players are allowed to "Discard" and "Inspect" items from. This creates a natural separation between this inventory menu and the Quick Access inventory menu, providing both with a clear purpose.


The players initial inventory size (in slot count) can be set within the framework settings data asset > System Defaults > Inventory > Default Inventory Size.

Feel free to also modify the player card shown to the left-hand side of the players inventory grid. This can be done by opening up the PlayerInventoryMenu_W widget blueprint and finding the "PlayerCard" element in the widget elements hierarchy in the Designer panel.


Journal

The Journal creates a powerful place to further enrichen your narrative completely at the pace of the player. With support for custom widgets, the Journal can be a place for more unique widget based interactions.


Journal entries can be created inside of the JournalEntryVault_DT data table.

Entry ID A unique ID value for your Journal entry. This ID is used to give your Journal entry to the player. Entry Widget Define a widget to display on your Journal entries page. This will override and hide any "Display Override Text" defined. Display Override Text Add raw text to your Journal entries page. This will only be displayed if "Entry Widget" is left empty.


Giving your player a Journal entry can be done a few different ways. First of which is through the AddEntry_Journal Quick Action. The first entry in the Properties array when using Universal Action Properties should be the Entry ID of your custom Journal entry in the data table mentioned above.

Alternatively, you're also able to manually add a Journal entry through blueprints by calling the Add Journal Entry from Data Table function from SF's inventory manager.


For custom logic, SF's inventory manager also contains a OnJournalEntriesModified event dispatcher than is called any time a Journal entry is added or removed.


Quest Log

The Quest Log homes all of your players currently active and completed Quests. Quest entries (either active or completed) when selected display objective information such as which objectives have been completed and which are still active / pending completion. This menu is also where players can choose which Quest they'd like to "track", updating their Quest Tracker in the upper right-hand side of the screen (alternatively, players can "untrack" a quest if they so choose to).


When a new Quest becomes active / is given to the player, players will receive an on-screen title card informing them that "x" quest has been received.

For whatever the reason may be, you might not want this popup to appear for specified Quests. This can be set inside of the Framework Settings data asset > Widget Defaults > Quests > "Exclude Quests from Creating Popups" array.


Codex

The Codex menu creates a simple but effective way for players to keep track of the progress throughout your narrative. Add entries for characters that the players have met, locations they've explored, etc.


Codex Entries can be created inside of the CodexEntryVault_DT data table.

Entry ID A unique ID value for your Codex entry. This ID is used to give your Codex entry to the player. Entry Category ID Codex entries get categorized and require a "Entry Category ID". Multiple different Codex entries created in this data table can share the same category by matching their "Entry Category ID". Entry Name The display name of your Codex entry in the Codex menu. Entry Description The description of your Codex entry inside of the Codex menu when your entry is selected. Entry Icon The icon of your codex entry displayed on the actual entry inside of the Codex menu.


Giving your custom Codex entries to the player can be done a few different ways. First of which is through the AddEntry_Codex Quick Action. The first entry in the Properties array when using Universal Action Properties should be the Entry ID of your custom Codex entry in the data table mentioned above.

Alternatively, you're also able to manually add a Codex entry through blueprints by calling the Add Codex Entry from Data Table function from SF's inventory manager.


Codex categories require an FText name to display inside of the Codex menu. This can be set inside of the Framework Settings data asset > System Defaults > Inventory > Codex Category Names array (left field should be the "Category ID" that you've given to your Codex entries, and the right field should be the text display name that is shown in the Codex menu).


For custom logic, SF's inventory manager also contains a OnCodexEntriesModified event dispatcher than is called any time a Codex entry is added or removed.


Custom Widgets

Apart from the widgets included in the Unified Menu Container out-of-the-box, it also supports usage of completely custom widgets.


To add custom widgets, this can be done from within the Framework Settings data asset > System Defaults > Inventory > Unified Menu Container (Modified at Runtime) array, adding a new index.

Tab ID Used to identify this specific tab through custom UMC functions. Tab Name The display name of your tab within the UMC. Widget Choose your custom widget blueprint class here to display in this tab. Is Enabled Determines whether or not this UMC tab is enabled by default


The Set UMC Tab Enabled function from SF's inventory manager can be used to enable/disable or show/hide a UMC tab at runtime.


Stat Bars

SF includes a easy to manage "Stat Bar" system to enable certain statistics to appear on-screen as progress bars (things such as stamina, health, etc).


Adding new Stat Bars can be done inside of the Framework Settings data asset > System Defaults > Inventory > Player Stat Values array.

Stat Name The "ID" of your Stat. Used to target this specific Stat Bar when modifying it. Stat Value The default "starting" value of your Stat. For example, something like health would start at 100.0 (assuming the range defined below is 0,0 - 100,0). Stat Min / Max Values The value range of your Stat Bar. Stat Color The color of your Stat Bar that appears on the players HUD. Stat Type The "type" of Stat that this is. "Focal Stat" displays as a larger, thicker progress bar than "Side Stat", giving you a way to visually separate more "important" values or Stats.


Modifying and managing a Stat Bars value is as simple as calling the dedicated Stat functions from SF's inventory manager.

These functions can be thrown into things like Quick Actions, Trigger Volumes, Listen for Event Objects, etc to further modularize things.


SF's inventory manager also includes a OnStatModified event dispatcher that can be binded to events to handle custom logic that executes when a Stat reaches 0,0 for instance.


Camera Controller

SF's custom camera system builds off of a base UCameraComponent , keeping things lightweight and easy to setup. SF's custom camera component is in charge if switching between camera presets, as well as controlling aspect ratio changes for things such as dialogue.


This page is still under construction!

Using Camera Data Assets

Camera Functions

SF's camera has a set of functions to use for both First Person or Third Person. These functions are called in any blueprint by using a Get SF Camera Component from Character function.


With that reference, you can call the following functions.

— Soft Focus Camera (Third or First Person) - Zooms the camera by a Field of View Multiplier value over a specified Interp Speed with a Stop bool to reverse this function.

— Inverse Spring Arm Offset (Third Person) - Simply inverses the current spring arm values. Useful for shoulder swapping in Third Person.

— Lean Spring Arm (First Person) - Used to "Lean" the camera in a specified Direction (should be set to "1,0" or "-1,0"), a Lean Distance of which the spring arm will physically move, Lean Angle used to rotate the "Roll" of the camera, and an Interp Speed used to set how fast the camera leans.

— Update Camera Preset (Third & First Person) - Used to swap between the First and Third Person camera values previously mentioned.

— Reset All Camera Events (Third or First Person) - Resets any values that have been changed by the above functions.


SF also uses a custom Player Camera Manager blueprint to drive more complex functions for the players control/camera rotation.

(SF > Core > Blueprints)

This class does not modify any camera transform values, and is more so for further camera control.


Other camera functions that can be used are inside the SFCameraManager_AC actor component, and can be used in your graphs by using a Camera Manager reference. These functions are as follows.

— Lock Focus On Target (First or Third Person) - Once given a Target location, this function will forcefully rotate the control rotation of the players camera to the given location. This can only be stopped by calling this same function again, and setting Stop Focusing to "True".

— Look At Target Once (First or Third Person) - Smoothly rotates the players camera control rotation to the given Target location, over a specified Speed (In Seconds) .

Saving / Loading

SF's save system partitions data into object blueprints that we call "Handlers". Each Handler consists of data pertaining to a specific system or function (for instance; Interaction Save/Load Handler, Inventory Save/Load Handler, etc). Handlers can be configured to save/load data either during gameplay, or set the data its saving/loading to be accessible throughout the entire play session. Managing and adding new save/load Handlers can be done through SF's framework settings data asset > Save & Load > Registered Save Load Handlers. Each Handler object gets assigned a custom ID on the left-hand side entry field which can be used to reference data straight from the save/load process.


Processing save/load data through handlers is made possible through the use of InstancedStructs, allowing for polymorphic containers of data (that being save/load handlers).


SF's save system also heavily connects into SF's game instance–primarily through BPI functions.

Saving Custom Values

The tutorial below will take you through setting up custom save / load handlers, as well as saving and loading custom variables.

Video tutorial coming soon!

If you're looking for further guidance / assistance with SF's save / load system, please do feel free to reach out via our discord server or to me directly via email.

Saving Actor Data

Any actor that is required to save any form of data is required to contain the SFActorSavable_AC actor component attached to it. This actor component is responsible for storing a unique SaveID , as well as loading any data saved to that unique ID upon said actor beginning play (I.e. immediately or when it is loaded in). Most SF actors already contain this actor component. You might notice errors appearing when placing any type of SF actor into the scene stating that it does not contain a unique SaveID. Generally, this is fixed by simply saving any unsaved packaged (pressing Ctrl + S). Alternatively, you'll find a "Refresh all Save ID's" button which will generate a unique Save ID for any actor that doesn't already have one (only applies to actors currently loaded).


Though SF does save the more common actor attributes (destroyed, components, etc), some custom interactables might need custom save behaviour. For instance; a television that needs to potentially save and load the channel it was last on when the player had saved & exited. SF includes a simple workflow to solve custom actor save logic through the use of the Save Actor Data String function, and the receiving LoadFromDataString interface event.

Whenever your actor performs logic and reaches a "static" point (for example, a door plays an open and close animation, but is completely "static" when its fully opened or closed. A lever could use a movement animation, but is completely "static" when that movement animation is completed. etc etc), we'd make use of the Save Actor Data String function to store a string that acts as your actors current "state". An actor can only contain a single saved data string at a time. Every time the Save Actor Data String function is called, it will override any existing saved data string. Once your state is saved, implement the LoadFromDataString BPI event (From the SFInteraction_BPI) into your actors event graph, and re-execute logic relevant to the Data String or "state" you previously saved. You can use a Switch on String in cases like these.


To make use of this workflow, your actor must contain the SFActorSavable_AC actor component, as well as implement the SFInteraction_BPI blueprint interface.

SFUI Elements

SF6 introduced a new library of input agnostic widget elements that are used to assist gamepad navigation of any given widget. SF's gamepad widget solution derives from physically moving the players cursor using the left joystick, making designing and programming widgets that can be used by both keyboard/mouse & gamepad a lot less of a hassle.


Widgets specifically used for input agnostic navigation are generally labelled with the prefix SFUI . Below you'll find the current list of "SFUI" elements that are used throughout SF's menu's, and can be used within your own custom widgets as well;

  • SFUI Input Key This widget is the only exception within the current lineup of SFUI elements that aren't directly used for navigation, but instead acts as a "cosmetic" element. This widget is used to display input key prompts through its defined Keyboard & Gamepad input keys. Styling of this widget is entirely driven through the PlatformInputMapping_DT data table, as this data table is where all of your projects input key appearances should live.

  • SFUI Button Root A simple widget container that encapsulates all of its children elements within a clickable button, allowing for creation of buttons that can be used by any input method. This widget also exposes bindable events similarly to the generic button element such as "On Hovered", "On Unhovered", and "On Pressed (Multi-Input)". (By default, the "click" input on gamepad is "Face Button Bottom")

  • SFUI Scroll Box Root Another simple widget container that encapsulates all of its children elements within a scrollable box. Easily create scroll boxes that can be navigated with a gamepad using this widget. Also exposes common bindable events such as "On Hovered", "On Unhovered", and "On Scrolled (Multi-Input)". (By default, the "scroll" input on gamepad is "Right Thumbstick")

Custom Settings Menu Options

SF includes a custom workflow for making the creation of custom settings menu options and tabs easier. The video attached below will walk you through the process of both creating new tabs and new custom options.


This tutorial covers modifying custom values through new settings menu options. It is your responsibility to save / load these values through SF's save game system or your own. You can find a tutorial covering saving / loading custom values using SF's save game workflow in the Saving Custom Values section.

If you're looking for further guidance / assistance with custom settings menu options, please do feel free to reach out via our discord server or to me directly via email.

Trigger Volumes

SF includes a collection of "Trigger Volume" actors that interacts with some of SF's systems. These triggers are intended to be used when you'd want specific things to be given or added to the player, or actions such as dialogue to trigger when the player walks through a specific area throughout your level. These triggers are also a great way to quickly make use of SF systems.

These trigger volume actors are found in the content directory; Core > Gameplay > General > Actors > Trigger Volumes


Below you'll find a list of current trigger actors and their purposes (all triggers can optionally be "Destroyed After" it has been triggered),

  • AddCodexEntry_BP Add an entry to the players codex menu.

  • AddJournalEntry_BP Add a journal entry to the players journal.

  • CompleteQuestEntryID_BP Completes either a quest objective or quest group. Exact objective or group that is completed is determined by the ID in the quest editor.

  • ContinueDialogue_BP Used to continue dialogue when the Wait for Event dialogue graph node has been used.

  • CreateHint_BP Creates a small on-screen hint with an input to press. Upon pressing said input, the hint will be removed.

  • ExecuteQuickActions_BP Simply executes a list of Quick Actions.

  • PlaySubtitledSound_BP Plays a sound with custom defined subtitles.

  • PrimaryInteractWithObject_BP Primary interacts with an array of actors in the scene.

  • SaveCheckpoint_BP Forcefully saves the players current progress. Further data such as save location name and a save thumbnail can be defined in the details panel.

  • SecondaryInteractWithObject_BP Secondary interacts with an array of actors in the scene.

  • SetUMCEntryEnabled_BP Enable or disable any menu within the players Unified Menu Container.

  • StartDialogue_BP Immediately start any created dialogue asset.

  • StartQuest_BP Immediately start any created quest asset.

  • PlayCutscene_BP Plays a level sequence defined in the details panel, along with other general and SF specific sequencer settings.

  • CreateTutorialPause_BP Pauses the game and creates a tutorial widget popup with custom defined text fields, images, and the required time (in seconds) that the player must hold the "continue" input key to close the popup. Upon "continuing", the game will un-pause and the popup will be removed.


Story World Effectors

Version 6.0 brought the introduction of Story World Effectors. These are actor components that can be attached to any actor, controlling certain things such as the parent actors collision, actor tags, etc. This is done through a 2 step condition phase.


Let's take the Radio_DialogueInteract_BP actor as an example. This actor has a Story World Effector with a single entry. That entry contains the PlayerHas_ActiveObjective as the effector condition and SetInteractable_SoftLocked as the actual world effector (or the result of the condition).

This simply adds the SoftLocked actor tag to the parent actor (this tag restricts interaction on the parent actor) if the player does not have the target active objective (by ID). If the player does have the target active objective, then that SoftLocked tag get's automatically removed. This is how we can create conditional behaviour for actors in our levels without needing to manually code things like this.


Both Custom World Effector Conditions and World Effectors can be created.

Sound Library

A simple array container that can provide any sound asset a username ID. The SoundLibrary can be found within the Framework Settings data asset > System Defaults > Other > Sound Library.


Playing sounds added into this "Sound Library" array is done by calling the Play Sound from Sound Library (2D) function (providing the username ID that you've set for your sound into the Key input variable).

This allows you to keep a single source of truth for commonly used sound assets. Changing the sound used in the sound library changes every instance of the sound used through the function above.

Listen for Event Objects

A natural point of extension within the framework. "Listen for Event" objects can be created to quickly create bespoke logic that links systems together, or executes specific logic upon certain interactions or events. "Listen for Event" objects are added inside of the Framework Settings data asset > Other.

These object blueprints get created immediately upon BeginPlay . Within your own created object, utilize the Event OnConstruct event to bind or begin any logic, and call the DestroySelf event dispatcher to destroy the object if it no longer needs to be used (destruction of these objects are saved, so you don't need to continue destroying them after each save/load).

These objects were originally intended to make use of SF's large collection of different event dispatchers throughout different manager actor components. However, these can be used to execute any sort of logic you'd like. There purpose is to avoid cluttering any player blueprint (or the manager actor components themselves) with random or very specific logic.

Useful Actor Tags

Some of SF's systems read the actors set "Actor Tags" to change how said system will handle displaying certain information or widgets. These will be listed below with an explanation of what exactly these "Actor Tags" will do.

Learn more about how Actor Tags are utilized within Unreal. Actor Tags are changed inside the details panel of any selected actor in your scene.


— "IgnorePromptTrace" - Adding this tag will stop interaction prompts from being occluded when an item is behind a wall, or geometry is obstructing the players view to said item. This can be used if you need an items prompt or icon to signify that it can be interacted with, through something transparent, or for any other reason.

— "SoftLocked" - Adding this tag to an interactable will hide its interaction prompt, and stop the player from being able to interact with it. Useful if you want an item or object to only be interacted with after a specific requirement has been met by the player. Removing this tag will then allow the player to interact with it again, and display its prompt.

— "IgnoreOutlines" - This tag will stop the actor that has this tag from receiving outlines from the outline shader when hovered over/looked at. This provides more creative freedom when setting up interactables, as there might be cases when certain components or actors within the players interaction trace shouldn't be highlighted/outlined.

Integrating Story Framework

It's generally recommended to integrate any assets you'd like to pair with SF into an SF project (a project created straight from the Story Framework product). This keeps the entire integration process a lot easier to manage.


A full step-by-step integration guide walking you through integrating SF into an existing project instead of the recommended way above is under construction and will be available soon!

Update Changelogs

List of changes made in each version update.

Update 6 Latest Public Version

  • Complete Framework Rework.

  • Added a large collection of new configurable options to the Framework Settings data asset.

  • Overhauled Interaction System.

  • Introduction of Quick Actions to execute completely bespoke behaviour without needing to manually create said logic within a blueprint graph.

  • New Dialogue System and Editor to help making dialogue easier and faster.

  • New Quest System and Editor to speed up the creation of large-scale quests that include objectives and objective groups.

  • Added Quest Waypoints that ping the location of the next quest objective in the world.

  • Reworked and added 2 new Skill Checks / QTE's (3 Unique QTE's Total)

  • Reworked Interaction System that executes interactions completely independent to one another.

  • Interactables can now optionally require "Hold Key to Interact" and can be assigned completely unique interaction distances.

  • Added new Focus Points which can be added to an actor to act as a second layer of interaction for any form of inspection interaction.

  • Modularized interaction prompt widgets and dialogue reply widgets.

  • Modularized the settings menu with a workflow to create custom settings menu options.

  • Restructured all inventories to be more grid-based, supporting things like storage containers.

  • Reworked the Quick-Inventory into the Quick-Access inventory (A more intuitive and organized "Quick-Inventory").

  • Completely Overhauled Save System, including custom workflows to integrate custom saved variables at different periods throughout a runtime instance (determining whether data is saved / accessed during gameplay only, or persists / can be accessed throughout the entire play session).

  • Configurable amount of Save Slots.

  • Added a new Subtitle Creator editor tool within the dialogue graph to streamline adding subtitles to existing sound assets.

  • Refactored Journal System that supports custom widget interactions on pages

  • Added a new "Codex" system to track story progression.

  • Most systems tie together using the new Story Tags.

  • Expanded SF's collection of trigger volumes.

  • Added "Story World Effectors" that enable specific actor attributes to be managed through specific conditions without needing to manually set up within a blueprint graph.

  • Added new custom sequencer tracks for sequencer to quickly create things like subtitled sounds or QTE's during a sequence.

  • Added a new lightweight camera preset system to easily create custom camera angles that can be changed to and from during gameplay.

  • Added new Scripted Actor & Asset Actions.

Update 5.2

5.1 to 5.2 Upgrade Guide

  • New "Animation Inspection" mode has been added to the list of possible inspection modes that interactables can use. Found out more here.

  • The inspection & subtitle widgets have received UI layout improvements for better legibility.

  • A few more QoL configurable values for dialogue and camera control have been added to the StoryFrameworkValues data asset (SF's configuration section), and a value to control input strength when using CustomViewInteractArea actors.

  • New interaction demonstrations have been added to SF's Example Map.

  • Fixed an issue with CustomViewInteractArea blueprints that soft-locked the player inside of said custom view when spam entering/exiting these custom view actors.

  • Added the CameraShakeModifier to SF's camera manager, allowing for the use of Legacy Camera Shakes.

  • Added a "Data Tables" section to SF's quick-nav editor drop-down.

  • Added more functions for controlling player ConsequentialTags more easily.

February 3rd 2026

Update 5.1

5.0 to 5.1 Upgrade Guide

  • Using the "Edit Target Task" function will now correctly update the tasks "tracked" state if it is the one currently tracked.

  • SF's "Menu" system has been moderately modified to be easier to work with.

  • New "Play Sound Attached With Subtitles" event added to the Sequence Manager, useful for adding dialogue to moving characters specifically (SF dialogue now uses this by default).

  • Subtitles and subtitled sounds now correctly pause when the game is paused.

  • Playing NPC grunts are now more dynamic. Multiple grunts from the same NPC can be used when needed.

  • NPC camera components can now be specific to certain replies chosen by the player, which means more customizability over which shots to use when using the "Actor Camera" camera mode for NPC's.

  • The 3D Inspect scene capture component has been tweaked to drastically improve it's performance. This has always been SF's biggest hurdle in terms of performance of a flagship system. I feel these new settings yield close to the best performance we can get out of a render target for this specific use-case.

  • Story Choice options can no longer be selected multiple times. This was more a visual bug than anything else.

  • Using dialogue nodes in the "Dialogue Graph Actor" is no longer limited to the level you're inside of. Changes to the "Get NPC" and "Apply Dialogue" nodes allow for continuation of dialogue even if an NPC is not found/valid.

  • NPC reply actions applied through the use of dialogue nodes in the "Dialogue Graph Actor" have been slightly tweaked to automatically re-order these actions at runtime, and applying actions that should only be called at the end of an NPC's setup automatically at the end of an NPC's list of dialogue actions. This removes the need to manually re-order nodes in the "Dialogue Graph Actor".

  • A "Settings" menu has been integrated into the pause menu (at long last).

  • Added a new "Edit Journal Entry" overlap/trigger actor for parity in regards to trigger actors for all other larger flagship systems.

  • SFV (Story Framework Values/SF's settings) has been moved to the "SFGameInstance_BP" class for more reliable accessibility of data. This means data inside of that settings data asset is not dependent on the player controller existing/being valid.

  • Added a new "InventoryIndicator_W" to visually communicate information about the players inventory during gameplay.

  • Fixed a bug that would occasionally allow the "AutoSave" feature to attempt to save data when the player returns back to the Main Menu.

  • UE 5.7 support.

November 20th 2025

Update 5

  • Reworked Tasks into "Main" & "Optional" tasks.

  • Menu's have been reworked to be added into a singular navigable menu (Unified Menu Container)

  • Added a new Data Asset that contains a large collection of SF customization (SFV).

  • New "Play Sound" framework (Play Sound From SFV).

  • Complete NPC Overhaul

  • More Trigger Volumes

  • Fixed an issue with Custom View Interact Area rotations

  • Expanded item customization through the "MoreItemOptions" data table.

  • Improved memory usage when initially inspecting objects.

  • Improved memory usage when handling inventory items.

  • "Object Name" in interaction data has been converted to a "Text" variable for localization support.

  • Major save variables now support saving/loading between multiple levels respectively.

  • Added a few new functions to SF's function libraries.

  • Subtitles now automatically adjust their vertical position relative to the current view targets aspect ratio.

  • Added a new "SaveActorTags" function to save any actors tags and re-apply them on load.

  • Large number of assets in the "Story Framework" folder have been assigned specific icons to further distinguish them from one-another.

September 11th 2025

Update 4.1

  • Added a new "Story Choice" system.

  • Fixed in issue that occasionally caused QTE's to execute dispatched events from previously created QTE's

  • The "SoftLocked" & "IgnoreOutline" tags no also support the hit component from the interaction trace, meaning components inside of a blueprint can avoid interaction.

  • Fixed up a few timers that continued to execute after the function that they're updating is not used. Now they will be correctly stopped when not in use.

  • Dropping items have been slightly changed to now spawn the dropped item at the location of the players crosshair if the player is looking at a location within the interaction range. If not, then items will be spawned on the floor as before.

  • Fixed "InspectActorDistanceFromCamera" value not updating interactables correctly from within the SF editor utility tool.

  • Resolved a small bug that was allowing players to "page" while inspecting an item instead of reading through a page.

  • Subtitle text now supports multi-line text, allowing for a singular subtitle longer in length to wrap correctly.

  • Fixed a bug allowing players to reset their dialogue reply timers by spamming the "skip dialogue" key.

  • Added a new "Cinema Crop" widget and function to quickly crop your players screen with the use of black bars.

  • Fixed an issue allowing players to use inventory features when the inventory is not open, or when they are not marked with the corresponding condition inside the inventory settings of the selected item.

  • Added new "Tutorial Popup" and "Create Subtitles" area blueprints.

  • Items that have "CanPickupFromInspect" set to true, will now correctly assign this value to the item when it is dropped. Before, this value would get removed if an item gets picked up.

  • Added options to adjust Z-Order when calling the "WidgetFadeCamera" function to allow the overlaying of subtitles or other widgets on-top of this fade.

  • Fixed a small timing issue with the "Custom View" fixed camera areas.

July 3rd 2025

Update 4

  • New "Drag" Interaction Method (with options to define movement/rotation distance values and clamps, and camera focus mode).

  • New "Memoir" menu (a method for the player to track and view their previous decisions, or game events that happened throughout their story).

  • A boolean variable inside the "Inspect Method Settings" can now be ticked to allow the player to pick up an item while they're inspecting it.

  • New "FormatStringToVector" function

  • New "FormatStringToRotator" function

  • Added a new "SaveAfterCompleted" boolean to the sequence manager to save any sequence that has been played. If a sequence has been saved, then it will not play again when trying to trigger that same sequence. Useful for Intro/Outro sequences.

  • Added a camera head bob "Camera Shake" example to the player controller. Demonstrating how a simple head bob can ground your player further.

  • Refined interaction prompts for better visibility, and customizablity.

  • Improvements to player inventory. Items can now be "used", and "combined" with other items.

  • Improvements to NPC dialogue (A custom amount of replies can now be set instead of a default of 2, and the "leave" option. Replies can be given a "Reply Timer" with a custom reply set when that timer finishes)

  • New "Perform Action" system to further pace gameplay.

  • Widget Popups no longer overlap previous popup instances if they are displayed immediately after one another. Instead, any previous popups that are created will be removed when creating a new one.

  • Interactables that use the "Readable" inspect method, now have the option to use an image on a page, and define text color.

  • Interactables now include an editor billboard component to represent where their interaction prompts will be positioned in-game.

  • Readable text pages now have the option to change its text color.

  • Reworked SF's camera system to use a more traditional camera comonent workflow, instead of camera transform driven through a custom player camera manager class.

  • Added a new "CustomViewInteractableArea" interactable base class, which can be used to setup an area with a custom camera view and interactables.

  • Giving any interactable the tag "SoftLocked", will stop the player from being able to interact with it (used in the "CustomViewInteractableArea" example to only allow the player to interact with certain items only if they are in this "area").

  • Giving any interactable the tag "IgnoreOutlines" will stop that interactable from displaying an outline around itself when the player is able to interact with it.

  • The "InputKey_W" widget blueprint now utilizes a separate "Input Mapping" data table to get its data from for displaying specific icons, text, or backgrounds depending on the target key. Removing the need to set the data for every instance of the widget that's used, and opens up the possibilty for player mappable keys in the future (This is the widget that gets used wherever you see an input prompt on screen).

April 21st 2025

Update 3.1

  • Has Item interaction method overhaul

  • Fixed a menu layering issue

  • Added a new DoItemsArrayExistInInventory function, and an OnTaskInitialized event dispatcher inside the inventory manager

  • Fixed inconsistencies presented by subtitles, and subtitle names

  • Fixed the Inspect Actor Offset value to correctly offset the mesh from its pivot.

  • Improved Inspect actor lighting

February 23rd 2025

Update 3

  • Added a new Objective/Task Framework to the Interaction Manager with functions to Add, Edit, Remove, & Hide tasks.

  • Added Skeletal Mesh support for "Interactables" and actors that can be inspected/picked up.

  • Added subtitle headers/names above the original subtitle text.

  • Outline shader no longer renders through meshes, and now supports occlusion.

  • Slightly tweaked the interaction trace to remedy a few interaction issues, as well as the interaction prompt.

  • Changed gamepad detection to not be dependent on the player camera manager class.

  • Added support for saving/loading the last level that the player was in out-of-the-box, removing the need to set this up manually.

  • Widget prompt animation examples.

  • Slight tweaks to the "Skip Subtitle Segment" functionality.

  • Adding the tag "IgnorePromptTrace" to any actor will now force the interaction occlusion to ignore geometry/line of sight.

  • Added a "Return Value" output pin to the ConvertInteractableActorIntoStaticMesh function.

  • The SaveSpawnedActor(Save Game) function now also saves/loads actor tags.

  • Added a new "Door" demonstration prop.

February 1st 2025

Update 2

  • Added customizable Quick Time Events utilizing a "CreateQuickTimeEvent" function.

  • Added support for true first person using the SFCameraManager.

  • Added a new section to Example Map demonstrating the use of Quick Time Events inside sequences.

  • Added per-instance custom collision radius to interactable actors and items.

  • Added a collection of new Event Dispatchers for easier communication between SF Actor Components.

  • Fixed issues being produced when inside "simulate" play mode

  • Added the ability to skip dialogue subtitle and voice line segments.

  • Removed unused blueprint sections.

  • Relocated some functionality to better and more respective blueprints.

November 3rd 2024

Update 1.2

  • Added a new area to the demo level that further demonstrates using some of the story-related features inside Story Framework in conjunction with one another.

  • Added support for playing sequences and inspecting actors at the same time. For instance, if you're using a sequence object actor, if a sequence is selected, and an inspect method is chosen, the player will inspect the actor after the sequence is completed or stopped.

  • Added a new section to the "SFTools" editor utility widget for editing actors inside the level.

  • Added a new Story Framework specific function to the Interaction Manager, Spawn Interactable Saved. Spawns an interactable actor class, updates its interaction data, and saves it immediately to the "SpawnedActors" list. (This eliminates the need to go through the process of first spawning an interactable actor, then setting its interaction data, and finally saving it the the Save Game)

  • Added a new custom popup widget that can be configured with your own information.

  • Fixed a minor inspect actor value that wasn't updating correctly.

  • Added a small page indicator on the readable UI overlay indicating what page the player is on, and how many pages there are to read.

September 13th 2024

Update 1.1

  • Added a new "EditItemInInventoryByName" function to the Inventory Manager for more customizablity at runtime.

  • Added a new "ResetSFCameraStates" function inside the gameplay function library.

  • Removed excess blueprints that are not used

  • Fixed an issue with the camera when saving and loading while talking to an NPC.

  • Added the option to opt out of using custom the "fixed" camera preset for NPC dialog.

  • Reworked NPC Interaction to allow for further branching in dialog.

--- NPC's now use Dialog Sets (array of dialog options instead of a singular option)

--- Introduction of "ConsequentialTags" that can be accessed by any NPC to alter their dialog with the player. These tags are used to select Dialog Sets when initiating conversation.

--- Added the ability to use the players camera while talking to an NPC instead of forced camera "cutscenes."

--- Added the option to "AllowPlayerMovement" when initiating conversation with an NPC.

  • Polished and Refined the Auto Depth of Field on the Camera Manager

  • Added functionality to occlude interaction prompt widgets when they are not in the players line of sight. (behind a wall, etc.)

  • Adjusted lighting on objects when they are being inspected.

  • Added a new trace condition for interaction (If using WidgetMenu_IMC)

  • Added a new "LoadSFComponents (IntoMemory)" function to help optimize initial playthrough hitches when interacting with items for the first time.

August 9th 2024

Release Version

  • Fixed a warning message being produced by an invalid array index inside the Camera Manager actor component.

  • Fixed an oversight during development that spawns an actor at world origin on begin play.

July 2024

More Topics

Find more information and tutorials related to Story Framework.

This section covers other topics relating to Story Framework that users might find useful. If you have any questions regarding topics spoken about here, please feel free to reach out in our discord community or to me directly through discord or email.


FAQ

I am getting runtime "save" errors when placing SF actors in my scene

If an actor contains the SFActorSavable_AC actor component and does not have a unique "Save ID" assigned, right-click on said actor > "Scripted Actor Actions" > "SF Save System" > "Generate New Save ID (If Valid)"


I am getting runtime "Blueprint Runtime Error: "Accessed None trying to read property CallFunc_GetSF_InventoryManager_Reference_2". Node: Unbind Event from On Inventory Changed Graph: EventGraph Function: Execute Ubergraph Requires Item Interaction W Blueprint: RequiresItemInteraction_W" errors when entering the "requires item" interaction sub-mode and immediately exiting Play-in-Editor.

This can be ignored. This error is simply stating that the inventory manager can't be accessed to unbind the OnInventoryChanged dispatcher within an inventory menu. This happens because we unbind any events from that event dispatcher when an inventory menu is "Deconstructed". This produces an error when deconstruction occurs at the same time as exiting Play-in-Editor. This error shouldn't ever occur in a packaged build / playthrough.


StoryFlow Editor

The developer by the name of Soulstices created an amazing story-board inspired tool that I felt Story Framework (SF) users would love. StoryFlow Editor (SFE) is a visual node-based tool for designing branching narratives and dialogue systems for games. If you're building a narrative-heavy game and tired of juggling spreadsheets, docs, and text files, this is built for you.

Soulstices and I have decided to work out a cross-promotion partnership for SF users to benefit from, as we feel SF and SFE compliment one another perfectly. SF users will be granted a 15% discount on a SFE purchase through itch.io!

Both Soulstices and I are excited to collaborate together to make narrative and story-telling tools more accessible to all devs. Be sure to show some love to Soulstices on SFE's store pages!

Please note that this discount is exclusive to users who have verified their purchase of Story Framework. Thank you Soulstices for the generous discounts you're providing <3