This guide will show you an easy, quick way to get a realistic looking map.
Your going to need a couple of programs to get this working.
- Terrain.party – a website with heightmap data
- GIMP / Photoshop / Paint.net – to resize or crop the image
Getting the map data
- Go onto Terrain.party
- Drag the blue marker to the area you wish to get a heightmap for.
- In this example we have chosen The Mull of Kintyre and the Isle of Arran. You can use the controls on the right of the website to make the area of selection larger.
- Click the export button on the right and name your download.
- Now extract the zip file you downloaded from the site. There will be several files in the directory. You will want to use the (Merged) version.
Congratulations you have your heightmap data!
Adding the heightmap to unturned.
In this section we will generate our map with our heightmap image.
From the last section we have our heightmap file, this image may be too large for the map size we want, we need to resize it to fit the Unturned map sizes.
The image we saved from terrain.party was 1081 x 1081 pixels.
We either need to resize it to one of the below sizes, which would squash it/stretch it.
Or only use a section of the heightmap image.
This below table shows the resolution you need for each map size.
|HeightMap Resolution||Map Size|
I will resize / crop the heightmap to fit a Large map.
- In Photoshop / GIMP / Paint.net create a new image 513×513 (or your desired map size resolution)
- Add in your heightmap image. In photoshop, I opened the image then selected the entire image (ctrl+A) and then pasted it as a new layer into into the 513×513 project. this is so we can keep the full resolution of our original image.
- You can now either stretch or shrink the image to fit the specified resolution. Or you can keep it the same resolution and crop it to fit the 513×513 image size. In this example I stretched it to fit the resolution.
- Flip the image horizontally as Unturned flips it for some reason. Then save the image as heightmap.png
- Open up Unturned in Steam.
- Go to the WorkShop > Editor
- Create a map of the size fitting your heightmaps resolution. In my case, Large.
- After clicking Add, minimize Unturned.
- Open up the Unturned folder in your Steam/Steamapps/common folder
- Open the maps folder
- Open the Folder with the name of the map you just created, in my case MullofKintyre
- Open the terrain folder
- Delete the Heights.dat file if it exists.
- Copy your Heightmap.png file into the terrain folder.
- Go back to Unturned. Click on your map and click edit.
- The map will be black, so hit terrain > materials > then in the bottom right Bake Global.
Enjoy your map!