Page 1 of 1

Allow negative values on evolution factors

Posted: Fri Apr 28, 2017 9:55 pm
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.

Re: Allow negative values on evolution factors

Posted: Fri Apr 28, 2017 11:41 pm
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)