Six-file utility surface
| File | Definitions | Primary responsibility |
|---|---|---|
bigmap.cfg | Green Isle and Great Continent background/track wrappers plus the journey macro family | Story-map rendering and route history, including branch-aware Scenario 04 and Ka’lian quest paths. |
trow-abilities.cfg | 1 macro | Defines the Wesfolk distract ability. |
trow-ai.cfg | 7 macros | Goal injection, attacking toggles, AI resets, and invisible movement limiting. |
trow-deaths.cfg | 1 macro containing 9 event handlers | Campaign-wide required-character defeat and companion death behavior. |
trow-macros.cfg | 5 unit-construction macros | Heroes, guardians, intelligence units, and raised former allies. |
trow-nlmsg.cfg | 6 active narrative events | Quest-order and fleet-progress reminder dialogue. |
Core construction macros
| Macro | Parameters / behavior | Typical use |
|---|---|---|
HERO | Type, ID, name, side, coordinates, portrait; loyal hero trait; no random traits. | Named permanent allies such as Lord Typhon. |
GUARD_UNIT | Creates a named loyal unit with ai_special=guardian. | Wose defenders, spiders, scorpions, tentacles, and fixed cave guards. |
UNDEAD_INTEL | Creates a named undead loyal unit with portrait. | Jevyan, Familiar, Midnight Queen, and intelligence scenes. |
LIVING_INTEL | Creates a named living loyal unit with portrait and no random traits. | Temporary or scripted living intelligence characters. |
RISE_UP_RISE_UP | Creates a loyal enemy corpse at the fallen unit’s hex, preserving undead variation; Soulless on Hard. | Temple in the Deep and the final battle. |
Stale source comment. The header comment says “So Far: #LOOT,” but the current file contains no
LOOT macro. The actual live definitions are the five listed above.AI helper macros
| Macro | Responsibility |
|---|---|
GOAL_LOCATION | Builds a target-location goal from arbitrary criteria and a value. |
MODIFY_SIDE_AI | Wraps an AI modification inside [modify_side]. |
DISABLE_ATTACKING | Deletes spread-poison, high-XP-attack, and combat candidate actions. |
ENABLE_ATTACKING | Restores those three standard candidate actions. |
RESET_SIDE_AI | Rebuilds goals, avoid region, grouping, aggression, caution, and leader value. |
SILENTLY_LIMIT_LEADER_MOVES | Restricts a leader only while on a keep and re-applies the limit after returning. |
SILENTLY_LIMIT_MOVES | Restricts any filtered side units at turn refresh. |
Shared death contract
| Character | Result |
|---|---|
| Prince Haldric | Immediate defeat. |
| King Eldaric IV | Immediate defeat in scenarios where the macro is active. |
| Lady Jessene | Immediate defeat. |
| Lady Outlaw | Does not die normally: have_lady=0, store in lady_store, remove from map. |
| Burin, Ruddry, Ladoc, Edren | Character-specific final dialogue; campaign continues. |
| Lord Typhon | Immediate defeat because the fleet becomes vulnerable. |
The macro centralizes stable death behavior while scenarios add local exceptions and additional protected leaders.
distract ability
The campaign’s sole custom ability is implemented as an ally-affecting skirmisher effect. The unit itself does not receive the effect; every adjacent ally may ignore enemy Zones of Control.
#define ABILITY_DISTRACT
[skirmisher]
id=distract
affect_self=no
affect_allies=yes
[affect_adjacent]
[/affect_adjacent]
[/skirmisher]
#enddef
Journey-map architecture
bigmap.cfg defines two base maps and route macros from the opening through the epilogue. Important architectural features include:
- Green Isle and Great Continent background-layer wrappers.
NEW_*versusOLD_*markers for the current and completed route.- Scenario 04 route selection through
escape_choice. - Ka’lian branch rendering through the four completion flags and
last_done. - Return-to-hub routes that combine all completed quest journeys.
Narrative reminder events
| Condition | Turn | Purpose |
|---|---|---|
last_done="Dragon" | 6 | Haldric still wants the “Dragonbane” title. |
last_done="Hole" | 3 | Jessene and Burin recall the Troll Hole. |
last_done="Isle" | 2 | Haldric comments on avoiding undead. |
last_done="Beach" | 5 | Haldric misses the beach. |
num_done=0 | 7 | Reports the first fleet departure to the Green Isle. |
num_done=3 | 2 | Reports the returning fleet and another outbound third. |
Source files
bigmap.cfg · trow-abilities.cfg · trow-ai.cfg · trow-deaths.cfg · trow-macros.cfg · trow-nlmsg.cfg