Jump to content
  • catty-cb
    catty-cb

    Creating new regions in SimCity 4 (SC4)

    Contributor/author(s): Ocean Quigley - Art/Creative Director, D.B. Robinson

    In SimCity 4, you can create large regions, composed of multiple cities from a greyscale image. Read on, and I'll show you how to do it.

    First, decide how large a region you want. Regions are composed of lots of small, medium and large cities. A small city is a kilometer on a side, a medium city is 2 kilometers on a side and a large city is 4 kilometers on a side. I'm going to make a sample region that's 12 kilometers square, so 9 large cities can fit in it. The regions need to be in increments of whole kilometers, so no 13.56 kilometer sized regions are allowed.

    Once I've decided how large to make my region, I make a greyscale image representing the elevations of the terrain. In this scheme, white equals high elevation, black is the bottom of the sea and sea level is at around a value of 83 (on a scale of 0-255).

    Here's how to figure out how large to make the greyscale image:

    • Take the size of the region in kilometers, multiply it by 64, then add 1.

    For my region, that's 12 * 64 + 1 = 769. My greyscale image needs to be 769 pixels square.

    I go into Photoshop and make a new image that's 769 pixels square. It's useful to know where sea level will be, so I create a new temporary layer, color it blue, turn down the opacity and then double click on it in the layers dialogue box to bring up the layer properties.

    regions_water_layer_opacity.jpg.c8a938147281d0b945e2ef45341a557f.jpg

    I set the underlying layer opacity so that everything darker than about 83 gets covered up by blue. That way I can see where my coastlines will be.

    Then I start painting away. While I'm working on it, my Photoshop file looks like this: the blue is from the second layer and tells me where my coasts will be.

    regions_terrain_with_water_layer.jpg.b6af771ffc0b5b4ab5b4d36a6563773b.jpg

    When I'm done with it, I discard the blue layer and save it out the terrain map as an 8-bit greyscale .bmp or .png file. Since it looks like a bunch of islands, I call it archipelago.bmp.

    You can use any paint program that will create a greyscale image. Photoshop's nice because it lets you see the water level, but it's not really necessary.

    Here's what it looks like, again everything that's light will be higher elevation and everything that's black will be deeper.

    regions_terrain_heightfield.jpg.95db6a46457a1d84adaf2482ea202bdc.jpg

    The next step is deciding how the region should be chopped up into different sized cities. The way SimCity 4 does this is with a separate bitmap that defines city sizes.

    The configuration bitmap should be 1 pixel across for every kilometer of region size. Since my region is 12 kilometers square, I'll make a configuration bitmap that's 12 pixels square.

    Here's a (very blown up) example:

    5d1f39987c6b0_Screenshotfrom2019-07-0523-49-59.png.812322f86aaa8b51330da02f3620eef8.png

    This map defines where small, medium and large cities go:

    • Large cities are 4 pixels square and blue.
    • Medium cities are 2 pixels square and green.
    • Small cities are just 1 pixel and are red.

    The way it works is that the large cities (the blue ones) needs to have blue set to 255, and red and green set to any value other than 255. The medium cities (the green ones) need to have green set to 255, and red and blue set to any value other than 255. And the small city (the red ones) need to have red set to 255, and blue and green set to any value other than 255.

    Here's what the configuration map looks like actual size:

    regions_region_layout_actualsize.gif.04ef567960788ebe8da5d66a1a88c5d1.gif

    Once finished, it's saved out as a 24 bit bmp file, called config.bmp.

    Now I've got two images, a greyscale terrain map and a color configuration map. I load up the game and create a new region by clicking on the new region button.

    regions_new_region_button.jpg.d50f8c6e6412443eeb9d37c45a0aa84e.jpg

    This brings up the region creation dialogue. I name the region "Archipelago" and press "Create region". It doesn't matter if it's plains or water.

    regions_new_region_name.jpg.d02799c741513366f2ce9218b440b596.jpg

    This results in a new region, of the default size and layout. It also creates a new directory in my My Documents/SimCity 4/Regions folder called archipelago. I copy the config.bmp file into that directory.

    Then I go back into SimCity 4, toggle over to another region, then back to archipelago, in order to get the game to use my new config.bmp.

    Once that's done, I press Ctrl+Shift+Alt+R. This brings up the heightfield loading dialogue box:

    regions_load_heightfield.jpg.90a32dda35652ccbbef0339bee5d4eeb.jpg

    I find archipelago.bmp, select it, press OK, wait around 3 minutes (on my 1.7 GHz machine) and voila, a finished region:

    regions_created_region.jpg.9d8b0a08588121933171e929c93cf90b.jpg

    Now I can zoom into any of the cities, plant trees, do some detail work and basically polish it up.

    regions_city_zoomin.jpg.c69b14d0a101c596959b42b14c570ef7.jpg

    Here's a shot of the region after I've planted some trees on one of the cities:

    regions_new_region_after.jpg.809ecfc0fac5316193c7a96e1f8d6b00.jpg

    And that's it. Now it's region that you can terraform, or build cities on or whatever!

    So, just to review, here are the steps:

    1. Decide how large a region you want to make. (You can make them as big as you want, but once they're more than about 20-30 kilometers on a side you're going to need a really fast machine with lots of memory.)
    2. Create a terrain map that's 64 pixels x region size + 1 pixel.
    3. Save out the terrain map as a greyscale .bmp or .png file.
    4. Create a configuration map that's as many pixels across as your region size in kilometers. Save it out as config.bmp.
    5. Create a new default region in SimCity 4, name it appropriately.
    6. Put the config.bmp file in the resulting folder.
    7. Toggle between an old region, then back to your new region.
    8. Press Ctrl+Shift+Alt+R.
    9. Select your terrain map.
    10. Wait a few minutes (depending on how large a region you're making and how fast your computer is) and you're done. Play SimCity!

    Unfortunately, SimCity 4 automatically "erodes" Grayscale *.bmp regional terrains. This makes rivers and creeks either too wide or non-existant. The terrain tools work much better in creating rivers and creeks, or at least correcting the automatic distortions. Other than that, it works very well.

    • Like 4


    User Feedback


    Hey, Catty! This is an awesome tutorial: I'm just lazy. Is there any chance I could commission you to make a particular map for me that's modeled after a real region? I'm just now getting back into this game for the first time in a decade and the region I have in mind would make it so much more enjoyable for me. If that's plausible at all, please let me know! Thanks (:

    Share this comment


    Link to comment
    Share on other sites

    Hi Tucie

    First of all welcome to the site, secondly am the uploader not the author of this tutorial (tutorials were retrieved from community website before it died) and thirdly I pretty much don't play SC4 these days .... currently trying to work out why my turbosquid model is upside down in Banished

    https://community.simtropolis.com/forums/topic/762782-creating-mods-in-banished/?tab=comments#comment-1787549

    Have you gone and checked the Map section on the STEX

    https://community.simtropolis.com/files/category/116-maps/

    There is 164 maps so there is a good chance the map you want may already be there  *:yes:

    Share this comment


    Link to comment
    Share on other sites
    Quote

    once they're more than about 20-30 kilometers on a side you're going to need a really fast machine with lots of memory.)

    *looks at my 32GB system*

     

     

    you got this bud.

     

    no for real this is a pretty helpful guide!

    Share this comment


    Link to comment
    Share on other sites

    Wonder, when create regions with SC4 Mapper the region created sometime have such low elevation that the ground digger won't work ? Rendered with in map regions within SimCity you have files to adjust the elevation. Maxis regions are standard several levels above the waterline so no problem. SC4M grayscale different from standard jpg grayscale  ? Quarky , SC4M tile be saved afther region creation, what kind of tool is there to increase terrain elevation? 

    Sincerely yours,

    Kschmidt

    Share this comment


    Link to comment
    Share on other sites


    Sign In or register to comment...

    To comment in reply, you must be a community member

    Sign In  

    Already have an account? Sign in here.

    Sign In Now

    Create an Account  

    Sign up to join our friendly community. It's easy!  

    Register a New Account


  • Recently Browsing   0 members

    No registered users viewing this page.

×

Thank You for the Continued Support!

Simtropolis depends on donations to fund site maintenance costs.
Without your support, we just would not be in our 24th year online!  You really help make this a great community. *:thumb:

But we still need your support to stay online. If you're able to, please consider a donation to help us stay up and running. This helps sustain a platform where we can share our community creations for years to come.

Make a Donation, Get a Gift!

Expand your city with the best from the Simtropolis Exchange.
Make a Donation and get one or all three discs today!

STEX Collections

By way of a "Thank You" gift, we'd like to send you our STEX Collector's DVD. It's some of the best buildings, lots, maps and mods collected for you over the years. Check out the STEX Collections for more info.

Each donation helps keep Simtropolis online, open and free!

Thank you for reading and enjoy the site!

More About STEX Collections