Biter Remover

by azaghal

Commands for removing and disabling biters and pollution.

Content
2 months ago
1.1 - 2.0
3.61K
Cheats

b Biters cant be reenabled

a month ago

I disabled biters a while ago and now I cant enable them again. I use the command 'enable-biter-base-generation nauvis' and it says 'enabled on following surface:" with no surface mentioned. I go way into new chunks to find newly generated biter bases to know it is working but cant find any.

a month ago

Hello LegendLeopard,

That is a bit unusual - it can happen primarily for very specific surfaces where some kind of placements configuration controls are not present (just looking at the code) - like Factorissimo 2.

Since I am not able to reproduce the issue locally (I have tried a couple of different map generation options etc as well), could you provide me with some extra information?

  1. What version of Factorio are you running (with/without Space Age)?

  2. What version of Biter Remover mod are you running? (just in case)

  3. Do you have any other mods installed?

  4. How did you disable biter base generation originally (just in case it was done outside of this mod)?

  5. Would you happen to have the savegame you could share with me so I can try to have a closer look?

Best regards
Branko

a month ago
  1. The game version is 2.0.21 with Space Age DLC
  2. Running the newest version of the mod 2.0.1
  3. I have the space age mods (Quality, Elevated rails, and Space Age) as wells as biter remover and AAI Warehouses. I also had used an advanced map editing mod called, "Edit Map Settings" which I disabled when I was done with it and a mod called, "Easy demolishers" that made big demolishers easier to kill, also disabled that one when I was done with it.
  4. I disabled biters using the command from this mod, when I made the world all biter related settings were at default
  5. Here is the save file, hope this works because I haven't done this before. https://www.dropbox.com/scl/fi/y9snw31z0rxkkr0gw4k7s/New-Age-2.zip?rlkey=50wqwrsba3chzy3jq7fxbivwb&st=v1yd9bla&dl=0
a month ago

Hello LegendLeopard,

Thank you for all the info, much appreciated. :)

Ok, so in this particular case the culprit would be the "Edit Map Settings" mod. I have managed to reproduce the issue by:

  1. Installing the "Edit Map Settings" mod.
  2. Starting a fresh game with default settings.
  3. Opening the mod interface, unticking the "Enemy Bases" option, and clicking on the "Apply Map generation settings".
  4. At this point neither the disable nor enable commands from "Biter Remover" will have any effect - since the autoplace controls for enemy bases are wiped.

"Biter Remover" touches as little in terms of map generation settings as possible, and it won't restore settings that might have been wiped by another mod. In some cases it actually makes sense not to restore the settings - like in the case of aforementioned Factorissimo 2 surfaces (you should not end up in situation where Biter Remover introduces biters into those surfaces).

The fix in your particular case would be to re-enable the "Edit Map Settings" mod, and turn on the "Enemy Bases" option with frequency and size set to "1" (don't forget to apply it, of course). Make sure to backup your savegame - just in case.

On that note, the /disable-biter-base-generation command, when run, stores internally the current value for the enemy base size, and if you re-enable the bases later on, restores it. But the value must exist (that is - surface is meant to spawn bases based on settings) for this to function. This is also a small caveat should you decided to remove the "Biter Remover" mod from the game - make sure to re-enable the biter bases first (because that internal storage gets wiped by the game when mod is removed).

Hopefully all of this helps you?

Best regards,
Branko

New response