Set evolution console / lua

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
Post Reply
User avatar
DarkyPupu
Fast Inserter
Fast Inserter
Posts: 109
Joined: Sun Jun 04, 2017 4:46 pm
Contact:

Set evolution console / lua

Post by DarkyPupu »

Not sure it's right place to ask that, but here we go :)

When you set evolution via console, it only changes the overall evolution factor for one force (ex: ennemies) :

Code: Select all

/c game.forces["enemy"].evolution_factor=xxx
I can't find how to set / reset the 3 components of the evolution (time, evolution, bases). Any hint how to do and / or if it's possible to set those ?
I'm not talking about the evolution factor you set in the map_settings, but the actual calculated / spent evolution in the game.

Ex, for evolution set to 0:
Capture.PNG
Capture.PNG (55.36 KiB) Viewed 3144 times
Thanks

Koub
Global Moderator
Global Moderator
Posts: 7200
Joined: Fri May 30, 2014 8:54 am
Contact:

Re: Set evolution console / lua

Post by Koub »

[Koub] Moved to Gameplay Help
Koub - Please consider English is not my native language.

Post Reply

Return to “Gameplay Help”