eobondarenko2 Newcomer Jan 19, 2022 #1 Hello Everyone, I want to ask you about tmxl. Can you show me example in content.json for edit beach game map?
Hello Everyone, I want to ask you about tmxl. Can you show me example in content.json for edit beach game map?
TildenJack Tiller Jan 19, 2022 #2 You don't need TMXL to edit the map, and not even to create new maps anymore. StardewMods/ContentPatcher/docs/author-guide.md at develop · Pathoschild/StardewMods Mods for Stardew Valley using SMAPI. Contribute to Pathoschild/StardewMods development by creating an account on GitHub. github.com So for the beach, you could make something like this Code: { "Action": "EditMap", "Target": "Maps/Beach", "FromFile": "Maps/ZBeach.tmx", "ToArea": { "X": 0, "Y": 14, "Width": 12, "Height": 8}, "PatchMode": "Replace", "AddWarps": [ "-1 19 Custom_ZoroDock 29 38" ] },
You don't need TMXL to edit the map, and not even to create new maps anymore. StardewMods/ContentPatcher/docs/author-guide.md at develop · Pathoschild/StardewMods Mods for Stardew Valley using SMAPI. Contribute to Pathoschild/StardewMods development by creating an account on GitHub. github.com So for the beach, you could make something like this Code: { "Action": "EditMap", "Target": "Maps/Beach", "FromFile": "Maps/ZBeach.tmx", "ToArea": { "X": 0, "Y": 14, "Width": 12, "Height": 8}, "PatchMode": "Replace", "AddWarps": [ "-1 19 Custom_ZoroDock 29 38" ] },
eobondarenko2 Newcomer Jan 20, 2022 #3 Code: { "Format": "1.24.0", "Changes": [ { "Action": "EditMap", "Target": "Maps/Beach", "FromFile": "assets/BeachUpdate.tmx", "ToArea": { "X": 103, "Y": 49, "Width": 104, "Height": 50 }, "PatchMode": "Replace", "AddWarps": [ "-1 19 Custom_ZoroDock 29 38" ] } ] } I tried this but I didn't see changes
Code: { "Format": "1.24.0", "Changes": [ { "Action": "EditMap", "Target": "Maps/Beach", "FromFile": "assets/BeachUpdate.tmx", "ToArea": { "X": 103, "Y": 49, "Width": 104, "Height": 50 }, "PatchMode": "Replace", "AddWarps": [ "-1 19 Custom_ZoroDock 29 38" ] } ] } I tried this but I didn't see changes