Introduction to Visual Scripting - Kizari/Flagrum GitHub Wiki
This guide is a series that is intended to teach the user fundamentals of visual scripting for FFXV using Lucent.
Warning
It is highly recommended that you read this guide in the order it is presented to get a full understanding of how to prepare Lucent for modding and how the node graphs work.
These requirements apply to all guides in this section. You will need:
FFXV scripts that affect gameplay events are called "sequences." They are very similar to the likes of Unreal Engine Blueprints or Unity Visual Scripts in that they are a series of nodes connected together to form the sequence of events the game needs to perform. Visual Scripting in terms of FFXV refers to using Lucent's visual interface to modify these sequences without the need to alter the code manually.
Above is an example of a basic sequence from the game loaded inside Lucent to illustrate what a sequence looks like.
The first thing you should do is use Flagrum to export all script files from the game. This will give Lucent all the files it needs to be able to read the sequences and create mods from them. They are also very useful for being able to search for keywords in all scripts in the game at once if you're unable to locate the files you want to work on from their name alone. This guide here covers how to do both.
The FFXV Community Game File List
found on the sidebar can also be helpful for locating files needed for your mods. This may be quicker than searching the scripts via the above method in cases where the file you are looking for is already known and listed. There are also older guides pertaining to script editing from before Lucent was available that can be useful as a resource if you're interested in what goes on under the hood. You can find these in the sidebar under Gameplay Mods > Script Editing
.