Started by passengerpigeon, May 12, 2020, 02:11:54 PM
0 Members and 1 Guest are viewing this topic.
Quote from: Freahk on May 12, 2020, 03:02:31 PMThe issue is located deep in extendeds citygrowth algorithm, more specifically, shortages can cause the citygrowth algorithm to never find any suitable location to build anything.
Quote from: jamespetts on May 13, 2020, 02:01:04 PMYou might try starting with the Pak128.Britian-Ex road and town settings and modifying those as necessary.
Quote from: passengerpigeon on May 13, 2020, 11:49:20 PMThat's what I already tried and am having problems with; pasting in the building generation code from Pak.Britain alongside the default road generation code worked well, but generated too many roads in towns; pasting in both the building and road generation rules from Pak.Britain caused the bugs.
# The rate at which towns grow depends on their size. There are three different size categories:# "Villages", "Cities" and "Capitals". The following settings define the thresholds (in numbers # of population) above which towns become "Cities" and "Capitals". Anything smaller than # city_threshold_size is a "Village". These settings are overriden if any value in # city_threshold_percentage or capital_threshold_percentage be set. city_threshold_size = 2500capital_threshold_size = 25000# These values determine which rates of town growth apply depending, not on the absolute size# of the city, but rather its size relative to other cities in the game. If capital_threshold_percentage# is 5, for example, any city in the top 5% of cities by population count will be a capital. # These settings override the absolute values in city_threshold_size and capital_threshold_size# unless their values are 0, which is the default. It is recommended to use these rather than absolute# values, especially in longer games, where all towns may grow to the size of "capitals" eventually.city_threshold_percentage = 20capital_threshold_percentage = 2# These values are used in the city generation algorithm to determine the maximum size of cities.# max_city_size is the maximum size, in citizens, of any city at the point of generation.# max_small_city_size is the size, in citizens, of any city other than a "big city" at the point of generation. ## TIP: Set a lower number for these values the earlier that the game is started.max_city_size = 20000max_small_city_size = 3000# These values represent the rate at which towns grow. The raw growth number is *divided*# by the growth factors; ergo, the lower the number, the higher the growth. Longer games# should have less growth, whereas shorter games do better with more growth.growthfactor_villages = 832growthfactor_cities = 480growthfactor_capitals = 120# Enable this to use the old algorithm for city growth from Standard.# NOTE: The renovation_percentage in cityrules.tab should be increased if this be done.quick_city_growth = 0# These settings determine the population, visitor demand, jobs and mail per "level" of building.# Each of these things can be set independently in the buildings' .dat files, but for older paksets# or paksets from Standard, only a "level" will be supplied, so these conversion factors are# important in those cases.population_per_level = 4visitor_demand_per_level = 4jobs_per_level = 3mail_per_level = 1...# This setting determines the extent to which cities should be built far away from# other cities when the map is first generated. The higher the number, the further# away from each other that the cities are built.city_isolation_factor = 48# Minimum distance of a city attraction to other special buildingsspecial_building_distance = 2
Quote from: jamespetts on May 15, 2020, 10:25:00 AM-snip-