-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mainline/jsonify megastore #34625
Mainline/jsonify megastore #34625
Conversation
I'd prefer having both variants in game. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd suggest you use https://github.com/CleverRaven/Cataclysm-DDA/blob/master/tools/merge_maps.py
On this map, there's no need for each OMT to be defined individually.
An old one looks like an empty hangar with rows of metal shelves.
I doubt it will help. @SunshineDistillery (author of the mod) made the building (and FEMA camp, and missile silo) in a strange (for me) way and introduced lots of 24x24 variations of each overmap tile and rotated them as needed. |
Hmmm, that's strange, it says megastore.json has to be linted, but I already linted it via http://dev.narc.ro/cataclysm/format.html |
I agree, but in json form instead of hardcode C++ mapgen functrion. |
It would be heavily modified anyway, because new building has 2 stories+roof and parking lots. And just compare them, I believe megastore made by @SunshineDistillery is much better. |
this breaks my savegame with a crash in a deserialize function in savegame.cpp (iirc, ive rolled back now), is this expected behaviour? I guess its because the old megastore definition is removed? Sorry if this is intended, I looked to see if the project has a policy about breaking savegames or not but I couldnt see one |
Provide a savegame. |
running windows 7, x64 build bring up the map, go up the the surface Z level and then pan westwards until the large city is in view, this triggers the crash for me |
Summary
SUMMARY: Content "Mainline jsonified megastore from the Mapgen Demo mod"
Purpose of change
The old megastore is boring and obsolete.
Describe the solution
But the Mapgen Demo offers a really nice solution.
Describe alternatives you've considered
Leave everything as is.
Additional context
I tweaked the building a bit and squeezed it into one file. Removed the old megastore from the hardcode completely.