Page MenuHomeFeedback Tracker

Cannot continue singleplayer session of mod scenario
Assigned, NormalPublic

Description

I've been trying to get load/save to work with my singleplayer scenario for some time now. Debugging the session logic I found two blockers:

  1. UI does not consider a scenario continuable unless MissionHeader.ReadMissionHeader returns non-null. See SCR_ScenarioUICommon.HasSave. However since mods are not loaded in main menu, this will always return null. Workaround is to start with addon preenabled with "-addons <guid>"
  2. Even if you can click continue, another check is that WorkshopApi.GetInGameScenario returns non-null. See SCR_ScenarioUICommon.LoadSave and SCR_SaveWorkshopManager.GetScenarioMissionWorkshopItem. However this will also always return null for my mod scenario. No known workaround.

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 7
Category
General
Steps To Reproduce
  1. Start singleplayer mod scenario with saving enabled. forexample https://reforger.armaplatform.com/workshop/65AB380985EBE462-RKNTimeTrials
  2. Save and exit.
  3. Start game without -addons, and verify game recognizes scenario session but gives to button to continue or restart it.
  4. Start game with -addons, and try continuing session. Verify loading fails at SCR_ScenarioUICommon.LoadSave

Event Timeline

runekn created this task.Sun, Jul 20, 4:21 PM
Geez changed the task status from New to Assigned.Mon, Jul 21, 11:31 AM