Transferring Portions of Terrain Between Places

Is it possible to transfer a selected region of terrain from one place to another, without overwriting the new place’s current terrain?

I’ve tried this plugin: https://www.roblox.com/library/148042198/Terrain-Save-and-Load by Crazyman32, and it almost works great. It is able to save and load terrain between places, but seems to do so by overwriting the current terrain of a place with the saved place.

I built a little area of smooth terrain that I want to move to the main map of a game. Is there a plugin or method that exists to do this?

5 Likes

My plugin uses the CopyRegion and PasteRegion methods internally. You can easily use those to simply copy & paste a portion of your terrain without overwriting.

4 Likes

Is there an easier/more intuitive way to construct Region3int16 and Vector3int16 cuz their wiki pages are barren with no code examples

3 Likes

It’s the same construction as the normal Region3 and Vector3 classes, but just internally uses 16-bit integers I assume.

5 Likes

I kinda wish it was easier to cast between the two types.
It adds an extra layer of compatibility quirks that shouldn’t be needed, especially given that Terrain isn’t limited by the range of shorts.

5 Likes

Unfortunately, there’s still a lot of API pages like this. I look forward to the day when every API page is fully detailed.

1 Like

For everyone in the same boat as me, I have a solution.

This plugin by EgoMoose (https://www.roblox.com/library/155126448/Terrain-save-load) (Thanks @Scacman!) has the same abilities as Crazy’s plugin, but without overwriting the current terrain data.

3 Likes

I’m also open to making changes to my existing plugin too. I could add some stuff to it this weekend.

2 Likes