I have started working on adding export functionality to the in-game map editor. Basically it will allow one to enter the map editor, target the top-left corner of the region to be exported, and pres the hotkey to dump to file. Right now it only dumps the terrain, walls, windows, doors, and staircases. I’m sure there are more that would be dumped, but I have yet to test this outside the evac shelter. I am hoping to eventually get it to dump furniture. I don’t think I will implement item dumping due to the vast majority of items. Also, I am visualizing this as an in-game content creation tool. Build a new building in-game and dump it straight to json and re-gen the world and your new building would be in there. Obviously, this would require buildings to be pushed to json, but until then I see this being very useful for those with little to no coding skills to push out a building design with ease. Any input, good or bad, would be greatly appreciated.
Walls are dumped with some strange symbols right now, but like the title says, this is a work-in-progress.
Here is the export of the evac shelter ( cursor was on the top-left wall tile of the shelter so it’s not centered ):
EDIT:: Added furniture dumping.
xqqqq"q++q"qqqqx........
x{{{{......#..6x........
x.#.#.#....#...x........
x.#.#.#....#...x........
x.#.#.#....#...x........
".#.#.#........"........
x..............x........
+......>>......+........
+......>>......+........
x..............x........
".#.#.#........"........
x.#.#.#....#...x........
x.#.#.#....#...x........
x.#.#.#....#...x........
x..........#..6x........
xqqqq"q++q"qqqqx........
........................
........................
........................
........................
........................
........................
........................
........................
Also dumps to Unicoded file:
4194424, 4194417, 4194417, 4194417, 4194417, 34, 4194417, 43, 43, 4194417, 34, 4194417, 4194417, 4194417, 4194417, 4194424, 46, 46, 46, 46, 46, 46, 46, 46,
4194424, 123, 123, 123, 123, 46, 46, 46, 46, 46, 46, 35, 46, 46, 54, 4194424, 46, 46, 46, 46, 46, 46, 46, 46,
4194424, 46, 35, 46, 35, 46, 35, 46, 46, 46, 46, 35, 46, 46, 46, 4194424, 46, 46, 46, 46, 46, 46, 46, 46,
4194424, 46, 35, 46, 35, 46, 35, 46, 46, 46, 46, 35, 46, 46, 46, 4194424, 46, 46, 46, 46, 46, 46, 46, 46,
4194424, 46, 35, 46, 35, 46, 35, 46, 46, 46, 46, 35, 46, 46, 46, 4194424, 46, 46, 46, 46, 46, 46, 46, 46,
34, 46, 35, 46, 35, 46, 35, 46, 46, 46, 46, 46, 46, 46, 46, 34, 46, 46, 46, 46, 46, 46, 46, 46,
4194424, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 4194424, 46, 46, 46, 46, 46, 46, 46, 46,
43, 46, 46, 46, 46, 46, 46, 62, 62, 46, 46, 46, 46, 46, 46, 43, 46, 46, 46, 46, 46, 46, 46, 46,
43, 46, 46, 46, 46, 46, 46, 62, 62, 46, 46, 46, 46, 46, 46, 43, 46, 46, 46, 46, 46, 46, 46, 46,
4194424, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 4194424, 46, 46, 46, 46, 46, 46, 46, 46,
34, 46, 35, 46, 35, 46, 35, 46, 46, 46, 46, 46, 46, 46, 46, 34, 46, 46, 46, 46, 46, 46, 46, 46,
4194424, 46, 35, 46, 35, 46, 35, 46, 46, 46, 46, 35, 46, 46, 46, 4194424, 46, 46, 46, 46, 46, 46, 46, 46,
4194424, 46, 35, 46, 35, 46, 35, 46, 46, 46, 46, 35, 46, 46, 46, 4194424, 46, 46, 46, 46, 46, 46, 46, 46,
4194424, 46, 35, 46, 35, 46, 35, 46, 46, 46, 46, 35, 46, 46, 46, 4194424, 46, 46, 46, 46, 46, 46, 46, 46,
4194424, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 35, 46, 46, 54, 4194424, 46, 46, 46, 46, 46, 46, 46, 46,
4194424, 4194417, 4194417, 4194417, 4194417, 34, 4194417, 43, 43, 4194417, 34, 4194417, 4194417, 4194417, 4194417, 4194424, 46, 46, 46, 46, 46, 46, 46, 46,
46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46,
46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46,
46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46,
46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46,
46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46,
46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46,
46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46,
46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46, 46,