• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
Good news, everyone! We have a new developer diary and this time it's about the map editor!

If you want to refresh your memory about the previous dev diaries, check here: http://forum.paradoxplaza.com/forum/showthread.php?802652-Cities-Skylines-dev-diary-archive!

What does a map need? – The checklist
There are various things that a good map needs before it becomes playable. These include water areas like rivers and lakes, outside connections such as highways and railways, natural resources and so on. To make the process of creating a map about doing the cool stuff like modeling the mountains and digging up riverbeds and not keeping up with the minutia the map editor has an easy-to-use checklist that tracks all the important aspects of the map's playability so that you don't have to. And as you keep adding stuff into the map, it automatically checks the boxes that have been done properly. The checklist has two categories, requirements and recommended features. The requirements are a must while the recommended (natural resources) are optional and usually they are there to make the city building more strategic than if they were not there.

9FzPqrS.png

The checklist keeps track of the features required and recommended for the map.

Starting tile and boundaries
When a new map is started the map tile grid is clearly visible to the map maker. Here they can see the boundaries of the buildable area and also select the starting map tile if the default center tile is not their preferred choice. At any point during the map making process the starting tile can be changed. Perhaps the map maker wants to have a large lake in the center of the map and requires that the starting tile is located on the northern shore of said lake. They can simply open Map Settings panel and select a new starting tile. This does not affect the overall buildable area or its form; the starting tile can even be located at the edge of the buildable area if the map maker chooses so.

29QgRmb.png

The grid of the playable/unlockable area of the map.

cLpXAPJ.png

Choosing the starting tile.

The boundaries of the buildable area are also a good indicator when creating the terrain formations. While irregular terrain can be a nice challenge and create varied city plans, it is in general a good idea to keep most of the area within the boundaries relatively smooth to not limit the building space too much. The areas outside the boundaries are mostly for eye candy. There lies the open water of the ocean and the high mountain ranges. Also the outside connections are required to be build there, going outside the map borders.

Terrain editing tools and heightmaps
Terrain editing has all the basic tools required to manipulate the terrain as the map maker sees fit. There are several editing modes: raising/lowering, flattening, smoothing and creating slopes. There are also several different brushes for all of these modes, starting from the basic soft and round brushes and going to the harder-edged brushes and the custom-shaped brushes designed to create more natural formations. Brush size and strength are also changeable.

eKcTlal.png

The tools of the trade.

The map editor also allows the importing of heightmaps. The grayscale PNG files (preferably 16-bit for more accurate terrain formations) can be created in an image editing software (or in one of the terrain generation software) and saved into the correct folder within the game folder from where they can be accessed in the editor. While heightmaps offer unparalleled realism compared to purely manual terrain editing, they usually require editing in the map editor as well to achieve the playable quality a game map (compared to real life map) requires.

NDgV0zQ.png

Heightmap was used as the basis for the map layout. Then the necessary editing was done in the map editor using the different tools at your disposal.

ar2rRL1.png

The heightmap that was used as the basis for the map in question. Using terrain generation software to create natural looking terrain formations is not only handy but also rewarding. Creating natural looking terrain manually can be very difficult.

Water sources and the sea level
Water is the key to life and also an important part of Cities: Skylines. For a map to be playable there needs to be water in the buildable area and especially on the starting tile. Water is present in two ways: flowing water that is created by placing water sources on the map and sea water that is present in areas where the terrain level is below the sea level and there is an access to the border of the map.

YHALXLp.png

Lower part of the map has the sea level set to 45 meters.

TnTxRoX.png

Placing a water spawner that will eventually create a lake and fill the river, flowing into the sea.

Rivers are best done by digging a river bed to the edge of the map and then placing a water spawner there. The water will eventually flow along the river bed and if the spawner's capacity is large and the height is high enough it will keep flowing until it reaches the other side of the map or the sea level.

RWZ462f.png

Lake filling up. Water masses of the three rivers can be seen flowing towards the sea.

Lakes are also created using water spawners. The spawner is placed in a suitable spot and then the map maker can change the height of the spawner to define the level of the lake. The water will spawn as long as it reaches the height set for the spawner. Then the spawning and draining of water will balance so that the lake will never flood unintentionally. A spawner also functions as a drain so the map maker can have a river flowing into a small lake without it flooding. The larger the designated lake area, the larger the spawner capacity should be in order to fill the lake effectively.

x7ICVKB.png

Adjusting the water spawner's height so that it will fill the lake as high as possible without overflowing it. The spawner stabilizes the water level and drains all excess water from the area that exceeds its height.

Infoviews
The map editor also features a set of infoviews which are meant to help the map maker to see the most important aspects of the map like water flow directions and the placement of natural resources as well as the terrain height differences. When creating rivers it is wise to consult the water flow infoview occasionally to make sure that the water spawners have high enough capacity to produce strong currents and that the river flow remains correct when it comes in contact with larger water areas such as the sea and large lakes. While many rivers and streams have relatively steep profiles where the water actually runs down a hill or mountain side, there are also rivers where the elevation is smaller which can make balancing the river flow with the general sea level trickier.

dPuHVI6.png

Checking the flow strength and direction of the water masses.

zWefVnx.png

The terrain height infoview mode is a nice tool to check if there are unwanted irregularities in the map, mainly those that can seriously affect the city building process such as annoying, unnecessary bumps on the ground. The map maker has to remember to keep in mind the not only the nice look but also the good playability of the map. While lots of erosion and other small things might in theory look good, they can present quite the challenge when laying roads and planning the city.

lsHpziq.png

Natural resources infoview shows where the resources are located on the map. Green is for trees, black is for oil, blue is for ore and yellow is for fertile land.

Outside connections – Roads, railways and ship and airplane paths
To function, a map needs to have various outside connections. The most important one is the highway connection. The map needs at least one incoming and outgoing connection for each of the different types of transport but the starting tile has to have at least a highway connection to be playable since the player has only access to road building in the beginning of the game. The checklist is handy in these cases to keep track of the outside connections and therefore the map maker can easily see how many points of connection they have at any given moment.

XvVfzND.png

The outside connections are important and are required to be on the map. The player can edit all the roads in the map area they have unlocked while building a city. However they can't edit the roads and other connections such as the train tracks that are outside the city boundaries and in the non-buildable zone. Therefore it is the map maker's responsibility to offer all the connections a city might need which means at least one highway connection in the starting tile.

Natural resources and decorations
To make the maps more strategic the map maker can paint the different resources on the map, keeping in mind that the resources should stay within the playable area to be accessible (however they can be used to decorate even the area that are non-playable if the map maker chooses so. There are four natural resources. Three of them can be painted on the ground which will alter the ground texture depending on the resource type. One of the resources is forest which can also be painted on the map. There are several different trees to choose from (the selection also depends on the chosen theme). The trees are an excellent way to both decorate the map and also use them as a resource in the game.

w8cjoCh.png

All natural resources are painted using the same tools, from forests to ore and so forth.

2fX0m7i.png

Forest is not only one of the resources but they are also part of the decorative side of the map.

Themes – Nordic
There will be three different themes in the game. All of them will have a unique lighting condition and each terrain as well as the selection of trees will vary accordingly. In the example images the north theme is in use which has the pine trees and conifers making up the majority of the forests. The lighting resembles the northern hemisphere as well as the terrain textures with the toned down colors.

8eZqpJQ.png

When the map is ready, the map maker can take a preview image with the Snapshot tool and then save the game giving it a name and checking the Publish Map checkbox. This makes the map appear in the playable maps section when starting a new game. The publishing option also prevents unnecessary backup saves and copies from populating the playable map list.

- Henkka also known as an artist, designer and level designer at Colossal Order
 
Last edited:
Good to hear you guys are reconsidering having terraforming tools while building a city. Even a simple leveling tool would go a long way :).
I have to stress what I said earlier: we are always reading the comments, suggestions and wishlists that you guys write and we take note of them but what comes to the terraforming while building the city; there is no word about it going to be happening. Like I said, we have been discussing it at some point but the general consensus was at least then that it would bring forth a set of new problems what comes to the simulated water and so forth since it is much more complex to deal with dynamic features in comparison to, say, water that is always at the same level no matter what happens (like in previous CIMs). And like I said before, this is how it is now but who knows what the future holds in general to Cities: Skylines and the features within.
 
Is there any chance that, with modding, we will be able in the future to expand the city towards the non-buildable area around the 5x5 city grid (e.g., by creating additional city tiles) or will this be a hardcoded limitation in the program? On the other hand, is there a need for a non-buildable zone around the 5x5 city tile grid or can one make a map of only the 10x10 Km^2 containing the city grid?
 
Last edited:
This tool is going to be the game's soul. It looks so easy to replicate real world places and I'm really impressed. We usually give you guys a hard time with all our recommendations and complaints about small things we don't like. But you're doing a great job delivering the core elements that will hopefully give the game many years of life.


+1000000000000
 
You can create rivers that are leveled to the same level as the sea level which will go from one end of the map to the next but since they are at the same height as the sea there will not be any flowing. You can also create rivers without the ends (the "pools" as seen on the diary) but it is good to remember that the edge of the map will drain a lot of the water if you place a water spawner close to the edge of the map without a "pool" for it, which in turn can make the river flow weaker (of course if you have a steeper downhill slope for the river you can counter this effect. It's all about finding the right balance. However, what comes to the rivers not being real; gameplay-wise they are as real as any since you won't be seeing the "pool" because it will fade into the mist when you are building your city.

I understand it from a game mechanic kind of view and I love the water simulation (edit: and the editor itself), but would you mind thinking about the edges as being selectable as "ocean" or "land" edges, so if you place a river at a "land edge", you won't get any draining from water spawners?! So basically these "land edges" act as invisibale walls (for water only, of course). That would eliminate my concern immediatly and it would make maps look more realistic, since rivers simply do not spawn from little pools in real life (I'm sure, someone out there will post a picture where a river actually "spawns" from a "pool" IRL... ;) ).

In short: Please put invisible walls around the edges! :) It's a fairly simple solution, I guess.
 
Undo is a rather difficult to do in this kind of editor where the game constantly calculates the simulation. The water simulation especially would create problems with undo and on the other hand it is not possible to have undo on certain parts and not other parts since it is all connected.
.

Would it not be possible to do something like excel...where you can stop the simulations running. And start them again when you are ready? Then the undo option would work only when simulations are paused?

Love the water spawner. Minecraft inspiration? That's the oldest game I can think of that has it in game.
 
So i have Q. From what i understand highways and railway is a must to be placed on a map. But what if i want to play a island map, surrounded by ocean from all sides?

Make sure you have both the Ferry Terminal and Ship Container Dock on your island, Or build a bridge to the mainland.
 
will i be able to have two themes in one map? Like lets say there is a river passing in the middle of the map , can i have one side as desert landscape and other as a temperate lush green landscape? I want to create heaven and hell in the same map.:rolleyes:
 
The problem is, I don't think ship docks are unlocked until later.

I do believe there will be a sandbox mode without requiring things to be unlocked.
 
Is there any chance that, with modding, we will be able in the future to expand the city towards the non-buildable area around the 5x5 city grid (e.g., by creating additional city tiles) or will this be a hardcoded limitation in the program? On the other hand, is there a need for a non-buildable zone around the 5x5 city tile grid or can one make a map of only the 10x10 Km^2 containing the city grid?
good questions, also are we blocked to using only 7 tiles from the total of 25? does a single region from the game have anything related to another single region, like highway connection, tourists, ships.. ?
 
I can't really say anything about terrain editing tools when building the city. Our previous stance has been that there won't be any terrain editing while building the city considering the possible ramifications what comes to the simulated water. However, we do read the wishlists and suggestions and take into consideration the various things we find there and see how we can fit these into the development timetable. The best I can give is: no one can tell the future for certain what happens. :)

I think I've said this in another thread, but hell, I watch the BBC so I'm used to repeats :)


I'm not worried about terrain modification in game, but some auto-level functionality when placing items such as Airports would be really nice.

Hopefully this wouldn't affect many calculations when it's such a relatively small area.
 
good questions, also are we blocked to using only 7 tiles from the total of 25? does a single region from the game have anything related to another single region, like highway connection, tourists, ships.. ?
The limitation will be 9 tiles. I can imagine that you can change that by changing a simple value in a Ini file. At least that's how I hope it will be. ;)

The area outside the unlockable tiles is different though, I think. Instead of just a cut off map like in SC4 or CiM2, it has some scenery around. Scenery is usually not meant to be played on.
 
I am throwing money at my screen but nothing happens :(
 
Nice to see that Atlantis is also using euros.
 
Nice to see that Atlantis is also using euros.

Cool isn´t it?

We also accept Ducats, British Pounds and Shekel here. No USD though ;)