Question Map editing to game help

NikkiV

Greenhorn
I think I'm in the right forum. A few weeks ago I asked for help with editing maps. Between the StardewXNBHack and Tiled, I got through enough to have what I wanted but I don't understand the next step explained on the wiki. I've saved the files, how do I use them in the game? Bonus points if I can get a more in-depth step-by-step how to, to make sure I did it right. Extra bonus points for a how-to for SVE maps as well
 

TildenJack

Tiller
This should be everything you need to know. And there's no difference between editing vanilla maps or those of SVE. You just need to target the right map and make sure your mod gets loaded afterwards, which you can do by adding dependencies to your manifest.json.
 

TildenJack

Tiller
You make a content.json that contains a code similar to the example posted on that page, and then a manifest.json that identifies your mod.

To explain a little further:

{
"Format": "1.24.0",
"Changes": [
{
"Action": "EditMap", ------> means you edit the map, obviously.
"Target": "Maps/Town", ------> Which map you want to edit. You can look up the names under Stardew Valley\Content\Maps
"FromFile": "assets/town.tmx", ------> The location of your edited file, has to be somewhere in your mod folder (which contains your content.json and manifest.json)
"FromArea": { "X": 22, "Y": 61, "Width": 16, "Height": 13 }, --------> optional, but decides which part of your edited map will be used
"ToArea": { "X": 22, "Y": 61, "Width": 16, "Height": 13 } ------> This is where your map edit will be placed, assuming you're only replacing a small part of a map and not all of it.
},
]
}
 
Top