<aside> đź’ˇ In CityBLD, a City Block is an area of land that can be subdivided and allocated for different uses. The uses of land are defined in the assigned District.

</aside>

HighresScreenshot00187.png

City Blocks

To create a City Block, we can use the Add Blocks tool, creating a City Block from highlighted road edges. Click “Add Blocks” to see all the Districts available in your loaded City Kits.

image.png

<aside> đź’ˇ

You can get new Districts from the WorldBLD Asset Library or create your own! Districts can be anything procedural: A sprawling park, historic Venetian buildings on canals, Miami high-rises, and so much more.

</aside>

Clicking one will start the Add Blocks tool. If we hover inside a closed road loop, the space will be highlighted green, indicating that we can fill it with a shape.

image.png

Clicking here will place the City Block and generate it according to the settings in your District.

image.png


Parcels

The subdivided portions of land are called Parcels. Parcels can spawn buildings, props, and anything else you can imagine.

<aside> đź’ˇ

City Blocks can only create Parcels. Everything you see in the final level(such as a building, a parking lot, and so on) must be generated inside a Parcel.

</aside>

How do we determine what gets spawned in a Parcel? We simply create a Land Use asset, and inside this we define whether we want to spawn a Modular Building, a Static Building(also known as a Prefab), or no building.

An example is if we wanted to create a Land Use that would generate a park. Now, in our Land Use, we want to set the ground material to grass or dirt, and in our District’s PCG graph we add a node that will sample all Parcels with this Land Use to spawn grass and trees.

Take a look at the PCG graph used on our default District, it simply samples all Parcels with a Garden Land Use and spawns grass on them:

image.png