So you want to resize the map, huh. Unfortunately, my map uses SetTerrainOverride, which will corrupt your map if you try resizing it. However, we can temporarily disable it, resize the map, then switch it back on. Follow these steps precisely:
- Go to Scripts and open Map.crpl in your favorite text editor.
- Scroll all the way down, until you find this line of code:
(https://imgur.com/YBEffIm.png) - Remove the # from the third line, and place it at the beginning of the fourth line, like this:
(https://i.imgur.com/T4erBup.png) - Save the file. Go back to the editor and hit Load.
- Hit save.
- Now, in the editor, hit the Terrain button, make the game window really tiny, then zoom all the way in and move the camera all the way to the top left corner of the screen, something like so:
(https://i.imgur.com/I7zwiob.png)
This is to ensure that the custom elevation indicator on the UI does not get destroyed when resizing. - Hit Resize Map, and resize the map to whichever dimensions you like (don't pick numbers too small, or the custom elevation indicator will get destroyed).
- Save, then Load.
- Go back to the script, and reverse the change you did from step 3, then save the file.
- Now Load, then Save. The map should be good to go. Repeat this process each time you need to resize...
How do you know it worked and nothing's broken? Paint some terrain, place some emitters. If the emitters work, and they adhere to terrain according to the custom elevation indicator rather than the built-in one, you're good. If things are broken, feel free to write to me on Discord on the KC discord channel and I'll help you out.