Workers & Resources: Soviet Republic

Workers & Resources: Soviet Republic

View Stats:
How to use height map
I got a terrain height map of an area i liked, converted it to 16 bits, 2048x2048 pixels, saves it as a png. But like ho am i actually supposed to use that terrain height map and put it in the game?
< >
Showing 1-14 of 14 comments
I've not done it myself (using a heightmap), but I presume what you're looking for is the terrain editor.

From the main menu, select Workshop, then terrain editor. At the bottom left there are buttons to generate maps with the various biomes (presuming you have the biomes DLC).

Once a map is loaded, look under the terrain menu (left side) and select PNG file:

https://steamcommunity.com/sharedfiles/filedetails/?id=3809777064
well, i managed to load it up, so thanks for that, but no these weird looking and deformed mountains appera wherever water should be..... https://steamcommunity.com/sharedfiles/filedetails/?id=3810219988
You should adjust the `Terrain Height` and `Terrain Offset` values accordingly.
As of my understanding, the first should be the range between the maximum and minimum heights represented on your map, while the second should be the range between the water level and the minimum height represented on your map.

Example:
Say your map represents an island and the minimum height value is 15 meters under sea level and the maximum value is a mountain of 435 meters high. Your `Terrain Height` would be `450` and your `Terrain Offset` would be `-15`
Let me add up that the game doesn't always work perfectly with the heightmaps. From my experience, if your map represents a `Terrain Height` bigger than 700m, you will start to notice weird things. Also, for some reason I sometimes have to give a slightly bigger `Terrain Offset` to actually work. Lastly, if the map looks too sharp or hard to play with, you can always fine tune it with the provided tools, like the smooth and erosion. Or even manually change specific heights to your liking.

So don't expect it to be pixel perfect, but you can get an approximate landscape.
Final note to mention that you should also check the quality of the heightmap you are using, as sometimes they do contain glitches and imperfections. Also, check if it is exporting the real heights or only heights above sea level. I've been using this website[manticorp.github.io] and I've been getting decent results despite some faulty maps (it also provides the values you need to insert in game).

Out of curiosity, do you mind sharing the real location you are trying to map?
Unfortunately, the mountains wont go away despite me putting the height and offset correctly, but thanks nevertheless. I hope there is a solution, because removing them manually would take ages, i might as well handcraft the entire map on my own. Regarding the location, it is the area centered around the russian village of Вая, close to Золотанка and Велс. These villages are in the krai of Perm, in the district of Krasnovishersk, about a hundred km east of the city.
I've checked that region and it contais a challenge that, as far as I know, you can't solve: the whole region is above sea level, which means the water borders (the river banks) that exist in the real world are at different heights, The game is very simplistic on these: lower than 0 height is water, above it is land. There is no way to place water above the 0m (againg, as far as I know).

This mean you will have to compromise:
A) you keep the landscape as is but you "sink" its height (use a fake negative offset)
B) you normalize the map so the river sections are all under 0m, but it would change the landscape drastically
C) a mix of both, you sink it enough for a good look, then you manually raise or lower sections that should be land/river

I've used a map from the link I've provided and it looks good to me (at least no weird mountains in the river section). Have you tried it?

Here is the map I've used: https://postimg.cc/Ln1TDyyH
On my game it looks normal: https://postimg.cc/jCJPYDzV

I hope it helps!
The fidelity of the terrain is as far as im concerned since all i want to do is to replicate the villages, so the first option is the one that sounds the best to me. Although i dont really understand what you mean by creating a negative offset. I have tested with (in game, since i assume you mean in game) it for a bit and i dont find a way to make those mountaisn above the water dissapear. Thanks mfor the help tho, at least im getting somewhere
I strongly believe your problem is with your heightmap, that is what is causing those mountains. The solution for that is use another heightmap. Did you tried using the one I provided? You can also use the link to generate another[manticorp.github.io] in the exact location / size you want (I tried to mimic yours but it is not exactly the same coordinates).

The rest of the explanation is that, even with a good heightmap like the one I provide, your height would start at around 150m, which mean you would not have water in-game (in-game water must be below 0m). So rather than using the real terrain offset (which would be 150) you can use a negative number so you get some water, like I did in the screenshot I've shared (-78).

If you give me the exact coordinates of the central point and the distance you want from it, I can try to make the base and send it to you, so you can then finish it up as you like.
That would be very usefull. The central coordinates would be 60º35'.78'' N 58º23'.06'' E.
a 20x20 km square around it should be fine

Originally posted by Orixim:
I strongly believe your problem is with your heightmap, that is what is causing those mountains. The solution for that is use another heightmap. Did you tried using the one I provided? You can also use the link to generate another[manticorp.github.io] in the exact location / size you want (I tried to mimic yours but it is not exactly the same coordinates).

The rest of the explanation is that, even with a good heightmap like the one I provide, your height would start at around 150m, which mean you would not have water in-game (in-game water must be below 0m). So rather than using the real terrain offset (which would be 150) you can use a negative number so you get some water, like I did in the screenshot I've shared (-78).

If you give me the exact coordinates of the central point and the distance you want from it, I can try to make the base and send it to you, so you can then finish it up as you like.

That would be very usefull. The central coordinates would be 60º35'.78'' N 58º23'.06'' E.
A 20x20 km square around it should be fine. Thanks man!
I've uploaded the mod here: https://we.tl/t-Xvso9CNieLmsBPa9
It expires in 3 days (Oct. 5th, 2026), so be sure to download it soon.
Then paste it in the correct folder, in my case (windows):
C:\Program Files (x86)\Steam\steamapps\common\SovietRepublic\media_soviet\workshop_wip\
From that point on, feel free to edit the name, image, description and the map itself.
I hope you like it.
Thank you so much for your help man! I really aprreciate. I wouldnt have managed this on my own. Thanks and be sure to check the profile award ive given you!
My pleasure, I hope you enjoy it!

Thanks, that is very kind of you!
Originally posted by oscarwinter:
well, i managed to load it up, so thanks for that, but no these weird looking and deformed mountains appera wherever water should be..... https://steamcommunity.com/sharedfiles/filedetails/?id=3810219988
Well, you probably solved it already, but your mountains seem to apper only in the river, which you always want to have deep for ships, anyway, so clicking a "flatten from middle" + "high intensity" will make you "clear" all the river in one go and it is a work for about 5 minutes on your map, which is very small amount to what you are (hopefully) going to spend perfecting your landscape, resources and such.

Good luck with your map creation, anyway!
< >
Showing 1-14 of 14 comments
Per page: 1530 50