[Solved]Disable Peacefulmode

Post all other topics which do not belong to any other category.
Post Reply
User avatar
aul1999
Inserter
Inserter
Posts: 27
Joined: Tue Aug 11, 2015 10:45 am
Contact:

[Solved]Disable Peacefulmode

Post by aul1999 »

I,m need to disable the Peaceful-Mode in my Savegame!

How to make this?
Last edited by aul1999 on Tue Aug 11, 2015 4:13 pm, edited 2 times in total.

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

Re: Disable Peacefulmode

Post by ratchetfreak »

type "/c game.peaceful_mode = false" in the console (no quotes)

FishSandwich
Smart Inserter
Smart Inserter
Posts: 1847
Joined: Sun Feb 23, 2014 3:37 pm
Contact:

Re: Disable Peacefulmode

Post by FishSandwich »

ratchetfreak wrote:type "/c game.peaceful_mode = false" in the console (no quotes)
As well as this, you'll also need to put /c game.forces['enemy'].kill_all_units() to kill off any biters/spitters that are still in peaceful mode.

jamestomas2
Burner Inserter
Burner Inserter
Posts: 8
Joined: Sun Jul 19, 2015 5:02 pm
Contact:

Re: Disable Peacefulmode

Post by jamestomas2 »

On a slight tangent, I'm guessing that /c game.forces['enemy'].kill_all_units() kills all the biters and spitters but leaves the spawners intact?

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

Re: Disable Peacefulmode

Post by ratchetfreak »

jamestomas2 wrote:On a slight tangent, I'm guessing that /c game.forces['enemy'].kill_all_units() kills all the biters and spitters but leaves the spawners intact?
yes, yes it does.

It's also used to turn on peaceful mode. To ensure no hostile biters remain.

User avatar
aul1999
Inserter
Inserter
Posts: 27
Joined: Tue Aug 11, 2015 10:45 am
Contact:

Re: Disable Peacefulmode

Post by aul1999 »

Ok

thanks for the fast and nice help!

:D

Post Reply

Return to “General discussion”