SimCity 4: Create your own Custom RegionsTo create a custom region in SimCity 4 you will need to create or obtain a terrain image and to provide an appropriate configuration file.
Download the files used in this tutorial.
Terrain ImageThe terrain image needs to be an 8 bit greyscale BMP or JPG image. SimCity4 maps the greyscale to elevation, value 0 being the lowest point, sea level is at 85 and the beach starts at 86. The highest point that a mountain can reach is a value of 255. You can create your own image or you can create a region from real life. To create a region from real life you will need some Digital Elevation Model data. There is a good article at Rebel 13's Sim City Site that goes in to detail about obtaining and converting DEM data in to an 8 bit greyscale image. Rebel 13's Sim City Site also has a large range of terrain images ready for use, including those created from DEM data taken from the orbits of Mars and Venus. Configuration FileThe configuration file, config.bmp, can be found in your regions folder stored in your My Documents folder and not in the Program Files folder. The config.bmp file configures two lots of information for your region. Your regions size and the distribution of city spaces. City spaces sizes are small, medium and large. Region SizeA standard region has a terrain image of 1025 pixels x 1025 pixels with a config.bmp of 16 pixels x 16 pixels. This equates to the terrain image being 64 times bigger plus 1 pixel. (16 x 64) + 1 = 1024 + 1 = 1025 The smallest region that you can have is 65 x 65 with a config.bmp of 1 x 1. This gives you a tiny region with one small city space. No fun there then! The largest region you can have is 1281 x 1281 with a config.bmp of 20 x20. This gives you a large region with 25 large city spaces or the equivalent combination of small, medium and large spaces. City SpacesThe contents of the config.bmp determine the layout of the city spaces. Below left is an enlarged example of a standard sized config.bmp. You will see that there are three different coloured blocks that map the layout for the city spaces. The blue blocks are 4 pixels x 4 pixels, the green blocks are 2 x 2 and the red blocks are 1 x 1. An all blue config.bmp gives you all large city spaces and an all red config.bmp will give you all small city spaces. The below right image has been enlarged for display purposes.
Building a config.bmp
Installing a Custom Terrain
Mars ExampleDownload the Mars terrain by Aaron Ashley. It has been cut down to 1281 pixels x 705 pixels and flipped to place the water in the south of the finished region. Using the advice from the article at Rebel 13's Sim City Site the contrast has been adjusted until the water level is at a desirable level. The below left image has been reduced. Using a config.bmp of 20 pixels by 11 pixels the city spaces have been arranged to best suit the terrain. The below right image has been enlarged.
Screenshots of MarsBelow are some screenshots of the finished region. You will notice that trees and animals need to be placed before establishing a city.
Your mission, should you accept, is to colonise the newly terraformed Mars. Have fun!
Please login or register to add comments |
||||||||||||||
| Last Updated ( Jun 03, 2009 at 08:55 PM ) | ||||||||||||||














