To specify populations within your map, your nav mesh areas must be given place names corresponding to those defined in population.txt, located within the 'scripts' directory of your Left 4 Dead installation. To specify a default population for the whole map, set 'z_population' to the name of the desired population entry. Currently only hunters, boomers, and smokers can be spawned through infected populations. This is typically used in conjunction with Info_zombie_spawn. This means that any areas with the name ' hospital' would spawn approximately:Īdditionally, the populations may also allow certain special infected to spawn.
The percentages within each population add up to 100% and define how frequently each type of infected should be spawned within the area.įor example, the ' hospital' population is defined as:
7 List of Population-Supported Infected TypesĮach defined population has a name and a list of model names with associated percentages.