Allow negative values on evolution factors

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
thenameipicked
Burner Inserter
Burner Inserter
Posts: 13
Joined: Wed Mar 15, 2017 12:36 am
Contact:

Allow negative values on evolution factors

Post by thenameipicked »

If I set

Code: Select all

data.raw['map-settings']['map-settings']['enemy_evolution'].time_factor
to a negative value, it doesn't decrease evolution over time.

As per this reddit post, it'd be great if I could set negative values on various factors to provide varied "AI" types to aliens.

DartBoris
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat Dec 12, 2015 8:19 pm
Contact:

Re: Allow negative values on evolution factors

Post by DartBoris »

/c game.map_settings.enemy_evolution.destroy_factor = 1 * (-1) works for me. Change "1" to any desired number.

http://i.imgur.com/vIQ7TEw.png
fired some nukes everywhere.

In 0.14 did

Code: Select all

data.raw["map-settings"]["map-settings"]["enemy_evolution"].destroy_factor = data.raw["map-settings"]["map-settings"]["enemy_evolution"].destroy_factor * 0.2 * (-1)
and it worked aswell. Same with time_factor and pollution.

Just found one strange thing. If i set evolution factor manually to 1 via console the thing above does not work. Like you need your evolution to climb naturally (/c game.map_settings.enemy_evolution.time_factor = 1 for instant 100% evo)

Post Reply

Return to “Modding interface requests”