Factorio

Factorio

View Stats:
MrJackGuy Feb 18, 2017 @ 7:57am
How to Turn Peaceful Mode Off?
Hey every one, i need help, ive gotten about 15 hours into my game and have seen any biters or any polution on the map even tho i have heve 25 boilers powering my base. i must off accidentily turned on peacefull mode, is there a commad to turn it back off, i dont care if it disables achevments.

thank you for your time :)
Originally posted by daniel0674:
You can check if peaceful mode is enabled using this command, it will print true or false to the console:
/c game.player.print(game.player.surface.peaceful_mode)

To enable (true) or disable (false) peaceful mode:
/c game.player.surface.peaceful_mode = false

After toggling peaceful mode you need to run this command:
/c game.forces["enemy"].kill_all_units()
Existing biters don't change their mode when you toggle peaceful mode. This command kills all biters, which then soon respawn with the correct peaceful mode setting.
< >
Showing 1-13 of 13 comments
Name Lips Feb 18, 2017 @ 8:05am 
You check a box at world gen to turn on peaceful. Sometimes you just have a passive game -- you start in an isolated area with lots of water and forests to absorb the pollution.

Have you built any radars? Do you know the locations of any enemy bases? Check your map. If your pollution cloud is touching the enemy bases, but they aren't sending waves to attack you, you must indeed have peaceful mode on.

At any rate, you can bring up the console with the tilde key. This command enables/disables peaceful mode:

/c game.player.surface.peaceful_mode = true

"true" turns peaceful mode on, "false" turns it off.
whiter2501 Feb 18, 2017 @ 8:50am 
You can see your pollution in your map (both main and mini maps) by hitting the Alt key.
ShutEye_DK Feb 18, 2017 @ 9:02am 
Originally posted by whiter2501:
You can see your pollution in your map (both main and mini maps) by hitting the Alt key.
Pollution is turned off by default in the minimap.
The author of this topic has marked a post as the answer to their question.
daniel0674 Feb 18, 2017 @ 10:48am 
You can check if peaceful mode is enabled using this command, it will print true or false to the console:
/c game.player.print(game.player.surface.peaceful_mode)

To enable (true) or disable (false) peaceful mode:
/c game.player.surface.peaceful_mode = false

After toggling peaceful mode you need to run this command:
/c game.forces["enemy"].kill_all_units()
Existing biters don't change their mode when you toggle peaceful mode. This command kills all biters, which then soon respawn with the correct peaceful mode setting.
Last edited by daniel0674; Feb 18, 2017 @ 10:49am
MrJackGuy Feb 18, 2017 @ 1:15pm 
Originally posted by daniel0674:
You can check if peaceful mode is enabled using this command, it will print true or false to the console:
/c game.player.print(game.player.surface.peaceful_mode)

To enable (true) or disable (false) peaceful mode:
/c game.player.surface.peaceful_mode = false

After toggling peaceful mode you need to run this command:
/c game.forces["enemy"].kill_all_units()
Existing biters don't change their mode when you toggle peaceful mode. This command kills all biters, which then soon respawn with the correct peaceful mode setting.

Thanks alot!!!
Last edited by MrJackGuy; May 18, 2018 @ 8:02am
MrJackGuy Feb 19, 2017 @ 5:20am 
thx everyone, fixed it
IronHair Dec 29, 2017 @ 12:52pm 
Does changing peaceful mode using the console command affect gaining achievements in that map?
Lady Naween Dec 29, 2017 @ 12:56pm 
Originally posted by IronHair:
Does changing peaceful mode using the console command affect gaining achievements in that map?

Yes
IronHair Dec 29, 2017 @ 12:58pm 
Thank you.
Arby's Donuts Apr 8, 2018 @ 1:03pm 
Is there any way to turn achievements back on? I made the mistake of putting a Lua command in without realizing this.
IronHair Apr 8, 2018 @ 1:44pm 
nope :(
IronHair May 18, 2018 @ 2:00am 
Interesting.. thanks! :)
< >
Showing 1-13 of 13 comments
Per page: 1530 50

Date Posted: Feb 18, 2017 @ 7:57am
Posts: 13