hi, i created a scenario. Now it is to easy. I can edit evolution with: /c game.forces["enemy"].evolution_factor=X
But how can i edit(after the game has startet already) the:
Maximum expansion distance
Minimum group size
Maximum group size
Minium cooldown
Maximum cooldown
thank you!
edit the maximum expansion distance
Re: edit the maximum expansion distance
/c game.map_settings.enemy_expansion.thing_to_edit = value
The things that you want to edit:
Some limitations number wise, this is assumed from the menu itself:
All values have to be integers (whole numbers)
Example, setting minimum group size to 10:
The things that you want to edit:
Code: Select all
enemy-expansion-maximum-expansion-distance -> game.map_settings.enemy_expansion.max_expansion_distance
enemy-expansion-minimum-expansion-group-size -> game.map_settings.enemy_expansion.settler_group_min_size
enemy-expansion-maximum-expansion-group-size -> game.map_settings.enemy_expansion.settler_group_max_size
enemy-expansion-minimum-expansion-cooldown -> game.map_settings.enemy_expansion.min_expansion_cooldown (this has to be in ticks, but in the menu it's in minutes. Just multiply your wanted minute value with 3600 and then use that number)
enemy-expansion-maximum-expansion-cooldown -> game.map_settings.enemy_expansion.max_expansion_cooldown (this is in ticks, but in the menu it's in minutes. Just multiply your wanted minute value with 3600 and then use that number)
Code: Select all
maximum expansion distance. Possible values: 2 to 20
expansion minimum group size. Possible values: 1 to 20
Expansion maximum group size has to be higher than expansion minimum group size.
expansion maximum group size. Possible values: 1 to 50
expansion minimum cooldown. Possible values: 1 to 60 Minutes
Expansion maximum cooldown has to be higher than expansion minimum cooldown.
expansion maximum cooldown. Possible values: 5 to 180 Minutes
Example, setting minimum group size to 10:
Code: Select all
/c game.map_settings.enemy_expansion.settler_group_min_size = 10
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: edit the maximum expansion distance
wow - fantastic! We will set it back to the standard-values:
/c game.map_settings.enemy_expansion.max_expansion_distance = 7
/c game.map_settings.enemy_expansion.settler_group_min_size = 5
/c game.map_settings.enemy_expansion.settler_group_max_size = 20
/c game.map_settings.enemy_expansion.min_expansion_cooldown = 14400
/c game.map_settings.enemy_expansion.max_expansion_cooldown = 216000
How can i test, if the settings are made? I get no feedback from the game(they are still attacking with 1 enemy). For evolution-factor it can be proofed like this: /evolution
Do you know the variablenames for this 3, too?:
Time factor
Destroy factor
Pollution factor
Time: -> /c game.forces["enemy"].evolution_factor=1
Destroy: ?
Pollution: ?
/c game.map_settings.enemy_expansion.max_expansion_distance = 7
/c game.map_settings.enemy_expansion.settler_group_min_size = 5
/c game.map_settings.enemy_expansion.settler_group_max_size = 20
/c game.map_settings.enemy_expansion.min_expansion_cooldown = 14400
/c game.map_settings.enemy_expansion.max_expansion_cooldown = 216000
How can i test, if the settings are made? I get no feedback from the game(they are still attacking with 1 enemy). For evolution-factor it can be proofed like this: /evolution
Do you know the variablenames for this 3, too?:
Time factor
Destroy factor
Pollution factor
Time: -> /c game.forces["enemy"].evolution_factor=1
Destroy: ?
Pollution: ?
Re: edit the maximum expansion distance
For people who are looking at this thread for the same answers: I made a mod to easily change the settings, you can also check what your current settings are by pressing the "Set fields to current settings" button. The mod can be found here: https://mods.factorio.com/mods/Bilka/ChangeMapSettings
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: edit the maximum expansion distance
thank you. The settings i made are all done correctly, if i beliefe your mod(top left info). But still there is attacking 1 or 3 biters only. Playtime > 15 hours. Evolution > 0.4
How can i set the timebased evotlution growing(time factor) with a command(without the mod)?
Is the time-factor backward calculated if i change it.
If i change it from 0.1 to 0.4 an played 10 hours, do i get the 0.3 on the past 10 hours addet to the evolution?
How can i set the timebased evotlution growing(time factor) with a command(without the mod)?
Is the time-factor backward calculated if i change it.
If i change it from 0.1 to 0.4 an played 10 hours, do i get the 0.3 on the past 10 hours addet to the evolution?
Re: edit the maximum expansion distance
/c game.map_settings.enemy_evolution.time_factor = x
How many biters are attacking you doesn't depend on evolution, fyi. Biters attack you if your pollution cloud hits them or you get close to them.
How many biters are attacking you doesn't depend on evolution, fyi. Biters attack you if your pollution cloud hits them or you get close to them.
Not as far as I know.Pascali wrote: Is the time-factor backward calculated if i change it.
If i change it from 0.1 to 0.4 an played 10 hours, do i get the 0.3 on the past 10 hours addet to the evolution?
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: edit the maximum expansion distance
I testet it, it is not added backwards.
How can i calculate the missed evolution? I played with evolution 0.00001 instead of 0.00004 over 10 hours. How can i now calculate the evolution difference?
And thank you, its working with the command.
How can i calculate the missed evolution? I played with evolution 0.00001 instead of 0.00004 over 10 hours. How can i now calculate the evolution difference?
And thank you, its working with the command.
Re: edit the maximum expansion distance
Do you plan to update the mod for 2.0?Bilka wrote: Fri Sep 29, 2017 2:28 pm For people who are looking at this thread for the same answers: I made a mod to easily change the settings, you can also check what your current settings are by pressing the "Set fields to current settings" button. The mod can be found here: https://mods.factorio.com/mods/Bilka/ChangeMapSettings
Re: edit the maximum expansion distance
I don't know. I recommend to use the map editor (/editor in the console) to change map settings.Teralink wrote: Thu Oct 24, 2024 6:12 pmDo you plan to update the mod for 2.0? :)Bilka wrote: Fri Sep 29, 2017 2:28 pm For people who are looking at this thread for the same answers: I made a mod to easily change the settings, you can also check what your current settings are by pressing the "Set fields to current settings" button. The mod can be found here: https://mods.factorio.com/mods/Bilka/ChangeMapSettings
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: edit the maximum expansion distance
Oh! That works perfectly. Thanks!