The tutorials contain SoD plot spoilers, obviously.
Here are the links to my SoD modding tutorials:
Modding Tutorial Part 1: Automatic Transition of NPCs into SoD and between Camps in SoD
Modding Tutorial Part 2: Make Your NPC Comment and Move Along at the End of SoD
Modding Tutorial Part 3: Add Other General SoD Behavior to Your NPC: XP Adjustment, Actions in Story Cutscenes, Commenting of Main Story Events
Modding Tutorial Part 4: How to Script the SoD Banter System for Your NPC
And here is the knowledge of all the tutorials bundled into a working NPC mod:
Biff the Understudy Tutorial NPC Mod for SoD
Please note: the mod is working, but Biff has a basic cre, no items, no portrait, and no soundset. The focus of the mod is on the scripting described in the tutorials.
Descriptions:
Modding Tutorial Part 1: Automatic Transition of NPCs into SoD and between Camps in SoD
This tutorial deals with the transition of an NPC from BG:EE to SoD and how to move your NPC from one SoD area to another depending on the campaign's progress if they are not in the group. As an example NPC, Biff the Understudy will be the NPC in this guide!
In SoD, joinable NPCs that are not in the party will still be present and waiting in whichever camp the coalition is staying currently. This tutorial lists all relevant scripts that need to be patched for a mod NPC to make them behave the same way.
It contains examples of what and how to add to the scripts so your mod NPC will be moved around SoD camps during the progressing SoD campaign in case they are not in the party, too.
Modding Tutorial Part 2: Make Your NPC Comment and Move Along at the End of SoD
This tutorial deals with how to integrate your NPC into the events and cutscenes at the end of SoD. Biff the Understudy will be the example NPC in this guide.
Note: This tutorial contains heavy SoD spoilers.
Modding Tutorial Part 3: Add Other General SoD Behavior to Your NPC: XP Adjustment, Actions in Story Cutscenes, Commenting of Main Story Events
This tutorial deals with giving your NPC some general script additions like XP adjustment upon joining, removing of Story Mode upon leaving the group, letting the NPC move in cutscenes if not in party, and inclusion into general NPC reaction points to the main game events.
The listed situations in this tutorial are the ones where general reactions depending on class, race, or alignment of all or several NPCs in group are included in the game and where a mod NPC should not be missing. It does not give examples of possible interjection points depending on individual NPCs' character or personal reactions to game events etc.
The tutorial now includes all instances I could find by browsing the game files. Let me know if I missed anything or if you have general critique. The tutorial might change after I finished my own NPC mods for SoD.
Modding Tutorial Part 4: How to Script the SoD Banter System for Your NPC
This tutorial deals with how to make your NPC banter with the other party NPCs like it is custom in SoD. In SoD, banters of party NPCs are done via floating text above their heads while the player wanders about the areas. As an example NPC, Biff the Understudy will be the NPC in this guide, bantering with Corwin two times: the first banter will be started by Biff, the second by Corwin. Read through the chapters to see how the needed files play together.
The examples are such that the banter can be also offered in "dialogue style" like they are in BG2. How to do this as an optional component of your mod is explained in Chapter 4.
Edited by jastey, 02 April 2022 - 05:01 AM.