CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.33k stars 4.14k forks source link

Massachusetts Mod can't start a new game on experimental build #70526

Closed pjmsam closed 4 months ago

pjmsam commented 9 months ago

Describe the bug

When using Massachusetts Mod,it can't start a new game,it say unable to generate a valid starting location, cdda1

Attach save file

N/A

Steps to reproduce

cdda1 start a new world with only Ma mod,build a character,and can't start the game

Expected behavior

fix the issue,thank,really don't want to go back play stable

Screenshots

No response

Versions and configuration

can't start with MA mod

Additional context

No response

pjmsam commented 9 months ago

it seems like SELECT_STARTING_CITY cause the "unable to generate a valid starting location" problem(which is true in MA mod). because even don't use MA mod but set SELECT_STARTING_CITY to true will also cause this problem,

but even set it to false the MA mod still can't start ,please see the screenshot image

this is the option cause the problem { "type": "EXTERNAL_OPTION", "name": "SELECT_STARTING_CITY", "info": "Allows to select starting city in new character menu.", "stype": "bool", "value": false },

Procyonae commented 9 months ago

/confirm

I-am-Erk commented 9 months ago

I suspect this has somethingto do with oceans

Procyonae commented 9 months ago

It could well do the MA maps stretch out pretty far. .omaps in general are working bc I'm having no problems with #70757. It could also specifically be related to the starting city stuff

CavanStone commented 6 months ago

I suspect this has somethingto do with oceans

@I-am-Erk I think you are correct and here is my process for validating this:

1) Start a new world and game with the Massachusetts Mod 2) On the description tab of the character creation screen select a specific starting city [C] and choose Pittsfield 3) Binary search the following list to find the coast using the debug option to teleport to city: [Pittsfield, Dalton, Hinsdale, Peru, Worthington, Cummington, Chesterfield, Goshen, Williamsburg, Northampton] 4) Use Teleport to adjacent overmap and reveal map debug options to fine tune your position

I have validated this three times already. Here is my last attempt. As you can see the town of Cummington is close to the coast in the game when it is nowhere near the ocean in real life.

image

CavanStone commented 6 months ago

@I-am-Erk

So there is a quick hacky fix for this.
1) Copy over the core regional_map_settings.json file over to MA mod directory. 2) Search the json file for "ocean_start_east" and change the value to 69 (the next overmap coordinate over from the outer cape shore.) 3) Optionally change ocean_start_south to 42 (the next overmap coordinate from the south coast of Nantucket.) I swear I am not making these numbers up!

Here I am in Provincetown, in the latest experimental version: image