Modding: Dialogs
From Divinity Engine Wiki
Description
Modding existing dialogs is possible, albeit slightly different from modding other systems. Most moddable systems in Divinity: Original Sin 2 work by either:
- An object overrides another when it has the same GUID, or,
- An object overrides another when it has the same name
Overriding dialogs is different, as it works by creating dialogs with the same file name instead.
Modding existing dialogs
To modify an existing dialog in your module:
- Open up the Dialog Editor
- Load an existing dialog from a project that yours inherits from (e.g. Data\Mods\DivinityOrigins_1301db3d-1f54-4e98-9be5-5094030916e4\Story\Dialogs\Tutorial\TUT_LowerDeck_OriginLohse.lsj if your project inherits from the Divinity: Original Sin 2 project)
- Edit the dialog (in the example image I added an additional answer node for the Red Prince)
- Save the dialog in your own project with the same file name, under "Data\Mods\{YourProjectFolder}\Story\Dialogs\"
Adding a special answer node to the first encounter between Lohse and the Red Prince