Modding generic chapters
This page walks through the method of describing chapters in the generic campaign. It includes small examples of the required code, and a listing of all the existing chapters. This page is halfway between a guide and an inventory. The description are current as of June 2021, release version 1.0.
Overview
The generic campaigns now require registration of chapters, including the intro mission of chapter one. The game currently contains a set of "first chapters", a set of "mid chapters" and a set of "last chapters". When you start a generic campaign, the game selects an initial threat faction randomly. Then it selects a first chapter from candidates that have either that threat listed, or no threat listed.
In a three chapter generic, there is one middle chapter; in a five chapter generic, there are three middle chapters. The game selects each chapter from candidates that either have the matching threat, or no threat. Then the last chapter is selected the same way.
First chapters
This is the syntax to register a first chapter. The threatFlavor is optional.
<syntaxhighlight lang="json"> "genericCampaignInfo": { "chapter": "first", "threatFlavor": "cultist", "plotId": "C_generic_clearSites", "capstoneEventId": "your_end_event_id" }