Dawn of Man

Dawn of Man

Flatlands
Schwifty K  [developer] Apr 18, 2019 @ 2:02am
Set: Animals, Trader, Diseases, Storm, etc.
Open the scn file as described here: https://steamcommunity.com/workshop/filedetails/discussion/1693186543/1846946102859416839/

for the flatlands it is this file:
\steam\steamapps\workshop\content\858810\1693186543\Flatlands\flatlands.scn.xml

- Animal Values:

Search for "animal" you will find those lines for the animals: <action type="SetAnimalPopulation" animal_types="wolf" min="15" max="20" era_factors ="1 1 1 1 1 1"/> adjust min & max, the era_factors are for less or more animals in specific eras.

1.3 NEW ANIMALS: cave_hyena elasmotherium muskox feral_horse
Paste them over or under the animals.
Example:
<action type="SetAnimalPopulation" animal_types="cave_hyena" min="17" max="35" era_factors ="1 1 1 1 1 1"/>

- Trader:

Search for "trader" you will find this line: <action type="SetTraderPeriod" value="2.5y"/> adjust the value in ingame years. ("0.5y") to have 2 traders per year. Increases with prestige.

- Disease:

Search for "disease" you will find this line: <action type="SetDiseaseParameters" period="2.5y" variance="0.5y" individual_disease_chance="0.5"/>

period in ingame years, variance adds variance. happens between 2 and 3 years with this example. not sure about individual_disease_chance="0.5" the value might affect that there are multiple diseases (f.e. barley + einkorn + sheep)

- Storm / Blizzard:

look at the top of the file:

<disasters>
<disaster disaster_type="Storm" period="2.5y" variance="0.3y"/>
<disaster disaster_type="Blizzard" period="3.5y" variance="0.3y"/>
</disasters>

parameters work in the way the do for diseases.

Last edited by Schwifty K; Oct 2, 2019 @ 11:55am
< >
Showing 1-11 of 11 comments
Zachattack0318 Sep 26, 2019 @ 8:38pm 
Just curious about the code what does (decrease_start_population and decrease_halfing_population) for the population stuff
as well as for raiders and other stuff what does (period="1.0y") and (variance="0.5y") do and is there a better place for me to ask these questions?
thanks so much!
Schwifty K  [developer] Sep 27, 2019 @ 8:47am 
decrease_start_population
starts the decrease of joining people -> less people join after you reached the limit

decrease_halfing_population
decreases the number of joining poeple even more everytime you reach limit1 + limit2

limit1 + limit2 + limit2 = almost no more people

the same rules for birth.

period and variance is explained above

"
<action type="SetDiseaseParameters" period="2.5y" variance="0.5y" individual_disease_chance="0.5"/>

period in ingame years, variance adds variance.
happens between 2 and 3 ingame years with this example.

"

a better place might be https://steamcommunity.com/app/858810/discussions/

or

https://steamcommunity.com/workshop/discussions/18446744073709551615/
Zachattack0318 Sep 29, 2019 @ 11:34am 
Thanks so much!!
ALEX Nov 19, 2019 @ 1:20pm 
I changed the "<action type="SetMigrationParameters" min="7" max="10" " parameter but in fact nothing has changed, 2-6 people also migrate
Schwifty K  [developer] Nov 19, 2019 @ 11:38pm 
make sure you edit the right file. flatlands or easy flatlands? You use the version in the steam folder or a copy in your documents folder? Save your edit :-)

flatlands.scn : currently line 148.
<action type="SetMigrationParameters" min="2" max="6" period="0.8y" decrease_start_population="800" decrease_halfing_population="350"/>


OR

flatlands_easy.scn : currently line 152.
<action type="SetMigrationParameters" min="2" max="6" period="0.8y" decrease_start_population="800" decrease_halfing_population="350"/>

ALEX Nov 20, 2019 @ 12:59am 
yes, just in case I replaced in both files
Schwifty K  [developer] Nov 20, 2019 @ 7:41am 
Is it working? You try it with Flatlands, right? On other scenarios i changed the migration parameters multiple times during gameplay.
ALEX Nov 21, 2019 @ 12:56am 
fixed starting a new game
csnews Apr 28, 2020 @ 1:35pm 
I don't like mammoths in Bronze Age :) Are the defaults for "SetAnimalPopulation" documented somewhere?
Schwifty K  [developer] May 1, 2020 @ 8:47am 
yes, look here : https://steamcommunity.com/app/858810/discussions/1/1840188800786675958/
under
Links
https://madrugaworks.com/dawnofman/files/BuiltinScenarios.zip

But it would be enough to set the last 3 era multipliers to 0 like this:
<action type="SetAnimalPopulation" animal_types="mammoth" min="20" max="35" era_factors ="1 1 1 0 0 0"/>

A smoother curve:
<action type="SetAnimalPopulation" animal_types="mammoth" min="20" max="35" era_factors ="1 0.5 0.25 0 0 0"/>
Schwifty K  [developer] Nov 9, 2024 @ 1:36pm 
("0.5y") to have 2 traders per year."
("0.1y") to have 10 traders per year."
1 / 10 = 0.1
< >
Showing 1-11 of 11 comments
Per page: 1530 50