Skip to content

2. Create cultures, districts and buildings

Milan Ender edited this page Aug 21, 2016 · 17 revisions

Here you can learn about the stuff that it takes to create proper prefabs for the city simulation. This guide refers mostly to the asset folder in the TutorialDynamicCities Module

Cultures

This is the most important asset for a city, as it is the backbone of every settlement. It tells the system what buildings are available, how many buildings per zone are needed and in the default population growth model the linear growth factor. The example in the tutorial module shows what is needed to get a proper culture.prefab:
{ "Culture" : { "name" : "develop clan", "buildingNeedPerZone" : {"GOVERNMENTAL" : 1, "CLERICAL" : 1, "RESIDENTIAL" : 12, "COMMERCIAL" : 6}, "growthRate" : 500, "availableBuildings" : ["Marketplace", "House", "SimpleChurch", "Testbuilding", "Townhall"], "residentialZones" : ["RESIDENTIAL"] } }
The residentialZones field tells the system what population capacity is available. This is most likely to be subject of change in the future.

Districts

Buildings