FINDarkside / TLD-Save-Editor

Edit The Long Dark save files
http://www.moddb.com/mods/the-long-dark-save-editor-2/downloads
MIT License
75 stars 31 forks source link

Region change problems #35

Closed FINDarkside closed 4 years ago

FINDarkside commented 4 years ago

Sometimes when you change region you can't enter building anymore. Every time you enter a building you'd just fall trough the map.

Sometimes changing region from game put you to "fresh state" region even if you have been in that region previously.

FINDarkside commented 4 years ago

Example save, entering the house in front does some wonky stuff.

Pt-Djefferson commented 4 years ago

m_ForceNextSceneLoadTriggerScene must be nulled after changing region (if GameManagerData.SceneTransition.m_ForceNextSceneLoadTriggerScene exists cause in old save it at GameManagerData.m_ForceNextSceneLoadTriggerScene). Global.GameManagerData.SceneTransition.m_ForceNextSceneLoadTriggerScene = null;

FINDarkside commented 4 years ago

Great this seems to fix the falling trough map at least! Not sure if this fixes the alternative reality bug as well.

Pt-Djefferson commented 4 years ago

Dunno how to help with alternative reality. Causes of "fresh state" can only be in corrupted, deleted or outdated m_Dict maps sections.

FINDarkside commented 4 years ago

Well there's a bit more to it. The game actually has multiple scenes of the same region (sandbox, story and so on) and first I suspected this is somehow the problem. At one point I supposedly fixed it with these 2 lines. Without these, the game was actually showing you the items of your old region (region before editing) when you were actually in completely different region. Or something like that, I don't remember anymore. But yeah, now that I checked the last report of this "alternate dimension" it included this falling thing so probably caused by this. I'll create a new issue if someone still has the problem.