Jagged Alliance 2 Devlog — Endless New Game Plus, Veteran Kit Carry-Over & Quest-Safe Permadeath

Jagged Alliance 2 Devlog — Endless New Game Plus, Veteran Kit Carry-Over & Quest-Safe Permadeath

· · blog

Sir-Tech's 1999 classic never shipped a campaign New Game Plus, and even the Unfinished Business codebase left behind only an unimplemented ImportOldProfilesAndProcessThem() header stub (src/Ja25Update.h). In our native 64-bit C++17 & SDL2 port of Jagged Alliance 2: Arulco Revisited, you can now export any mid-campaign or victorious save into an endlessly chainable New Game Plus (20+ consecutive runs) — solo or across 1–6 player campaign co-op.

Jagged Alliance 2 Native Port — Initial Game Settings Screen Offering New Game Plus (Run 3) Toggle

How Exporting, New Game Plus (run N) & Save-Stamped Companions Work

Every campaign save can be exported headlessly from your terminal (or automatically on load via JA2N_NGPLUS_EXPORT) into a deterministic, human-readable format=1 carry-over file:

# Export QuickSave (slot 0) or any numbered save slot (1..N) into ngplus.txt:
ja2-native-port --ngplus-export 0 ngplus.txt
  • Automatic INITIAL GAME SETTINGS Toggle: Whenever a valid ngplus.txt sits in your game directory (or is pointed to by [Native] ngplus_import = <path> in Ja2.ini / JA2N_NGPLUS_IMPORT), the Initial Game Settings screen automatically unlocks New Game Plus (run N) (Off / On). Importing a run=1 file starts run 2; exporting from run 2 starts run 3, verified in automated 20-campaign chains (tests/ngplus-chain.sh) with zero file-size bloat.
  • FNV-1a Item-Table Verification: Each ngplus.txt stamps items=<16-hex FNV-1a> computed across Items.xml (usItemClass + szItemName). Carried weapons preserve exact condition, loaded ammo type (AP / HP / Match / Glaser), remaining magazine rounds, and modular attachments (Battle Scope, 7x, Laser Sight, Bipod, Rod & Spring, suppressors, underbarrel launchers); if you switch mod stacks later, unknown item IDs are warned and cleanly skipped instead of corrupting SOLDIERTYPE::inv[].
  • Atomic <save>.ngplus Save Companions: Mid-campaign saves write a paired <save>.ngplus companion via .tmp staging, prefixed with # save=<FNV-1a 64> of the binary .sav file so a stale or foreign companion can never leak across unrelated saves.

Jagged Alliance 2 New Game Plus — Day 1, 07:00 Tactical Drop in A9: Omerta with Carried 4-Attachment FN FAL and Veteran Squad

Three-Tier Mercenary Carry-Over & Automatic A.I.M. Gear Waivers

Rather than dumping every former squad member onto the Omerta landing zone at once — which would break hiring progression, rebel triggers, and town encounters — src/platform/ngplus_game.cpp splits carried veterans into three campaign-authentic tiers:

  1. Custom I.M.P. Main Mercenaries (1 Solo / Up to 6 in Co-op): Restored immediately into the Day 1, 07:00 Omerta drop (A9: Omerta) at zero fee, complete with their full binary MERCPROFILESTRUCT identity (blob: custom v6.1 camo avatar #220–#259, voice, clothing palettes, personality/attitude), earned Experience Level (1–10), all 11 attributes plus sub-point stat-gain progress (gain=), skill traits, cumulative days served & STRUCT_Records combat tallies, full armor/weapon loadout, and assigned 1–6P co-op controller owner (owner=1..6).
  2. A.I.M. & M.E.R.C. Veterans (HireMerc Hook + Automatic Gear Waiver): Start off-team in their normal agency rosters so contract salaries naturally scale with their veteran level. The instant you hire a carried mercenary (ja2n_ngplus_on_join), their veteran stats, level, records, and carried kit overwrite the default profile — and ja2n_ngplus_gear_waiver / ja2n_ngplus_gear_refund automatically waive and refund the optional A.I.M. equipment charge whenever carried gear replaces their default kit.
  3. Recruited Story Rebels & RPCs/EPCs (RecruitRPC / RecruitEPC Hook): Characters like Ira, Dimitri, Carlos, Miguel, Hamous, or Dynamo remain normal world NPCs until your story reaches their recruitment moment, keeping early-game sector balance intact before restoring their veteran stats and carried gear on join.

Jagged Alliance 2 New Game Plus — sir-FER 4.0 A.I.M. Mug Shots Showing Fallen Mercenaries Marked Deceased Alongside Carried Funds

The Quests.cpp Permadeath Audit (NG-2a) & I.M.P. Lockout (NG-2b)

During testing, marking every fallen character as MERC_IS_DEAD at InitNewGame exposed a classic engine trap: CheckForNewFact in src/Strategic/Quests.cpp and LuaInitNPCs.cpp branch directly on bMercStatus == MERC_IS_DEAD for dozens of story profiles (Dimitri, Pablo, Ira, Brenda, Joey, Dynamo, Mary & John, Carmen, Tony, Vince). Starting a new campaign with a story NPC flagged dead can silently soft-lock quests and town shops before you ever visit the sector.

  • Quest-Safe Permadeath Split: By default (ngplus_dead = stay), fallen hireable mercenaries (A.I.M., M.E.R.C., and I.M.P.) stay permanently Deceased across chained campaigns — honouring true Ironman stakes — while story RPCs/EPCs/NPCs always reset fresh so every questline in Arulco starts cleanly.
  • XEP624 I.M.P. Lockout (NG-2b): Because your carried-over I.M.P. veteran (or up to 6 player-owned I.M.P.s in co-op) is already in the field, entering XEP624 on sir-FER 4.0 - I.M.P. displays a clean native notice instead of spawning duplicate custom profiles.

Jagged Alliance 2 New Game Plus — sir-FER 4.0 I.M.P. Lockout Dialog ("New I.M.P. profiles are not available in New Game Plus.")

Optional Ja2.ini [Native] Rules (ngplus_money & ngplus_dead)

Quests, strategic facts, sector garrisons, SAM sites, and town loyalty always reset fresh, while two optional [Native] settings in Ja2.ini (or environment variables) let you tailor carry-over difficulty:

  • ngplus_money = 0..100 (JA2N_NGPLUS_MONEY, default 0): Carries 0%–100% of your exported LaptopSaveInfo bank balance (money=<n>, clamped to 2,000,000,000) into the new run as an opening deposit on top of standard starting cash.
  • ngplus_dead = stay | revive (JA2N_NGPLUS_DEAD, default stay): Set revive if you want fallen A.I.M., M.E.R.C., and I.M.P. veterans returned to the hireable pool with their carried stats and gear.

Grab your DRM-free copy via Jagged Alliance 2: Wildfire on GOG.com or Jagged Alliance 2 Classic on GOG.com, and download v1.0.1 plus the full CLI/INI reference on the Jagged Alliance 2 Port Page.