Anyone Know The Mod

Place to post guides, observations, things related to modding that are not mods themselves.
Post Reply
Foxy_Boxes
Inserter
Inserter
Posts: 47
Joined: Mon Apr 27, 2015 3:39 pm
Contact:

Anyone Know The Mod

Post by Foxy_Boxes »

Not sure if this is the place but...

Anyone know of a mod that disables evolution via time (but increases pollution evolution to compensate iirc)? I heard of it in passing but cannot find it.

User avatar
DaveMcW
Smart Inserter
Smart Inserter
Posts: 3700
Joined: Tue May 13, 2014 11:06 am
Contact:

Re: Anyone Know The Mod

Post by DaveMcW »

You can run these commands in console. Edit the last number to whatever factor you prefer.

Code: Select all

/c game.mapsettings.enemy_evolution.time_factor = 0.000008 * 0
/c game.mapsettings.enemy_evolution.pollution_factor = 0.00003 * 2

Foxy_Boxes
Inserter
Inserter
Posts: 47
Joined: Mon Apr 27, 2015 3:39 pm
Contact:

Re: Anyone Know The Mod

Post by Foxy_Boxes »

Thanks

Schmendrick
Fast Inserter
Fast Inserter
Posts: 222
Joined: Wed Apr 30, 2014 11:17 pm
Contact:

Re: Anyone Know The Mod

Post by Schmendrick »

I wrote "Green Turtle," which may be what you were thinking of / heard mentioned. I know there is at least one other mod that tweaks evolution parameters.

Or you can just alter the settings manually, as above (unless you're playing on a command-disabled MP map).
Like my mods? Check out another! Or see older, pre-0.12.0 mods.

JohnyDL
Filter Inserter
Filter Inserter
Posts: 533
Joined: Fri May 16, 2014 3:44 pm
Contact:

Re: Anyone Know The Mod

Post by JohnyDL »

is there a version of this that works in 0.12.x?

Foxy_Boxes
Inserter
Inserter
Posts: 47
Joined: Mon Apr 27, 2015 3:39 pm
Contact:

Re: Anyone Know The Mod

Post by Foxy_Boxes »

DaveMcW wrote:You can run these commands in console. Edit the last number to whatever factor you prefer.

Code: Select all

/c game.mapsettings.enemy_evolution.time_factor = 0.000008 * 0
/c game.mapsettings.enemy_evolution.pollution_factor = 0.00003 * 2
This no longer works: Error: [...]:1: LuaGameScript doesn't contain key mapsettings.
What do?

ratchetfreak
Filter Inserter
Filter Inserter
Posts: 952
Joined: Sat May 23, 2015 12:10 pm
Contact:

Re: Anyone Know The Mod

Post by ratchetfreak »

Foxy_Boxes wrote:
DaveMcW wrote:You can run these commands in console. Edit the last number to whatever factor you prefer.

Code: Select all

/c game.mapsettings.enemy_evolution.time_factor = 0.000008 * 0
/c game.mapsettings.enemy_evolution.pollution_factor = 0.00003 * 2
This no longer works: Error: [...]:1: LuaGameScript doesn't contain key mapsettings.
What do?
try game.map_settings instead or game.local_player.surface.map_settings

Foxy_Boxes
Inserter
Inserter
Posts: 47
Joined: Mon Apr 27, 2015 3:39 pm
Contact:

Re: Anyone Know The Mod

Post by Foxy_Boxes »

map_settings works, thanks.
Although that seems like a really arbitary change in call hooks O.o

ratchetfreak
Filter Inserter
Filter Inserter
Posts: 952
Joined: Sat May 23, 2015 12:10 pm
Contact:

Re: Anyone Know The Mod

Post by ratchetfreak »

Foxy_Boxes wrote:map_settings works, thanks.
Although that seems like a really arbitary change in call hooks O.o
it was; many names in the lua script where all lower case which is not ideal to program in, so they made a breaking change to convert then to snake_case a few versions ago

Post Reply

Return to “Modding discussion”