View Full Version : [Paid?] Geographic hieght map for a game-mod project.
06-29-2012, 09:38 PM
I'm making a mod for the pc game Crusader Kings 2, the goal is a total conversion into Andrzej Sapkowski's 'Witcher Universe'. The game uses several bmp files to define the various things on the map, such as height, terrain type, climate, and the different named provinces.
I need help translating this realm into a height map the game can use:
This is a colormap/satellite-imagery map I finished recently for it, I think it will be easier to go off of rather than parchment maps!
The game recognizes 94, 94, 94 as sea level. Anything above is on land and anything below is in the water.
If anyone could help, or point me to someone who could, or any helpful tutorials, it would be greatly appreciated. :)
06-30-2012, 04:49 AM
Using the techniques described in http://www.cartographersguild.com/showthread.php?18120-March-April-2012-Lite-Challenge-Entry-CSU-Johnsondale-s-New-Found-Lands&highlight=johnsondale you can get a result much like that shown below in an hour or so. The artistically inclined would no doubt do a MUCH better job, especially on that lower mountain level (maybe use a mound instead of straight block)...
06-30-2012, 06:51 AM
Holy Cow! Many thanks good sir! Do you have a simple outline of the continent , something to base the groundtype textures and provinces off of?
But once again, many thanks!
06-30-2012, 04:42 PM
Here is the land/sea masks that I used. They're at full resolution for the process, but that should be simple enough for you to fix. I probably should have just done the whole thing at lower resolution; I might have gotten better results.
07-07-2012, 08:51 PM
Updates first post with more stuff!
07-08-2012, 08:06 AM
I think the best way to get a height map to match that is to do it with contours. I have found that the easiest way to do contours is as follows.
Take the map that Waldronate has provided for the land sea as a starting point. Rub out the rivers at this stage so that the starting point is just sea black and land white and no rivers at all. Using this base map, draw black lines on a white background in loops where your high spots are and then keep doing that until you have all of the contours drawn in. Personally I find this easiest with a real pen. A pen tablet is also good but a mouse makes it a chore. Use a scanner or a digital camera to get the real drawing back into the PC.
Then using the contrast tool, whack it up to max so that its just black and white and no shades of gray.
Next, starting with the sea black, use the flood fill tool with black and skip one contour band from the sea and flood the next one in. Do that repeatedly all the way up to the highest contour making a zebra stripes set of contours.
Then you can use the smooth, blur or gaussian blur tool on it a little just to round off any sharp spikes or one pixel holes from the flood fill. Then whack the contrast up to max again and get it to just black and white only. No shades of gray.
Then count how many zebra stripes it takes to get from sea to highest point in the map. Divide your height range by this amount. For most people they would set the sea at RGB 0,0,0 but in your case it could be 94,94,94 so either count (255 - 0) / levels or (255 - 94) / levels. Lets say you had 10 contour bands then it would be (255 - 94) / 10 so use steps of 16 in shades.
Now whist setting the flood fill tool to match with exact color, flood the black sea with 94, the next white one with 94+16 = 110, the next with 126 etc all the way up till you get the highest one at near to 255.
Save a copy of that away for safe keeping. Then use the gaussian blur tool to blur the bands down so that one merges into another a lot. The more contour bands you used the easier this is. So using more contour bands is good.
When thats done you have a height map. Now take the original land sea only mask and multiply that image with the height map and drop the sea to black. Then flood fill it back to 94. This will make the coast line exactly in the shape of the original. Then take the one with the rivers in it and white out the sea leaving only rivers. Ensure that where rivers meet the sea you knock out the sea exactly where the sea was in the land sea mask. Then take the rivers only map and subtract a bit of that from the height map.
Finally, take the rivers map and white out all of the rivers leaving just the lakes only part of that rivers and lakes map and multiply that map with the height map to drop the lakes to black. Then using the flood tool, find the pixel on the height map near to the exit flow of the rivers and grab its RGB color and flood the now black lake with that color. Do that for each lake in turn.
Finally, use a very slight blur just to sort out any aliasing issues and your done.
07-08-2012, 07:36 PM
Or, if you're using Photoshop or other image editor that supports 16-bit channels, just get a DEM for the same areas of the world that you used for your updated map and make a 16bit grayscale map using the same DEM parts. It's the same process that you did for the updated map (chop the mountain parts that you want and paste those as layers on the new terrain). The final finishing would be to adjust the DEM levels until they met your desired profile.
Powered by vBulletin® Version 4.2.2 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.