Duplicating Locations

Yosano
Level 1
1 year ago

Not sure if this is a bug, or if I have missed something, or if there is a workaround...

When creating a dungeon, there is no Save As option. There is no Duplicate/Copy option. Obviously there is no persistent data between modules, nor variables or states that can be set common to those dungeons, so the only way to create series of modules where the player returns to a previous location is to duplicate and edit environments/maps. Rebuilding complex environments multiple times seems impractical. So how do we duplicate maps? 

Example case: in dungeon 1 player kills goblins threatening a camp (camp1.json), in dungeon 2 player clears out the goblin nest (nest1.json), in dungeon 3 player returns to the camp finds new enemies threatening it (camp2.json) - three dungeons, but only two maps required; the 3rd dungeon is the same map as the 1st, but with different enemies, and some new Lore panels to advance the story.

In theory, there might be an easy workaround. Each dungeon is just a json file, right? So, go into Solasta/User Content/Locations, copy the camp1.json file and rename the copy as camp2.json, then launch the editor and go into camp2.json and change enemy locations and lore.... NOPE! On navigating to Dungeon Maker from the main menu, camp2.json is deleted from Solasta/User Content/Locations.

OK, so lets go into the editor, create a dungeon called camp2 with some random stuff in it, exit the game, open the camp1.json and camp2.json files and copy-and-paste from camp1.json to camp2.jason. Easy! NOPE! On navigating to Dungeon Maker from the main menu, camp2.json is deleted from Solasta/User Content/Locations .

File deletion definitely occurs based on in-game navigation - it isn't on launch.... I also found that in the Steam apps folder Slasta_COTM/Solasta_Data/StreamingAssets/UserLocations has json dungeon files, but copying a file into this folder doesn't seem to be picked up by the game.... I'm not sure where else to look for a way to fix this. Whether for reusing locations or just for creating backups, how does an editor create duplicate dungeons? Am I missing something here?

Any suggestions appreciated!


Berengar
Level 10
1 year ago (edited)

You make your map in the DM and in your folder you see dungeon.json. Now minimise Solasta for a while. Make a copy on dungeon.json and rename it dungeon1.json.

Open the new one, dungeon1.json, in a text editor and the second block you should see is 'title'.dungeon.

Change that to dungeon1 and you should be good to go.

The DM does a massive serial read of every single json it can find in its (3?) locations and checks them for errors. Duplicate title causes it to delete the file it considers erroneous.

You only need to make that one little text edit and you are good to go. I've done it loads of times.

Edit: Yes its a bit tedious now but I'd rather the devs were making things easier for players right now than creators. We are going to work through problems and some players won't :)


Find your next Solasta D&D adventure: https://solasta-dungeons.fandom.com

Yosano
Level 1
1 year ago

That's brilliant - works like a charm. I should have thought to check the json for references to the title, my bad. Thanks for helping me out here!

SirMadness
Level 8
Newsletter Link Kickstarter Backer Wishing Well Druid
1 year ago (edited)

Hey there,

+ If you will to upload make sure to change the publication number to "0" top down of the .json otherwise the 2 maps may use the same "workshop page" which you don't want.


"VISE LES YEUX BOUH !!!" (c)MINSC https://www.Twitch.tv/sirmadnesstv pour du live https://www.youtube.com/myuneffectivemadness pour de la VOD

Berengar
Level 10
1 year ago

Hey there,

+ If you will to upload make sure to change the publication number to "0" top down of the .json otherwise the 2 maps may use the same "workshop page" which you don't want.

I should have read this earlier! Lesson learned :)


Find your next Solasta D&D adventure: https://solasta-dungeons.fandom.com